Merge branch 'f20'

This commit is contained in:
Tim Waugh 2014-07-04 17:19:14 +01:00
commit a801f2cbaf
6 changed files with 12 additions and 46 deletions

1
.gitignore vendored
View File

@ -247,3 +247,4 @@ pycups-1.9.51.tar.bz2
/system-config-printer-1.4.2.tar.xz
/system-config-printer-1.4.3.tar.xz
/system-config-printer-1.4.4.tar.xz
/system-config-printer-1.4.5.tar.xz

View File

@ -1 +1 @@
229c6ea422748a0fd7e533bba25595fc system-config-printer-1.4.4.tar.xz
defcfe0e29ab7baafc042a28f5be5949 system-config-printer-1.4.5.tar.xz

Binary file not shown.

View File

@ -1,38 +0,0 @@
diff -up system-config-printer-1.4.4/scp-dbus-service.py.openprinting-freeze system-config-printer-1.4.4/scp-dbus-service.py
--- system-config-printer-1.4.4/scp-dbus-service.py.openprinting-freeze 2014-01-28 16:02:43.000000000 +0000
+++ system-config-printer-1.4.4/scp-dbus-service.py 2014-05-01 13:00:04.048257135 +0100
@@ -194,34 +194,6 @@ class GetBestDriversRequest:
fit=fit)
ppdname = ppdnamelist[0]
status = fit[ppdname]
-
- try:
- if status != "exact" and not self.download_tried:
- self.download_tried = True
- self.loop = GObject.MainLoop ()
- self.dialog = newprinter.NewPrinterGUI()
- self.dialog.NewPrinterWindow.set_modal (False)
- self.handles = \
- [self.dialog.connect ('dialog-canceled',
- self.on_dialog_canceled),
- self.dialog.connect ('driver-download-checked',
- self.on_driver_download_checked)]
- if self.dialog.init ('download_driver',
- devid=self.device_id):
- self.loop.run()
- for handle in self.handles:
- self.dialog.disconnect (handle)
- if len(self.installed_files) > 0:
- debugprint ("GetBestDrivers request: Re-fetch PPDs after driver download")
- g_ppds = FetchedPPDs (self.cupsconn, self.language)
- self._signals.append (g_ppds.connect ('ready', self._ppds_ready))
- self._signals.append (g_ppds.connect ('error', self._ppds_error))
- g_ppds.run ()
- return
- except:
- # Ignore driver download if packages needed for the GUI are not
- # installed or if no windows can be opened
- pass
g_killtimer.remove_hold ()
self.reply_handler (map (lambda x: (x, fit[x]), ppdnamelist))
except Exception as e:

View File

@ -1,13 +1,12 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.4.4
Release: 4%{?dist}
Version: 1.4.5
Release: 1%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
Source0: http://cyberelk.net/tim/data/system-config-printer/1.4/%{name}-%{version}.tar.xz
Patch1: system-config-printer-no-applet-in-gnome.patch
Patch2: system-config-printer-openprinting-freeze.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92
@ -71,10 +70,6 @@ printers.
# Don't start the applet in GNOME.
%patch1 -p1 -b .no-applet-in-gnome
# Prevent the D-Bus service from freezing by disabling openprinting
# driver downloads in that service (bug #1052203).
%patch2 -p1 -b .openprinting-freeze
sed -i.cflags-override -e '/^CFLAGS/d' Makefile.{am,in}
%build
@ -175,6 +170,14 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
exit 0
%changelog
* Fri Jul 4 2014 Tim Waugh <twaugh@redhat.com> 1.4.5-1
- 1.4.5:
- Some codec fixes (bug #968142, bug #1023968, bug #1094037).
- Traceback fixes (bug #982071, bug #1090479, bug #1105229).
- IPv6 address entry fix (bug #1074245).
- Auth info saving improvement (bug #1089029).
- Use LockButton for fewer auth dialogs (bug #714820).
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild