diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-11-04 19:26:51 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-11-04 19:26:51 +0000 |
commit | cb61460c0a6a6ca2eb142dcefbeec348fb1c68c4 (patch) | |
tree | 6aac280b9dabde8dff53e109a540f69f19c4f95e /graphics/gimp-app | |
parent | 24d338e9cf4701a98c742da98a6840bab9a34dec (diff) | |
download | ports-cb61460c0a6a6ca2eb142dcefbeec348fb1c68c4.tar.gz ports-cb61460c0a6a6ca2eb142dcefbeec348fb1c68c4.zip |
Notes
Diffstat (limited to 'graphics/gimp-app')
-rw-r--r-- | graphics/gimp-app/Makefile | 30 | ||||
-rw-r--r-- | graphics/gimp-app/distinfo | 4 | ||||
-rw-r--r-- | graphics/gimp-app/files/patch-app_base_base-utils.c | 20 |
3 files changed, 25 insertions, 29 deletions
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index 3875948d6023..2ddedae2e3c5 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -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/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso- 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/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co 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}/share/doc/gimp \ --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> diff --git a/graphics/gimp-app/distinfo b/graphics/gimp-app/distinfo index 87a94f315fb4..bad945e68a8a 100644 --- a/graphics/gimp-app/distinfo +++ b/graphics/gimp-app/distinfo @@ -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 diff --git a/graphics/gimp-app/files/patch-app_base_base-utils.c b/graphics/gimp-app/files/patch-app_base_base-utils.c deleted file mode 100644 index 7cf17b3d70f4..000000000000 --- a/graphics/gimp-app/files/patch-app_base_base-utils.c +++ /dev/null @@ -1,20 +0,0 @@ ---- app/base/base-utils.c~ -+++ app/base/base-utils.c -@@ -29,7 +29,7 @@ - #include <process.h> - #endif - --#ifdef G_OS_UNIX -+#ifdef __GLIBC__ - /* For get_backtrace() */ - #include <stdlib.h> - #include <string.h> -@@ -112,7 +112,7 @@ get_physical_memory_size (void) - char * - get_backtrace (void) - { --#ifdef G_OS_UNIX -+#ifdef __GLIBC__ - void *functions[MAX_FUNC]; - char **function_names; - int n_functions; |