diff options
author | bapt <bapt@FreeBSD.org> | 2014-03-31 05:33:51 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-03-31 05:33:51 +0800 |
commit | fffcb6fa788aa8748ba4ecb3c8d925528cd17ed5 (patch) | |
tree | 8870a648cc0b979ca628aa83e7ed19139053cd68 /print | |
parent | e8e65e693eb00c6bf0049b20f6bbb6a64695f45c (diff) | |
download | freebsd-ports-gnome-fffcb6fa788aa8748ba4ecb3c8d925528cd17ed5.tar.gz freebsd-ports-gnome-fffcb6fa788aa8748ba4ecb3c8d925528cd17ed5.tar.zst freebsd-ports-gnome-fffcb6fa788aa8748ba4ecb3c8d925528cd17ed5.zip |
Add cups-filters, it contains backends, filters and other
software that was once part of the core CUPS distribution but is
no longer maintained by Apple Inc
PR: ports/186824
Submitted by: bsam
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-filters/Makefile | 49 | ||||
-rw-r--r-- | print/cups-filters/distinfo | 2 | ||||
-rw-r--r-- | print/cups-filters/files/patch-utils_cups-browsed.c | 18 | ||||
-rw-r--r-- | print/cups-filters/pkg-descr | 5 | ||||
-rw-r--r-- | print/cups-filters/pkg-plist | 94 |
5 files changed, 168 insertions, 0 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile new file mode 100644 index 000000000000..ff442373908b --- /dev/null +++ b/print/cups-filters/Makefile @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= cups-filters +PORTVERSION= 1.0.42 +CATEGORIES= print +MASTER_SITES= http://www.openprinting.org/download/cups-filters/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Backends, filters and other software (was part of the core CUPS) + +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libpng15.so:${PORTSDIR}/graphics/png \ + libijs.so:${PORTSDIR}/print/libijs \ + liblcms2.so:${PORTSDIR}/graphics/lcms2 \ + libqpdf.so:${PORTSDIR}/print/qpdf \ + libdbus-1.so:${PORTSDIR}/devel/dbus \ + libcups.so:${PORTSDIR}/print/cups-client \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ + libpoppler.so:${PORTSDIR}/graphics/poppler + +USES= compiler:c++11-lib pathfix pkgconfig tar:xz +USE_GNOME= glib20 +USE_GHOSTSCRIPT= yes +GNU_CONFIGURE= yes +CUPS_SOCKET= /var/run/cups.sock +CONFIGURE_ARGS= --with-domainsocket=${CUPS_SOCKET} +CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" \ + LIBQPDF_CFLAGS="-I/usr/local/include" LIBQPDF_LIBS="-lqpdf" + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +USE_LDCONFIG= yes + +OPTIONS_DEFINE= AVAHI +OPTIONS_DEFAULT= AVAHI + +AVAHI_CONFIGURE_ENABLE= avahi +AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app + +post-patch: + @${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in + +post-install: + @${RM} -rf ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip \ + ${STAGEDIR}${PREFIX}/man/man1/foomatic-rip.1 + +.include <bsd.port.mk> diff --git a/print/cups-filters/distinfo b/print/cups-filters/distinfo new file mode 100644 index 000000000000..f57b1a1552c6 --- /dev/null +++ b/print/cups-filters/distinfo @@ -0,0 +1,2 @@ +SHA256 (cups-filters-1.0.42.tar.xz) = 3df524207ab24472430cffba7f01407b8adc094ec40094c5f6682d5a88a70dd6 +SIZE (cups-filters-1.0.42.tar.xz) = 1097860 diff --git a/print/cups-filters/files/patch-utils_cups-browsed.c b/print/cups-filters/files/patch-utils_cups-browsed.c new file mode 100644 index 000000000000..fcd6858337f8 --- /dev/null +++ b/print/cups-filters/files/patch-utils_cups-browsed.c @@ -0,0 +1,18 @@ +--- utils/cups-browsed.c.orig 2013-12-27 20:45:55.188455147 +0400 ++++ utils/cups-browsed.c 2013-12-27 20:46:23.397446686 +0400 +@@ -23,7 +23,6 @@ + + #include <ctype.h> + #include <errno.h> +-#include <ifaddrs.h> + #if defined(__OpenBSD__) + #include <sys/socket.h> + #endif /* __OpenBSD__ */ +@@ -33,6 +32,7 @@ + #include <stdio.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <ifaddrs.h> + #include <assert.h> + #include <stdlib.h> + #include <time.h> diff --git a/print/cups-filters/pkg-descr b/print/cups-filters/pkg-descr new file mode 100644 index 000000000000..193d10934a81 --- /dev/null +++ b/print/cups-filters/pkg-descr @@ -0,0 +1,5 @@ +The CUPS Filters package contains backends, filters and other +software that was once part of the core CUPS distribution but is +no longer maintained by Apple Inc. + +WWW: http://www.linuxfromscratch.org/blfs/view/svn/pst/cups-filters.html diff --git a/print/cups-filters/pkg-plist b/print/cups-filters/pkg-plist new file mode 100644 index 000000000000..1fa8cea6fda3 --- /dev/null +++ b/print/cups-filters/pkg-plist @@ -0,0 +1,94 @@ +bin/ttfread +etc/cups/cups-browsed.conf +etc/fonts/conf.d/99pdftoopvp.conf +include/cupsfilters/colord.h +include/cupsfilters/driver.h +include/cupsfilters/image.h +include/cupsfilters/raster.h +include/fontembed/bitset.h +include/fontembed/embed.h +include/fontembed/fontfile.h +include/fontembed/iofn.h +include/fontembed/sfnt.h +lib/libcupsfilters.a +lib/libcupsfilters.la +lib/libcupsfilters.so +lib/libcupsfilters.so.1 +lib/libfontembed.a +lib/libfontembed.la +lib/libfontembed.so +lib/libfontembed.so.1 +libdata/pkgconfig/libcupsfilters.pc +libdata/pkgconfig/libfontembed.pc +libexec/cups/backend/parallel +libexec/cups/backend/serial +libexec/cups/filter/bannertopdf +libexec/cups/filter/commandtoescpx +libexec/cups/filter/commandtopclx +libexec/cups/filter/gstopxl +libexec/cups/filter/gstoraster +libexec/cups/filter/imagetopdf +libexec/cups/filter/imagetops +libexec/cups/filter/imagetoraster +libexec/cups/filter/pdftoijs +libexec/cups/filter/pdftoippprinter +libexec/cups/filter/pdftoopvp +libexec/cups/filter/pdftopdf +libexec/cups/filter/pdftops +libexec/cups/filter/pdftoraster +libexec/cups/filter/pstopdf +libexec/cups/filter/rastertoescpx +libexec/cups/filter/rastertopclx +libexec/cups/filter/textonly +libexec/cups/filter/texttopdf +libexec/cups/filter/texttops +libexec/cups/filter/urftopdf +man/man5/cups-browsed.conf.5.gz +man/man8/cups-browsed.8.gz +sbin/cups-browsed +share/cups/banners/classified +share/cups/banners/confidential +share/cups/banners/secret +share/cups/banners/standard +share/cups/banners/topsecret +share/cups/banners/unclassified +share/cups/charsets/pdf.utf-8 +share/cups/charsets/pdf.utf-8.heavy +share/cups/charsets/pdf.utf-8.simple +share/cups/data/default-testpage.pdf +share/cups/data/default.pdf +share/cups/data/testprint +share/cups/drv/cupsfilters.drv +share/cups/mime/cupsfilters.convs +share/cups/mime/cupsfilters.types +share/cups/ppdc/escp.h +share/cups/ppdc/pcl.h +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd +share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd +share/ppd/cupsfilters/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd +share/ppd/cupsfilters/pxlcolor.ppd +share/ppd/cupsfilters/pxlmono.ppd +share/ppd/cupsfilters/textonly.ppd +@dirrmtry share/ppd/cupsfilters +@dirrmtry share/ppd +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrmtry share/cups/ppdc +@dirrmtry share/cups/mime +@dirrmtry share/cups/drv +@dirrmtry share/cups/data +@dirrmtry share/cups/charsets +@dirrmtry share/cups/banners +@dirrmtry share/cups +@dirrmtry libexec/cups/filter +@dirrmtry libexec/cups/backend +@dirrmtry libexec/cups +@dirrmtry include/fontembed +@dirrmtry include/cupsfilters +@dirrmtry etc/fonts/conf.d +@dirrmtry etc/fonts +@dirrmtry etc/cups |