pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups-pdf cups-pdf: Update to 3.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d9f3ca54763
branches:  trunk
changeset: 442574:7d9f3ca54763
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Nov 26 12:31:33 2020 +0000

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

diffstat:

 print/cups-pdf/Makefile |  28 ++++++++++++++--------------
 print/cups-pdf/PLIST    |   8 +++-----
 print/cups-pdf/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 24 deletions(-)

diffs (87 lines):

diff -r 96c5651326db -r 7d9f3ca54763 print/cups-pdf/Makefile
--- a/print/cups-pdf/Makefile   Thu Nov 26 11:45:39 2020 +0000
+++ b/print/cups-pdf/Makefile   Thu Nov 26 12:31:33 2020 +0000
@@ -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 @@
 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"
diff -r 96c5651326db -r 7d9f3ca54763 print/cups-pdf/PLIST
--- a/print/cups-pdf/PLIST      Thu Nov 26 11:45:39 2020 +0000
+++ b/print/cups-pdf/PLIST      Thu Nov 26 12:31:33 2020 +0000
@@ -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
diff -r 96c5651326db -r 7d9f3ca54763 print/cups-pdf/distinfo
--- a/print/cups-pdf/distinfo   Thu Nov 26 11:45:39 2020 +0000
+++ b/print/cups-pdf/distinfo   Thu Nov 26 12:31:33 2020 +0000
@@ -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