Bug 188371 - [PATCH] print/cups-filters: update to 1.0.52, take maintainership
Summary: [PATCH] print/cups-filters: update to 1.0.52, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 05:00 UTC by Naram Qashat
Modified: 2014-04-10 20:50 UTC (History)
0 users

See Also:


Attachments
cups-filters-1.0.52.patch (2.87 KB, patch)
2014-04-08 05:00 UTC, Naram Qashat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naram Qashat 2014-04-08 05:00:00 UTC
- 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)
Comment 1 Boris Samorodov freebsd_committer freebsd_triage 2014-04-10 20:29:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-10 20:45:20 UTC
Author: bsam
Date: Thu Apr 10 19:45:16 2014
New Revision: 350839
URL: http://svnweb.freebsd.org/changeset/ports/350839
QAT: https://qat.redports.org/buildarchive/r350839/

Log:
  print/cups-filters: update to 1.0.52 and hand over to the new maintainer
  
  . update to version 1.0.52;
  . transfer the port to the submitter.
  
  PR:		ports/188371
  Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>

Modified:
  head/print/cups-filters/Makefile
  head/print/cups-filters/distinfo
  head/print/cups-filters/pkg-plist

Modified: head/print/cups-filters/Makefile
==============================================================================
--- head/print/cups-filters/Makefile	Thu Apr 10 19:29:58 2014	(r350838)
+++ head/print/cups-filters/Makefile	Thu Apr 10 19:45:16 2014	(r350839)
@@ -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_GNOME=	glib20
 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 @@ AVAHI_LIB_DEPENDS=	libavahi-client.so:${
 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

Modified: head/print/cups-filters/distinfo
==============================================================================
--- head/print/cups-filters/distinfo	Thu Apr 10 19:29:58 2014	(r350838)
+++ head/print/cups-filters/distinfo	Thu Apr 10 19:45:16 2014	(r350839)
@@ -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

Modified: head/print/cups-filters/pkg-plist
==============================================================================
--- head/print/cups-filters/pkg-plist	Thu Apr 10 19:29:58 2014	(r350838)
+++ head/print/cups-filters/pkg-plist	Thu Apr 10 19:45:16 2014	(r350839)
@@ -68,11 +68,11 @@ share/cups/mime/cupsfilters.convs
 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/pxlmono.ppd
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2014-04-10 20:45:59 UTC
State Changed
From-To: open->closed

Committed, thanks!