Source: gnome-settings-daemon
Version: 45.0-1
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: dep17m2

Dear Maintainer,

your package installs a udev rule, great. For the ongoing UsrMerge
effort [1], we want to change "udevdir" in udev.pc. When this happens,
your package will FTBFS. The upstream build system will install the udev
rules into the new path, but the Debian packaging expects them in the
old path.

For your convenience I'm attaching a patch to fix this.

Please apply at your earliest convenience. Per the wiki [1], it is
useful to first upload to experimental and wait a few days for the dumat
tool evaluating the change, and only then upload to unstable.

I expect udev.pc will change soon, and then this bug will become
release-critical.

Thanks for considering,
Chris

[1] https://wiki.debian.org/UsrMerge

diff -Nru gnome-settings-daemon-45.0/debian/changelog gnome-settings-daemon-45.0/debian/changelog
--- gnome-settings-daemon-45.0/debian/changelog	2023-09-18 20:32:16.000000000 +0200
+++ gnome-settings-daemon-45.0/debian/changelog	2023-12-02 02:35:20.000000000 +0100
@@ -1,3 +1,10 @@
+gnome-settings-daemon (45.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udevdir from udev.pc to determine udev rules install path.
+
+ -- Chris <[email protected]>  Sat, 02 Dec 2023 02:35:20 +0100
+
 gnome-settings-daemon (45.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru gnome-settings-daemon-45.0/debian/control gnome-settings-daemon-45.0/debian/control
--- gnome-settings-daemon-45.0/debian/control	2023-09-18 20:32:16.000000000 +0200
+++ gnome-settings-daemon-45.0/debian/control	2023-12-02 02:35:20.000000000 +0100
@@ -6,7 +6,7 @@
 Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]>
-Uploaders: Amin Bandali <[email protected]>, Gunnar Hjalmarsson <[email protected]>, Jeremy Bícha <[email protected]>, Laurent Bigonville <[email protected]>, Marco Trevisan (Treviño) <[email protected]>
+Uploaders: Gunnar Hjalmarsson <[email protected]>, Jeremy Bicha <[email protected]>, Laurent Bigonville <[email protected]>
 Build-Depends: debhelper-compat (= 13),
                dh-exec,
                dh-sequence-gnome,
diff -Nru gnome-settings-daemon-45.0/debian/gnome-settings-daemon-common.install gnome-settings-daemon-45.0/debian/gnome-settings-daemon-common.install
--- gnome-settings-daemon-45.0/debian/gnome-settings-daemon-common.install	2023-09-18 20:32:16.000000000 +0200
+++ gnome-settings-daemon-45.0/debian/gnome-settings-daemon-common.install	2023-12-02 02:35:06.000000000 +0100
@@ -3,4 +3,4 @@
 usr/share/glib-2.0
 usr/share/locale
 usr/lib/systemd/user
-[linux-any] lib/udev
+[linux-any] ${env:deb_udevdir}
diff -Nru gnome-settings-daemon-45.0/debian/rules gnome-settings-daemon-45.0/debian/rules
--- gnome-settings-daemon-45.0/debian/rules	2023-09-18 20:32:16.000000000 +0200
+++ gnome-settings-daemon-45.0/debian/rules	2023-12-02 02:34:51.000000000 +0100
@@ -8,6 +8,8 @@
 
 export GSD_MAJOR_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1 | cut -d. -f1)
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 %:
 	dh $@
 

Reply via email to