- Fixed hp-setup trace when discovery page is skipped (bug #523685).
This commit is contained in:
parent
f3bb816e28
commit
eac6bf21d1
11
hplip-discovery-method.patch
Normal file
11
hplip-discovery-method.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up hplip-3.9.8/ui4/setupdialog.py.discovery-method hplip-3.9.8/ui4/setupdialog.py
|
||||||
|
--- hplip-3.9.8/ui4/setupdialog.py.discovery-method 2009-08-04 22:37:22.000000000 +0100
|
||||||
|
+++ hplip-3.9.8/ui4/setupdialog.py 2009-09-16 15:34:36.509431266 +0100
|
||||||
|
@@ -171,6 +171,7 @@ class SetupDialog(QDialog, Ui_Dialog):
|
||||||
|
QTimer.singleShot(0, self.showRemovePage)
|
||||||
|
else:
|
||||||
|
if self.skip_discovery:
|
||||||
|
+ self.discovery_method = 1 # mDNS
|
||||||
|
QTimer.singleShot(0, self.showDevicesPage)
|
||||||
|
else:
|
||||||
|
QTimer.singleShot(0, self.showDiscoveryPage)
|
@ -1,7 +1,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.9.8
|
Version: 3.9.8
|
||||||
Release: 14%{?dist}
|
Release: 15%{?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
|
||||||
@ -22,6 +22,7 @@ Patch6: hplip-state-reasons-newline.patch
|
|||||||
Patch7: hplip-parenths.patch
|
Patch7: hplip-parenths.patch
|
||||||
Patch8: hplip-non-scripts.patch
|
Patch8: hplip-non-scripts.patch
|
||||||
Patch9: hplip-requirespageregion.patch
|
Patch9: hplip-requirespageregion.patch
|
||||||
|
Patch10: hplip-discovery-method.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires(pre): /sbin/service
|
Requires(pre): /sbin/service
|
||||||
@ -138,6 +139,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
|||||||
# Set RequiresPageRegion in hpcups PPDs (bug #518756).
|
# Set RequiresPageRegion in hpcups PPDs (bug #518756).
|
||||||
%patch9 -p1 -b .requirespageregion
|
%patch9 -p1 -b .requirespageregion
|
||||||
|
|
||||||
|
# Fixed hp-setup trace when discovery page is skipped (bug #523685).
|
||||||
|
%patch10 -p1 -b .discovery-method
|
||||||
|
|
||||||
%build
|
%build
|
||||||
aclocal
|
aclocal
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy
|
||||||
@ -341,6 +345,9 @@ fi
|
|||||||
/usr/bin/update-desktop-database &>/dev/null ||:
|
/usr/bin/update-desktop-database &>/dev/null ||:
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 16 2009 Tim Waugh <twaugh@redhat.com> 3.9.8-15
|
||||||
|
- Fixed hp-setup trace when discovery page is skipped (bug #523685).
|
||||||
|
|
||||||
* Fri Aug 28 2009 Tim Waugh <twaugh@redhat.com> 3.9.8-14
|
* Fri Aug 28 2009 Tim Waugh <twaugh@redhat.com> 3.9.8-14
|
||||||
- Include missing base files.
|
- Include missing base files.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user