Date: Mon, 7 Apr 2014 23:50:06 -0400 (EDT) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188371: [PATCH] print/cups-filters: update to 1.0.52, take maintainership Message-ID: <20140408035006.CF66F28441@kirby.cyberbotx.com> Resent-Message-ID: <201404080400.s38400ep097601@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188371 >Category: ports >Synopsis: [PATCH] print/cups-filters: update to 1.0.52, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 04:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 9.2-STABLE FreeBSD 9.2-STABLE #0 r258460: Thu Nov 21 22:30:13 EST >Description: - Update to 1.0.52 - Take maintainership NOTE: I don't know if the post-configure step is actually needed, but I did require it in order to test the install with Port Tools, as the configure script was getting LOCALBASE through from CUPS because of cups-config being invoked. Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- cups-filters-1.0.52.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 350563) +++ Makefile (working copy) @@ -1,11 +1,11 @@ # $FreeBSD$ PORTNAME= cups-filters -PORTVERSION= 1.0.50 +PORTVERSION= 1.0.52 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/cups-filters/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Backends, filters and other software (was part of the core CUPS) LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ @@ -26,9 +26,9 @@ USE_GHOSTSCRIPT= yes GNU_CONFIGURE= yes CUPS_SOCKET= /var/run/cups.sock -CONFIGURE_ARGS= --with-domainsocket=${CUPS_SOCKET} +CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET} CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" \ - LIBQPDF_CFLAGS="-I/usr/local/include" LIBQPDF_LIBS="-lqpdf" + LIBQPDF_CFLAGS="-I${LOCALBASE}/include" LIBQPDF_LIBS="-lqpdf" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -43,6 +43,14 @@ post-patch: @${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in +post-configure: + @${REINPLACE_CMD} \ + -e 's|\(BANNERTOPDF_DATADIR = \).*\(/share/cups/data\)|\1${PREFIX}\2|' \ + -e 's|\(CUPS_DATADIR = \).*\(/share/cups\)|\1${PREFIX}\2|' \ + -e 's|\(CUPS_SERVERBIN = \).*\(/libexec/cups\)|\1${PREFIX}\2|' \ + -e 's|\(CUPS_SERVERROOT = \).*\(/etc/cups\)|\1${PREFIX}\2|' \ + ${WRKSRC}/Makefile + post-install: @${RM} -rf ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip \ ${STAGEDIR}${PREFIX}/man/man1/foomatic-rip.1 Index: distinfo =================================================================== --- distinfo (revision 350563) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (cups-filters-1.0.50.tar.xz) = 771bdaeaa171cfb3850b229d5d167bde2abcd40b900075ae72d4867acc8adbe7 -SIZE (cups-filters-1.0.50.tar.xz) = 1309912 +SHA256 (cups-filters-1.0.52.tar.xz) = 32fc3647e7d610217d813cfe87dae861bb27a3df50a084578bc659722022fd13 +SIZE (cups-filters-1.0.52.tar.xz) = 1311192 Index: pkg-plist =================================================================== --- pkg-plist (revision 350563) +++ pkg-plist (working copy) @@ -68,11 +68,11 @@ 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 +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/COPYING +%%DOCSDIR%%/INSTALL +%%DOCSDIR%%/NEWS +%%DOCSDIR%%/README 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 @@ -82,7 +82,7 @@ share/ppd/cupsfilters/textonly.ppd @dirrmtry share/ppd/cupsfilters @dirrmtry share/ppd -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrm %%DOCSDIR%% @dirrmtry share/cups/ppdc @dirrmtry share/cups/mime @dirrmtry share/cups/drv --- cups-filters-1.0.52.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140408035006.CF66F28441>