Bug#1057745: awesfx: delegate placement of udev files to udev.pc
Source: awesfx
Version: 0.5.2-1
Severity: normal
Tags: patch
User: helmutg@debian.org
Usertags: dep17m2
Dear Maintainer,
your package installs files related to udev, into /lib/udev. These
files need to be moved to /usr/lib as part of Debian's usr-merge
effort [1].
Attached you will find a patch to delegate the exact placement of
the udev files to udev.pc (using pkg-config). This should work today
in unstable and, if necessary, for bookworm. Once udev.pc in
unstable points to /usr/lib your package will benefit automatically
after a binNMU or any other upload.
Note: the udev rule installed by dh_installudev will move when
dh_installudev is updated.
Later during the trixie cycle I expect this bug class to raise in
priority.
Per the wiki, it is advisable to upload to experimental first, and
wait a few days for the dumat tool to check your package. The same
is advisable when any structural changes are done in the trixie
cycle.
Thank you for considering,
Chris
[1] https://wiki.debian.org/UsrMerge
diff -Nru awesfx-0.5.2/debian/awesfx.install awesfx-0.5.2/debian/awesfx.install
--- awesfx-0.5.2/debian/awesfx.install 2019-08-05 22:11:00.000000000 +0200
+++ awesfx-0.5.2/debian/awesfx.install 2023-12-07 22:57:26.000000000 +0100
@@ -1,4 +1,4 @@
debian/sfxloadrc etc
debian/*.html usr/share/doc/awesfx
-debian/awesfx.sh lib/udev
+debian/awesfx.sh ${env:deb_udevdir}
debian/awesfx.conf etc/modprobe.d
diff -Nru awesfx-0.5.2/debian/changelog awesfx-0.5.2/debian/changelog
--- awesfx-0.5.2/debian/changelog 2019-08-05 22:11:00.000000000 +0200
+++ awesfx-0.5.2/debian/changelog 2023-12-07 22:57:26.000000000 +0100
@@ -1,3 +1,10 @@
+awesfx (0.5.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Delegate placement of udev files to udev.pc
+
+ -- Chris Hofstaedtler <zeha@debian.org> Thu, 07 Dec 2023 22:57:26 +0100
+
awesfx (0.5.2-1) unstable; urgency=medium
* New upstream version 0.5.2
diff -Nru awesfx-0.5.2/debian/compat awesfx-0.5.2/debian/compat
--- awesfx-0.5.2/debian/compat 2019-08-05 22:11:00.000000000 +0200
+++ awesfx-0.5.2/debian/compat 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-9
diff -Nru awesfx-0.5.2/debian/control awesfx-0.5.2/debian/control
--- awesfx-0.5.2/debian/control 2019-08-05 22:11:00.000000000 +0200
+++ awesfx-0.5.2/debian/control 2023-12-07 22:57:26.000000000 +0100
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Uploaders: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-Build-Depends: debhelper (>> 9.0.0), libasound2-dev, dh-autoreconf
+Build-Depends: debhelper-compat (= 13), libasound2-dev, dh-autoreconf, pkgconf, systemd-dev
Homepage: https://github.com/tiwai/awesfx
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/multimedia-team/awesfx.git
diff -Nru awesfx-0.5.2/debian/rules awesfx-0.5.2/debian/rules
--- awesfx-0.5.2/debian/rules 2019-08-05 22:11:00.000000000 +0200
+++ awesfx-0.5.2/debian/rules 2023-12-07 22:57:26.000000000 +0100
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
%:
dh $@ --with autoreconf
Reply to: