Source: libpktriggercord
Version: 0.85.1+20221221181244-1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs files related to udev, into /lib. 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.

Later during the trixie cycle I expect this bug class to raise in
priority.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please see the wiki and upload
to experimental first when these changes are done.

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru libpktriggercord-0.85.1+20221221181244/debian/changelog libpktriggercord-0.85.1+20221221181244/debian/changelog
--- libpktriggercord-0.85.1+20221221181244/debian/changelog	2022-12-21 19:13:59.000000000 +0100
+++ libpktriggercord-0.85.1+20221221181244/debian/changelog	2023-12-08 23:51:19.000000000 +0100
@@ -1,3 +1,10 @@
+libpktriggercord (0.85.1+20221221181244-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Delegate placement of udev files to pkg-config data
+
+ -- Chris Hofstaedtler <z...@debian.org>  Fri, 08 Dec 2023 23:51:19 +0100
+
 libpktriggercord (0.85.1+20221221181244-1) unstable; urgency=medium
 
   * build version from git
diff -Nru libpktriggercord-0.85.1+20221221181244/debian/control libpktriggercord-0.85.1+20221221181244/debian/control
--- libpktriggercord-0.85.1+20221221181244/debian/control	2022-12-21 19:12:48.000000000 +0100
+++ libpktriggercord-0.85.1+20221221181244/debian/control	2023-12-08 23:45:46.000000000 +0100
@@ -6,6 +6,8 @@
 Build-Depends: debhelper-compat (= 13)
 	, cmake
 	, libindi-dev
+	, pkgconf
+    , systemd-dev
 Standards-Version: 4.6.0
 Homepage: https://github.com/indilib/indi-3rdparty
 Rules-Requires-Root: no
diff -Nru libpktriggercord-0.85.1+20221221181244/debian/rules libpktriggercord-0.85.1+20221221181244/debian/rules
--- libpktriggercord-0.85.1+20221221181244/debian/rules	2022-12-21 19:12:48.000000000 +0100
+++ libpktriggercord-0.85.1+20221221181244/debian/rules	2023-12-08 23:49:49.000000000 +0100
@@ -2,3 +2,8 @@
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DUDEVRULES_INSTALL_DIR=$(shell pkg-config --variable=udevdir udev)/rules.d
+

Reply via email to