Source: steam-installer
Version: 1:1.0.0.78~ds-3
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 steam-installer-1.0.0.78~ds/debian/changelog steam-installer-1.0.0.78~ds/debian/changelog
--- steam-installer-1.0.0.78~ds/debian/changelog	2023-07-26 13:38:12.000000000 +0200
+++ steam-installer-1.0.0.78~ds/debian/changelog	2023-12-16 23:18:11.000000000 +0100
@@ -1,3 +1,10 @@
+steam-installer (1:1.0.0.78~ds-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udev.pc to place udev files. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 16 Dec 2023 23:18:11 +0100
+
 steam-installer (1:1.0.0.78~ds-3) unstable; urgency=medium
 
   * d/control: Tighten up steam-libs dependencies to match versions.
diff -Nru steam-installer-1.0.0.78~ds/debian/control steam-installer-1.0.0.78~ds/debian/control
--- steam-installer-1.0.0.78~ds/debian/control	2023-07-26 13:38:12.000000000 +0200
+++ steam-installer-1.0.0.78~ds/debian/control	2023-12-16 23:17:21.000000000 +0100
@@ -7,8 +7,10 @@
  Simon McVittie <s...@debian.org>,
 Build-Depends:
  debhelper-compat (= 13),
+ pkgconf,
  po-debconf,
  python3:any,
+ systemd-dev,
  zlib1g,
 Rules-Requires-Root: no
 Standards-Version: 4.6.2
diff -Nru steam-installer-1.0.0.78~ds/debian/rules steam-installer-1.0.0.78~ds/debian/rules
--- steam-installer-1.0.0.78~ds/debian/rules	2023-07-26 13:38:12.000000000 +0200
+++ steam-installer-1.0.0.78~ds/debian/rules	2023-12-16 23:17:41.000000000 +0100
@@ -2,6 +2,8 @@
 
 include /usr/share/dpkg/default.mk
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 export DH_VERBOSE=1
 
 %:
diff -Nru steam-installer-1.0.0.78~ds/debian/steam-devices.install steam-installer-1.0.0.78~ds/debian/steam-devices.install
--- steam-installer-1.0.0.78~ds/debian/steam-devices.install	2023-07-26 13:38:12.000000000 +0200
+++ steam-installer-1.0.0.78~ds/debian/steam-devices.install	2023-12-16 23:17:57.000000000 +0100
@@ -1,2 +1,2 @@
 debian/com.steampowered.steam-devices.metainfo.xml usr/share/metainfo
-subprojects/steam-devices/*.rules lib/udev/rules.d
+subprojects/steam-devices/*.rules ${env:deb_udevdir}/rules.d

Reply via email to