pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/cups-pdf



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Thu Nov 26 12:31:33 UTC 2020

Modified Files:
        pkgsrc/print/cups-pdf: Makefile PLIST distinfo

Log Message:
cups-pdf: Update to 3.0.1

Changelog:
2017-02-24:  CUPS-PDF 3.0.1      - corrected a bug with multiple instance naming,
                                   some code and logging improvements,
                                   removed obsolete code,
                                   updated the README file
2017-01-04:  CUPS-PDF 3.0.0      - disabled support for multiple PS-files in one file,
                                   improved PS-structure handling,
                                   reordered compiler call to avoid errors
2014-10-19:  CUPS-PDF 3.0beta2   - code simplifications and optimizations,
                                   improved file name handling,
                                   removed contrib/ directory from tarball (now on WWW),
                                   new contact data
2012-02-29:  CUPS-PDF 3.0beta1   - support for multiple configurations with one backend,
                                   support for option setting via lpoptions or PPD,
                                   new option for selecting output file extension,
                                   improved logging system with better error handling,
                                   various code optimizations,
                                   additional PPD for option setting,
                                   new script in contrib/ for creating user defaults,
                                   updated documentation


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/print/cups-pdf/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/cups-pdf/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/cups-pdf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/cups-pdf/Makefile
diff -u pkgsrc/print/cups-pdf/Makefile:1.20 pkgsrc/print/cups-pdf/Makefile:1.21
--- pkgsrc/print/cups-pdf/Makefile:1.20 Mon Aug 31 18:11:00 2020
+++ pkgsrc/print/cups-pdf/Makefile      Thu Nov 26 12:31:33 2020
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2020/08/31 18:11:00 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2020/11/26 12:31:33 ryoon Exp $
 
 COMMENT=               PDF backend for CUPS
 
-DISTNAME=              cups-pdf-2.6.1
-PKGREVISION=           12
+DISTNAME=              cups-pdf-3.0.1
 CATEGORIES=            print
 
 HOMEPAGE=              https://www.cups-pdf.de/
@@ -27,30 +26,31 @@ SUBST_SED.fix-paths+=               -e 's,\#GhostScri
 CONF_FILES+=           ${PREFIX}/share/examples/cups/cups-pdf.conf \
                        ${PKG_SYSCONFDIR}/cups/cups-pdf.conf
 
-INSTALLATION_DIRS+=    ${PREFIX}/bin \
-                       ${PREFIX}/libexec/cups/backend \
+INSTALLATION_DIRS+=    ${PREFIX}/libexec/cups/backend \
                        ${PREFIX}/share/cups/model \
                        ${PREFIX}/share/examples/cups
 
 do-build:
        cd ${WRKSRC} && \
-       ${CC} ${CFLAGS} -o src/cups-pdf src/cups-pdf.c
+       ${CC} ${CFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libcups}/lib \
+               -L${BUILDLINK_PREFIX.libcups}/lib \
+               -lcups \
+               -o src/cups-pdf src/cups-pdf.c
 
 #pre-install:
 #      ${SUBST_CMD} ${WRKBUILD}/extra/cups-pdf.conf
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf \
+       # cups-pdf backend must be installed as 0700 permission.
+       ${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} \
+               -m 700 ${WRKSRC}/src/cups-pdf \
                ${DESTDIR}${PREFIX}/libexec/cups/backend/cups-pdf
-       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cups-pdf-dispatch-0.1/cups-pdf-dispatch \
-               ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF.ppd \
+       ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF_noopt.ppd \
+               ${DESTDIR}${PREFIX}/share/cups/model/
+       ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF_opt.ppd \
                ${DESTDIR}${PREFIX}/share/cups/model/
        ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \
                ${DESTDIR}${PREFIX}/share/examples/cups/
-       ${INSTALL_DATA} ${WRKSRC}/contrib/cups-pdf-dispatch-0.1/cups-pdf-dispatch.conf \
-               ${DESTDIR}${PREFIX}/share/examples/cups/
-       ${INSTALL_DATA} ${WRKSRC}/contrib/cups-pdf-dispatch-0.1/examples/cups-pdf-dispatch-ldap.conf \
-               ${DESTDIR}${PREFIX}/share/examples/cups/
 
+.include "../../print/libcups/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/print/cups-pdf/PLIST
diff -u pkgsrc/print/cups-pdf/PLIST:1.1 pkgsrc/print/cups-pdf/PLIST:1.2
--- pkgsrc/print/cups-pdf/PLIST:1.1     Tue Nov  1 13:50:04 2011
+++ pkgsrc/print/cups-pdf/PLIST Thu Nov 26 12:31:33 2020
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2011/11/01 13:50:04 roy Exp $
-bin/cups-pdf-dispatch
+@comment $NetBSD: PLIST,v 1.2 2020/11/26 12:31:33 ryoon Exp $
 libexec/cups/backend/cups-pdf
-share/cups/model/CUPS-PDF.ppd
-share/examples/cups/cups-pdf-dispatch-ldap.conf
-share/examples/cups/cups-pdf-dispatch.conf
+share/cups/model/CUPS-PDF_noopt.ppd
+share/cups/model/CUPS-PDF_opt.ppd
 share/examples/cups/cups-pdf.conf

Index: pkgsrc/print/cups-pdf/distinfo
diff -u pkgsrc/print/cups-pdf/distinfo:1.2 pkgsrc/print/cups-pdf/distinfo:1.3
--- pkgsrc/print/cups-pdf/distinfo:1.2  Thu Mar 23 17:06:58 2017
+++ pkgsrc/print/cups-pdf/distinfo      Thu Nov 26 12:31:33 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/03/23 17:06:58 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/11/26 12:31:33 ryoon Exp $
 
-SHA1 (cups-pdf_2.6.1.tar.gz) = 6806f0004dfed5216625ab60cfe307ded23c2f6a
-RMD160 (cups-pdf_2.6.1.tar.gz) = ebb7ed5192ff91201e2ef9d87d8f24c1c7a393cc
-SHA512 (cups-pdf_2.6.1.tar.gz) = 60702159907f95e005c93a38551b5aaa65b7e4b8e009b48becf4523d606c4bbb127e81e5acf8519ce4c9aed90b41deb01d80171f3145086351dbd022863a3816
-Size (cups-pdf_2.6.1.tar.gz) = 33315 bytes
+SHA1 (cups-pdf_3.0.1.tar.gz) = 2694f5da4e86d02d3c5c75ba29aae7ab3c7cc63f
+RMD160 (cups-pdf_3.0.1.tar.gz) = 7851d33a67e5e6df7f0737d0f5fb320411d08487
+SHA512 (cups-pdf_3.0.1.tar.gz) = a06580f3056dddbb883c8db0c71b37b883482ae1ac8aa9bcfd85e679c4dcb44278006b7110d2988173d0eeb05b0f19fb39081fad49bf26839235e97fbe27a818
+Size (cups-pdf_3.0.1.tar.gz) = 29754 bytes



Home | Main Index | Thread Index | Old Index