Source: indi-gphoto
Version: 3.2+20221221172841-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 indi-gphoto-3.2+20221221172841/debian/changelog indi-gphoto-3.2+20221221172841/debian/changelog
--- indi-gphoto-3.2+20221221172841/debian/changelog	2022-12-21 18:29:56.000000000 +0100
+++ indi-gphoto-3.2+20221221172841/debian/changelog	2023-12-17 01:19:33.000000000 +0100
@@ -1,3 +1,10 @@
+indi-gphoto (3.2+20221221172841-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 01:19:33 +0100
+
 indi-gphoto (3.2+20221221172841-1) unstable; urgency=medium
 
   * build version from git
diff -Nru indi-gphoto-3.2+20221221172841/debian/control indi-gphoto-3.2+20221221172841/debian/control
--- indi-gphoto-3.2+20221221172841/debian/control	2022-12-21 18:28:45.000000000 +0100
+++ indi-gphoto-3.2+20221221172841/debian/control	2023-12-17 01:19:31.000000000 +0100
@@ -13,6 +13,8 @@
 	, libcfitsio-dev
 	, libgphoto2-dev
 	, libraw-dev
+	, pkgconf
+	, systemd-dev
 Standards-Version: 4.6.0
 Homepage: https://github.com/indilib/indi-3rdparty
 Rules-Requires-Root: no
diff -Nru indi-gphoto-3.2+20221221172841/debian/rules indi-gphoto-3.2+20221221172841/debian/rules
--- indi-gphoto-3.2+20221221172841/debian/rules	2022-12-21 18:28:45.000000000 +0100
+++ indi-gphoto-3.2+20221221172841/debian/rules	2023-12-17 01:19:19.000000000 +0100
@@ -2,3 +2,7 @@
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DUDEVRULES_INSTALL_DIR=$(shell pkg-config --variable=udevdir udev)/rules.d

Reply via email to