Building binary deb packages: a practical guide
internalpointers.com
Building binary deb packages: a practical guide
1–10 of 61 posts
Re: Building binary deb packages: a practical guide
#2In contrast, I managed to submit software to Homebrew after two weeks of macOS, and to Nixpkgs within two days of running NixOS.
Re: Building binary deb packages: a practical guide
#3Official Debian development, being FOSS oriented, proceeds from Debian source packages instead, and one never creates a binary package from scratch as described in the article. Instead, we use `dpkg-buildpackage` and other similar tools. The creation of the source package is the hard part, having to follow all the aspects of Debian policy, including technical matters around quality.
Re: Building binary deb packages: a practical guide
#4I think this guide glosses over the most difficult aspect: writing a package whose executables are generated reasonably reproducibly, using tools from other Debian packages. I've been a satisfied Debian user for over ten years, but I gave up on trying to package my own software. I could certainly figure out how to manually create a `.deb` with an executable and some man pages, but not how to automate the creation of…
The tradeoff you get with other distributions being quick, is less quality assurance. Also, Debian still has a policy of working on 10 architectures, and this slows things down significantly sometimes. The other distributions you mentioned don't have this constraint.
Re: Building binary deb packages: a practical guide
#5Re: Building binary deb packages: a practical guide
#6I think this guide glosses over the most difficult aspect: writing a package whose executables are generated reasonably reproducibly, using tools from other Debian packages. I've been a satisfied Debian user for over ten years, but I gave up on trying to package my own software. I could certainly figure out how to manually create a `.deb` with an executable and some man pages, but not how to automate the creation of…
Can you clarify what do you exactly mean with this?
Re: Building binary deb packages: a practical guide
#7It should be noted that none of this article applies to actual development that goes on in the Debian distribution from https://www.debian.org Official Debian development, being FOSS oriented, proceeds from Debian source packages instead, and one never creates a binary package from scratch as described in the article. Instead, we use `dpkg-buildpackage` and other similar tools. The creation of the source package is t…
Re: Building binary deb packages: a practical guide
#8I think this guide glosses over the most difficult aspect: writing a package whose executables are generated reasonably reproducibly, using tools from other Debian packages. I've been a satisfied Debian user for over ten years, but I gave up on trying to package my own software. I could certainly figure out how to manually create a `.deb` with an executable and some man pages, but not how to automate the creation of…
> but not how to automate the creation of that `.deb` in a way that lives up to my expectations of quality. Can you clarify what do you exactly mean with this?
Re: Building binary deb packages: a practical guide
#9Re: Building binary deb packages: a practical guide
#10Earlier quoted context omitted.
> but not how to automate the creation of that `.deb` in a way that lives up to my expectations of quality. Can you clarify what do you exactly mean with this?
Basically what infinity0 described in his sibling comments. I want to have a source package that can be used to build the binary package in a deterministic and reproducible way.