rpms/foomatic/F-7 foomatic-ieee1284.patch, NONE, 1.1 foomatic-margins.patch, NONE, 1.1 .cvsignore, 1.45, 1.46 foomatic.spec, 1.155, 1.156 sources, 1.47, 1.48

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Thu Jun 14 12:29:14 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/foomatic/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11201

Modified Files:
	.cvsignore foomatic.spec sources 
Added Files:
	foomatic-ieee1284.patch foomatic-margins.patch 
Log Message:
* Thu Jun 14 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-47.1
- Safe default margins for PPDs (bug #244161).
- Added missing IEEE 1284 ID for HP Photosmart 380 (bug #241352).
- Updated db to 3.0-20070614.
- Updated db-engine to 3.0-20070614.
- Updated db-hpijs to 20070614.
- Updated filters to 3.0-20070614.


foomatic-ieee1284.patch:

--- NEW FILE foomatic-ieee1284.patch ---
--- foomatic-db-20070614/db/source/printer/HP-PhotoSmart_380.xml.ieee1284	2007-06-14 11:55:00.000000000 +0100
+++ foomatic-db-20070614/db/source/printer/HP-PhotoSmart_380.xml	2007-06-14 11:55:13.000000000 +0100
@@ -24,7 +24,13 @@
     </text>
   </lang>
   <autodetect>
-  <!--no known parport probe information--></autodetect>
+    <usb>
+      <manufacturer>HP</manufacturer>
+      <model>Photosmart 380 series_BT</model>
+      <description>385</description>
+      <commandset>PCL,DW-PCL,DESKJET,DYN</commandset>
+    </usb>
+  </autodetect>
   <functionality>A</functionality>
   <driver>hpijs</driver>
   <!--verified--><!--no "contrib_url"-->

foomatic-margins.patch:

--- NEW FILE foomatic-margins.patch ---
--- foomatic-db-engine-3.0-20070614/lib/Foomatic/DB.pm.margins	2007-06-14 11:42:16.000000000 +0100
+++ foomatic-db-engine-3.0-20070614/lib/Foomatic/DB.pm	2007-06-14 11:43:13.000000000 +0100
@@ -4289,9 +4289,10 @@
 sub getmargins {
     my ($dat, $width, $height, $pagesize) = @_;
     # Determine the unprintable margins
-    # Zero margins when no margin info exists
+    # Safe margins when no margin info exists
+    my $border = 36;
     my ($left, $right, $top, $bottom) =
-	(0, $width, $height, 0);
+	($border, $width - $border, $height - $border, $border);
     # Margins from printer database entry
     my ($pleft, $pright, $ptop, $pbottom) =
 	getmarginsformarginrecord($dat->{'printermargins'}, 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/foomatic/F-7/.cvsignore,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- .cvsignore	5 Jan 2007 17:40:07 -0000	1.45
+++ .cvsignore	14 Jun 2007 12:28:40 -0000	1.46
@@ -39,3 +39,8 @@
 foomatic-db-engine-3.0-20061109.tar.gz
 foomatic-db-3.0-20061130.tar.gz
 foomatic-db-3.0-20070105.tar.gz
+foomatic-db-3.0-20070105.tar.gz
+foomatic-filters-3.0-20070614.tar.gz
+foomatic-db-hpijs-20070614.tar.gz
+foomatic-db-engine-3.0-20070614.tar.gz
+foomatic-db-3.0-20070614.tar.gz


Index: foomatic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/foomatic/F-7/foomatic.spec,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- foomatic.spec	16 Apr 2007 17:25:06 -0000	1.155
+++ foomatic.spec	14 Jun 2007 12:28:40 -0000	1.156
@@ -1,12 +1,12 @@
-%define dbver 20070105
-%define enginever 3.0-20061109
-%define filtersver 20051209
-%define hpijsver 20061031
+%define dbver 20070614
+%define enginever 3.0-20070614
+%define filtersver 20070614
+%define hpijsver 20070614
 
 Summary: Foomatic printer database.
 Name:		foomatic
 Version:	3.0.2
-Release:    47%{?dist}
+Release:    47.1%{?dist}
 License:	GPL
 Group: System Environment/Libraries
 
@@ -40,6 +40,12 @@
 # Handle non-UTF-8 encodings in imported PPD files.
 Patch15: foomatic-bad-utf8.patch
 
+# Missing IEEE 1284 IDs.
+Patch16: foomatic-ieee1284.patch
+
+# Safe default margins for PPDs (bug #244161).
+Patch17: foomatic-margins.patch
+
 Url:		http://www.linuxprinting.org
 BuildRequires:	perl >= 3:5.8.1
 BuildRequires:	libxml2-devel
@@ -93,6 +99,7 @@
 %patch14 -p1 -b .ampathxml
 %patch10 -p1 -b .xml-cflags
 %patch15 -p1
+%patch17 -p1 -b .margins
 ./make_configure
 popd
 
@@ -102,6 +109,8 @@
 pushd foomatic-db-%{dbver}
 %patch7 -p1 -b .ppdload-ppd
 
+%patch16 -p1 -b .ieee1284
+
 cd db/source
 
 # For gutenprint printers, use gutenprint-ijs-simplified.5.0.
@@ -246,6 +255,14 @@
 %{_var}/cache/foomatic
 
 %changelog
+* Thu Jun 14 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-47.1
+- Safe default margins for PPDs (bug #244161).
+- Added missing IEEE 1284 ID for HP Photosmart 380 (bug #241352).
+- Updated db to 3.0-20070614.
+- Updated db-engine to 3.0-20070614.
+- Updated db-hpijs to 20070614.
+- Updated filters to 3.0-20070614.
+
 * Mon Apr 16 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-47
 - Fixed %%prep (bug #208851).
 - Removed now-unused with_omni code.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/foomatic/F-7/sources,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- sources	16 Apr 2007 16:58:50 -0000	1.47
+++ sources	14 Jun 2007 12:28:40 -0000	1.48
@@ -1,4 +1,4 @@
-5876178c3aefd36102bc5eef575d3f9c  foomatic-filters-3.0-20051209.tar.gz
-480ab4a4148667dad1ffc188b6480bce  foomatic-db-hpijs-20061031.tar.gz
-562703c7da605a4c89ac476a3bf7955b  foomatic-db-engine-3.0-20061109.tar.gz
-ba04156e056a1df600decaa0501af371  foomatic-db-3.0-20070105.tar.gz
+8b197e646995c1cb9dca6a74ac687dd9  foomatic-filters-3.0-20070614.tar.gz
+38de62f4ac1a50a857e1122517e6b537  foomatic-db-hpijs-20070614.tar.gz
+e0a1851c3cd04b6e074e0863286adef8  foomatic-db-engine-3.0-20070614.tar.gz
+aa9d9cf8dc42ce7a61e6d4506098aebb  foomatic-db-3.0-20070614.tar.gz




More information about the fedora-extras-commits mailing list