Source: xf86-input-wacom
Version: 1.2.0-1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs files related to systemd and 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 to
systemd.pc/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. systemd.pc in unstable already points to
/usr/lib.

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

PS: I would push a merge request to salsa, but cloning the repository
fails.
diff -Nru xf86-input-wacom-1.2.0/debian/changelog xf86-input-wacom-1.2.0/debian/changelog
--- xf86-input-wacom-1.2.0/debian/changelog	2023-06-12 03:31:07.000000000 +0200
+++ xf86-input-wacom-1.2.0/debian/changelog	2023-12-09 01:53:39.000000000 +0100
@@ -1,3 +1,10 @@
+xf86-input-wacom (1.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udev.pc/systemd.pc to place files
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 09 Dec 2023 01:53:39 +0100
+
 xf86-input-wacom (1.2.0-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru xf86-input-wacom-1.2.0/debian/control xf86-input-wacom-1.2.0/debian/control
--- xf86-input-wacom-1.2.0/debian/control	2022-07-14 16:27:43.000000000 +0200
+++ xf86-input-wacom-1.2.0/debian/control	2023-12-09 01:52:39.000000000 +0100
@@ -10,6 +10,7 @@
  libxinerama-dev,
  libxrandr-dev,
  pkg-config,
+ systemd-dev,
  xserver-xorg-dev,
  xutils-dev,
 Standards-Version: 4.6.1
diff -Nru xf86-input-wacom-1.2.0/debian/rules xf86-input-wacom-1.2.0/debian/rules
--- xf86-input-wacom-1.2.0/debian/rules	2022-07-14 16:27:39.000000000 +0200
+++ xf86-input-wacom-1.2.0/debian/rules	2023-12-09 01:53:13.000000000 +0100
@@ -14,8 +14,8 @@
 
 include /usr/share/dpkg/default.mk
 
-SYSTEMD_SYSTEM_DIR = /lib/systemd/system
-UDEV_RULES_D_DIR = /lib/udev/rules.d
+SYSTEMD_SYSTEM_DIR = $(shell pkg-config --variable=systemdsystemunitdir systemd)
+UDEV_RULES_D_DIR = $(shell pkg-config --variable=udevdir udev)/rules.d
 XORG_MODULE_DIR = /usr/lib/xorg/modules
 
 package = xserver-xorg-input-wacom

Reply via email to