From aa87fbeb109d2289e05e33412c2ab21123d48f69 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Mon, 2 Oct 2023 13:52:03 +0200 Subject: [PATCH] libcupsfilters: initial release, version 2.0.0 --- libcupsfilters/.footprint | 51 +++++++++++++++++++++++++++++++++++++++ libcupsfilters/.signature | 5 ++++ libcupsfilters/Pkgfile | 26 ++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 libcupsfilters/.footprint create mode 100644 libcupsfilters/.signature create mode 100644 libcupsfilters/Pkgfile diff --git a/libcupsfilters/.footprint b/libcupsfilters/.footprint new file mode 100644 index 000000000..59968d421 --- /dev/null +++ b/libcupsfilters/.footprint @@ -0,0 +1,51 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/cupsfilters/ +-rw-r--r-- root/root usr/include/cupsfilters/bitmap.h +-rw-r--r-- root/root usr/include/cupsfilters/catalog.h +-rw-r--r-- root/root usr/include/cupsfilters/colord.h +-rw-r--r-- root/root usr/include/cupsfilters/colormanager.h +-rw-r--r-- root/root usr/include/cupsfilters/driver.h +-rw-r--r-- root/root usr/include/cupsfilters/filter.h +-rw-r--r-- root/root usr/include/cupsfilters/ieee1284.h +-rw-r--r-- root/root usr/include/cupsfilters/image.h +-rw-r--r-- root/root usr/include/cupsfilters/ipp.h +-rw-r--r-- root/root usr/include/cupsfilters/log.h +-rw-r--r-- root/root usr/include/cupsfilters/pdf.h +-rw-r--r-- root/root usr/include/cupsfilters/raster.h +drwxr-xr-x root/root usr/lib/ +-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.2.0.0 +lrwxrwxrwx root/root usr/lib/libcupsfilters.so.2 -> libcupsfilters.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libcupsfilters.so.2.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libcupsfilters.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/form +-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/classified.pdf +-rw-r--r-- root/root usr/share/cups/data/confidential.pdf +-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/form_english.pdf +-rw-r--r-- root/root usr/share/cups/data/form_english_in.odt +-rw-r--r-- root/root usr/share/cups/data/form_russian.pdf +-rw-r--r-- root/root usr/share/cups/data/form_russian_in.odt +-rw-r--r-- root/root usr/share/cups/data/secret.pdf +-rw-r--r-- root/root usr/share/cups/data/standard.pdf +-rw-r--r-- root/root usr/share/cups/data/testprint +-rw-r--r-- root/root usr/share/cups/data/topsecret.pdf +-rw-r--r-- root/root usr/share/cups/data/unclassified.pdf diff --git a/libcupsfilters/.signature b/libcupsfilters/.signature new file mode 100644 index 000000000..dd515be37 --- /dev/null +++ b/libcupsfilters/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/TnU9xW2ff/xTTSJ0K8ayH/2JZtBsxeshuKXBCvG+WeM2GVSy4kVqd62iupKYiRyBV76UMX6IA6DRbCZUo8FjAQ= +SHA256 (Pkgfile) = d2de09fd08b1a7637da23c89167b335861c1378ca03885e6c8f7e1cda2b4f704 +SHA256 (.footprint) = 06ee6a5b22ad7118145f97f5546a7d405c1f7fb48fa5511f6960b4dc8246bd37 +SHA256 (libcupsfilters-2.0.0.tar.xz) = 542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601 diff --git a/libcupsfilters/Pkgfile b/libcupsfilters/Pkgfile new file mode 100644 index 000000000..54c18a9d1 --- /dev/null +++ b/libcupsfilters/Pkgfile @@ -0,0 +1,26 @@ +# Description: Code of the filters of the former cups-filters package as library functions +# URL: https://github.com/OpenPrinting/libcupsfilters +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: cups fontconfig ghostscript lcms2 qpdf +# Optional: dbus libexif mupdf popler + +name=libcupsfilters +version=2.0.0 +release=1 +source=(https://github.com/OpenPrinting/libcupsfilters/releases/download/$version/$name-$version.tar.xz) + +build() { + cd $name-$version + + prt-get isinst dbus || PKGMK_LIBCUPSFILTERS+=' --disable-dbus' + prt-get isinst libexif || PKGMK_LIBCUPSFILTERS+=' --disable-exif' + prt-get isinst mupdf || PKGMK_LIBCUPSFILTERS+=' --disable-mutool' + prt-get isinst poppler || PKGMK_LIBCUPSFILTERS+=' --disable-poppler' + + ./configure $PKGMK_LIBCUPSFILTERS --prefix=/usr + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/share/doc +}