Re-compile PPD files.

This commit is contained in:
Jiri Popelka 2011-11-29 14:21:58 +01:00
parent b6e00479f5
commit 99adee3923
2 changed files with 26 additions and 14 deletions

View File

@ -1,11 +1,11 @@
diff -up splix/ppd/ml1610.ppd.deviceID splix/ppd/ml1610.ppd
--- splix/ppd/ml1610.ppd.deviceID 2011-07-20 18:20:18.000000000 +0200
+++ splix/ppd/ml1610.ppd 2011-11-28 16:54:12.132712967 +0100
@@ -11,6 +11,7 @@
*ModelName: "Samsung ML-1610"
*ShortNickName: "Samsung ML-1610"
*NickName: "Samsung ML-1610, 2.0.0"
+*1284DeviceID: "MFG:Samsung;MDL:ML-1610;CMD:GDI;"
*PSVersion: "(3010.000) 0"
*LanguageLevel: "3"
*ColorDevice: False
diff -up splix/ppd/samsung.drv.deviceID splix/ppd/samsung.drv
--- splix/ppd/samsung.drv.deviceID 2011-07-20 18:20:18.000000000 +0200
+++ splix/ppd/samsung.drv 2011-11-29 14:17:00.204843690 +0100
@@ -83,6 +83,7 @@ Manufacturer "Samsung"
PCFileName "ml1520.ppd"
} {
ModelName "ML-1610"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1610;CMD:GDI;"
PCFileName "ml1610.ppd"
} {
ModelName "ML-1710"

View File

@ -3,7 +3,7 @@
Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
Name: splix
Version: 2.0.1
Release: 0.4.%{checkout}%{?dist}
Release: 0.5.%{checkout}%{?dist}
License: GPLv2
Group: System Environment/Base
URL: http://splix.sourceforge.net/
@ -22,6 +22,9 @@ Patch1: splix-deviceID.patch
Requires: cups
# needed for PPD re-compilation
BuildRequires: cups, recode
# _cups_serverbin macro
BuildRequires: cups-devel
@ -46,6 +49,12 @@ chmod -x ppd/po/pt.po
%patch1 -p1 -b .deviceID
%build
# re-compile PPD files
pushd ppd
make distclean
make ppd
popd
# remove DISABLE_JBIG=1 once jbigkit is shipped with Fedora (i.e. after April 2012)
DISABLE_JBIG=1 \
V=1 \
@ -71,8 +80,11 @@ make install
%{_datadir}/cups/model/xerox
%changelog
* Tue Nov 29 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.5.20111121svn
- Re-compile PPD files.
* Mon Nov 28 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.4.20111121svn
- Add Device ID for Samsung ML-1610
- Add Device ID for Samsung ML-1610.
* Tue Nov 22 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.3.20111121svn
- Include more files into documentation (#755069).
@ -81,4 +93,4 @@ make install
- Download only trunk from upstream SVN repository.
* Fri Nov 18 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.1.20111118svn
- initial spec
- Initial spec file.