Merge branch 'f15' into f16
This commit is contained in:
commit
8dcda33521
18
hplip-systray-dbus-exception.patch
Normal file
18
hplip-systray-dbus-exception.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -up hplip-3.11.10/ui4/systemtray.py.dbus-exception hplip-3.11.10/ui4/systemtray.py
|
||||||
|
--- hplip-3.11.10/ui4/systemtray.py.dbus-exception 2011-10-25 15:59:53.360181865 +0100
|
||||||
|
+++ hplip-3.11.10/ui4/systemtray.py 2011-10-25 16:03:55.294815114 +0100
|
||||||
|
@@ -707,7 +707,13 @@ def run(read_pipe):
|
||||||
|
log.set_module("hp-systray(qt4)")
|
||||||
|
log.debug("PID=%d" % os.getpid())
|
||||||
|
|
||||||
|
- app = SystemTrayApp(sys.argv, read_pipe)
|
||||||
|
+ try:
|
||||||
|
+ app = SystemTrayApp(sys.argv, read_pipe)
|
||||||
|
+ except DBusException, e:
|
||||||
|
+ # No session bus
|
||||||
|
+ log.debug("Caught exception: %s" % e)
|
||||||
|
+ sys.exit(1)
|
||||||
|
+
|
||||||
|
app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app
|
||||||
|
|
||||||
|
i = 0
|
@ -1,7 +1,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.11.10
|
Version: 3.11.10
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Conflicts: system-config-printer < 0.6.132
|
Conflicts: system-config-printer < 0.6.132
|
||||||
@ -26,6 +26,7 @@ Patch9: hplip-snmp-quirks.patch
|
|||||||
Patch10: hplip-discovery-method.patch
|
Patch10: hplip-discovery-method.patch
|
||||||
Patch11: hplip-hpijs-marker-supply.patch
|
Patch11: hplip-hpijs-marker-supply.patch
|
||||||
Patch12: hplip-clear-old-state-reasons.patch
|
Patch12: hplip-clear-old-state-reasons.patch
|
||||||
|
Patch13: hplip-systray-dbus-exception.patch
|
||||||
Patch14: hplip-hpcups-sigpipe.patch
|
Patch14: hplip-hpcups-sigpipe.patch
|
||||||
Patch15: hplip-fax-ppd.patch
|
Patch15: hplip-fax-ppd.patch
|
||||||
Patch16: hplip-bad-low-ink-warning.patch
|
Patch16: hplip-bad-low-ink-warning.patch
|
||||||
@ -206,6 +207,9 @@ mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs}
|
|||||||
# Clear old printer-state-reasons we used to manage (bug #510926).
|
# Clear old printer-state-reasons we used to manage (bug #510926).
|
||||||
%patch12 -p1 -b .clear-old-state-reasons
|
%patch12 -p1 -b .clear-old-state-reasons
|
||||||
|
|
||||||
|
# Catch DBusException in hp-systray (bug #746024).
|
||||||
|
%patch13 -p1 -b .systray-dbus-exception
|
||||||
|
|
||||||
# Avoid busy loop in hpcups when backend has exited (bug #525944).
|
# Avoid busy loop in hpcups when backend has exited (bug #525944).
|
||||||
%patch14 -p1 -b .hpcups-sigpipe
|
%patch14 -p1 -b .hpcups-sigpipe
|
||||||
|
|
||||||
@ -527,6 +531,9 @@ fi
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 25 2011 Tim Waugh <twaugh@redhat.com> 3.11.10-6
|
||||||
|
- Catch DBusException in hp-systray (bug #746024).
|
||||||
|
|
||||||
* Thu Oct 20 2011 Tim Waugh <twaugh@redhat.com> 3.11.10-5
|
* Thu Oct 20 2011 Tim Waugh <twaugh@redhat.com> 3.11.10-5
|
||||||
- Pay attention to the SANE localOnly flag in hpaio (bug #743593).
|
- Pay attention to the SANE localOnly flag in hpaio (bug #743593).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user