- Clear the media-empty-error printer state.

This commit is contained in:
Tim Waugh 2007-04-04 17:18:42 +00:00
parent 2dfe9f3b04
commit 2107213173
2 changed files with 19 additions and 1 deletions

11
hplip-media-empty.patch Normal file
View File

@ -0,0 +1,11 @@
--- hplip-1.7.2/backend/hp/hp.c.media-empty 2007-04-04 18:14:12.000000000 +0100
+++ hplip-1.7.2/backend/hp/hp.c 2007-04-04 18:15:01.000000000 +0100
@@ -410,7 +410,7 @@
int len, vstatus, cnt;
char buf[HPLIP_BUFFER_SIZE+HPLIP_HEADER_SIZE];
HplipMsgAttributes ma;
- int paperout=0, offline=0;
+ int paperout=1, offline=1;
if (argc > 1)
{

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 1.7.2
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL/MIT/BSD
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -21,6 +21,7 @@ Patch5: hplip-libm.patch
Patch6: hplip-ipv6.patch
Patch7: hplip-marker-supply.patch
Patch8: hplip-libsane.patch
Patch9: hplip-media-empty.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: desktop-file-utils >= 0.2.92
@ -99,6 +100,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
# Link libsane-hpaio against libsane (bug #234813).
%patch8 -p1 -b .libsane
# Clear the media-empty-error printer state.
%patch9 -p1 -b .media-empty
autoconf # for patch4
%build
@ -247,6 +251,9 @@ fi
exit 0
%changelog
* Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-4
- Clear the media-empty-error printer state.
* Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-3
- Fixed typo in marker-supply-low patch.