Source: plymouth
Version: 22.02.122-3
Severity: normal
Tags: ftbfs patch
User: helm...@debian.org
Usertags: dep17m2

We want to change the value of systemdsystemunitdir in systemd.pc. The
upstream build system of plymouth consumes this value, but the packaging
hard codes the current value. Once the value is changed, plymouth will
FTBFS. I'm attaching a patch that fixes this future build failure for
your convenience.

Helmut
diff -Nru plymouth-22.02.122/debian/changelog 
plymouth-22.02.122/debian/changelog
--- plymouth-22.02.122/debian/changelog 2023-02-01 18:20:20.000000000 +0100
+++ plymouth-22.02.122/debian/changelog 2023-09-20 11:08:04.000000000 +0200
@@ -1,3 +1,10 @@
+plymouth (22.02.122-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS when systemdsystemunitdir changes in systemd.pc. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 20 Sep 2023 11:08:04 +0200
+
 plymouth (22.02.122-3) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru plymouth-22.02.122/debian/plymouth.install 
plymouth-22.02.122/debian/plymouth.install
--- plymouth-22.02.122/debian/plymouth.install  2023-02-01 18:20:20.000000000 
+0100
+++ plymouth-22.02.122/debian/plymouth.install  2023-09-20 11:07:57.000000000 
+0200
@@ -1,6 +1,6 @@
 etc/logrotate.d
 etc/plymouth
-lib/systemd
+${env:systemdsystemunitdir}
 usr/bin
 usr/lib/*/plymouth/details.so
 usr/lib/*/plymouth/renderers/drm.so
diff -Nru plymouth-22.02.122/debian/rules plymouth-22.02.122/debian/rules
--- plymouth-22.02.122/debian/rules     2023-02-01 18:20:20.000000000 +0100
+++ plymouth-22.02.122/debian/rules     2023-09-20 11:07:34.000000000 +0200
@@ -6,6 +6,8 @@
 # symbols, and speed up loading.
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
 
+export systemdsystemunitdir=$(shell pkg-config --variable=systemdsystemunitdir 
systemd | sed s,^/,,)
+
 %:
        dh ${@}
 

Reply via email to