Bug#1054795: system-config-printer: FTBFS: dh_install: error: missing files, aborting
Peter Green
plugwash at debian.org
Sat Apr 13 13:23:45 BST 2024
Since there was no apparent maintainer response (the only responses were from
me and from one of the people working on the time64 transition) I went ahead
and uploaded a NMU'd with Ubuntu's fix.
Debdiff is attatched.
-------------- next part --------------
diff -Nru system-config-printer-1.5.18/debian/changelog system-config-printer-1.5.18/debian/changelog
--- system-config-printer-1.5.18/debian/changelog 2022-12-12 21:04:11.000000000 +0000
+++ system-config-printer-1.5.18/debian/changelog 2024-04-12 23:24:56.000000000 +0000
@@ -1,3 +1,11 @@
+system-config-printer (1.5.18-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix installation of cupshelpers module with Python 3.12. Patch taken from
+ Ubuntu 1.5.18-1ubuntu6 upload by Till Kamppeter (Closes: #1054795).
+
+ -- Peter Michael Green <plugwash at debian.org> Fri, 12 Apr 2024 23:24:56 +0000
+
system-config-printer (1.5.18-1) unstable; urgency=medium
[ Jeremy Bicha ]
diff -Nru system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch
--- system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch 1970-01-01 00:00:00.000000000 +0000
+++ system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch 2024-04-12 23:03:53.000000000 +0000
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -63,7 +63,7 @@
+
+ # Use distutils to install the module.
+ install-exec-local: .stamp-distutils-in-builddir
+- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) --install-layout=deb
+
+ # Uninstall the module, crossing our fingers that we know enough
+ # about how distutils works to do this. Unfortunately, distutils
diff -Nru system-config-printer-1.5.18/debian/patches/series system-config-printer-1.5.18/debian/patches/series
--- system-config-printer-1.5.18/debian/patches/series 2022-12-12 21:04:11.000000000 +0000
+++ system-config-printer-1.5.18/debian/patches/series 2024-04-12 23:05:12.000000000 +0000
@@ -3,3 +3,4 @@
Allow-installing-packages-from-OpenPrinting.patch
Do-not-autostart-the-applet-on-LXDE-or-Unity.patch
Show-Printer-Settings-in-Unity-Control-Center.patch
+makefile-am-fix-setup-py-install.patch
diff -Nru system-config-printer-1.5.18/debian/python3-cupshelpers.install system-config-printer-1.5.18/debian/python3-cupshelpers.install
--- system-config-printer-1.5.18/debian/python3-cupshelpers.install 2022-12-12 21:04:11.000000000 +0000
+++ system-config-printer-1.5.18/debian/python3-cupshelpers.install 2024-04-12 23:03:53.000000000 +0000
@@ -1,5 +1,4 @@
etc/cupshelpers/
-usr/lib/python3*/*-packages/cupshelpers
-usr/lib/python3*/*-packages/cupshelpers-1.0*.egg-info
+usr/lib/python3*/*-packages/cupshelpers*
debug.py usr/lib/python3/dist-packages/cupshelpers/
smburi.py usr/lib/python3/dist-packages/cupshelpers/
More information about the pkg-gnome-maintainers
mailing list