From 2d04d246d280ae1f49fa96b5b13a794a88cf8d3f Mon Sep 17 00:00:00 2001
From: Juergen Daubert <jue@jue.li>
Date: Sat, 27 Oct 2012 16:08:06 +0200
Subject: [PATCH] cups-filters: initial release

---
 cups-filters/.footprint | 81 +++++++++++++++++++++++++++++++++++++++++
 cups-filters/.md5sum    |  1 +
 cups-filters/Pkgfile    | 22 +++++++++++
 3 files changed, 104 insertions(+)
 create mode 100644 cups-filters/.footprint
 create mode 100644 cups-filters/.md5sum
 create mode 100644 cups-filters/Pkgfile

diff --git a/cups-filters/.footprint b/cups-filters/.footprint
new file mode 100644
index 000000000..5ae3771c5
--- /dev/null
+++ b/cups-filters/.footprint
@@ -0,0 +1,81 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/ttfread
+drwxr-xr-x	root/root	usr/etc/
+drwxr-xr-x	root/root	usr/etc/fonts/
+drwxr-xr-x	root/root	usr/etc/fonts/conf.d/
+-rw-r--r--	root/root	usr/etc/fonts/conf.d/99pdftoopvp.conf
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/cupsfilters/
+-rw-r--r--	root/root	usr/include/cupsfilters/driver.h
+-rw-r--r--	root/root	usr/include/cupsfilters/image.h
+drwxr-xr-x	root/root	usr/include/fontembed/
+-rw-r--r--	root/root	usr/include/fontembed/bitset.h
+-rw-r--r--	root/root	usr/include/fontembed/embed.h
+-rw-r--r--	root/root	usr/include/fontembed/fontfile.h
+-rw-r--r--	root/root	usr/include/fontembed/iofn.h
+-rw-r--r--	root/root	usr/include/fontembed/sfnt.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/cups/
+drwxr-xr-x	root/root	usr/lib/cups/backend/
+-rwxr-xr-x	root/root	usr/lib/cups/backend/parallel
+-rwxr-xr-x	root/root	usr/lib/cups/backend/serial
+drwxr-xr-x	root/root	usr/lib/cups/filter/
+-rwxr-xr-x	root/root	usr/lib/cups/filter/bannertopdf
+-rwxr-xr-x	root/root	usr/lib/cups/filter/commandtoescpx
+-rwxr-xr-x	root/root	usr/lib/cups/filter/commandtopclx
+-rwxr-xr-x	root/root	usr/lib/cups/filter/imagetopdf
+-rwxr-xr-x	root/root	usr/lib/cups/filter/imagetops
+-rwxr-xr-x	root/root	usr/lib/cups/filter/imagetoraster
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pdftoijs
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pdftoopvp
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pdftopdf
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pdftops
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pdftoraster
+-rwxr-xr-x	root/root	usr/lib/cups/filter/pstopdf
+-rwxr-xr-x	root/root	usr/lib/cups/filter/rastertoescpx
+-rwxr-xr-x	root/root	usr/lib/cups/filter/rastertopclx
+-rwxr-xr-x	root/root	usr/lib/cups/filter/textonly
+-rwxr-xr-x	root/root	usr/lib/cups/filter/texttopdf
+-rwxr-xr-x	root/root	usr/lib/cups/filter/texttops
+-rw-r--r--	root/root	usr/lib/libcupsfilters.a
+-rwxr-xr-x	root/root	usr/lib/libcupsfilters.la
+lrwxrwxrwx	root/root	usr/lib/libcupsfilters.so -> libcupsfilters.so.1.0.0
+lrwxrwxrwx	root/root	usr/lib/libcupsfilters.so.1 -> libcupsfilters.so.1.0.0
+-rwxr-xr-x	root/root	usr/lib/libcupsfilters.so.1.0.0
+-rw-r--r--	root/root	usr/lib/libfontembed.a
+-rwxr-xr-x	root/root	usr/lib/libfontembed.la
+lrwxrwxrwx	root/root	usr/lib/libfontembed.so -> libfontembed.so.1.0.0
+lrwxrwxrwx	root/root	usr/lib/libfontembed.so.1 -> libfontembed.so.1.0.0
+-rwxr-xr-x	root/root	usr/lib/libfontembed.so.1.0.0
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/libcupsfilters.pc
+-rw-r--r--	root/root	usr/lib/pkgconfig/libfontembed.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/cups/
+drwxr-xr-x	root/root	usr/share/cups/banners/
+-rw-r--r--	root/root	usr/share/cups/banners/classified
+-rw-r--r--	root/root	usr/share/cups/banners/confidential
+-rw-r--r--	root/root	usr/share/cups/banners/secret
+-rw-r--r--	root/root	usr/share/cups/banners/standard
+-rw-r--r--	root/root	usr/share/cups/banners/topsecret
+-rw-r--r--	root/root	usr/share/cups/banners/unclassified
+drwxr-xr-x	root/root	usr/share/cups/charsets/
+lrwxrwxrwx	root/root	usr/share/cups/charsets/pdf.utf-8 -> pdf.utf-8.simple
+-rw-r--r--	root/root	usr/share/cups/charsets/pdf.utf-8.heavy
+-rw-r--r--	root/root	usr/share/cups/charsets/pdf.utf-8.simple
+drwxr-xr-x	root/root	usr/share/cups/data/
+-rw-r--r--	root/root	usr/share/cups/data/default-testpage.pdf
+-rw-r--r--	root/root	usr/share/cups/data/default.pdf
+-rw-r--r--	root/root	usr/share/cups/data/testprint
+drwxr-xr-x	root/root	usr/share/cups/drv/
+-rw-r--r--	root/root	usr/share/cups/drv/cupsfilters.drv
+drwxr-xr-x	root/root	usr/share/cups/mime/
+-rw-r--r--	root/root	usr/share/cups/mime/cupsfilters.convs
+-rw-r--r--	root/root	usr/share/cups/mime/cupsfilters.types
+drwxr-xr-x	root/root	usr/share/ppd/
+drwxr-xr-x	root/root	usr/share/ppd/cupsfilters/
+-rw-r--r--	root/root	usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
+-rw-r--r--	root/root	usr/share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
+-rw-r--r--	root/root	usr/share/ppd/cupsfilters/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd
+-rw-r--r--	root/root	usr/share/ppd/cupsfilters/textonly.ppd
diff --git a/cups-filters/.md5sum b/cups-filters/.md5sum
new file mode 100644
index 000000000..d655e9ea1
--- /dev/null
+++ b/cups-filters/.md5sum
@@ -0,0 +1 @@
+605dc2be14f559dbe6439c8f716c15a6  cups-filters-1.0.23.tar.xz
diff --git a/cups-filters/Pkgfile b/cups-filters/Pkgfile
new file mode 100644
index 000000000..a323ab091
--- /dev/null
+++ b/cups-filters/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Backends and filters for CUPS
+# URL:         http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat
+# Maintainer:  Juergen Daubert, jue at crux dot nu
+# Depends on:  cups poppler qpdf
+
+name=cups-filters
+version=1.0.23
+release=1
+source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz)
+
+build () {
+    cd $name-$version
+
+    ./configure --prefix=/usr \
+                --mandir=/usr/man \
+                --without-php
+
+    make -j1
+    make DESTDIR=$PKG install
+
+    rm -r $PKG/usr/share/doc
+}