Your message dated Sat, 25 May 2013 12:56:56 +0000
with message-id <[email protected]>
and subject line Bug#705414: fixed in system-config-printer 1.4.1-1
has caused the Debian Bug report #705414,
regarding system-config-printer: install scp-dbus-service and related files -
upgrade to 1.4.0 for 1.6 API
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.)
--
705414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705414
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: system-config-printer
Version: 1.3.7-4
Severity: normal
Dear Maintainer,
Apr 08 07:48:24 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **: Install
system-config-printer which provides DBus method "GroupPhysicalDevices" to
group duplicates in device list.
Apr 08 07:48:24 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **: Install
system-config-printer which provides DBus method "GroupPhysicalDevices" to
group duplicates in device list.
Apr 08 07:48:25 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **: Install
system-config-printer which provides DBus method "GroupPhysicalDevices" to
group duplicates in device list.
Apr 08 07:48:25 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.fedoraproject.Config.Printing was not provided by any .service files
Apr 08 07:48:25 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): GLib-GIO-CRITICAL **: g_bus_get_sync: assertion
`error == NULL || *error == NULL' failed
Apr 08 07:48:25 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **: Failed to get
session bus: (null)
Apr 08 07:48:25 penelope /opt/gnome/etc/gdm/Xsession[4592]:
(gnome-control-center:30104): printers-cc-panel-WARNING **: Installation of the
new printer failed.
This comes from system-config-printer not installing /usr/share/dbus-1
and scp-dbus-service.
I added a dbus force-reload in postinst to cope with the install of the service.
The attached patch is kind of a blob that fixes various issues (sorry, I mangled
it with debdiff).
Ie it fixes above dbus service missing but also upgrade to 1.4.0
of system-config-printer to cope with cups 1.6 api breakage
on its udev/udev-configure-printer.c .
To end up I modified the debian/rules cleanbuilddir/python-cupshelpers::
as to remove cupshelpers/debug.py that the rules files add instead of
non existant cupshelpers/options.py.
Best regards
Alban
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8.0test0-06549-ga519a70 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages system-config-printer depends on:
ii gnome-icon-theme 3.7.91-1
ii python 2.7.3-13
ii python-cups 1.9.62-1
ii python-cupshelpers 1.4.0-1
ii python-dbus 1.1.1-1
ii python-glade2 2.24.0-3+b1
ii python-gnome2 2.28.1+dfsg-1
ii python-gtk2 2.24.0-3+b1
ii python-libxml2 2.9.0+dfsg1-4
ii python-notify 0.1.1-3
ii python-support 1.0.15
Versions of packages system-config-printer recommends:
ii cups-pk-helper 0.2.3-3
ii system-config-printer-udev 1.4.0-1
Versions of packages system-config-printer suggests:
ii python-gnomekeyring 2.32.0+dfsg-2+b1
ii python-smbc 1.0.6-1+b1
pn sessioninstaller <none>
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/system-config-printer/jobviewer.py (from
system-config-printer package)
debsums: changed file /usr/share/system-config-printer/printerproperties.py
(from system-config-printer package)
debsums: changed file /usr/share/system-config-printer/statereason.py (from
system-config-printer package)
diff -Nru system-config-printer-1.3.7/debian/changelog system-config-printer-1.4.0/debian/changelog
--- system-config-printer-1.3.7/debian/changelog 2013-01-25 21:53:20.000000000 +0100
+++ system-config-printer-1.4.0/debian/changelog 2013-04-08 08:26:06.000000000 +0200
@@ -1,3 +1,15 @@
+system-config-printer (1.4.0-1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Add /usr/share/dbus-1 to install to get the dbus services
+ and reload dbus in postinst.
+ Also add scp-dbus-service called by those dbus services.
+
+ * Upgrade to 1.4.0 (udev/udev-configure-printer.c to match cups 1.6
+ API).
+
+ -- Alban Browaeys <[email protected]> Mon, 08 Apr 2013 08:25:11 +0200
+
system-config-printer (1.3.7-4) unstable; urgency=low
* debian/control.in: Add missing Depends against python-dbus
diff -Nru system-config-printer-1.3.7/debian/install system-config-printer-1.4.0/debian/install
--- system-config-printer-1.3.7/debian/install 2011-12-13 20:17:22.000000000 +0100
+++ system-config-printer-1.4.0/debian/install 2013-04-08 07:54:29.000000000 +0200
@@ -1,8 +1,10 @@
debian/tmp/etc/xdg/
debian/tmp/etc/dbus-1/
+debian/tmp/usr/share/dbus-1/
debian/tmp/usr/share/applications
debian/tmp/usr/share/locale
debian/tmp/usr/share/man
debian/tmp/usr/share/system-config-printer/system-config-printer.py /usr/bin
+debian/tmp/usr/bin/scp-dbus-service
debian/tmp/usr/share/system-config-printer/*/
debian/gpk-install-package-name /usr/share/system-config-printer/
diff -Nru system-config-printer-1.3.7/debian/patches/0001-Adjust-python-paths.patch system-config-printer-1.4.0/debian/patches/0001-Adjust-python-paths.patch
--- system-config-printer-1.3.7/debian/patches/0001-Adjust-python-paths.patch 2011-12-13 20:55:52.000000000 +0100
+++ system-config-printer-1.4.0/debian/patches/0001-Adjust-python-paths.patch 2013-04-08 08:32:12.000000000 +0200
@@ -7,8 +7,6 @@
system-config-printer.py | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
-diff --git a/applet.py b/applet.py
-index 221291a..61b3a97 100644
--- a/applet.py
+++ b/applet.py
@@ -20,6 +20,7 @@
@@ -19,8 +17,6 @@
from debug import *
import dbus
-diff --git a/system-config-printer.py b/system-config-printer.py
-index 4b26c07..45fdeb3 100755
--- a/system-config-printer.py
+++ b/system-config-printer.py
@@ -22,6 +22,8 @@
diff -Nru system-config-printer-1.3.7/debian/patches/0002-Disable-firewall-checks.patch system-config-printer-1.4.0/debian/patches/0002-Disable-firewall-checks.patch
--- system-config-printer-1.3.7/debian/patches/0002-Disable-firewall-checks.patch 2011-12-13 20:55:52.000000000 +0100
+++ system-config-printer-1.4.0/debian/patches/0002-Disable-firewall-checks.patch 2013-04-08 08:33:42.000000000 +0200
@@ -6,11 +6,9 @@
firewall.py | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
-diff --git a/firewall.py b/firewall.py
-index 94c1fa6..942e225 100644
---- a/firewall.py
-+++ b/firewall.py
-@@ -94,20 +94,10 @@ class Firewall:
+--- a/firewallsettings.py
++++ b/firewallsettings.py
+@@ -222,21 +222,11 @@
pass
def _check_any_allowed (self, search):
@@ -20,16 +18,17 @@
- return len (isect) != 0
+ return True
- def add_rule (self, rule):
+
+ def add_service (self, service):
- try:
- (args, filename) = self._fw_data
- except AttributeError:
- (args, filename) = self._get_fw_data ()
- if filename == None: return
-
-- args.append (rule)
+- args.append ("--service=" + service)
- self._fw_data = (args, filename)
+ pass
def check_ipp_client_allowed (self):
- return self._check_any_allowed (set(["--port=631:udp",
+ return self._check_any_allowed (set(["--port=%s:%s" %
diff -Nru system-config-printer-1.3.7/debian/patches/0005-Fix-French-translation.patch system-config-printer-1.4.0/debian/patches/0005-Fix-French-translation.patch
--- system-config-printer-1.3.7/debian/patches/0005-Fix-French-translation.patch 2013-01-24 19:28:04.000000000 +0100
+++ system-config-printer-1.4.0/debian/patches/0005-Fix-French-translation.patch 2013-04-14 16:29:58.000000000 +0200
@@ -4,12 +4,12 @@
--- a/po/fr.po
+++ b/po/fr.po
-@@ -2585,7 +2585,7 @@ msgstr "Impression intelligente"
+@@ -2375,7 +2375,7 @@
#. Not more than 25 characters
- #: ../ui/PrinterPropertiesDialog.ui.h:59
+ #: ../ui/PrinterPropertiesDialog.ui.h:14
msgid "Print Self-Test Page"
-msgstr "Imprimer la page de test"
+msgstr "Imprimer la page de diagnostic"
- #: ../ui/PrinterPropertiesDialog.ui.h:62
- #, fuzzy
+ #. Not more than 25 characters
+ #: ../ui/PrinterPropertiesDialog.ui.h:16
diff -Nru system-config-printer-1.3.7/debian/patches/series system-config-printer-1.4.0/debian/patches/series
--- system-config-printer-1.3.7/debian/patches/series 2013-01-24 11:36:27.000000000 +0100
+++ system-config-printer-1.4.0/debian/patches/series 2013-04-08 08:35:13.000000000 +0200
@@ -1,5 +1,4 @@
0001-Adjust-python-paths.patch
0002-Disable-firewall-checks.patch
0003-Use-our-custom-cpk-install-package-name.patch
-0004-Fix-MITM-via-unencrypted-metadata-download.patch
0005-Fix-French-translation.patch
diff -Nru system-config-printer-1.3.7/debian/postinst system-config-printer-1.4.0/debian/postinst
--- system-config-printer-1.3.7/debian/postinst 2011-12-13 20:17:22.000000000 +0100
+++ system-config-printer-1.4.0/debian/postinst 2013-04-08 07:55:07.000000000 +0200
@@ -4,6 +4,26 @@
#DEBHELPER#
+
+case "$1" in
+ configure)
+ # reload dbus config file
+ if [ -x /etc/init.d/dbus ]; then
+ invoke-rc.d dbus force-reload || true
+ fi
+
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+
+
# Remove old configuration file
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt-nl "1.0.0-1"; then
rm -f /etc/xdg/autostart/redhat-print-applet.desktop
diff -Nru system-config-printer-1.3.7/debian/rules system-config-printer-1.4.0/debian/rules
--- system-config-printer-1.3.7/debian/rules 2011-12-22 20:00:30.000000000 +0100
+++ system-config-printer-1.4.0/debian/rules 2013-04-14 16:47:04.000000000 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = pysupport
-GNOME_DOWNLOAD_URL = http://cyberelk.net/tim/data/system-config-printer/1.3/$(GNOME_TARBALL)
+GNOME_DOWNLOAD_URL = http://cyberelk.net/tim/data/system-config-printer/1.4/$(GNOME_TARBALL)
TARBALL_EXT := tar.xz
include /usr/share/cdbs/1/rules/debhelper.mk
@@ -17,7 +17,7 @@
cp debug.py smburi.py cupshelpers/
cleanbuilddir/python-cupshelpers::
- rm -rf cupshelpers/options.py cupshelpers/smburi.py
+ rm -rf cupshelpers/debug.py cupshelpers/smburi.py
binary-install/system-config-printer::
for i in debian/tmp/usr/share/system-config-printer/*.py; do \
--- End Message ---
--- Begin Message ---
Source: system-config-printer
Source-Version: 1.4.1-1
We believe that the bug you reported is fixed in the latest version of
system-config-printer, 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.
Emilio Pozuelo Monfort <[email protected]> (supplier of updated
system-config-printer 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: SHA1
Format: 1.8
Date: Sat, 25 May 2013 14:00:55 +0200
Source: system-config-printer
Binary: system-config-printer python-cupshelpers system-config-printer-udev
Architecture: source all amd64
Version: 1.4.1-1
Distribution: experimental
Urgency: low
Maintainer: Debian GNOME Maintainers
<[email protected]>
Changed-By: Emilio Pozuelo Monfort <[email protected]>
Description:
python-cupshelpers - Python utility modules around the CUPS printing system
system-config-printer - graphical interface to configure the printing system
system-config-printer-udev - Utilities to detect and configure printers
automatically
Closes: 705414 705521
Changes:
system-config-printer (1.4.1-1) experimental; urgency=low
.
[ Emilio Pozuelo Monfort ]
* Change the maintainer to the GNOME team. Thanks Otavio for all
your work!
.
[ Jordi Mallach ]
* Don't search for .bz2 tarballs, only .xz is supported.
* Fix get-orig-source by using more gnome-get-source.mk variables to
build the download URL.
* Remove obsolete postinst script.
* Bump debhelper compatibility to 8.
* Remove debian/tmp prefix from .install files.
* Update Vcs-* fields to non-redirected URLs.
.
[ Josselin Mouette ]
* Update repository URL.
.
[ Emilio Pozuelo Monfort ]
* New upstream release.
+ Doesn't use deprecated udev functions. Closes: #705521.
+ debian/control.in:
- Update build dependencies.
- Update dependencies for the GI migration.
- Bump python-cups dependency to 1.9.60.
+ debian/install:
- Renamed to debian/system-config-printer.install.
+ debian/rules,
debian/system-config-printer.install:
- Remove various hacks in debian/rules and just install the upstream
script to run system-config-printer{,-applet}.
+ debian/rules:
- Remove debug.py instead of options.py as that's what we're copying.
+ debian/system-config-printer.install:
- Install the dbus service files and the necessary binaries.
Closes: #705414.
+ debian/patches/0004-Fix-MITM-via-unencrypted-metadata-download.patch:
- Removed, included upstream.
+ debian/patches/*:
- Refreshed.
* Upload to experimental until the python-cups dependency can be satisfied
in unstable.
Checksums-Sha1:
c25764c3f99b1d9e9926ed87a3c2e35384237b39 1912 system-config-printer_1.4.1-1.dsc
d461221a59117e2febce3323dc3f9ba5afd2a208 885832
system-config-printer_1.4.1.orig.tar.xz
b3a59f7fe2c508ef338a6e27ae9e436df139aa59 10666
system-config-printer_1.4.1-1.debian.tar.gz
b5bafd084d9067e1ad97107a16fc1eee75a69709 1491372
system-config-printer_1.4.1-1_all.deb
a9a38fc707a585e000888174118412a286685ea2 105346
python-cupshelpers_1.4.1-1_all.deb
727cbb97ea147dc07d0acbaa072a48031831227d 89406
system-config-printer-udev_1.4.1-1_amd64.deb
Checksums-Sha256:
cdc06a091a37221adddbac5261053c331b0d73d28595a1a78785ca5da5ca597a 1912
system-config-printer_1.4.1-1.dsc
4e22413f3581fc1cf38af648573fa90bb7783a2c3b8be3aadf47beda101e04f8 885832
system-config-printer_1.4.1.orig.tar.xz
1510b31634b45505f3630c2c0bba5cd67ae615c1c566457a88f6c318bfc2e537 10666
system-config-printer_1.4.1-1.debian.tar.gz
56f98b4cb9d087bcee5cae08137019c991c31ebebcf17f6be495e0bba22bc54e 1491372
system-config-printer_1.4.1-1_all.deb
341bfde5d7aa4daad00374f127b5c73732450275003de4712cf396c1454a27ee 105346
python-cupshelpers_1.4.1-1_all.deb
a134df1a87bda51c9ffc9d30ad6be27aeff043b64cced6b3d159964034981bc9 89406
system-config-printer-udev_1.4.1-1_amd64.deb
Files:
e738f87cfa589c88113a3e331d58e1af 1912 gnome optional
system-config-printer_1.4.1-1.dsc
3d794eb88c5813c3024b181677a602dd 885832 gnome optional
system-config-printer_1.4.1.orig.tar.xz
dd53f97f3659699bd162ded55eb01410 10666 gnome optional
system-config-printer_1.4.1-1.debian.tar.gz
74a0ef0ea7ede77da6f6fb6098daa8f7 1491372 gnome optional
system-config-printer_1.4.1-1_all.deb
da49bd6b3088cefee456bc364ed7162e 105346 python optional
python-cupshelpers_1.4.1-1_all.deb
3f9ffd964558fa7f883a19b8ae580443 89406 gnome optional
system-config-printer-udev_1.4.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGgqcYACgkQhTV17EoIsv6/yACgznlZooOaebdrvPdM6XFZw017
Ry4AoLVVjCNfCJOGnQb+CSzHBOYF2ZZ2
=UfAc
-----END PGP SIGNATURE-----
--- End Message ---