Hello community,
here is the log from the commit of package system-config-printer for
openSUSE:Factory checked in at 2015-01-24 22:19:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/system-config-printer (Old)
and /work/SRC/openSUSE:Factory/.system-config-printer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "system-config-printer"
Changes:
--------
---
/work/SRC/openSUSE:Factory/system-config-printer/system-config-printer.changes
2014-11-05 16:26:26.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.system-config-printer.new/system-config-printer.changes
2015-01-24 22:19:52.000000000 +0100
@@ -1,0 +2,124 @@
+Tue Jan 20 18:07:36 UTC 2015 - [email protected]
+
+- Update to version 1.5.4:
+ + Updated aclocal.m4.
+ + Included an AppData file.
+ + Never set SMB Verify button sensitive without checking
+ pysmb is available.
+ + newprinter: fixed lock handling when OpenPrintingRequest
+ is cancelled.
+ + newprinter: Don't make installpackage errors completely
+ silent.
+ + PhysicalDevice: extract hostname from hp:/net/...?hostname=
+ URIs (rh#1154686).
+ + newprinter.py: If additional utilities are needed, do not
+ try to install them twice.
+ + Make recognition of HP MFPs with scan functionality actually
+ work, instead of considering everything as HP scanner.
+ + Check for both /etc/sane.d/dll.d/hpaio and
+ /etc/sane.d/dll.d/hplip so that it works with both Red Hat
+ and Ubuntu.
+ + newprinter.py: Import installpackage so that PackageKit-based
+ package installation actually works.
+ + installpackage.py: Use D-Bus directly to communicate with
+ PackageKit.
+ + ppdcache: return exception rather than looping.
+ + Removed empty translations.
+ + timedops: Don't try to remove sources that are already removed.
+ + Tell user how to retrieve journal entries as root (rh#1157253).
+ + Fixed parsing of HPLIP fax type, as implicit conversion from
+ string to int does not work anymore (lp#1369789).
+ + Don't treat CUPS IPP conformance failure state reasons as
+ errors.
+ + Codec fix for AuthDialog.get_auth_info (rh#1060453).
+ + Fix path for screenshots.
+ + Added AppData screenshots.
+ + Fixed physical device identification.
+ + The cupshelpers.ppds.normalize() function is used first now.
+ + jobviewer: alweys fetch auth-info-required attribute
+ (lp#1380514).
+ + Don't try installing smb backend a second time.
+ + Show New Printer dialog immediately for printer_with_uri mode
+ (rh#1158743).
+ + monitor: another update timer handling issue.
+ + Cancel deferred timer on quit (rh#1145388).
+ + Moved appdata file back to top level.
+ + Fixed Error Policy label content.
+ + Changed GtkAlignment xalign/yalign properties to
+ halign/valign on child.
+ + Dropped xscale/yscale properties.
+ + Dropped GtkViewport resize_mode property.
+ + Converted GtkAlignment *_padding properties to
+ GtkWidget margin_* equivalents.
+ + Set orientation of some internal GtkBox widgets.
+ + Changed GtkHBox/GtkVBox widgets to GtkBox.
+ + Removed GtkAlignment widgets.
+ + Refer to button label by id, not parentage.
+ + jobviewer: tell monitor which printers to watch.
+ + monitor: job-removed when moved out of watched set of printers.
+ + jobviewer: React to button-press-event for Move To submenu
+ (lp#1388601).
+ + Catch IPPError when writing server settings (rh#1159584).
+- Changes from version 1.5.0:
+ + Don't ask PackageKit to look for drivers for empty
+ device IDs.
+ + monitor: only run one timer at a time.
+ + Don't fill the makes list after downloadable driver
+ chosen.
+ + OpenPrintingRequest object for grouping queries.
+ + Use items() instead of iteritems() with Python 3 dicts.
+ + Use items() instead of iteritems() in
+ GroupPhysicalDevicesRequest's _group().
+ + Fix for automatically adding Bluetooth printers.
+ + Memory leak fixes in udev-configure-printer.
+ + Don't run gpk-install-package-name directly, use
+ installpackage module.
+ + Main window: don't try removing the populateList timer
+ when not set.
+ + monitor: don't try removing the update timer when not set.
+- Changes from version 1.4.7:
+ + Use GLib.idle_add, not GObject.idle_add.
+ + Take the gdk lock before entering gtk_main() (rh#1052203).
+ + Definitive postscriptdriver.prov is in pycups.
+ + More Python3 fixes..
+ + Fix LPD/LPR Probe (lp#1372213).
+ + socket's send() takes bytes and recv() returns bytes.
+ + Don't try nested classes, as CUPS forbids it (rh#1140627).
+ + Moved DOWNLOADABLE_* config constants to config.py.
+- Changes from version 1.4.6:
+ + Explicity use /usr/bin/python3.
+ + Makefiles consistent for python3.
+ + Consistent use of PYTHON env var in Makefile.
+ + Python3 changes for pickle handling.
+ + Keep device URI field updated.
+ + Codec issue fixes.
+ + Always show connections for new printers when it makes sense.
+ + fix resolution for unicode URIs.
+ + Always display error when unable to fetch PPD for remote
+ printer (rh#1087052).
+ + Use urlparse for decoding DNSSD URLs.
+ + Python3 syntax fixes.
+ + GUI: chain up to parent constructor.
+ + Prevent printer-action menu items being incorrectly sensitive
+ (rh#1124284).
+ + dbus: reload PPDSs in FetchedPPDS safely.
+ + dbus: rewrite openprinting search as async and call destroy
+ on NP dialog.
+ + Revert "Don't download OpenPrinting drivers in D-Bus service
+ (rh#1052203).
+ + Don't call Gtk.evengs_pending() in nextNPTab (rh#1052203).
+ + Explicitly use /usr/bin/python3 in udev-add-printer
+ (rh#1126149).
+ + More robust argument handling in udev-configure-printer.
+ + Use Gtk main loop in D-Bus service (rh#1116756).
+ + Fixed type causing bluetooth queues not to be removed.
+ + use subprocess.DEVNULL instead of std...=file(/dev/null,...).
+ + Don't set subprocess's stdout to non-writable fd.
+ + Fixed __cmp__ conversion to ruch comparisons (lp#1364196).
+- Adjusted BuildRequires for Python3 Port:
+ + Removed: python-devel, python-xml, dbus-1-python, python-cairo,
+ python-gobject, python-smbc.
+ + Added: python3-devel, python3-lxml, dbus-1-python3,
+ python3-cairo, python3-gobject, python3-smbc.
+
+-------------------------------------------------------------------
Old:
----
system-config-printer-1.4.5.tar.xz
New:
----
system-config-printer-1.5.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ system-config-printer.spec ++++++
--- /var/tmp/diff_new_pack.gMEO8b/_old 2015-01-24 22:19:53.000000000 +0100
+++ /var/tmp/diff_new_pack.gMEO8b/_new 2015-01-24 22:19:53.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package system-config-printer
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,13 +25,13 @@
%endif
Name: system-config-printer
-Version: 1.4.5
+Version: 1.5.4
Release: 0
Summary: A printer administration tool
License: GPL-2.0+
Group: Hardware/Printing
Url: http://cyberelk.net/tim/software/system-config-printer/
-Source0:
http://cyberelk.net/tim/data/system-config-printer/1.4/%{name}-%{version}.tar.xz
+Source0:
http://cyberelk.net/tim/data/system-config-printer/1.5/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE system-config-printer-icon-brp-friendly.patch
[email protected] -- brp checks don't like the printer icon name, so we have to
use something else
Patch13: system-config-printer-icon-brp-friendly.patch
# PATCH-FIX-OPENSUSE system-config-printer-no-openprinting.patch bnc#733542
[email protected] -- Disable feature that downloads ppd from openprinting.org
@@ -54,8 +54,8 @@
# For directory ownership
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
-BuildRequires: python-devel
-BuildRequires: python-xml
+BuildRequires: python3-devel
+BuildRequires: python3-lxml
BuildRequires: systemd
BuildRequires: update-desktop-files
BuildRequires: xmlto
@@ -74,12 +74,12 @@
%package common
Summary: A printer administration tool -- Common Files
Group: Hardware/Printing
-Requires: dbus-1-python
-Requires: python-cairo
+Requires: dbus-1-python3
Requires: python-cups >= 1.9.60
Requires: python-cupshelpers
-Requires: python-gobject
-Requires: python-smbc
+Requires: python3-cairo
+Requires: python3-gobject
+Requires: python3-smbc
Recommends: %{name}-common-lang
Recommends: cups-pk-helper
# As soon as this package is installed, it makes sense to have the
@@ -139,7 +139,7 @@
Summary: Utility to autoconfigure printers when plugged
Group: Hardware/Printing
Obsoletes: cups-autoconfig <= 0.1.0
-Requires: dbus-1-python
+Requires: dbus-1-python3
Requires: python-cups >= 1.9.60
Requires: python-cupshelpers
Recommends: %{name}-applet
@@ -219,6 +219,7 @@
# The dbus service is provided by applet.py
%config(noreplace)
%{_sysconfdir}/dbus-1/system.d/com.redhat.NewPrinterNotification.conf
%{_sysconfdir}/xdg/autostart/print-applet.desktop
+%{_datadir}/appdata/*.xml
%files dbus-service
%defattr(-,root,root,-)
@@ -230,11 +231,11 @@
%defattr(-,root,root,-)
%dir %{_sysconfdir}/cupshelpers
%config(noreplace) %{_sysconfdir}/cupshelpers/preferreddrivers.xml
-%exclude %{python_sitelib}/cupshelpers/*.pyc
+%exclude %{python3_sitelib}/cupshelpers/__pycache__/*.pyc
# The dbus service is provided by cupshelpers/installdriver.py
%config(noreplace)
%{_sysconfdir}/dbus-1/system.d/com.redhat.PrinterDriversInstaller.conf
-%{python_sitelib}/cupshelpers
-%{python_sitelib}/cupshelpers*.egg-info
+%{python3_sitelib}/cupshelpers
+%{python3_sitelib}/cupshelpers*.egg-info
%files -n udev-configure-printer
%defattr(-,root,root,-)
++++++ system-config-printer-1.4.5.tar.xz -> system-config-printer-1.5.4.tar.xz
++++++
++++ 224712 lines of diff (skipped)
++++++ system-config-printer-icon-brp-friendly.patch ++++++
--- /var/tmp/diff_new_pack.gMEO8b/_old 2015-01-24 22:19:54.000000000 +0100
+++ /var/tmp/diff_new_pack.gMEO8b/_new 2015-01-24 22:19:54.000000000 +0100
@@ -1,8 +1,8 @@
-Index: system-config-printer-1.2.4/print-applet.desktop.in
+Index: system-config-printer-1.5.4/print-applet.desktop.in
===================================================================
---- system-config-printer-1.2.4.orig/print-applet.desktop.in
-+++ system-config-printer-1.2.4/print-applet.desktop.in
-@@ -5,7 +5,7 @@ _Comment=System tray icon for managing p
+--- system-config-printer-1.5.4.orig/print-applet.desktop.in
++++ system-config-printer-1.5.4/print-applet.desktop.in
+@@ -4,7 +4,7 @@ _Comment=System tray icon for managing p
Exec=system-config-printer-applet
Terminal=false
Type=Application
@@ -11,11 +11,11 @@
NotShowIn=KDE;
StartupNotify=false
X-GNOME-Autostart-Delay=30
-Index: system-config-printer-1.2.4/system-config-printer.desktop.in
+Index: system-config-printer-1.5.4/system-config-printer.desktop.in
===================================================================
---- system-config-printer-1.2.4.orig/system-config-printer.desktop.in
-+++ system-config-printer-1.2.4/system-config-printer.desktop.in
-@@ -5,5 +5,5 @@ _Comment=Configure printers
+--- system-config-printer-1.5.4.orig/system-config-printer.desktop.in
++++ system-config-printer-1.5.4/system-config-printer.desktop.in
+@@ -4,5 +4,5 @@ _Comment=Configure printers
Exec=system-config-printer
Terminal=false
Type=Application
++++++ system-config-printer-no-openprinting.patch ++++++
--- /var/tmp/diff_new_pack.gMEO8b/_old 2015-01-24 22:19:54.000000000 +0100
+++ /var/tmp/diff_new_pack.gMEO8b/_new 2015-01-24 22:19:54.000000000 +0100
@@ -1,41 +1,40 @@
-Index: system-config-printer-1.4.5/cupshelpers/openprinting.py
+Index: system-config-printer-1.5.4/cupshelpers/openprinting.py
===================================================================
---- system-config-printer-1.4.5.orig/cupshelpers/openprinting.py
-+++ system-config-printer-1.4.5/cupshelpers/openprinting.py
-@@ -49,6 +49,11 @@ class _QueryThread (threading.Thread):
+--- system-config-printer-1.5.4.orig/cupshelpers/openprinting.py
++++ system-config-printer-1.5.4/cupshelpers/openprinting.py
+@@ -52,6 +52,10 @@ class _QueryThread (threading.Thread):
+ _debugprint ("-%s" % self)
def run (self):
-
+ ## Disabled on openSUSE, see discussion in
https://bugzilla.novell.com/show_bug.cgi?id=733542
+ if self.callback != None:
-+ self.callback (403, self.user_data, None)
++ self.callback (403, self.user_data, None)
+ return
-+
+
# Callback function for pycURL collecting the data coming from
# the web server
- def collect_data(result):
-@@ -83,6 +88,7 @@ class _QueryThread (threading.Thread):
- self.result = sys.exc_info ()
+@@ -88,6 +92,7 @@ class _QueryThread (threading.Thread):
if status == None: status = 0
+ _debugprint ("%s: query complete" % self)
+ ## openSUSE: just a guard to know if first part in patch should be
updated
if self.callback != None:
self.callback (status, self.user_data, self.result)
-Index: system-config-printer-1.4.5/newprinter.py
+Index: system-config-printer-1.5.4/newprinter.py
===================================================================
---- system-config-printer-1.4.5.orig/newprinter.py
-+++ system-config-printer-1.4.5/newprinter.py
-@@ -427,6 +427,8 @@ class NewPrinterGUI(GtkGUI):
+--- system-config-printer-1.5.4.orig/newprinter.py
++++ system-config-printer-1.5.4/newprinter.py
+@@ -423,6 +423,8 @@ class NewPrinterGUI(GtkGUI):
# Set up OpenPrinting widgets.
- self.openprinting = cupshelpers.openprinting.OpenPrinting ()
- self.openprinting_query_handle = None
+ self.opreq = None
+ self.opreq_handlers = None
+ ## Disabled on openSUSE, see discussion in
https://bugzilla.novell.com/show_bug.cgi?id=733542
+ self.rbtnNPDownloadableDriverSearch.hide()
combobox = self.cmbNPDownloadableDriverFoundPrinters
cell = Gtk.CellRendererText()
combobox.pack_start (cell, True)
-@@ -1598,6 +1600,7 @@ class NewPrinterGUI(GtkGUI):
+@@ -1608,6 +1610,7 @@ class NewPrinterGUI(GtkGUI):
self.btnNPBack.hide()
self.btnNPForward.show()
downloadable_selected = False
@@ -43,22 +42,7 @@
if self.rbtnNPDownloadableDriverSearch.get_active ():
combobox = self.cmbNPDownloadableDriverFoundPrinters
iter = combobox.get_active_iter ()
-@@ -3257,11 +3260,12 @@ class NewPrinterGUI(GtkGUI):
- self.cmbNPDownloadableDriverFoundPrinters.set_sensitive (False)
-
- def openprinting_printers_found (self, status, user_data, printers):
-- if status != 0:
-+ # as openSUSE disables openprinting support, we always return status
403 - forbidden
-+ if status != 0 and status != 403:
- # Should report error.
- print "HTTP Status %d" % status
- print printers
-- print traceback.extract_tb(printers[2], limit=None)
-+ # print traceback.extract_tb(printers[2], limit=None)
- self.downloadable_printers = []
- self.openprinting_drivers_found ()
- return
-@@ -3826,6 +3830,8 @@ class NewPrinterGUI(GtkGUI):
+@@ -3773,6 +3776,8 @@ class NewPrinterGUI(GtkGUI):
elif self.rbtnNPPPD.get_active():
ppd = cups.PPD(self.filechooserPPD.get_filename())
else:
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]