Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2000 15:13:50 -0700 (PDT)
From:      KATO@FreeBSD.ORG, Tsuguru@FreeBSD.ORG
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21576: Update port: graphics/gnofract4d to 1.3
Message-ID:  <20000926221350.5F89637B422@hub.freebsd.org>

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

>Number:         21576
>Category:       ports
>Synopsis:       Update port: graphics/gnofract4d to 1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 26 15:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     tkato@prontomail.ne.jp
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.3

Remove file:
patches/patch-aa  patches/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/gnofract4d/Makefile graphics/gnofract4d/Makefile
--- /usr/ports/graphics/gnofract4d/Makefile	Thu Jun 22 19:10:26 2000
+++ graphics/gnofract4d/Makefile	Sat Sep 23 04:47:05 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gnofract4d
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	graphics gnome
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,14 +14,24 @@
 MAINTAINER=	ports@FreeBSD.org
 
 LIB_DEPENDS=	gnome.4:${PORTSDIR}/x11/gnomelibs
+RUN_DEPENDS=	panel:${PORTSDIR}/x11/gnomecore
 
 GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
+
 USE_X_PREFIX=	yes
+USE_NEWGCC=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	GTK_CONFIG=${GTK_CONFIG} \
-		CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		GTK_CONFIG=${GTK_CONFIG} \
 		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS+=--datadir=${PREFIX}/share
-USE_NEWGCC=	yes
+CONFIGURE_ARGS=	--localstatedir=${PREFIX}/share/gnome/ \
+		--datadir=${PREFIX}/share/gnome
+
+pre-patch:
+	@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/gnofract4d/files/md5 graphics/gnofract4d/files/md5
--- /usr/ports/graphics/gnofract4d/files/md5	Sat Feb 26 03:25:34 2000
+++ graphics/gnofract4d/files/md5	Sat Sep 23 04:42:37 2000
@@ -1 +1 @@
-MD5 (gnofract4d-1.2.tar.gz) = b79d18b2e98e2292e8f08162020f7483
+MD5 (gnofract4d-1.3.tar.gz) = e512f9adc4206a94a55785feb23f0a4e
diff -urN /usr/ports/graphics/gnofract4d/patches/patch-aa graphics/gnofract4d/patches/patch-aa
--- /usr/ports/graphics/gnofract4d/patches/patch-aa	Sat Feb 26 03:25:34 2000
+++ graphics/gnofract4d/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
---- configure.orig	Sun Feb 20 19:14:33 2000
-+++ configure	Thu Feb 24 10:14:55 2000
-@@ -4223,7 +4223,7 @@
-   cat conftest.$ac_ext >&5
-   rm -rf conftest*
-   CATOBJEXT=.mo
--		   DATADIRNAME=lib
-+		   DATADIRNAME=share
- fi
- rm -f conftest*
- 		INSTOBJEXT=.mo
-@@ -4789,11 +4789,11 @@
-   real_prefix="${prefix}"
- fi
- 
--PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/${PACKAGE}"
-+PACKAGE_PIXMAPS_DIR="${prefix}/share/gnome/pixmaps/${PACKAGE}"
- 
- 
- 
--PACKAGE_MAPS_DIR="`gnome-config --datadir`/maps/${PACKAGE}"
-+PACKAGE_MAPS_DIR="${prefix}/share/gnome/maps/${PACKAGE}"
- 
- 
- 
diff -urN /usr/ports/graphics/gnofract4d/patches/patch-ab graphics/gnofract4d/patches/patch-ab
--- /usr/ports/graphics/gnofract4d/patches/patch-ab	Sat Feb 26 03:25:34 2000
+++ graphics/gnofract4d/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- src/gf4d_fractal.cpp	Sun Feb 20 16:55:31 2000
-+++ src/gf4d_fractal.cpp.new	Fri Feb 25 13:06:59 2000
-@@ -1,9 +1,8 @@
--#include <gtk/gtkmain.h>
--#include <gtk/gtksignal.h>
--
- #include "gf4d_fractal.h"
- #include "image.h"
- #include "fract.h"
-+#include <gtk/gtkmain.h>
-+#include <gtk/gtksignal.h>
- 
- static void gf4d_fractal_class_init               (Gf4dFractalClass    *klass);
- static void gf4d_fractal_init                     (Gf4dFractal         *dial);


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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