Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 19:26:52 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332760 - in head/graphics: gimp gimp-app gimp-app/files py-gimp
Message-ID:  <201311041926.rA4JQqmX005147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Mon Nov  4 19:26:51 2013
New Revision: 332760
URL: http://svnweb.freebsd.org/changeset/ports/332760

Log:
  Update to 2.8.8.
  
  Switch to lcms2, remove stray desktopfileutils from USE_GNOME,
  use libexecinfo from base if it is there else use the port.
  Strip unstripped libraries.
  Fix portname of graphics/py-gimp, so it doesn't say py-gimp-app.

Deleted:
  head/graphics/gimp-app/files/patch-app_base_base-utils.c
Modified:
  head/graphics/gimp-app/Makefile
  head/graphics/gimp-app/distinfo
  head/graphics/gimp/Makefile
  head/graphics/py-gimp/Makefile

Modified: head/graphics/gimp-app/Makefile
==============================================================================
--- head/graphics/gimp-app/Makefile	Mon Nov  4 19:08:49 2013	(r332759)
+++ head/graphics/gimp-app/Makefile	Mon Nov  4 19:26:51 2013	(r332760)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 #   $MCom: ports/graphics/gimp-app/Makefile,v 1.65 2012/12/30 18:09:11 mezz Exp $
 
-PORTNAME=	gimp-app
-PORTVERSION=	2.8.6
-PORTREVISION?=	1
+PORTNAME?=	gimp-app
+PORTVERSION=	2.8.8
+PORTREVISION?=	0
 PORTEPOCH?=	1
 CATEGORIES?=	graphics gnome
 MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
@@ -27,7 +27,7 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgc
 LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
 		libjpeg.so:${PORTSDIR}/graphics/jpeg \
 		libtiff.so:${PORTSDIR}/graphics/tiff \
-		liblcms.so:${PORTSDIR}/graphics/lcms \
+		liblcms2.so:${PORTSDIR}/graphics/lcms2 \
 		libgegl-0.2.so:${PORTSDIR}/graphics/gegl \
 		libbabl-0.1.so:${PORTSDIR}/x11/babl
 RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
@@ -35,8 +35,7 @@ RUN_DEPENDS=	${LOCALBASE}/libdata/pkgcon
 USE_BZIP2=	yes
 USE_XORG=	xpm xmu xext
 USE_AUTOTOOLS=	libtool
-USE_GNOME+=	intltool intlhack gtk20 libartlgpl2 ltverhack gnomehier \
-		desktopfileutils
+USE_GNOME+=	intltool intlhack gtk20 libartlgpl2 ltverhack gnomehier
 USES=		desktop-file-utils gettext gmake pathfix pkgconfig
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
@@ -46,12 +45,14 @@ CONFIGURE_ARGS?=--with-html-dir=${PREFIX
 		--without-linux-input \
 		--with-print \
 		--enable-default-binary \
+		--with-lcms=lcms2 \
 		--disable-gimp-console \
 		--disable-python \
 		--with-desktop-dir=${PREFIX}/share \
 		--docdir=${PREFIX}/share/doc/gimp \
 		--enable-default-binary
-CONFIGURE_ENV=	GIMP_THREAD_LIBS=${PTHREAD_LIBS}
+CONFIGURE_ENV=	GIMP_THREAD_LIBS=${PTHREAD_LIBS} \
+		LIBS=${LIBS}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
@@ -180,6 +181,11 @@ PLIST_SUB+=		WMF="@comment "
 
 .endif
 
+.if ${OSVERSION} < 1000052
+LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+.endif
+LIBS+=-lexecinfo
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \
 		s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \
@@ -191,4 +197,14 @@ post-patch:
 	    	-e 's|x86_64|amd64|g' \
 		${WRKSRC}/configure
 
+
+.if defined(GIMP_SLAVE) && ${GIMP_SLAVE}==pygimp
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/python/*.so
+.else ! defined(GIMP_SLAVE)
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgimp*-2.0.so.0
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/modules/*.so
+.endif
+
 .include <bsd.port.mk>

Modified: head/graphics/gimp-app/distinfo
==============================================================================
--- head/graphics/gimp-app/distinfo	Mon Nov  4 19:08:49 2013	(r332759)
+++ head/graphics/gimp-app/distinfo	Mon Nov  4 19:26:51 2013	(r332760)
@@ -1,2 +1,2 @@
-SHA256 (gimp-2.8.6.tar.bz2) = 215865b0ff4534bbced551995ae3093ede1918246ead914984603a5c1a5be845
-SIZE (gimp-2.8.6.tar.bz2) = 20306442
+SHA256 (gimp-2.8.8.tar.bz2) = 74c4509bae55f07140bc46f16100fc1e0e052829c13d4d87dc31d07d3e696a67
+SIZE (gimp-2.8.8.tar.bz2) = 20345808

Modified: head/graphics/gimp/Makefile
==============================================================================
--- head/graphics/gimp/Makefile	Mon Nov  4 19:08:49 2013	(r332759)
+++ head/graphics/gimp/Makefile	Mon Nov  4 19:26:51 2013	(r332760)
@@ -3,7 +3,7 @@
 #   $MCom: ports/graphics/gimp/Makefile,v 1.22 2012/11/26 13:31:16 kwm Exp $
 
 PORTNAME=	gimp
-DISTVERSION?=	2.8.6
+DISTVERSION?=	2.8.8
 PORTREVISION?=	0
 PORTEPOCH?=	2
 CATEGORIES=	graphics gnome
@@ -23,8 +23,9 @@ PRINT_DESC=	Gutenprint (gimp-print) plug
 HELP_DESC=	Gimp-Help (50+MB distfile)
 
 NO_BUILD=	yes
+NO_INSTALL=	yes
+NO_MTREE=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MHELP}
@@ -40,6 +41,4 @@ RUN_DEPENDS+=	${LOCALBASE}/libexec/gimp/
 RUN_DEPENDS+=	gutenprint>0:${PORTSDIR}/print/gutenprint
 .endif
 
-do-install:	# empty
-
 .include <bsd.port.mk>

Modified: head/graphics/py-gimp/Makefile
==============================================================================
--- head/graphics/py-gimp/Makefile	Mon Nov  4 19:08:49 2013	(r332759)
+++ head/graphics/py-gimp/Makefile	Mon Nov  4 19:26:51 2013	(r332760)
@@ -2,9 +2,11 @@
 # $FreeBSD$
 #    $MCom: ports/graphics/py-gimp/Makefile,v 1.6 2009/08/25 00:06:39 marcus Exp $
 
-PORTREVISION=	1
+PORTNAME=	gimp
+PORTREVISION=	0
 PORTEPOCH=	0
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GIMP python plugin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041926.rA4JQqmX005147>