ports/64763: Update port: graphics/gtkam

KATO Tsuguru tkato at prontomail.com
Fri Mar 26 12:40:31 UTC 2004


>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 @@
  
  
 - at HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libdir)/gimp/1.3/plug-ins
-+ at HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/1.3/plug-ins
++ at HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/2.0/plug-ins
  @HAVE_GIMP_TRUE at gtkam_gimp_libexec_PROGRAMS = gtkam-gimp
  @HAVE_GIMP_TRUE at gtkam_gimp_SOURCES = gtkam-gimp.c
  @HAVE_GIMP_TRUE at 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:



More information about the freebsd-ports-bugs mailing list