Updated to foomatic-db-4.0-20130911

Device ID for Brother HL-2040 (bug #999040)
This commit is contained in:
Jiri Popelka 2013-09-11 16:05:06 +02:00
parent 2d0cbd19ef
commit 0db934aad7
4 changed files with 27 additions and 4 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ foomatic-db-4.0-20100204.tar.gz
/foomatic-db-4.0-20130312.tar.gz
/foomatic-db-4.0-20130507.tar.gz
/foomatic-db-4.0-20130604.tar.gz
/foomatic-db-4.0-20130911.tar.gz

View File

@ -91,3 +91,20 @@ diff -up foomatic-db-20120103/db/source/printer/Lexmark-C543.xml.device-ids-2012
<manufacturer>Lexmark</manufacturer>
<model>Lexmark C543</model>
</general>
diff -up foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml.device-ids foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml
--- foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml.device-ids 2013-09-11 15:55:21.853642637 +0200
+++ foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml 2013-09-11 15:53:30.775176972 +0200
@@ -15,6 +15,13 @@
<pcl level="5e" />
<pjl />
</lang>
+ <autodetect>
+ <general>
+ <ieee1284>MFG:Brother;MDL:HL-2040 series;CMD:PJL,HBP;</ieee1284>
+ <manufacturer>Brother</manufacturer>
+ <model>Brother HL-2040 series</model>
+ </general>
+ </autodetect>
<functionality>B</functionality>
<driver>hl1250</driver>
<drivers>

View File

@ -1,12 +1,12 @@
%global dbver_rel 4.0
# When you change dbver_snap, rebuild also foomatic against this build to pick up new IEEE 1284 Device IDs.
# The postscriptdriver tags get put onto foomatic, because that's there the actual CUPS driver lives.
%global dbver_snap 20130604
%global dbver_snap 20130911
Summary: Database of printers and printer drivers
Name: foomatic-db
Version: %{dbver_rel}
Release: 38.%{dbver_snap}%{?dist}
Release: 39.%{dbver_snap}%{?dist}
License: GPLv2+
Group: System Environment/Libraries
Requires: %{name}-filesystem = %{version}-%{release}
@ -14,7 +14,7 @@ Requires: %{name}-ppds = %{version}-%{release}
Source0: http://www.openprinting.org/download/foomatic/foomatic-db-%{dbver_rel}-%{dbver_snap}.tar.gz
Patch1: foomatic-db-device-ids-20120103.patch
Patch1: foomatic-db-device-ids.patch
Url: http://www.openprinting.org
BuildArch: noarch
@ -101,6 +101,7 @@ popd
# Lexmark C453 (#770169)
# HP DeskJet 720C (bug #797099)
# Kyocera FS-1118MFP (bug #782377)
# Brother HL-2040 (bug #999040)
%patch1 -p1
# Use sed instead of perl in the PPDs (bug #512739).
@ -149,6 +150,10 @@ ln -sf ../../foomatic/db/source/PPD %{buildroot}%{_datadir}/cups/model/foomatic-
%{_datadir}/cups/model/foomatic-db-ppds
%changelog
* Wed Sep 11 2013 Jiri Popelka <jpopelka@redhat.com> - 4.0-39.20130911
- Updated to foomatic-db-4.0-20130911
- Device ID for Brother HL-2040 (bug #999040)
* Tue Jun 04 2013 Jiri Popelka <jpopelka@redhat.com> - 4.0-38.20130604
- Remove some file conflicts (bug #967930)
- Updated to foomatic-db-4.0-20130604

View File

@ -1 +1 @@
8a8ac2a3f96d295705669b8d2ee05dd6 foomatic-db-4.0-20130604.tar.gz
5d2322b35652a971bce2e212f6124f5e foomatic-db-4.0-20130911.tar.gz