[system-config-printer/f15] 1.3.4.

Tim Waugh twaugh at fedoraproject.org
Fri Jul 15 14:26:51 UTC 2011


commit 423f818c9ebee5b05ba33a293b5bd97942924faa
Author: Tim Waugh <twaugh at redhat.com>
Date:   Fri Jul 15 15:03:22 2011 +0100

    1.3.4.
    
    Don't rely on retriggering printers; enumerate them from systemd
    instead.
    Don't complain about missing/invalid device ID for devices we've
    already handled.
    Removed unused Printer Groups feature.
    Don't show "No printers configured" page if the printers are
    filtered in any way.
    URL-quote URIs when using "Find Network Printer" (Ubuntu #808137).
    Downloadable drivers: don't display printers for which there are
    no drivers (bug #668154).
    Kerberos support for the SMB 'Verify' button (requires new enough
    pycups).
    Removed IPP/HTTP device screen in favour of "Enter URI"
    (bug #685091).
    Converted ComboBoxEntry widgets to Entry+EntryCompletion in
    NewPrinterWindow.ui.
    Robustness in ppdsloader in the face of errors (Ubuntu #766818).
    Changed Make/Model/State labels into GtkEntry widgets so contents
    are always fully selectable (bug #719217).
    Convert iters to paths before comparing (bug #717062, Ubuntu #791690,
    trac #221).
    Set translation domain in D-Bus service (Ubuntu #783967).
    Ensure consistency in jobviewer if add_job fails (bug #693055,
    bug #632551).
    Avoid PostScript for HP LaserJet 2100 Series (bug #710231).
    Raised priority for SpliX driver (Ubuntu bug #793741).
    Updated Free Software Foundation (FSF) address.
    Adjusted test code in asyncpk1.py so it doesn't look like a
    tempfile vulnerability.

 .gitignore                             |    1 +
 sources                                |    2 +-
 system-config-printer-1.3.3.tar.xz.sig |  Bin 65 -> 0 bytes
 system-config-printer-1.3.4.tar.xz.sig |  Bin 0 -> 280 bytes
 system-config-printer.spec             |   62 +++++++++++++++++++++++++++++--
 5 files changed, 60 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b121e8a..f08a73f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -232,3 +232,4 @@ pycups-1.9.51.tar.bz2
 /system-config-printer-1.3.1.tar.xz
 /system-config-printer-1.3.2.tar.xz
 /system-config-printer-1.3.3.tar.xz
+/system-config-printer-1.3.4.tar.xz
diff --git a/sources b/sources
index fa17fdf..e32ada7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-658516848c6ced2b1acc6d3525d27204  system-config-printer-1.3.3.tar.xz
+8e4b1b1fd078c09769708f09b77cb3ed  system-config-printer-1.3.4.tar.xz
diff --git a/system-config-printer-1.3.4.tar.xz.sig b/system-config-printer-1.3.4.tar.xz.sig
new file mode 100644
index 0000000..33ed0f2
Binary files /dev/null and b/system-config-printer-1.3.4.tar.xz.sig differ
diff --git a/system-config-printer.spec b/system-config-printer.spec
index 9a6f3a2..fabb571 100644
--- a/system-config-printer.spec
+++ b/system-config-printer.spec
@@ -4,7 +4,7 @@
 
 Summary: A printer administration tool
 Name: system-config-printer
-Version: 1.3.3
+Version: 1.3.4
 Release: 1%{?dist}
 License: GPLv2+
 URL: http://cyberelk.net/tim/software/system-config-printer/
@@ -17,6 +17,7 @@ BuildRequires: gettext-devel
 BuildRequires: intltool
 BuildRequires: libusb-devel, libudev-devel, glib2-devel
 BuildRequires: xmlto
+BuildRequires: systemd-units
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -33,6 +34,9 @@ Requires: gnome-python2-gnomekeyring
 Requires: libxml2-python
 Requires: python-smbc
 Requires: python-slip-gtk
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
 
 Obsoletes: system-config-printer-gui <= 0.6.152
 Provides: system-config-printer-gui = 0.6.152
@@ -111,6 +115,7 @@ rm -rf %buildroot
 /lib/udev/udev-*-printer
 %ghost %dir %{_localstatedir}/run/udev-configure-printer
 %ghost %verify(not md5 size mtime) %config(noreplace,missingok) %attr(0644,root,root) %{_localstatedir}/run/udev-configure-printer/usb-uris
+%{_unitdir}/udev-configure-printer.service
 
 %files
 %defattr(-,root,root,-)
@@ -132,8 +137,6 @@ rm -rf %buildroot
 %{_datadir}/%{name}/dnssdresolve.py*
 %{_datadir}/%{name}/errordialogs.py*
 %{_datadir}/%{name}/firewall.py*
-%{_datadir}/%{name}/GroupsPane.py*
-%{_datadir}/%{name}/GroupsPaneModel.py*
 %{_datadir}/%{name}/gtkinklevel.py*
 %{_datadir}/%{name}/gtkspinner.py*
 %{_datadir}/%{name}/gui.py*
@@ -160,7 +163,6 @@ rm -rf %buildroot
 %{_datadir}/%{name}/timedops.py*
 %{_datadir}/%{name}/ToolbarSearchEntry.py*
 %{_datadir}/%{name}/userdefault.py*
-%{_datadir}/%{name}/XmlHelper.py*
 %{_datadir}/%{name}/gtk_label_autowrap.py*
 %{_datadir}/%{name}/applet.py*
 %{_datadir}/%{name}/troubleshoot
@@ -178,7 +180,59 @@ rm -rf %buildroot
 /bin/rm -f /var/cache/foomatic/foomatic.pickle
 exit 0
 
+%post udev
+if [ $1 -eq 1 ] ; then
+    # Initial installation
+    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+fi
+
+%preun udev
+if [ $1 -eq 0 ] ; then
+    # Package removal, not upgrade
+    /bin/systemctl --no-reload disable udev-configure-printer.service >/dev/null 2>&1 || :
+    /bin/systemctl stop udev-configure-printer.service >/dev/null 2>&1 || :
+fi
+
+%postun udev
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ $1 -ge 1 ] ; then
+    # Package upgrade, not uninstall
+    /bin/systemctl try-restart udev-configure-printer.service >/dev/null 2>&1 || :
+fi
+
 %changelog
+* Fri Jul 15 2011 Tim Waugh <twaugh at redhat.com> 1.3.4-1
+- 1.3.4:
+  - Don't rely on retriggering printers; enumerate them from systemd
+    instead.
+  - Don't complain about missing/invalid device ID for devices we've
+    already handled.
+  - Removed unused Printer Groups feature.
+  - Don't show "No printers configured" page if the printers are
+    filtered in any way.
+  - URL-quote URIs when using "Find Network Printer" (Ubuntu #808137).
+  - Downloadable drivers: don't display printers for which there are
+    no drivers (bug #668154).
+  - Kerberos support for the SMB 'Verify' button (requires new enough
+    pycups).
+  - Removed IPP/HTTP device screen in favour of "Enter URI"
+    (bug #685091).
+  - Converted ComboBoxEntry widgets to Entry+EntryCompletion in
+    NewPrinterWindow.ui.
+  - Robustness in ppdsloader in the face of errors (Ubuntu #766818).
+  - Changed Make/Model/State labels into GtkEntry widgets so contents
+    are always fully selectable (bug #719217).
+  - Convert iters to paths before comparing (bug #717062, Ubuntu #791690,
+    trac #221).
+  - Set translation domain in D-Bus service (Ubuntu #783967).
+  - Ensure consistency in jobviewer if add_job fails (bug #693055,
+    bug #632551).
+  - Avoid PostScript for HP LaserJet 2100 Series (bug #710231).
+  - Raised priority for SpliX driver (Ubuntu bug #793741).
+  - Updated Free Software Foundation (FSF) address.
+  - Adjusted test code in asyncpk1.py so it doesn't look like a
+    tempfile vulnerability.
+
 * Fri Jun 03 2011 Jiri Popelka <jpopelka at redhat.com> 1.3.3-1
 - 1.3.3:
   - Set translation domain for ServerSettingsDialog (Ubuntu #777188).


More information about the scm-commits mailing list