Your message dated Sat, 01 Jun 2024 06:49:03 +0000
with message-id <[email protected]>
and subject line Bug#1058857: fixed in alsa-tools 1.2.11-1.1
has caused the Debian Bug report #1058857,
regarding alsa-tools: use udev.pc to place udev rules and helpers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1058857: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: alsa-tools
Version: 1.2.5-3
Severity: normal
Tags: patch
User: [email protected]
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.
Given I don't have any of the relevant hardware, this is obviously
untested. It _looks_ good though.
The patch also changes the firmware path to /usr/lib/firmware, to
avoid another upload. On merged systems (= anything bookworm or
newer), this should be a harmless change.
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 alsa-tools-1.2.5/debian/alsa-firmware-loaders.dirs alsa-tools-1.2.5/debian/alsa-firmware-loaders.dirs
--- alsa-tools-1.2.5/debian/alsa-firmware-loaders.dirs 2019-11-07 00:42:01.000000000 +0100
+++ alsa-tools-1.2.5/debian/alsa-firmware-loaders.dirs 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-/lib/udev/rules.d
diff -Nru alsa-tools-1.2.5/debian/alsa-firmware-loaders.udev alsa-tools-1.2.5/debian/alsa-firmware-loaders.udev
--- alsa-tools-1.2.5/debian/alsa-firmware-loaders.udev 2021-09-09 02:44:36.000000000 +0200
+++ alsa-tools-1.2.5/debian/alsa-firmware-loaders.udev 2023-12-17 01:36:02.000000000 +0100
@@ -1,18 +1,18 @@
###############################################################################
# Description: udev rule to load TASCAM US-122 usb sound card.
# Created: Wed, 12 Sep 2007 17:05:25 +0200
-# Last modified: Thu, 21 Jan 2010 21:21:12 +0100
+# Last modified: Sun, 17 Dec 2023 01:35:53 +0100
# File: /etc/udev/alsa-firmware-loaders.rules
###############################################################################
# TASCAM US-428 usb sound card.
- SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8000", RUN+="/lib/udev/tascam_fw"
+ SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8000", RUN+="tascam_fw"
# TASCAM US-224 usb sound card.
- SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8004", RUN+="/lib/udev/tascam_fw"
+ SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8004", RUN+="tascam_fw"
# TASCAM US-112 usb sound card.
- SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8006", RUN+="/lib/udev/tascam_fw"
+ SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1604", ATTR{idProduct}=="8006", RUN+="tascam_fw"
- SUBSYSTEM=="usb", ACTION=="add", ATTR{id}=="USX2Y", RUN+="/lib/udev/tascam_fpga"
+ SUBSYSTEM=="usb", ACTION=="add", ATTR{id}=="USX2Y", RUN+="tascam_fpga"
# vim:tw=160:syntax=udevrules
diff -Nru alsa-tools-1.2.5/debian/changelog alsa-tools-1.2.5/debian/changelog
--- alsa-tools-1.2.5/debian/changelog 2023-05-05 00:35:19.000000000 +0200
+++ alsa-tools-1.2.5/debian/changelog 2023-12-17 01:37:30.000000000 +0100
@@ -1,3 +1,13 @@
+alsa-tools (1.2.5-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use udev.pc to place udev files. (Closes: #-1)
+ * Avoid hard-coding path to udev helpers in udev rules, as it will
+ change.
+ * Update firmware path to /usr/lib/firmware.
+
+ -- Chris Hofstaedtler <[email protected]> Sun, 17 Dec 2023 01:37:30 +0100
+
alsa-tools (1.2.5-3) unstable; urgency=medium
* Drop changelog.ALSA.
diff -Nru alsa-tools-1.2.5/debian/control alsa-tools-1.2.5/debian/control
--- alsa-tools-1.2.5/debian/control 2023-05-05 00:30:53.000000000 +0200
+++ alsa-tools-1.2.5/debian/control 2023-12-17 01:37:13.000000000 +0100
@@ -10,7 +10,9 @@
libasound2-dev (>= 1.0.24.1),
libfltk1.3-dev,
libgtk-3-dev,
- libgtk2.0-dev
+ libgtk2.0-dev,
+ pkgconf,
+ systemd-dev,
Standards-Version: 4.6.0
Homepage: https://www.alsa-project.org/
Vcs-Git: https://salsa.debian.org/alsa-team/alsa-tools.git
diff -Nru alsa-tools-1.2.5/debian/patches/firmware_locations.patch alsa-tools-1.2.5/debian/patches/firmware_locations.patch
--- alsa-tools-1.2.5/debian/patches/firmware_locations.patch 2021-09-09 02:44:36.000000000 +0200
+++ alsa-tools-1.2.5/debian/patches/firmware_locations.patch 2023-12-17 01:33:07.000000000 +0100
@@ -1,5 +1,5 @@
Author: Elimar Riesebieter <[email protected]>
-Description: Set firmware location to /lib/firmware, as expected in Debian.
+Description: Set firmware location to /usr/lib/firmware, as expected in Debian.
Forwarded: no
Index: alsa-tools/hdsploader/Makefile.in
@@ -11,7 +11,7 @@
# # Process this file with automake to produce Makefile.in.
MYNAME = hdsploader
-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
-+AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
++AM_CFLAGS = -DDATAPATH=\"/usr/lib/firmware/$(MYNAME)\"
hdsploader_SOURCES = hdsploader.c
EXTRA_DIST = gitcompile depcomp
all: all-am
@@ -24,7 +24,7 @@
AUTOMAKE_OPTIONS = 1.3 foreign
MYNAME = mixartloader
-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
-+AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
++AM_CFLAGS = -DDATAPATH=\"/usr/lib/firmware/$(MYNAME)\"
mixartloader_SOURCES = mixartloader.c
EXTRA_DIST = gitcompile depcomp
all: all-am
@@ -37,7 +37,7 @@
AUTOMAKE_OPTIONS = 1.3 foreign
MYNAME = pcxhrloader
-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
-+AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
++AM_CFLAGS = -DDATAPATH=\"/usr/lib/firmware/$(MYNAME)\"
pcxhrloader_SOURCES = pcxhrloader.c
EXTRA_DIST = gitcompile depcomp
all: all-am
@@ -50,7 +50,7 @@
AUTOMAKE_OPTIONS = 1.3 foreign
MYNAME = usx2yloader
-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
-+AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
++AM_CFLAGS = -DDATAPATH=\"/usr/lib/firmware/$(MYNAME)\"
usx2yloader_SOURCES = usx2yloader.c
EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in
hotplug_files = tascam_fw tascam_fpga
@@ -63,7 +63,7 @@
AUTOMAKE_OPTIONS = 1.3 foreign
MYNAME = vxloader
-AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
-+AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
++AM_CFLAGS = -DDATAPATH=\"/usr/lib/firmware/$(MYNAME)\"
vxloader_SOURCES = vxloader.c
EXTRA_DIST = gitcompile depcomp
all: all-am
diff -Nru alsa-tools-1.2.5/debian/patches/usx2yloader_udev.patch alsa-tools-1.2.5/debian/patches/usx2yloader_udev.patch
--- alsa-tools-1.2.5/debian/patches/usx2yloader_udev.patch 2021-09-09 02:44:36.000000000 +0200
+++ alsa-tools-1.2.5/debian/patches/usx2yloader_udev.patch 2023-12-17 01:35:12.000000000 +0100
@@ -1,6 +1,6 @@
Author: Elimar Riesebieter <[email protected]>
-Description: Make usx2yloader work with udev.
-Last-Update: 12-09-2007
+Description: Avoid installing unnecessary files
+Last-Update: 2023-12-17
Index: alsa-tools/usx2yloader/Makefile.am
===================================================================
@@ -11,9 +11,8 @@
EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in
-hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga
--hotplugdir = /etc/hotplug/usb
+hotplug_files = tascam_fw tascam_fpga
-+hotplugdir = /lib/udev
+ hotplugdir = /etc/hotplug/usb
hotplug_SCRIPTS = $(hotplug_files)
@@ -26,9 +25,8 @@
usx2yloader_SOURCES = usx2yloader.c
EXTRA_DIST = gitcompile depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in
-hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga
--hotplugdir = /etc/hotplug/usb
+hotplug_files = tascam_fw tascam_fpga
-+hotplugdir = /lib/udev
+ hotplugdir = /etc/hotplug/usb
hotplug_SCRIPTS = $(hotplug_files)
all: all-am
diff -Nru alsa-tools-1.2.5/debian/rules alsa-tools-1.2.5/debian/rules
--- alsa-tools-1.2.5/debian/rules 2021-09-09 02:45:02.000000000 +0200
+++ alsa-tools-1.2.5/debian/rules 2023-12-17 01:37:30.000000000 +0100
@@ -29,6 +29,8 @@
#SUBDIRS := $(SUBDIRS_tmp)
DOCS = README README.profiles TODO NEWS output.doc
+UDEVDIR = $(shell pkg-config --variable=udevdir udev)
+
#
# Common
#
@@ -100,7 +102,7 @@
name=$(shell echo \$$subdir | sed -e 's/^.*\///g' | sed -e 's/_/-/g'); \
echo; \
echo "Installing $$subdir into $$name"; \
- $(MAKE) install DESTDIR=$(CURDIR)/debian/$$package; \
+ $(MAKE) install hotplugdir=$(UDEVDIR) DESTDIR=$(CURDIR)/debian/$$package; \
set -e; doc_list='$(DOCS)'; for doc_file in $$doc_list; do \
if [ -s $$doc_file ]; then \
install -d $(CURDIR)/debian/$$package/usr/share/doc/$$package/$$name; \
--- End Message ---
--- Begin Message ---
Source: alsa-tools
Source-Version: 1.2.11-1.1
Done: Chris Hofstaedtler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
alsa-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated alsa-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 30 May 2024 01:58:32 +0200
Source: alsa-tools
Architecture: source
Version: 1.2.11-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1058857
Changes:
alsa-tools (1.2.11-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Use udev.pc to place udev files. (Closes: #1058857)
* Avoid hard-coding path to udev helpers in udev rules, as it will
change.
* Update firmware path to /usr/lib/firmware.
Checksums-Sha1:
cffe7565e777b6be75259a6a13b4cf4939832968 2741 alsa-tools_1.2.11-1.1.dsc
03ac9c0cb3391a57c98d57d5fec9ffe78a21cb4d 26428
alsa-tools_1.2.11-1.1.debian.tar.xz
ef30f6f784542331592f422ba38e05ff2e158154 17869
alsa-tools_1.2.11-1.1_arm64.buildinfo
Checksums-Sha256:
9c4288450eb3b69f0b053d5d4a31fc53cbe83b7963e210e59eb6346b048b27de 2741
alsa-tools_1.2.11-1.1.dsc
b22c2de0d881a824fb75f0a0fb114f0c94079b492d5158fa2cba71d67ada0e9a 26428
alsa-tools_1.2.11-1.1.debian.tar.xz
922d9a6ab338be83ff95e45e30437d4d769a9d8960d08c83d58a1d4488a7efd6 17869
alsa-tools_1.2.11-1.1_arm64.buildinfo
Files:
6264d794cd69d98965231303759cb256 2741 sound optional alsa-tools_1.2.11-1.1.dsc
0e29d7ece25697eadd05ea4dc8bc0b68 26428 sound optional
alsa-tools_1.2.11-1.1.debian.tar.xz
35d426d0fabb1d4f7f953c97535077e3 17869 sound optional
alsa-tools_1.2.11-1.1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmZXwhQACgkQXBPW25MF
LgO34A/8CGhch7WAxMuns8XVWQoEU3iAhC3o54EKb0+Xbm85/XZDMajxA15/VTuI
ZJMGkShD78nFY4jBaqGPFG9U60BQtW9uDVXy0ZwwuH2DRpe7ubT60PpXK//Ztrtk
Rr4CV3VL55PJnHO8JMsAMgitfonN3ssFmcaht7Lj9VaBvFr+3kQZv11+XJHBeBdc
SJR6Ur7uR/ROQCUs5JrkMEY3oxAA91vScf5uXkftkJs3hlCjrnmbT+KO60w+Q3su
P1iqpE/z3nIGYs+4ROwCKqeUZIp3X3SkF0iKIkhfocvzEXbKAjGqVNV3HqARdmaN
ZgeBCKHamm+NzKaOVIqYZQBSMo9HkryoEhuxfSnTtCVgIf6THrbOsL15AuSWvKOr
RvtJY9/MUQ3JnRLal6qcx6rPVF9tGOw241Sbn2rmdx8xrSs9e2QlbCUPgQwehtu/
mkqOvZGG0q/96vaVxNtOBK8rcDz/QO/SjNR1T42ZZgjlm2CyPHUiAp/NzGvGFk6h
gq3Q5UG5/aCNUiF6z73chuEImepKD94UXAJ4Ek7nk9Xs3bNjpuy2pv0xVxdN/lRM
vYVQ/HLdZPlRRqIRjtpzV17A4YlJlsvyR4rGTTZHqZJeKtEESDKbxVVVE0cqzcxg
JsAwF53dOObKkLYOxo6/fsJtJOYbuMAmCphTLSbi3bHmlsiPiug=
=Ut9U
-----END PGP SIGNATURE-----
pgpJSRXgUmvy9.pgp
Description: PGP signature
--- End Message ---