Package: foomatic-filters-ppds
Version: 20060318-1
Tags: patch

foomatic-filters-ppds should only contain non-PostScript PPDs.
Currently there are manufacturer provided PostScript PPDs in this package (e.g. under HP). These can easily be deleted by looking for PPDs which don't have "FoomaticRIPCommandLine" inside.
A patch is provided in attachment.

Regards,
Pascal De Vuyst
--- debian/rules.orig	2006-04-15 14:38:16.000000000 +0200
+++ debian/rules	2006-04-15 15:15:38.000000000 +0200
@@ -61,6 +61,10 @@
 
 	# Move the PPDs into lp.o-gs subdirectory of /usr/share/ppd
 	(cd $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd; mfrs=`echo *`; mkdir linuxprinting.org-gs; mv $$mfrs linuxprinting.org-gs)
+
+	# Delete real PostScript PPDs
+	(cd $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd/linuxprinting.org-gs; mfrs=`echo *`; for mfr in $$mfrs; do cd $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd/linuxprinting.org-gs/$$mfr; zgrep -L 'FoomaticRIPCommandLine' * >> ps; rm -f `cat ps`; rm ps; done)
+
 	# Delete all the HPIJS PPDs, which are elsewhere now
 	rm `find $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd -name '*-hpijs.ppd*'`
 

Reply via email to