rpms/hplip/F-12 hplip-skip-blank-lines.patch, 1.1, 1.2 hplip.spec, 1.260, 1.261

Tim Waugh twaugh at fedoraproject.org
Thu Apr 15 21:37:07 UTC 2010


Author: twaugh

Update of /cvs/pkgs/rpms/hplip/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26902

Modified Files:
	hplip-skip-blank-lines.patch hplip.spec 
Log Message:
* Thu Apr 15 2010 Tim Waugh <twaugh at redhat.com> - 3.10.2-6
- Another try at fixing black/blank lines in ljcolor hpcups output
  (bug #579461).  This time, try sending entire blank raster lines
  instead of skipping them.


hplip-skip-blank-lines.patch:
 LJColor.h |    1 +
 1 file changed, 1 insertion(+)

Index: hplip-skip-blank-lines.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-skip-blank-lines.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hplip-skip-blank-lines.patch	15 Apr 2010 15:34:38 -0000	1.1
+++ hplip-skip-blank-lines.patch	15 Apr 2010 21:37:06 -0000	1.2
@@ -1,12 +1,11 @@
-diff -up hplip-3.10.2/prnt/hpcups/Encapsulator.cpp.skip-blank-lines hplip-3.10.2/prnt/hpcups/Encapsulator.cpp
---- hplip-3.10.2/prnt/hpcups/Encapsulator.cpp.skip-blank-lines	2010-02-25 00:04:09.000000000 +0100
-+++ hplip-3.10.2/prnt/hpcups/Encapsulator.cpp	2010-04-15 17:15:03.000000000 +0200
-@@ -191,7 +191,7 @@ DRIVER_ERROR Encapsulator::SendCAPy(int 
- {
-     DRIVER_ERROR    err = NO_ERROR;
-     char            str[12];
--    sprintf(str, "\x1b*b%dY", iOffset);
-+    sprintf(str, "\x1b*p%dY", iOffset);
-     err = this->Send ((const BYTE *) str, strlen(str));
-     return err;
- }
+diff -up hplip-3.10.2/prnt/hpcups/LJColor.h.skip-blank-lines hplip-3.10.2/prnt/hpcups/LJColor.h
+--- hplip-3.10.2/prnt/hpcups/LJColor.h.skip-blank-lines	2010-02-24 23:04:09.000000000 +0000
++++ hplip-3.10.2/prnt/hpcups/LJColor.h	2010-04-15 21:46:48.375754707 +0100
+@@ -48,6 +48,7 @@ public:
+     DRIVER_ERROR    Configure(Pipeline **pipeline);
+     DRIVER_ERROR    EndJob();
+     DRIVER_ERROR    FormFeed();
++    bool            CanSkipRasters() {return false;}
+ protected:
+     virtual DRIVER_ERROR addJobSettings();
+     void    configureRasterData();


Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip.spec,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -p -r1.260 -r1.261
--- hplip.spec	15 Apr 2010 15:34:38 -0000	1.260
+++ hplip.spec	15 Apr 2010 21:37:06 -0000	1.261
@@ -1,7 +1,7 @@
 Summary: HP Linux Imaging and Printing Project
 Name: hplip
 Version: 3.10.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+ and MIT
 Group: System Environment/Daemons
 Conflicts: system-config-printer < 0.6.132
@@ -378,6 +378,11 @@ fi
 %{_bindir}/hpcups-update-ppds &>/dev/null ||:
 
 %changelog
+* Thu Apr 15 2010 Tim Waugh <twaugh at redhat.com> - 3.10.2-6
+- Another try at fixing black/blank lines in ljcolor hpcups output
+  (bug #579461).  This time, try sending entire blank raster lines
+  instead of skipping them.
+
 * Thu Apr 15 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.2-5
 - Hpcups (ljcolor) was putting black lines where should be blank lines (bug #579461).
 



More information about the scm-commits mailing list