diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | debian/rules | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 4fcce702..73384cd3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ foomatic-db (20100608-1) UNRELESED; urgency=low - Install the apport hook on Ubuntu - Remove non-PPD files from the repository, Closes: #546784 - Remove entries for non-existing drivers. + - Fix common errors in PPDs that make CUPS choke, Closes: #493104 * Add myself to Uploaders as I'll help Chris in maintaining foomatic-db. - Set DMUA field as I'm DM. @@ -28,7 +29,7 @@ foomatic-db (20100608-1) UNRELESED; urgency=low * Merge Till's changelog entries. * Bump Standards to 3.8.4 without changes needed. - -- Didier Raboud <didier@raboud.com> Mon, 14 Jun 2010 16:28:15 +0200 + -- Didier Raboud <didier@raboud.com> Mon, 14 Jun 2010 16:36:40 +0200 foomatic-db (20100216-0ubuntu3) lucid; urgency=low diff --git a/debian/rules b/debian/rules index e2519ce8..c9b6748b 100755 --- a/debian/rules +++ b/debian/rules @@ -29,12 +29,15 @@ override_dh_install: rm pbm2l7k.xml; \ rm lm1100.xml; \ rm pbm2l2030.xml; \ - # rm c2050.xml; \ # c2050 is in Debian rm c2070.xml; \ rm drv_x125.xml; \ rm pentaxpj.xml; \ rm ml85p.xml; \ ) + + # Fix common errors in PPDs that make CUPS choke (OpenPrinting + # bug #164, Debian bug #493104) + for f in `find $(CURDIR)/debian/tmp/usr/share/foomatic/db/source/PPD -name '*.ppd.gz'`; do gzip -cd $$f | perl -p -e 's/^\*CloseUI(\s+)/*CloseUI:\1/' | perl -p -e 's/\*1284DeviceId/*1284DeviceID/' | gzip -9> $$f.tmp; rm $$f; mv $$f.tmp $$f; done dh_install --list-missing |