Bug#1122772: rtl-sdr: Please remove/replace usage of dh_movetousr
Michael Biebl <[email protected]> Sun, 5 Jul 2026 17:28:12 +0200
| Newsgroups | gmane.linux.debian.devel.ham |
|---|---|
| Message-ID | <42699c91-5d6b-4d8e-99af-7fea48f60c5b__28430.0635614031$1783265370$gmane$org@debian.org> |
Control: tags -1 + patch On Fri, 12 Dec 2025 14:52:17 +0100 [email protected] wrote: > Source: rtl-sdr > Version: 2.0.2-2 > Severity: normal > User: [email protected] > Usertags: dh_movetousr_removal > > Hi, > > your package rtl-sdr either Build-Depends on dh-sequence-movetousr or > uses dh_movetousr conditionally to move files from aliased locations > like /sbin, /bin or /lib to the canonical location in /usr. > > Eventually, we would like to get rid of this debhelper addon. > Packages should use the canonical paths without any postprocessing. > > This means, files are installed directly into /usr. > > Please note, that such a change must not be backported to bookworm or > older. If you intend to provide such backports, these changes must be > reverted for those releases. If this means an undue burden on your > workflow our recommendation is to postpone this cleanup. > > The motivation for this bug report is, to inform maintainers, that > installing files into the canonical location explicitly, is now the > preferred approach and dh_movetousr is now a deprecated tool. > > The goal is, to have dh_movetousr removed after forky is released. We > can revise this plan, if needed. Please keep this timeline in mind > and let us know if this doesn't work for you. > > For more information see [1]. > > If you have further questions, there is an IRC channel named > #debian-usrmerge on OFTC. > > Regards, > > Michael > > [1] https://lists.debian.org/debian-devel/2025/11/msg00245.html > > I looked into this and noticed, that the dh-sequence-movetousr Build-Depends is not needed anymore and can be dropped safely. The udev rule is installed vi dh_installudev, which already does the correct thing. So what remains is to simply drop the Build-Depends on dh-sequence-movetousr. Please find attached a patch which implements this change. Regards, Michael
rtl-sdr_2.0.2-2.1.debdiff
(text/plain, 1021 B)
diff -Nru rtl-sdr-2.0.2/debian/changelog rtl-sdr-2.0.2/debian/changelog --- rtl-sdr-2.0.2/debian/changelog 2024-04-25 13:37:07.000000000 +0200 +++ rtl-sdr-2.0.2/debian/changelog 2026-07-05 17:19:53.000000000 +0200 @@ -1,3 +1,11 @@ +rtl-sdr (2.0.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Drop Build-Depends on dh-sequence-movetousr, not actually needed + (Closes: #1122772) + + -- Michael Biebl <[email protected]> Sun, 05 Jul 2026 17:19:53 +0200 + rtl-sdr (2.0.2-2) unstable; urgency=medium * upload to unstable diff -Nru rtl-sdr-2.0.2/debian/control rtl-sdr-2.0.2/debian/control --- rtl-sdr-2.0.2/debian/control 2024-04-24 16:26:40.000000000 +0200 +++ rtl-sdr-2.0.2/debian/control 2026-07-05 17:19:31.000000000 +0200 @@ -7,7 +7,6 @@ Build-Depends: base-files (>= 13~), cmake, debhelper-compat (= 13), - dh-sequence-movetousr, libusb-1.0-0-dev [!kfreebsd-any], libusb2-dev [kfreebsd-any], pkgconf
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmpKeAwFAwAAAAAACgkQauHfDWCPItwX yg/9GRrgB82ezQAWYpOs3oXT+ieyw/uLcoWkI1+UkPC9CSAPV5YvTGTaX7KK4jTV/3XZMOykw8t0 wWLDpwhexUn7j2vFcExWT/PLLEdq+s5k1v27VfhJmbAV/C0VcxVgJuu0hLEzey3qJ56sWepNjUDm MsIWoH96aZpnysZuVUjJ44LupJ9TYBFDVGpnfGxGQG91PaRZ8arqPDO1kxqb+eWnpE3BqK9refSv WYcqRVQ0MLYCp8q21bX0jnwBTtgTjShrGotiChHoK28/UaNwrfqGcTpjjxqQtiiUSwLm90HvHsm9 Q9DjtBCgGFkdUXsGQVHzrgaeDULjETJe6VYWX/c50i4yehlUSA3oXjDnRMdqwFqwdQ55m3F4Webp GMz2hFpP41DQyBMtmt9ENg/Lcogv++F0ePHP7wOWVnu17/Odjg7iyzCP2O5jNijtd7OlNGGVkNO9 X3kctt2/8mXmCFMrecEbocFxmCWNi0+amy8mY9ggAcz/LSG0WrNGnvJYR8NKWmKuOvun8m6cCaop SuPDkxaAelRdmr+DIzcViS4aiIZT6FK+pzFlh7CZOaQZMpexpwLW7/QxZZqgp1ERMox5irUylo5w SwQaqfmMrSaawBa7uC6KRj9QU/hHII2HEPiyJO2qPTDbUR2BgoDzi7m3/sQ6K+GsE1nxbdwa+ZJJ 6ZU= =kBEU -----END PGP SIGNATURE-----