Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 21:33:51 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349681 - in head/print/cups-filters: . files
Message-ID:  <201403302133.s2ULXpEj090298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Mar 30 21:33:51 2014
New Revision: 349681
URL: http://svnweb.freebsd.org/changeset/ports/349681
QAT: https://qat.redports.org/buildarchive/r349681/

Log:
  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

Added:
  head/print/cups-filters/
  head/print/cups-filters/Makefile   (contents, props changed)
  head/print/cups-filters/distinfo   (contents, props changed)
  head/print/cups-filters/files/
  head/print/cups-filters/files/patch-utils_cups-browsed.c   (contents, props changed)
  head/print/cups-filters/pkg-descr   (contents, props changed)
  head/print/cups-filters/pkg-plist   (contents, props changed)

Added: head/print/cups-filters/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/cups-filters/Makefile	Sun Mar 30 21:33:51 2014	(r349681)
@@ -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>

Added: head/print/cups-filters/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/cups-filters/distinfo	Sun Mar 30 21:33:51 2014	(r349681)
@@ -0,0 +1,2 @@
+SHA256 (cups-filters-1.0.42.tar.xz) = 3df524207ab24472430cffba7f01407b8adc094ec40094c5f6682d5a88a70dd6
+SIZE (cups-filters-1.0.42.tar.xz) = 1097860

Added: head/print/cups-filters/files/patch-utils_cups-browsed.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/cups-filters/files/patch-utils_cups-browsed.c	Sun Mar 30 21:33:51 2014	(r349681)
@@ -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>

Added: head/print/cups-filters/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/cups-filters/pkg-descr	Sun Mar 30 21:33:51 2014	(r349681)
@@ -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

Added: head/print/cups-filters/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/cups-filters/pkg-plist	Sun Mar 30 21:33:51 2014	(r349681)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403302133.s2ULXpEj090298>