Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 21:30:34 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64763: Update port: graphics/gtkam
Message-ID:  <20040326213034.1d68ffc3.tkato@prontomail.com>
Resent-Message-ID: <200403261240.i2QCeTDB040780@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64763
>Category:       ports
>Synopsis:       Update port: graphics/gtkam
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 04:40:28 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with gimp-2.0.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/gtkam/Makefile graphics/gtkam/Makefile
--- /usr/ports/graphics/gtkam/Makefile	Sun Mar 21 10:14:53 2004
+++ graphics/gtkam/Makefile	Thu Mar 25 03:31:46 2004
@@ -28,12 +28,12 @@
 
 .include <bsd.port.pre.mk>
 
-.if exists(${X11BASE}/lib/libgimp-1.3.so)
+.if exists(${X11BASE}/lib/libgimp-2.0.so)
 WITH_GIMP=	yes
 .endif
 
 .if defined(WITH_GIMP)
-LIB_DEPENDS+=	gimp-1.3:${PORTSDIR}/graphics/gimp-devel
+LIB_DEPENDS+=	gimp-2.0:${PORTSDIR}/graphics/gimp-devel
 PLIST_SUB+=	GIMP=""
 .else
 CONFIGURE_ARGS+=	--without-gimp
@@ -59,7 +59,8 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|-g -Wall||g ; \
+		 s|gimpui-1.3|gimpui-2.0|g' ${WRKSRC}/configure
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|images/gtkam|gtkam/images|g'
 
diff -urN /usr/ports/graphics/gtkam/files/patch-src_Makefile.in graphics/gtkam/files/patch-src_Makefile.in
--- /usr/ports/graphics/gtkam/files/patch-src_Makefile.in	Mon Apr 14 07:27:40 2003
+++ graphics/gtkam/files/patch-src_Makefile.in	Thu Mar 25 03:29:11 2004
@@ -5,7 +5,7 @@
  
  
 -@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libdir)/gimp/1.3/plug-ins
-+@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/1.3/plug-ins
++@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/2.0/plug-ins
  @HAVE_GIMP_TRUE@gtkam_gimp_libexec_PROGRAMS = gtkam-gimp
  @HAVE_GIMP_TRUE@gtkam_gimp_SOURCES = gtkam-gimp.c
  @HAVE_GIMP_TRUE@gtkam_gimp_LDADD = \
diff -urN /usr/ports/graphics/gtkam/pkg-plist graphics/gtkam/pkg-plist
--- /usr/ports/graphics/gtkam/pkg-plist	Sun Mar 21 10:14:54 2004
+++ graphics/gtkam/pkg-plist	Thu Mar 25 03:25:44 2004
@@ -1,5 +1,5 @@
 bin/gtkam
-%%GIMP%%libexec/gimp/1.3/plug-ins/gtkam-gimp
+%%GIMP%%libexec/gimp/2.0/plug-ins/gtkam-gimp
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
>Release-Note:
>Audit-Trail:
>Unformatted:



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