From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 8 04:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF213572 for ; Tue, 8 Apr 2014 04:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B7721C3E for ; Tue, 8 Apr 2014 04:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s38400tJ097602 for ; Tue, 8 Apr 2014 04:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s38400ep097601; Tue, 8 Apr 2014 04:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 8 Apr 2014 04:00:00 GMT Resent-Message-Id: <201404080400.s38400ep097601@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Naram Qashat Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68A5E515 for ; Tue, 8 Apr 2014 03:50:09 +0000 (UTC) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:17]) by mx1.freebsd.org (Postfix) with ESMTP id 18F0E1B9D for ; Tue, 8 Apr 2014 03:50:09 +0000 (UTC) Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36]) by qmta10.westchester.pa.mail.comcast.net with comcast id nFni1n0010mv7h05AFq79z; Tue, 08 Apr 2014 03:50:07 +0000 Received: from kirby.cyberbotx.com ([107.5.48.95]) by omta11.westchester.pa.mail.comcast.net with comcast id nFq71n00223DSHF3XFq7MN; Tue, 08 Apr 2014 03:50:07 +0000 Received: by kirby.cyberbotx.com (Postfix, from userid 0) id CF66F28441; Mon, 7 Apr 2014 23:50:06 -0400 (EDT) Message-Id: <20140408035006.CF66F28441@kirby.cyberbotx.com> Date: Mon, 7 Apr 2014 23:50:06 -0400 (EDT) From: Naram Qashat To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/188371: [PATCH] print/cups-filters: update to 1.0.52, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 04:00:00 -0000 >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: