Your message dated Mon, 18 Dec 2023 15:19:35 +0000
with message-id <[email protected]>
and subject line Bug#1058829: fixed in stlink 1.7.0+ds-2
has caused the Debian Bug report #1058829,
regarding stlink: use udev.pc to place udev rules
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.)


-- 
1058829: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058829
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: stlink
Version: 1.7.0+ds-1
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.

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 stlink-1.7.0+ds/debian/changelog stlink-1.7.0+ds/debian/changelog
--- stlink-1.7.0+ds/debian/changelog	2021-08-15 15:23:25.000000000 +0200
+++ stlink-1.7.0+ds/debian/changelog	2023-12-16 23:11:12.000000000 +0100
@@ -1,3 +1,10 @@
+stlink (1.7.0+ds-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udev.pc to place udev files. (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]>  Sat, 16 Dec 2023 23:11:12 +0100
+
 stlink (1.7.0+ds-1) unstable; urgency=medium
 
   * Merge tag 'v1.7.0' into debian. (Closes: #984356)
diff -Nru stlink-1.7.0+ds/debian/control stlink-1.7.0+ds/debian/control
--- stlink-1.7.0+ds/debian/control	2021-08-15 15:20:57.000000000 +0200
+++ stlink-1.7.0+ds/debian/control	2023-12-16 23:10:17.000000000 +0100
@@ -1,7 +1,7 @@
 Source: stlink
 Priority: optional
 Maintainer: Luca Boccassi <[email protected]>
-Build-Depends: debhelper-compat (= 13), cmake (>= 3.4.2), libusb-1.0-0-dev, libgtk-3-dev
+Build-Depends: debhelper-compat (= 13), cmake (>= 3.4.2), libusb-1.0-0-dev, libgtk-3-dev, pkgconf, systemd-dev
 Standards-Version: 4.5.1
 Rules-Requires-Root: no
 Section: electronics
diff -Nru stlink-1.7.0+ds/debian/rules stlink-1.7.0+ds/debian/rules
--- stlink-1.7.0+ds/debian/rules	2021-08-15 15:20:57.000000000 +0200
+++ stlink-1.7.0+ds/debian/rules	2023-12-16 23:11:12.000000000 +0100
@@ -10,12 +10,14 @@
 # see FEATURE AREAS in dpkg-buildflags(1)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 %:
 	dh $@ --buildsystem cmake
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-    -DSTLINK_UDEV_RULES_DIR='/lib/udev/rules.d'
+    -DSTLINK_UDEV_RULES_DIR=/$(deb_udevdir)/rules.d
 
 override_dh_auto_install:
 	dh_auto_install
diff -Nru stlink-1.7.0+ds/debian/stlink-tools.install stlink-1.7.0+ds/debian/stlink-tools.install
--- stlink-1.7.0+ds/debian/stlink-tools.install	2021-08-15 15:20:57.000000000 +0200
+++ stlink-1.7.0+ds/debian/stlink-tools.install	2023-12-16 23:10:29.000000000 +0100
@@ -1,3 +1,3 @@
 /usr/bin/st-*
-lib/udev/rules.d/*.rules
+${env:deb_udevdir}/rules.d/*.rules
 etc/modprobe.d/*.conf

--- End Message ---
--- Begin Message ---
Source: stlink
Source-Version: 1.7.0+ds-2
Done: Luca Boccassi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
stlink, 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.
Luca Boccassi <[email protected]> (supplier of updated stlink 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: SHA512

Format: 1.8
Date: Mon, 18 Dec 2023 15:01:19 +0100
Source: stlink
Architecture: source
Version: 1.7.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Luca Boccassi <[email protected]>
Changed-By: Luca Boccassi <[email protected]>
Closes: 1058829
Changes:
 stlink (1.7.0+ds-2) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-
     Browse.
   * Update standards version to 4.6.2, no changes needed.
 .
   [ Chris Hofstaedtler ]
   * use udev.pc to place udev rules (Closes: #1058829)
Checksums-Sha1:
 34c748c4191ceb688dbc4f9b13df4c944ea06c3a 2122 stlink_1.7.0+ds-2.dsc
 b5b0d997e3ae84847391241a5ceadf5e07ce603a 9076 stlink_1.7.0+ds-2.debian.tar.xz
 2fd0bc5f8908867b709bb159546b0024ee29a87f 15922 
stlink_1.7.0+ds-2_source.buildinfo
Checksums-Sha256:
 4fa11639778ecc00564a7cae58b884ed752871721b95c9b8ded2cc21a6ccd3d9 2122 
stlink_1.7.0+ds-2.dsc
 d662e64ba29973eaf7ad6b897f223a854b8e77d2d38d70c6aa76fe41c15923a6 9076 
stlink_1.7.0+ds-2.debian.tar.xz
 073320320b036b73966eac759ffe646a3187341b474429f0b1b5d3a0682dc3f0 15922 
stlink_1.7.0+ds-2_source.buildinfo
Files:
 0e661295e47e8422582fe18ae44b6f20 2122 electronics optional 
stlink_1.7.0+ds-2.dsc
 8120006454aec59ca394fc078006a1ac 9076 electronics optional 
stlink_1.7.0+ds-2.debian.tar.xz
 01f25a42a23e435271c7ff938cceae13 15922 electronics optional 
stlink_1.7.0+ds-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmWAUMcRHGJsdWNhQGRl
Ymlhbi5vcmcACgkQKGv37813JB6Z6hAAvFMVEZgirTLX3UzQIXswag4baBAkNkhR
USqSwTvfvyR8yZ0wlCRlXjZRHmpNs5evgqeK0cMyjpWsJuR6bEkA3/QuwVuB02Za
7nDrY/MuAWh4dc/Yp/1IMO8YI8LksntzGR2YkHXYlbnqrAB5LkCMKqtVWq2T2WoU
s9HNwWkZ1He1vPHFDax78OdD6cezS+g6M6GJ68qjJ1/V/BMTKa8QBmuJ4a3yPwAR
FeTfoDKnZKmrxMf8we4c1pSfegzYqPLV10XYVawVEcl2cfivMNjkmpcvm7N67SPy
wGPZMxN0kOyL2w/fseITz5u3qrbZdIpMd9/i29BeMovmToFjwcqnBA/oEQg3PaN2
2nLr7hsMQ9NZ3d3aZH7xhZcSGqDPN3tmbfs8Pj1Z5M4Bd5d+IlTfYBriPM30B0iG
EX4Bv/HLEfWLlNXOjjv6BtDk4G0ExSbdFIN4BLCOc0Ue1dKPjHZRlJTruPYFLuTA
b3SUuqwHv/GnVo07eTcOaU6aHEg6Ty1UsE+dwL445f7hibjFKZ1K1M5aKwE3c42R
dGRLsM/Umq4p8IsI6t63phWlJ8OWyqOfMV95c0qMk0fI62RlgUJ0XDLC2MLKIQQL
qZAGlLjcU5vuO3Pc4nhtsqs1Qtid7CTW13NYxxMc/8nRI0OULO3Qpg9Q4aXXTpEY
HRr/w1Wu96g=
=R48/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to