Source: xperia-flashtool Version: 0.9.34+ds-1 Severity: normal Tags: patch User: helm...@debian.org 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 dh_installudev to install the udev rule. When dh_installudev gets changed in unstable, your package will benefit via a binNMU or the next normal upload. This is safe to do now. Later during the trixie cycle I expect this bug class to raise in priority. 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. Thank you for considering, Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru xperia-flashtool-0.9.34+ds/debian/50-xperia-flashtool.rules xperia-flashtool-0.9.34+ds/debian/50-xperia-flashtool.rules --- xperia-flashtool-0.9.34+ds/debian/50-xperia-flashtool.rules 2022-03-15 17:12:07.000000000 +0100 +++ xperia-flashtool-0.9.34+ds/debian/50-xperia-flashtool.rules 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -# From http://www.flashtool.net/lininstall.php -# Enable xperia as a user device -SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", TAG+="uaccess", GROUP="plugdev", MODE="0660" diff -Nru xperia-flashtool-0.9.34+ds/debian/changelog xperia-flashtool-0.9.34+ds/debian/changelog --- xperia-flashtool-0.9.34+ds/debian/changelog 2022-03-15 17:12:07.000000000 +0100 +++ xperia-flashtool-0.9.34+ds/debian/changelog 2023-12-16 22:19:15.000000000 +0100 @@ -1,3 +1,10 @@ +xperia-flashtool (0.9.34+ds-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use dh_installudev to place udev files. (Closes: #-1) + + -- Chris Hofstaedtler <z...@debian.org> Sat, 16 Dec 2023 22:19:15 +0100 + xperia-flashtool (0.9.34+ds-1) unstable; urgency=medium * New upstream release 0.9.34+ds diff -Nru xperia-flashtool-0.9.34+ds/debian/install xperia-flashtool-0.9.34+ds/debian/install --- xperia-flashtool-0.9.34+ds/debian/install 2022-03-15 17:12:07.000000000 +0100 +++ xperia-flashtool-0.9.34+ds/debian/install 2023-12-16 22:19:15.000000000 +0100 @@ -4,4 +4,3 @@ debian/tmp/flashtool.png /usr/share/icons/locolor/32x32/apps debian/flashtool.desktop /usr/share/applications debian/flashtool usr/bin -debian/50-xperia-flashtool.rules /lib/udev/rules.d diff -Nru xperia-flashtool-0.9.34+ds/debian/rules xperia-flashtool-0.9.34+ds/debian/rules --- xperia-flashtool-0.9.34+ds/debian/rules 2022-03-15 17:12:07.000000000 +0100 +++ xperia-flashtool-0.9.34+ds/debian/rules 2023-12-16 22:19:15.000000000 +0100 @@ -12,5 +12,8 @@ cp src/gui/ressources/icons/flash_32.png debian/tmp/flashtool.png dh_auto_install +override_dh_installudev: + dh_installudev --priority=50 + %: dh $@ --with javahelper --buildsystem=ant diff -Nru xperia-flashtool-0.9.34+ds/debian/xperia-flashtool.udev xperia-flashtool-0.9.34+ds/debian/xperia-flashtool.udev --- xperia-flashtool-0.9.34+ds/debian/xperia-flashtool.udev 1970-01-01 01:00:00.000000000 +0100 +++ xperia-flashtool-0.9.34+ds/debian/xperia-flashtool.udev 2022-03-15 17:12:07.000000000 +0100 @@ -0,0 +1,3 @@ +# From http://www.flashtool.net/lininstall.php +# Enable xperia as a user device +SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", TAG+="uaccess", GROUP="plugdev", MODE="0660"