Source: fpga-icestorm
Version: 0~20230218gitd20a5e9-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.

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 fpga-icestorm-0~20230218gitd20a5e9/debian/changelog fpga-icestorm-0~20230218gitd20a5e9/debian/changelog
--- fpga-icestorm-0~20230218gitd20a5e9/debian/changelog	2023-06-13 14:52:48.000000000 +0200
+++ fpga-icestorm-0~20230218gitd20a5e9/debian/changelog	2023-12-08 00:39:06.000000000 +0100
@@ -1,3 +1,11 @@
+fpga-icestorm (0~20230218gitd20a5e9-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Delegate placement of udev files to pkg-config data (Closes: #-1)
+  * Use debhelper compat 13 for substitutions in .install files
+
+ -- Chris Hofstaedtler <z...@debian.org>  Fri, 08 Dec 2023 00:39:06 +0100
+
 fpga-icestorm (0~20230218gitd20a5e9-1) unstable; urgency=medium
 
   * New upstream version 0~20230218gitd20a5e9
diff -Nru fpga-icestorm-0~20230218gitd20a5e9/debian/control fpga-icestorm-0~20230218gitd20a5e9/debian/control
--- fpga-icestorm-0~20230218gitd20a5e9/debian/control	2023-05-17 21:08:04.000000000 +0200
+++ fpga-icestorm-0~20230218gitd20a5e9/debian/control	2023-12-08 00:39:06.000000000 +0100
@@ -4,11 +4,12 @@
            Daniel Gröber <d...@darkboxed.org>
 Section: electronics
 Priority: optional
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                libftdi-dev,
                python3,
                txt2man,
-               pkg-config
+               pkg-config,
+               systemd-dev
 Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/electronics-team/fpga-icestorm
 Vcs-Git: https://salsa.debian.org/electronics-team/fpga-icestorm.git
diff -Nru fpga-icestorm-0~20230218gitd20a5e9/debian/fpga-icestorm.install fpga-icestorm-0~20230218gitd20a5e9/debian/fpga-icestorm.install
--- fpga-icestorm-0~20230218gitd20a5e9/debian/fpga-icestorm.install	2023-05-17 21:08:17.000000000 +0200
+++ fpga-icestorm-0~20230218gitd20a5e9/debian/fpga-icestorm.install	2023-12-08 00:39:06.000000000 +0100
@@ -5,5 +5,5 @@
 docs/*.svg usr/share/doc/fpga-icestorm/html
 docs/*.html usr/share/doc/fpga-icestorm/html
 docs/*.png usr/share/doc/fpga-icestorm/html
-debian/40-fpga-icestorm.rules lib/udev/rules.d
+debian/40-fpga-icestorm.rules ${env:deb_udevdir}/rules.d/
 debian/at.clifford.icestorm.metainfo.xml usr/share/metainfo
diff -Nru fpga-icestorm-0~20230218gitd20a5e9/debian/rules fpga-icestorm-0~20230218gitd20a5e9/debian/rules
--- fpga-icestorm-0~20230218gitd20a5e9/debian/rules	2023-05-17 21:08:17.000000000 +0200
+++ fpga-icestorm-0~20230218gitd20a5e9/debian/rules	2023-12-08 00:39:06.000000000 +0100
@@ -11,6 +11,8 @@
 
 export CHIPDB_SUBDIR=fpga-icestorm/chipdb
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 %:
 	dh $@
 

Reply via email to