Source: libmicam
Version: 1.0+20221224111636-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 using udev.pc to place the udev files
(using pkg-config). This works today in unstable and also for
bookworm, and is safe to do now.
Once udev.pc in unstable points to /usr/lib, your package will
benefit automatically after a binNMU or any other upload.

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.

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

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru libmicam-1.0+20221224111636/debian/changelog libmicam-1.0+20221224111636/debian/changelog
--- libmicam-1.0+20221224111636/debian/changelog	2022-12-24 12:17:52.000000000 +0100
+++ libmicam-1.0+20221224111636/debian/changelog	2023-12-17 00:15:29.000000000 +0100
@@ -1,3 +1,10 @@
+libmicam (1.0+20221224111636-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udev.pc to place udev files. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sun, 17 Dec 2023 00:15:29 +0100
+
 libmicam (1.0+20221224111636-1) unstable; urgency=medium
 
   * build version from git
diff -Nru libmicam-1.0+20221224111636/debian/control libmicam-1.0+20221224111636/debian/control
--- libmicam-1.0+20221224111636/debian/control	2022-12-24 12:16:40.000000000 +0100
+++ libmicam-1.0+20221224111636/debian/control	2023-12-17 00:14:54.000000000 +0100
@@ -6,6 +6,8 @@
 Build-Depends: debhelper-compat (= 13)
 	, cmake
 	, libusb-1.0-0-dev
+	, pkgconf
+	, systemd-dev
 Standards-Version: 4.6.0
 Homepage: https://github.com/indilib/indi-3rdparty
 Rules-Requires-Root: no
diff -Nru libmicam-1.0+20221224111636/debian/rules libmicam-1.0+20221224111636/debian/rules
--- libmicam-1.0+20221224111636/debian/rules	2022-12-24 12:16:40.000000000 +0100
+++ libmicam-1.0+20221224111636/debian/rules	2023-12-17 00:15:24.000000000 +0100
@@ -2,3 +2,7 @@
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DUDEVRULES_INSTALL_DIR=$(shell pkg-config --variable=udevdir udev)

Reply via email to