Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added .deb producing script for ninja #95

Closed
wants to merge 3 commits into from
Closed

Added .deb producing script for ninja #95

wants to merge 3 commits into from

Conversation

itprojects
Copy link
Contributor

Added the script package.deb.bin.sh to be run on demand with ninja like this:

ninja debian-bin

It will make foliate_x.y-z.deb file in build folder.

Added ninja script reference for package.deb.bin.sh

Make .deb files with ninja debian-bin
@johnfactotum
Copy link
Owner

  1. The part after the dash of the version is debian_revision, and it "specifies the version of the Debian package based on the upstream version". 1.3.1 should become 1.3.1-1 or similar, not 1.3-1
  2. Like I said in Please provide an AppImage for Linux #44, redoing everything that's currently done by Meson by hand is unsatisfactory. Maybe use meson build --prefix=$fnamefull/usr instead of using cp to install things.

@itprojects
Copy link
Contributor Author

  1. Fixed the version numbers to just be 1.3.1 format, and not 1.3-1.
  2. Yes, it's not satisfactory to copy by hand. On the other hand if the alternative is no package, that's a pool of millions of people that can enjoy your app. Especially for the main linux distributions Ubuntu/Debian/Elementary. Some will no doubt be dedicated maintainers and maybe after the first few .deb's they'll help package it on launchpad or similar. You've got to start somewhere!

@johnfactotum
Copy link
Owner

I've added the specification (e75f79e). Debian packages can be built using the dpkg-buildpackage command.

@itprojects
Copy link
Contributor Author

Thanks, this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants