Source: ckb-next Version: 0.6.0+dfsg-0.1 Tags: patch User: helm...@debian.org Usertags: dep17m2
ckb-next forces a systemd unit path below /lib in debian/rules. This used to be the right thing to do, but given DEP17, we want to move this to /usr. Rather than just drop this, I recommend deferring the placement to systemd's pkgconf file, because this will make backports work seamlessly. I'm attaching a patch for your convenience. Helmut
diff -Nru ckb-next-0.6.0+dfsg/debian/changelog ckb-next-0.6.0+dfsg/debian/changelog --- ckb-next-0.6.0+dfsg/debian/changelog 2023-07-12 11:27:30.000000000 +0200 +++ ckb-next-0.6.0+dfsg/debian/changelog 2023-10-15 09:56:39.000000000 +0200 @@ -1,3 +1,10 @@ +ckb-next (0.6.0+dfsg-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Let systemd.pc decide where to install units to. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 15 Oct 2023 09:56:39 +0200 + ckb-next (0.6.0+dfsg-0.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru ckb-next-0.6.0+dfsg/debian/control ckb-next-0.6.0+dfsg/debian/control --- ckb-next-0.6.0+dfsg/debian/control 2023-07-12 11:27:30.000000000 +0200 +++ ckb-next-0.6.0+dfsg/debian/control 2023-10-15 09:56:39.000000000 +0200 @@ -12,6 +12,8 @@ libxcb-ewmh-dev, libxcb-screensaver0-dev, libxcb1-dev, + pkgconf, + systemd-dev, qtbase5-dev (>= 5.5.1), qttools5-dev, zlib1g-dev diff -Nru ckb-next-0.6.0+dfsg/debian/rules ckb-next-0.6.0+dfsg/debian/rules --- ckb-next-0.6.0+dfsg/debian/rules 2023-07-12 11:27:30.000000000 +0200 +++ ckb-next-0.6.0+dfsg/debian/rules 2023-10-15 09:56:35.000000000 +0200 @@ -19,6 +19,6 @@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_LIBEXECDIR=lib/$(DEB_HOST_MULTIARCH) \ - -DSYSTEMD_UNIT_INSTALL_DIR=/lib/systemd/system \ + -DSYSTEMD_UNIT_INSTALL_DIR=$(shell pkgconf --variable=systemdsystemunitdir systemd) \ -DDISABLE_UPDATER=ON \ -DFORCE_INIT_SYSTEM='systemd;sysvinit'