diff --git a/cups-filters/.footprint b/cups-filters/.footprint index d54453d00..db49daba4 100644 --- a/cups-filters/.footprint +++ b/cups-filters/.footprint @@ -1,36 +1,14 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/cups/ --rw-r--r-- root/root etc/cups/cups-browsed.conf -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/cups-browsed drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/driverless -> ../lib/cups/driver/driverless lrwxrwxrwx root/root usr/bin/driverless-fax -> ../lib/cups/driver/driverless-fax lrwxrwxrwx root/root usr/bin/foomatic-rip -> ../lib/cups/filter/foomatic-rip -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/cupsfilters/ --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/image.h --rw-r--r-- root/root usr/include/cupsfilters/ipp.h --rw-r--r-- root/root usr/include/cupsfilters/pdftoippprinter.h --rw-r--r-- root/root usr/include/cupsfilters/ppdgenerator.h --rw-r--r-- root/root usr/include/cupsfilters/raster.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/beh lrwxrwxrwx root/root usr/lib/cups/backend/driverless -> ../driver/driverless lrwxrwxrwx root/root usr/lib/cups/backend/driverless-fax -> ../driver/driverless-fax --rwx------ root/root usr/lib/cups/backend/implicitclass -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/driver/ @@ -47,81 +25,32 @@ drwxr-xr-x root/root usr/lib/cups/filter/ -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/mupdftoraster +-rwxr-xr-x root/root usr/lib/cups/filter/pclmtoraster -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/pwgtopclm +-rwxr-xr-x root/root usr/lib/cups/filter/pwgtopdf +-rwxr-xr-x root/root usr/lib/cups/filter/pwgtoraster -rwxr-xr-x root/root usr/lib/cups/filter/rastertoescpx --rwxr-xr-x root/root usr/lib/cups/filter/rastertopclm -rwxr-xr-x root/root usr/lib/cups/filter/rastertopclx --rwxr-xr-x root/root usr/lib/cups/filter/rastertopdf -rwxr-xr-x root/root usr/lib/cups/filter/rastertops --rwxr-xr-x root/root usr/lib/cups/filter/sys5ippprinter -rwxr-xr-x root/root usr/lib/cups/filter/texttopdf -rwxr-xr-x root/root usr/lib/cups/filter/texttops -rwxr-xr-x root/root usr/lib/cups/filter/texttotext --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/sbin/ --rwxr-xr-x root/root usr/sbin/cups-browsed +-rwxr-xr-x root/root usr/lib/cups/filter/universal 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 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-ghostscript.convs --rw-r--r-- root/root usr/share/cups/mime/cupsfilters-mupdf.convs --rw-r--r-- root/root usr/share/cups/mime/cupsfilters-poppler.convs +-rw-r--r-- root/root usr/share/cups/mime/cupsfilters-universal-postscript.convs +-rw-r--r-- root/root usr/share/cups/mime/cupsfilters-universal.convs -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/cups/ppdc/ --rw-r--r-- root/root usr/share/cups/ppdc/escp.h --rw-r--r-- root/root usr/share/cups/ppdc/pcl.h drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/driverless.1.gz -rw-r--r-- root/root usr/share/man/man1/foomatic-rip.1.gz -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/cups-browsed.conf.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/cups-browsed.8.gz 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/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd @@ -130,3 +59,6 @@ drwxr-xr-x root/root usr/share/ppd/cupsfilters/ -rw-r--r-- root/root usr/share/ppd/cupsfilters/Ricoh-PDF_Printer-PDF.ppd -rw-r--r-- root/root usr/share/ppd/cupsfilters/pxlcolor.ppd -rw-r--r-- root/root usr/share/ppd/cupsfilters/pxlmono.ppd +drwxr-xr-x root/root usr/share/ppdc/ +-rw-r--r-- root/root usr/share/ppdc/escp.h +-rw-r--r-- root/root usr/share/ppdc/pcl.h diff --git a/cups-filters/.signature b/cups-filters/.signature index 285be32bf..1dfdb6e6f 100644 --- a/cups-filters/.signature +++ b/cups-filters/.signature @@ -1,6 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/XyxXkcET3AU4EYvj61WByb0nV/GnWQQtTGexUzSKLInJ0qQPWS/sCLl1oh2NqnmBFg3N56a2EVIKIzDtf0SpAI= -SHA256 (Pkgfile) = 555caabd1eb7772d483eec3a2acccfc86335c3be3a39936edca87080a7379348 -SHA256 (.footprint) = 85c5125df89cfab5d8151fe0af1cef180e76ee60b39bd5399f0097070481e837 -SHA256 (cups-filters-1.28.17.tar.xz) = 270a3752a960368aa99d431fb5d34f4039b2ac943c576d840612d1d8185c9bb9 -SHA256 (cups-browsed) = 48e0ee7f0e3060912f9d0e510789b6cfe9a3b28349f5e24be971978f75ba4327 +RWSE3ohX2g5d/f2cFs259D6/HvHCu0ZscEO1/iG3tnR3FhEnct/M+Rc1P+ciGfITAUUr+gcrSZcitQdVXftSpcLAZYi8EXaIlgg= +SHA256 (Pkgfile) = 62e9b137e56b91ad27d487a6a5d593aedf0c8bc2f76574257c6e83d1454b38c6 +SHA256 (.footprint) = 89df0ab035324ce79797722686cdb9124022eb8e0b0a582a81f282c2b28a6372 +SHA256 (cups-filters-2.0.0.tar.xz) = b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8 diff --git a/cups-filters/Pkgfile b/cups-filters/Pkgfile index 1ee36d03d..8e94f903d 100644 --- a/cups-filters/Pkgfile +++ b/cups-filters/Pkgfile @@ -1,33 +1,24 @@ # Description: Backends and filters for CUPS -# URL: https://openprinting.github.io/ +# URL: https://github.com/OpenPrinting/cups-filters # Maintainer: Juergen Daubert, jue at crux dot nu -# Depends on: ghostscript libexif mupdf poppler qpdf xorg-font-dejavu-ttf +# Depends on: libcupsfilters libppd +# Optional: avahi mupdf poppler name=cups-filters -version=1.28.17 +version=2.0.0 release=1 -source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz - cups-browsed) +source=(https://github.com/OpenPrinting/cups-filters/releases/download/$version/$name-$version.tar.xz) build() { cd $name-$version - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --runstatedir=/run \ - --with-cups-rundir=/run/cups \ - --without-php \ - --disable-avahi \ - --disable-dbus \ - --disable-braille \ - --without-rcdir \ - --with-browseremoteprotocols=cups + prt-get isinst avahi || PKGMK_CUPSFILTERS+=' --disable-avahi' + prt-get isinst mupdf || PKGMK_CUPSFILTERS+=' --disable-mutool' + prt-get isinst poppler || PKGMK_CUPSFILTERS+=' --disable-poppler' + ./configure $PKGMK_CUPSFILTERS --prefix=/usr make make DESTDIR=$PKG install - install -D -m 0755 $SRC/cups-browsed $PKG/etc/rc.d/cups-browsed - rm -r $PKG/usr/share/doc } diff --git a/cups-filters/cups-browsed b/cups-filters/cups-browsed deleted file mode 100755 index 1b7233e6c..000000000 --- a/cups-filters/cups-browsed +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/cups-browsed: start/stop CUPS browsing daemon -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/sbin/cups-browsed -PID=/run/cups-browsed.pid - -case $1 in -start) - $SSD --start -bm --pidfile $PID --exec $PROG - ;; -stop) - $SSD --stop --remove-pidfile --retry 10 --pidfile $PID - ;; -restart) - $0 stop - $0 start - ;; -status) - $SSD --status --pidfile $PID - case $? in - 0) echo "$PROG is running with pid $(cat $PID)" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|status]" - ;; -esac - -# End of file