Source: squeak-plugins-scratch
Version: 1.4.0.2~svn.r83-3.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 squeak-plugins-scratch-1.4.0.2~svn.r83/debian/95-wedo.rules squeak-plugins-scratch-1.4.0.2~svn.r83/debian/95-wedo.rules
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/95-wedo.rules	2022-12-01 21:18:32.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/95-wedo.rules	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0003", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
-
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog	2022-12-01 21:18:32.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog	2023-12-16 23:21:32.000000000 +0100
@@ -1,3 +1,10 @@
+squeak-plugins-scratch (1.4.0.2~svn.r83-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_installudev install udev rules. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 16 Dec 2023 23:21:32 +0100
+
 squeak-plugins-scratch (1.4.0.2~svn.r83-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/control squeak-plugins-scratch-1.4.0.2~svn.r83/debian/control
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/control	2022-12-01 21:18:32.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/control	2023-12-16 23:21:32.000000000 +0100
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Miriam Ruiz <mir...@debian.org>
-Build-Depends: debhelper, dh-buildinfo,
+Build-Depends: debhelper (>= 13), dh-buildinfo,
  libcairo2-dev (>= 1.8.6), libpango1.0-dev (>= 1.24.1),
  libglib2.0-dev (>= 2.20.1), libv4l-dev (>= 0.5.8)
 Standards-Version: 4.2.1.4
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules	2022-12-01 21:18:32.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules	2023-12-16 23:21:32.000000000 +0100
@@ -68,6 +68,7 @@
 	dh_installexamples -a
 	dh_install -a
 	dh_installman -a
+	dh_installudev -a --priority=95 --name=wedo
 	dh_link -a
 	dh_strip -a --dbg-package=squeak-plugins-scratch-dbg
 	dh_compress -a
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.install squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.install
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.install	2022-12-01 21:18:32.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.install	2023-12-16 23:21:32.000000000 +0100
@@ -3,4 +3,3 @@
 unicode/so.UnicodePlugin usr/lib/scratch/plugins/
 wedo/so.WeDoPlugin usr/lib/scratch/plugins/
 debian/run-scratch usr/share/doc/squeak-plugins-scratch/scripts/
-debian/95-wedo.rules lib/udev/rules.d/
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.wedo.udev squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.wedo.udev
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.wedo.udev	1970-01-01 01:00:00.000000000 +0100
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/squeak-plugins-scratch.wedo.udev	2022-12-01 21:18:32.000000000 +0100
@@ -0,0 +1,2 @@
+ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0003", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
+

Reply via email to