better-enums icon indicating copy to clipboard operation
better-enums copied to clipboard

Provided Debian Packaging files

Open gri6507 opened this issue 3 years ago • 3 comments

PROBLEM STATEMENT: Better-enums currently does not provide a way to deliver its contents as a Debian package

SOLUTION: Added Debian packaging files

DETAILS: Follows the standard Debian Packaging rules. See https://www.debian.org/doc/manuals/debmake-doc/index.en.html

IMPACT ANALYSIS: When making future releases, debian/changelog needs to be updated

TESTING:

  • Ran dpkg-buildpackage -us -uc -b
  • Ran dpkc -c on resulting DEB file
  • Ran lintian on resulting DEB file
  • Installed resulting DEB file and compiled against it using pkg-config --cflags better-enums

gri6507 avatar Sep 06 '22 15:09 gri6507

Thanks! I don't have the expertise to maintain this in-repo. I'm inclined not to merge it, but I suggest that you could publish this in a repo or package that you maintain, and we can add a link to that repo or installation instructions in this repo's README.

aantron avatar Sep 07 '22 09:09 aantron

Of course, this is completely up to you, since this is your project. However, the maintenance for this is minimal. When making a release, you simply have to update debian/changelog with minimal information about the release. It could be as short as just the release version/date, or you could opt to add release notes information there as well. The format of this file is very well documented (see https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog for documentation and https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#changelog for annotated example).

I would be more than happy to help you maintain and test this file, if that makes things easier for you.

gri6507 avatar Sep 07 '22 12:09 gri6507

Shouldn't this be prefixed lib? As it's a library and that's the convention.

BrainStone avatar Oct 29 '22 15:10 BrainStone