News for hackers. Stuff that matters.
Re:A new Debian package helper: debputy by cosmical65 on Saturday February 03, 2024 @09:23AM (#39240568)
For me rpm was relatively easy to grasp, it's basically a shell script and each section has a specific job (building, preparing, copying files etc.)

No matter how much I tried I could never grasp deb packaging. The documentation is very sparse and the debhelper commands seem like magic. I couldn't find out what all the different files like .dirs or .install did, so I just gave up.

Re:A new Debian package helper: debputy by soraminazuki on Saturday February 03, 2024 @10:53AM (#39241481)
I find RPM specs to be pretty frustrating. Easy cases like packaging GNU Hello is fine, but things get out of control really fast once you fall off the happy path. RPM specs are based simple text substitution. It lacks the flexibility to make adjustments to the build, the power to build good abstractions, and comes with all the same drawbacks of the C preprocessor. On top of that, documentation is lacking for basic macros, language ecosystem support is spotty and scattered across various obscure projects, and SCL packaging is a complete nightmare. The whole design seems dated compared to other solutions.
Re:A new Debian package helper: debputy by oneshtein on Saturday February 03, 2024 @11:46AM (#39242047)
Write a build script in your language of choice and then call it from RPM spec.
Re:A new Debian package helper: debputy by soraminazuki on Saturday February 03, 2024 @04:41PM (#39245035)
At that point, why even use package managers? That approach won't benefit from existing packaging infrastructure at all. Might as well distribute binaries in tarballs instead for simplicity.
Re:A new Debian package helper: debputy by oneshtein on Sunday February 04, 2024 @01:50AM (#39248197)
Slackware uses tarballs, so use Slackware instead. :-/