From 21ff326f4f3f90dd45352d67cc88b2c73ad0a24a Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 9 Oct 2007 16:33:53 +0000 Subject: [PATCH] - Use raw instead of 1284.4 communication for LJ4000 series (bug #249191). --- hplip-ljdot4.patch | 12 ++++++++++++ hplip.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 hplip-ljdot4.patch diff --git a/hplip-ljdot4.patch b/hplip-ljdot4.patch new file mode 100644 index 0000000..c0c4265 --- /dev/null +++ b/hplip-ljdot4.patch @@ -0,0 +1,12 @@ +diff -up hplip-2.7.7/data/models/models.dat.ljdot4 hplip-2.7.7/data/models/models.dat +--- hplip-2.7.7/data/models/models.dat.ljdot4 2007-10-09 17:30:18.000000000 +0100 ++++ hplip-2.7.7/data/models/models.dat 2007-10-09 17:30:37.000000000 +0100 +@@ -12316,7 +12316,7 @@ fax-type=0 + fw-download=0 + icon=HP_LaserJet_4000.png + io-mfp-mode=6 +-io-mode=3 ++io-mode=1 + io-support=1 + linefeed-cal-type=0 + model1=LaserJet 4000 diff --git a/hplip.spec b/hplip.spec index 91cbeb9..917da6d 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 2.7.9 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and MIT Group: System Environment/Daemons Conflicts: system-config-printer < 0.6.132 @@ -15,6 +15,7 @@ Url: http://hplip.sourceforge.net/ Source0: http://kent.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}.tar.gz Source1: hplip.fdi Patch1: hplip-desktop.patch +Patch2: hplip-ljdot4.patch Patch3: hplip-quiet.patch Patch4: hplip-marker-supply.patch Patch5: hplip-libm.patch @@ -95,6 +96,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version} # Fix desktop file. %patch1 -p1 -b .desktop +# Use raw instead of 1284.4 communication for LJ4000 series (bug #249191). +%patch2 -p1 -b .ljdot4 + # Quieten hpssd on startup. %patch3 -p1 -b .quiet @@ -279,6 +283,7 @@ exit 0 %changelog * Tue Oct 9 2007 Tim Waugh 2.7.9-2 +- Use raw instead of 1284.4 communication for LJ4000 series (bug #249191). - Build requires openssl-devel. * Wed Oct 3 2007 Tim Waugh 2.7.9-1