Use debhelper tools for dependency compilation and packaging#408
Use debhelper tools for dependency compilation and packaging#408robin-reckmann wants to merge 14 commits intocommaai:masterfrom
Conversation
|
What does this get us over checkinstall? Looks a bit messier if anything |
Hmm. The package build of qtwayland5 silently fails with the most recent docker versions (buildx > 0.15.1): These errors don't lead to a failed docker build, but just result in a empty .deb file that's installed, ultimately causing a segfault on device and no working UI. Rather than debugging and fixing checkinstall, I would prefer to move to a more recent and tested way of building the deb files. (Checkinstall was last updated in 2017). I cleaned up the PR a bit. |
f380766 to
555b03d
Compare
| # https://github.com/7Ji/archrepo/issues/10 | ||
| ./configure --enable-shared --disable-static --disable-htmlpages | ||
| make -j$(nproc) | ||
| echo -e "override_dh_auto_configure:\n\t./configure --enable-shared --disable-static --disable-htmlpages" >> debian/rules |
There was a problem hiding this comment.
anything else we can do here? it's really not clear what's going on here scanning this file
There was a problem hiding this comment.
like I see it starts with echo and skip it
There was a problem hiding this comment.
In the next step dpkg-buildpackage reads from the debian/rules files and overrides the configure step. You could also commit the file directly to the repo, then we could skip this echo steps.
555b03d to
213a43a
Compare
c1c0c0d to
0746108
Compare
Use debhelper tools for creation of the .deb packages rather than old checkinstall.