From 77e4d88c7dc1c6a0b6b678ff81d0a52e95dbec6f Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 18 Jun 2013 17:00:53 +0100 Subject: [PATCH] Added IEEE 1284 Device ID for a Dymo device (bug #747866). Resolves: rhbz#747866 --- cups-dymo-deviceid.patch | 11 +++++++++++ cups.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cups-dymo-deviceid.patch diff --git a/cups-dymo-deviceid.patch b/cups-dymo-deviceid.patch new file mode 100644 index 0000000..cc2995d --- /dev/null +++ b/cups-dymo-deviceid.patch @@ -0,0 +1,11 @@ +diff -up cups-1.6.2/ppdc/sample.drv.dymo-deviceid cups-1.6.2/ppdc/sample.drv +--- cups-1.6.2/ppdc/sample.drv.dymo-deviceid 2013-06-18 16:57:02.110662953 +0100 ++++ cups-1.6.2/ppdc/sample.drv 2013-06-18 16:58:56.513989117 +0100 +@@ -125,6 +125,7 @@ Version "1.5" + { + Manufacturer "Dymo" + ModelName "Label Printer" ++ Attribute "1284DeviceID" "" "MFG:DYMO;MDL:LabelWriter 400;" + Attribute NickName "" "Dymo Label Printer" + PCFileName "dymo.ppd" + DriverType label diff --git a/cups.spec b/cups.spec index 2701c33..d144a20 100644 --- a/cups.spec +++ b/cups.spec @@ -11,7 +11,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 1.6.2 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2 Group: System Environment/Daemons Url: http://www.cups.org/ @@ -58,6 +58,7 @@ Patch27: cups-avahi-address.patch Patch28: cups-usblp-quirks.patch Patch29: cups-enum-all.patch Patch30: cups-stringpool-setprinterattr.patch +Patch31: cups-dymo-deviceid.patch Patch100: cups-lspp.patch @@ -234,6 +235,8 @@ Sends IPP requests to the specified URI and tests and/or displays the results. %patch29 -p1 -b .enum-all # Prevent stringpool damage leading to memory leaks (bug #974048). %patch30 -p1 -b .stringpool-setprinterattr +# Added IEEE 1284 Device ID for a Dymo device (bug #747866). +%patch31 -p1 -b .dymo-deviceid %if %lspp # LSPP support. @@ -635,6 +638,9 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man5/ipptoolfile.5.gz %changelog +* Tue Jun 18 2013 Tim Waugh 1:1.6.2-10 +- Added IEEE 1284 Device ID for a Dymo device (bug #747866). + * Thu Jun 13 2013 Tim Waugh 1:1.6.2-9 - Prevent stringpool damage leading to memory leaks (bug #974048).