pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups-filters Import cups-filters-1.0.54 as print...
details: https://anonhg.NetBSD.org/pkgsrc/rev/afd216a96cb6
branches: trunk
changeset: 635495:afd216a96cb6
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jun 07 11:47:47 2014 +0000
description:
Import cups-filters-1.0.54 as print/cups-filters.
CUPS is a standards-based, open source printing system developed
by Apple Inc. for Mac OS X and other UNIX-like operating systems.
CUPS uses the Internet Printing Protocol ("IPP") and provides System
V and Berkeley command-line interfaces, a web interface, and a C
API to manage printers and print jobs.
This distribution contains backends, filters, and other software
that was once part of the core CUPS distribution but is no longer
maintained by Apple Inc. In addition it contains additional filters
and software developed independently of Apple, especially filters
for the PDF-centric printing workflow introduced by OpenPrinting
and a daemon to browse Bonjour broadcasts of remote CUPS printers
and makes these printers available locally.
>From CUPS 1.6.0 on, this package is required for using printer
drivers with CUPS under Linux. With CUPS 1.5.x and earlier this
package can be used optionally to switch over to PDF-based printing.
In that case some filters are provided by both CUPS and this package.
Then the filters of this package should be used.
diffstat:
print/cups-filters/DESCR | 19 ++
print/cups-filters/Makefile | 54 ++++++
print/cups-filters/PLIST | 81 ++++++++++
print/cups-filters/distinfo | 7 +
print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c | 16 +
print/cups-filters/patches/patch-utils_cups-browsed.c | 20 ++
6 files changed, 197 insertions(+), 0 deletions(-)
diffs (221 lines):
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/DESCR Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,19 @@
+CUPS is a standards-based, open source printing system developed
+by Apple Inc. for Mac OS X and other UNIX-like operating systems.
+CUPS uses the Internet Printing Protocol ("IPP") and provides System
+V and Berkeley command-line interfaces, a web interface, and a C
+API to manage printers and print jobs.
+
+This distribution contains backends, filters, and other software
+that was once part of the core CUPS distribution but is no longer
+maintained by Apple Inc. In addition it contains additional filters
+and software developed independently of Apple, especially filters
+for the PDF-centric printing workflow introduced by OpenPrinting
+and a daemon to browse Bonjour broadcasts of remote CUPS printers
+and makes these printers available locally.
+
+From CUPS 1.6.0 on, this package is required for using printer
+drivers with CUPS under Linux. With CUPS 1.5.x and earlier this
+package can be used optionally to switch over to PDF-based printing.
+In that case some filters are provided by both CUPS and this package.
+Then the filters of this package should be used.
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/Makefile Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1 2014/06/07 11:47:47 wiz Exp $
+
+DISTNAME= cups-filters-1.0.54
+CATEGORIES= print
+MASTER_SITES= http://openprinting.org/download/cups-filters/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
+COMMENT= Backends, filters, and other software for cups
+#LICENSE= # TODO: (see mk/license.mk)
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= bash:run pkg-config
+USE_LANGUAGES= c c++
+
+CONFLICTS+= cups<1.6
+
+PKGCONFIG_OVERRIDE+= libcupsfilters.pc.in
+PKGCONFIG_OVERRIDE+= libfontembed.pc.in
+
+REPLACE_BASH+= filter/textonly
+
+INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
+
+INSTALLATION_DIRS= share/examples/rc.d
+
+CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf
+CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/etc/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf
+ ${MV} ${DESTDIR}/etc/rc.d/cups-browsed ${DESTDIR}${PREFIX}/share/examples/rc.d/cups-browsed
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../net/avahi/buildlink3.mk"
+BUILDLINK_ABI_DEPENDS.cups+= cups>=1.6
+.include "../../print/cups/buildlink3.mk"
+.include "../../print/ghostscript/buildlink3.mk"
+.include "../../print/ijs/buildlink3.mk"
+.include "../../print/poppler-cpp/buildlink3.mk"
+.include "../../print/poppler-glib/buildlink3.mk"
+BUILDLINK_ABI_DEPENDS.poppler-includes?= poppler-includes>=0.26.1nb1
+.include "../../print/poppler-includes/buildlink3.mk"
+.include "../../print/qpdf/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/PLIST Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,81 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/07 11:47:47 wiz Exp $
+bin/ttfread
+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.la
+lib/libfontembed.la
+lib/pkgconfig/libcupsfilters.pc
+lib/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/foomatic-rip
+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/rastertopdf
+libexec/cups/filter/textonly
+libexec/cups/filter/texttopdf
+libexec/cups/filter/texttops
+libexec/cups/filter/urftopdf
+man/man1/foomatic-rip.1
+man/man5/cups-browsed.conf.5
+man/man8/cups-browsed.8
+sbin/cups-browsed
+share/cups/banners/classified
+share/cups/banners/confidential
+share/cups/banners/form
+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/form_english.pdf
+share/cups/data/form_english_in.odt
+share/cups/data/form_russian.pdf
+share/cups/data/form_russian_in.odt
+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
+share/doc/cups-filters/AUTHORS
+share/doc/cups-filters/COPYING
+share/doc/cups-filters/INSTALL
+share/doc/cups-filters/NEWS
+share/doc/cups-filters/README
+share/examples/cups-filters/cups-browsed.conf
+share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf
+share/examples/rc.d/cups-browsed
+share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
+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
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/distinfo Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2014/06/07 11:47:47 wiz Exp $
+
+SHA1 (cups-filters-1.0.54.tar.xz) = 5f9e6a7d63406110412d1fc8432bb2415f47622c
+RMD160 (cups-filters-1.0.54.tar.xz) = 842a08a5846269e7b82153fe955aa3e421370833
+Size (cups-filters-1.0.54.tar.xz) = 1314324 bytes
+SHA1 (patch-filter_foomatic-rip_foomaticrip.c) = 33199169537dac7246fffc04aa3f2a7e875103b1
+SHA1 (patch-utils_cups-browsed.c) = ccade24afb275e9cee13d1efb96ddffe6eeddcf1
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-filter_foomatic-rip_foomaticrip.c Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-filter_foomatic-rip_foomaticrip.c,v 1.1 2014/06/07 11:47:47 wiz Exp $
+
+mkstemps doesn't exist on NetBSD either.
+(Should be a configure test instead.)
+
+--- filter/foomatic-rip/foomaticrip.c.orig 2014-06-06 08:49:59.000000000 +0000
++++ filter/foomatic-rip/foomaticrip.c
+@@ -740,7 +740,7 @@ int main(int argc, char** argv)
+ debug = 1;
+
+ if (debug) {
+-#ifdef __UCLIBC__
++#if defined(__UCLIBC__) || defined(__NetBSD__)
+ sprintf(tmp, "%s-log-XXXXXX", LOG_FILE);
+ int fd = mkstemp (tmp);
+ #else
diff -r c89a0898a1bc -r afd216a96cb6 print/cups-filters/patches/patch-utils_cups-browsed.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/patches/patch-utils_cups-browsed.c Sat Jun 07 11:47:47 2014 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-utils_cups-browsed.c,v 1.1 2014/06/07 11:47:47 wiz Exp $
+
+Move header below those providing u_int on NetBSD.
+
+--- utils/cups-browsed.c.orig 2014-05-07 14:09:53.000000000 +0000
++++ utils/cups-browsed.c
+@@ -23,12 +23,12 @@
+
+ #include <ctype.h>
+ #include <errno.h>
+-#include <ifaddrs.h>
+ #if defined(__OpenBSD__)
+ #include <sys/socket.h>
+ #endif /* __OpenBSD__ */
+ #include <net/if.h>
+ #include <netinet/in.h>
++#include <ifaddrs.h>
+ #include <resolv.h>
+ #include <stdio.h>
+ #include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index