rpms/hplip/F-12 hplip-3.10.5.tar.gz.asc, NONE, 1.1 .cvsignore, 1.35, 1.36 hplip-bad-low-ink-warning.patch, 1.1, 1.2 hplip-dbglog-newline.patch, 1.1, 1.2 hplip-no-system-tray.patch, 1.1, 1.2 hplip-pstotiff-is-rubbish.patch, 1.1, 1.2 hplip.spec, 1.265, 1.266 sources, 1.36, 1.37 hplip-3.10.2.tar.gz.asc, 1.1, NONE hplip-tray-icon-crash.patch, 1.1, NONE

Jiří Popelka jpopelka at fedoraproject.org
Mon May 17 14:23:07 UTC 2010


Author: jpopelka

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

Modified Files:
	.cvsignore hplip-bad-low-ink-warning.patch 
	hplip-dbglog-newline.patch hplip-no-system-tray.patch 
	hplip-pstotiff-is-rubbish.patch hplip.spec sources 
Added Files:
	hplip-3.10.5.tar.gz.asc 
Removed Files:
	hplip-3.10.2.tar.gz.asc hplip-tray-icon-crash.patch 
Log Message:
* Mon May 17 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.5-1
- 3.10.5.   No longer need tray-icon-crash.patch
- Increase the timeout for system tray availability checking (bug #569969).



--- NEW FILE hplip-3.10.5.tar.gz.asc ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkvrPtwACgkQc9dwzaWQR7kBQQCg5QMDPz05Oz1r9aQtk7drg8mQ
wxEAoMYrbJ7YkjqWyhsK/04y8tqZ022U
=H4Nc
-----END PGP SIGNATURE-----


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/.cvsignore,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- .cvsignore	7 Apr 2010 14:22:18 -0000	1.35
+++ .cvsignore	17 May 2010 14:23:06 -0000	1.36
@@ -32,3 +32,4 @@ hplip-3.9.6b.tar.gz
 hplip-3.9.8.tar.gz
 hplip-3.10.2.tar.gz
 hpcups-update-ppds.sh
+hplip-3.10.5.tar.gz

hplip-bad-low-ink-warning.patch:
 dj9xxvip.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: hplip-bad-low-ink-warning.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-bad-low-ink-warning.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hplip-bad-low-ink-warning.patch	26 Nov 2009 14:34:53 -0000	1.1
+++ hplip-bad-low-ink-warning.patch	17 May 2010 14:23:06 -0000	1.2
@@ -1,7 +1,7 @@
-diff -up hplip-3.9.8/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning hplip-3.9.8/prnt/hpijs/dj9xxvip.cpp
---- hplip-3.9.8/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning	2009-08-04 22:43:01.000000000 +0100
-+++ hplip-3.9.8/prnt/hpijs/dj9xxvip.cpp	2009-11-26 14:34:09.944179766 +0000
-@@ -2222,7 +2222,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
+diff -up hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp
+--- hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning	2010-05-13 01:48:58.000000000 +0200
++++ hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp	2010-05-17 14:56:31.000000000 +0200
+@@ -2239,7 +2239,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
              {
                  case '5':
                  {
@@ -10,7 +10,7 @@ diff -up hplip-3.9.8/prnt/hpijs/dj9xxvip
                      {
                          if (err != NO_ERROR)
                          {
-@@ -2237,7 +2237,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
+@@ -2254,7 +2254,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
                  }
                  case '6':
                  {
@@ -19,7 +19,7 @@ diff -up hplip-3.9.8/prnt/hpijs/dj9xxvip
                      {
                          if (err != NO_ERROR)
                          {
-@@ -2252,7 +2252,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
+@@ -2269,7 +2269,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
                  }
                  case '7':
                  {
@@ -28,7 +28,7 @@ diff -up hplip-3.9.8/prnt/hpijs/dj9xxvip
                      {
                          if (err != NO_ERROR)
                          {
-@@ -2268,7 +2268,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
+@@ -2285,7 +2285,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
                  }
                  case '8':
                  {

hplip-dbglog-newline.patch:
 HPCupsFilter.cpp |   12 ++++++------
 Lidil.cpp        |   12 ++++++------
 Pcl3.cpp         |   10 +++++-----
 Pcl3Gui.cpp      |   10 +++++-----
 4 files changed, 22 insertions(+), 22 deletions(-)

Index: hplip-dbglog-newline.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-dbglog-newline.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hplip-dbglog-newline.patch	27 Apr 2010 11:03:49 -0000	1.1
+++ hplip-dbglog-newline.patch	17 May 2010 14:23:06 -0000	1.2
@@ -1,6 +1,6 @@
-diff -up hplip-3.10.2/prnt/hpcups/HPCupsFilter.cpp.dbglog-newline hplip-3.10.2/prnt/hpcups/HPCupsFilter.cpp
---- hplip-3.10.2/prnt/hpcups/HPCupsFilter.cpp.dbglog-newline	2010-04-27 12:20:42.000000000 +0200
-+++ hplip-3.10.2/prnt/hpcups/HPCupsFilter.cpp	2010-04-27 12:38:09.000000000 +0200
+diff -up hplip-3.10.5/prnt/hpcups/HPCupsFilter.cpp.dbglog-newline hplip-3.10.5/prnt/hpcups/HPCupsFilter.cpp
+--- hplip-3.10.5/prnt/hpcups/HPCupsFilter.cpp.dbglog-newline	2010-05-17 15:00:02.000000000 +0200
++++ hplip-3.10.5/prnt/hpcups/HPCupsFilter.cpp	2010-05-17 15:00:02.000000000 +0200
 @@ -350,7 +350,7 @@ DRIVER_ERROR HPCupsFilter::startPage (cu
          (attr->value != NULL)) {
          strncpy(m_JA.printer_platform, attr->value, sizeof(m_JA.printer_platform)-1);
@@ -36,7 +36,7 @@ diff -up hplip-3.10.2/prnt/hpcups/HPCups
      }
  
      m_pPrinterBuffer = new BYTE[cups_header->cupsWidth * 4 + 32];
-@@ -495,7 +495,7 @@ int HPCupsFilter::StartPrintJob(int  arg
+@@ -503,7 +503,7 @@ int HPCupsFilter::StartPrintJob(int  arg
              close(fd);
          }
          if (m_iLogLevel & BASIC_LOG)
@@ -45,7 +45,7 @@ diff -up hplip-3.10.2/prnt/hpcups/HPCups
          closeFilter();
          cupsRasterClose(cups_raster);
          return 1;
-@@ -505,7 +505,7 @@ int HPCupsFilter::StartPrintJob(int  arg
+@@ -513,7 +513,7 @@ int HPCupsFilter::StartPrintJob(int  arg
          close(fd);
      }
      if (m_iLogLevel & BASIC_LOG)
@@ -54,9 +54,9 @@ diff -up hplip-3.10.2/prnt/hpcups/HPCups
      closeFilter();
      cupsRasterClose(cups_raster);
      return 0;
-diff -up hplip-3.10.2/prnt/hpcups/Lidil.cpp.dbglog-newline hplip-3.10.2/prnt/hpcups/Lidil.cpp
---- hplip-3.10.2/prnt/hpcups/Lidil.cpp.dbglog-newline	2010-02-25 00:04:09.000000000 +0100
-+++ hplip-3.10.2/prnt/hpcups/Lidil.cpp	2010-04-27 12:38:08.000000000 +0200
+diff -up hplip-3.10.5/prnt/hpcups/Lidil.cpp.dbglog-newline hplip-3.10.5/prnt/hpcups/Lidil.cpp
+--- hplip-3.10.5/prnt/hpcups/Lidil.cpp.dbglog-newline	2010-05-13 01:41:08.000000000 +0200
++++ hplip-3.10.5/prnt/hpcups/Lidil.cpp	2010-05-17 15:00:02.000000000 +0200
 @@ -103,7 +103,7 @@ DRIVER_ERROR Lidil::Configure(Pipeline *
      if (m_pPM->BaseResX != m_pQA->horizontal_resolution ||
          m_pPM->BaseResY != m_pQA->vertical_resolution)
@@ -109,9 +109,9 @@ diff -up hplip-3.10.2/prnt/hpcups/Lidil.
      return false;
  }
  
-diff -up hplip-3.10.2/prnt/hpcups/Pcl3.cpp.dbglog-newline hplip-3.10.2/prnt/hpcups/Pcl3.cpp
---- hplip-3.10.2/prnt/hpcups/Pcl3.cpp.dbglog-newline	2010-02-25 00:04:09.000000000 +0100
-+++ hplip-3.10.2/prnt/hpcups/Pcl3.cpp	2010-04-27 12:38:07.000000000 +0200
+diff -up hplip-3.10.5/prnt/hpcups/Pcl3.cpp.dbglog-newline hplip-3.10.5/prnt/hpcups/Pcl3.cpp
+--- hplip-3.10.5/prnt/hpcups/Pcl3.cpp.dbglog-newline	2010-05-13 01:41:08.000000000 +0200
++++ hplip-3.10.5/prnt/hpcups/Pcl3.cpp	2010-05-17 15:00:02.000000000 +0200
 @@ -66,13 +66,13 @@ DRIVER_ERROR Pcl3::Configure(Pipeline **
  
      if (!selectPrintMode())
@@ -155,9 +155,9 @@ diff -up hplip-3.10.2/prnt/hpcups/Pcl3.c
      return false;
  }
  
-diff -up hplip-3.10.2/prnt/hpcups/Pcl3Gui.cpp.dbglog-newline hplip-3.10.2/prnt/hpcups/Pcl3Gui.cpp
---- hplip-3.10.2/prnt/hpcups/Pcl3Gui.cpp.dbglog-newline	2010-02-25 00:04:09.000000000 +0100
-+++ hplip-3.10.2/prnt/hpcups/Pcl3Gui.cpp	2010-04-27 12:38:06.000000000 +0200
+diff -up hplip-3.10.5/prnt/hpcups/Pcl3Gui.cpp.dbglog-newline hplip-3.10.5/prnt/hpcups/Pcl3Gui.cpp
+--- hplip-3.10.5/prnt/hpcups/Pcl3Gui.cpp.dbglog-newline	2010-05-13 01:41:08.000000000 +0200
++++ hplip-3.10.5/prnt/hpcups/Pcl3Gui.cpp	2010-05-17 15:00:02.000000000 +0200
 @@ -66,13 +66,13 @@ DRIVER_ERROR Pcl3Gui::Configure(Pipeline
  
      if (!selectPrintMode())

hplip-no-system-tray.patch:
 systemtray.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: hplip-no-system-tray.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-no-system-tray.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hplip-no-system-tray.patch	11 May 2010 13:54:46 -0000	1.1
+++ hplip-no-system-tray.patch	17 May 2010 14:23:06 -0000	1.2
@@ -1,20 +1,20 @@
-diff -up hplip-3.10.2/ui4/systemtray.py.no-system-tray hplip-3.10.2/ui4/systemtray.py
---- hplip-3.10.2/ui4/systemtray.py.no-system-tray	2010-05-11 14:40:57.000000000 +0200
-+++ hplip-3.10.2/ui4/systemtray.py	2010-05-11 15:25:20.000000000 +0200
+diff -up hplip-3.10.5/ui4/systemtray.py.no-system-tray hplip-3.10.5/ui4/systemtray.py
+--- hplip-3.10.5/ui4/systemtray.py.no-system-tray	2010-05-13 01:45:04.000000000 +0200
++++ hplip-3.10.5/ui4/systemtray.py	2010-05-17 15:03:12.000000000 +0200
 @@ -74,6 +74,7 @@ HIDE_INACTIVE_DELAY = 5000
  BLIP_DELAY = 2000
  SET_MENU_DELAY = 1000
  MAX_MENU_EVENTS = 10
-+TRAY_AVAILABLE_DELAY = 30
++TRAY_AVAILABLE_TIMEOUT = 180
  
  ERROR_STATE_TO_ICON = {
      ERROR_STATE_CLEAR:        QSystemTrayIcon.Information,
-@@ -707,7 +708,7 @@ def run(read_pipe):
+@@ -706,7 +707,7 @@ def run(read_pipe):
      app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app
  
      i = 0
 -    while i < 10:
-+    while i < TRAY_AVAILABLE_DELAY:
++    while i < TRAY_AVAILABLE_TIMEOUT:
          if QSystemTrayIcon.isSystemTrayAvailable():
              break
          time.sleep(1.0)

hplip-pstotiff-is-rubbish.patch:
 pstotiff |   56 ++++++++++++++++----------------------------------------
 1 file changed, 16 insertions(+), 40 deletions(-)

Index: hplip-pstotiff-is-rubbish.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-pstotiff-is-rubbish.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hplip-pstotiff-is-rubbish.patch	26 Feb 2010 15:45:54 -0000	1.1
+++ hplip-pstotiff-is-rubbish.patch	17 May 2010 14:23:06 -0000	1.2
@@ -1,7 +1,7 @@
-diff -up hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish hplip-3.10.2/fax/filters/pstotiff
---- hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish	2010-02-26 12:05:42.883265245 +0000
-+++ hplip-3.10.2/fax/filters/pstotiff	2010-02-26 12:06:06.546266294 +0000
-@@ -1,43 +1,11 @@
+diff -up hplip-3.10.5/fax/filters/pstotiff.pstotiff-is-rubbish hplip-3.10.5/fax/filters/pstotiff
+--- hplip-3.10.5/fax/filters/pstotiff.pstotiff-is-rubbish	2010-05-13 01:44:57.000000000 +0200
++++ hplip-3.10.5/fax/filters/pstotiff	2010-05-17 14:39:55.000000000 +0200
+@@ -1,40 +1,16 @@
 -#!/usr/bin/env python
 -
 -import os
@@ -21,14 +21,11 @@ diff -up hplip-3.10.2/fax/filters/pstoti
 -temp_out_handle, temp_out_fname = tempfile.mkstemp()
 -
 -font = "-I/usr/share/cups/fonts"
--device = "-sDEVICE=tiffg4 -dDEBUG -dNOPAUSE -dBATCH -dSAFER -dSHORTERRORS -dWRITESYSTEMDICT -dGHOSTSCRIPT -sstdout=%stderr -sOutputFile=" + temp_out_fname + " " + temp_in_file
+-device = "-sDEVICE=tiffg4 -dNOPAUSE -dBATCH -dSAFER -dPARANOIDSAFER -dSHORTERRORS -dWRITESYSTEMDICT -dGHOSTSCRIPT -sstdout=%stderr -sOutputFile=" + temp_out_fname + " " + temp_in_file
 -
 -gs_command = "/usr/bin/gs" + " " + font + " " + device
 -
 -exit_code = os.system(gs_command)
--#if exit_code != 0:
--#   print("Ghostscript returned error (error code %d)!" % exit_code)
--#   sys.exit(exit_code)
 -
 -file_len = os.stat(temp_out_fname).st_size
 -if (file_len < READ_SIZE):
@@ -52,7 +49,12 @@ diff -up hplip-3.10.2/fax/filters/pstoti
 +  IN="$6"
 +fi
 +
++TMPFILE=`mktemp /tmp/pstotiff.XXXXXX` || exit 1
 +gs -I/usr/share/cups/fonts -sDEVICE=tiffg4 -dNOPAUSE -dBATCH \
 +   -dSAFER -dPARANOIDSAFER \
 +   -dSHORTERRORS -dWRITESYSTEMDICT -dGHOSTSCRIPT \
-+   -sstdout=%stderr -sOutputFile=- "$IN"
++   -sstdout=%stderr -sOutputFile="$TMPFILE" "$IN"
++RET=$?
++cat "$TMPFILE"
++rm -f "$TMPFILE"
++exit $RET


Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip.spec,v
retrieving revision 1.265
retrieving revision 1.266
diff -u -p -r1.265 -r1.266
--- hplip.spec	12 May 2010 15:44:12 -0000	1.265
+++ hplip.spec	17 May 2010 14:23:07 -0000	1.266
@@ -1,7 +1,7 @@
 Summary: HP Linux Imaging and Printing Project
 Name: hplip
-Version: 3.10.2
-Release: 10%{?dist}
+Version: 3.10.5
+Release: 1%{?dist}
 License: GPLv2+ and MIT
 Group: System Environment/Daemons
 Conflicts: system-config-printer < 0.6.132
@@ -20,7 +20,6 @@ Patch3: hplip-ui-optional.patch
 Patch4: hplip-no-asm.patch
 Patch5: hplip-device-ids.patch
 Patch6: hplip-mucks-with-spooldir.patch
-Patch7: hplip-tray-icon-crash.patch
 Patch8: hplip-retry-open.patch
 Patch10: hplip-discovery-method.patch
 Patch11: hplip-device-reconnected.patch
@@ -142,9 +141,6 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
 # directly (bug #552572).
 %patch6 -p1 -b .mucks-with-spooldir
 
-# Explicitly destroy tray icon on exit (bug #543286).
-%patch7 -p1 -b .tray-icon-crash
-
 # Retry when connecting to device fails (bug #532112).
 %patch8 -p1 -b .retry-open
 
@@ -169,7 +165,7 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
 # Added missing newline to string argument in dbglog() call (bug #585275).
 %patch18 -p1 -b .dbglog-newline
 
-# Wait for max 30s to see if a system tray becomes available (bug #569969).
+# Wait longer to see if a system tray becomes available (bug #569969).
 %patch19 -p1 -b .no-system-tray
 
 # Prevent segfault in cupsext when opening PPD file (bug #572775).
@@ -395,6 +391,10 @@ fi
 %{_bindir}/hpcups-update-ppds &>/dev/null ||:
 
 %changelog
+* Mon May 17 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.5-1
+- 3.10.5.   No longer need tray-icon-crash.patch
+- Increase the timeout for system tray availability checking (bug #569969).
+
 * Wed May 12 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.2-10
 - Prevent segfault in cupsext when opening PPD file (bug #572775).
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/sources,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- sources	7 Apr 2010 15:23:05 -0000	1.36
+++ sources	17 May 2010 14:23:07 -0000	1.37
@@ -1 +1 @@
-4df6f16c47ae7edd015bf2cf5155f26f  hplip-3.10.2.tar.gz
+a4a3679d5987520226ef70d834b63b88  hplip-3.10.5.tar.gz


--- hplip-3.10.2.tar.gz.asc DELETED ---


--- hplip-tray-icon-crash.patch DELETED ---



More information about the scm-commits mailing list