Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 21:44:11 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de
Subject:   ports/37678: Update misc/graphthing to 0.7
Message-ID:  <200205021944.g42JiBt03588@sauna.arved.de>

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

>Number:         37678
>Category:       ports
>Synopsis:       Update misc/graphthing to 0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 02 12:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.5-STABLE FreeBSD 4.5-STABLE #2: Tue Feb 19 15:30:21 CET 2002 root@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	Update to 0.7
	Use systems gettext instead of own.
	I'd like to become MAINTAINER of this port. 
	
>How-To-Repeat:
	
>Fix:

	

--- graphthing-update.diff begins here ---
diff -ruN /usr/ports/misc/graphthing/Makefile graphthing/Makefile
--- /usr/ports/misc/graphthing/Makefile	Mon Feb 11 09:06:12 2002
+++ graphthing/Makefile	Thu May  2 21:36:27 2002
@@ -7,15 +7,19 @@
 #
 
 PORTNAME=	graphthing
-PORTVERSION=	0.6
+PORTVERSION=	0.7
 CATEGORIES=	misc
 MASTER_SITES=	http://members.optushome.com.au/davidsymonds/gt/
-DISTNAME=	GraphThing-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	freebsdports@arved.de
+
+LIB_DEPENDS=  	intl.2:${PORTSDIR}/devel/gettext \
+		gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
 
 USE_GTK=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+
+CONFIGURE_ARGS= --without-included-gettext \
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/misc/graphthing/distinfo graphthing/distinfo
--- /usr/ports/misc/graphthing/distinfo	Mon Feb 11 09:06:12 2002
+++ graphthing/distinfo	Wed May  1 00:41:52 2002
@@ -1 +1 @@
-MD5 (GraphThing-0.6.tar.gz) = d7943a5018e86c28383f7d05a7fd62af
+MD5 (graphthing-0.7.tar.gz) = 935d840a1c0bfdc1b5bcabb74832d2e7
diff -ruN /usr/ports/misc/graphthing/files/patch-Makefile.in graphthing/files/patch-Makefile.in
--- /usr/ports/misc/graphthing/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
+++ graphthing/files/patch-Makefile.in	Wed May  1 14:00:46 2002
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Wed May  1 14:00:12 2002
++++ Makefile.in	Wed May  1 14:00:22 2002
+@@ -3,7 +3,7 @@
+ PACKAGE = @PACKAGE@
+ VERSION = @GT_VERSION@
+ 
+-SUBDIRS = intl src po
++SUBDIRS = src po
+ 
+ DISTFILES = COPYING ChangeLog Makefile.in README TODO aclocal.m4 \
+ 	configure configure.in install-sh mkinstalldirs version
diff -ruN /usr/ports/misc/graphthing/files/patch-aclocal.m4 graphthing/files/patch-aclocal.m4
--- /usr/ports/misc/graphthing/files/patch-aclocal.m4	Thu Jan  1 01:00:00 1970
+++ graphthing/files/patch-aclocal.m4	Wed May  1 14:16:52 2002
@@ -0,0 +1,20 @@
+--- aclocal.m4.orig	Wed May  1 14:15:28 2002
++++ aclocal.m4	Wed May  1 14:16:29 2002
+@@ -290,7 +290,7 @@
+ 		 CATOBJEXT=.cat
+ 		 INSTOBJEXT=.cat
+ 		 DATADIRNAME=lib
+-		 INTLDEPS='$(top_builddir)/intl/libintl.a'
++		 dnl INTLDEPS='$(top_builddir)/intl/libintl.a'
+ 		 INTLLIBS=$INTLDEPS
+ 		 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+ 		 nls_cv_header_intl=intl/libintl.h
+@@ -319,7 +319,7 @@
+         CATOBJEXT=.gmo
+         INSTOBJEXT=.mo
+         DATADIRNAME=share
+-	INTLDEPS='$(top_builddir)/intl/libintl.a'
++	dnl INTLDEPS='$(top_builddir)/intl/libintl.a'
+ 	INTLLIBS=$INTLDEPS
+ 	LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+         nls_cv_header_intl=intl/libintl.h
diff -ruN /usr/ports/misc/graphthing/files/patch-configure graphthing/files/patch-configure
--- /usr/ports/misc/graphthing/files/patch-configure	Thu Jan  1 01:00:00 1970
+++ graphthing/files/patch-configure	Wed May  1 14:19:22 2002
@@ -0,0 +1,77 @@
+--- configure.orig	Fri Apr  5 02:55:27 2002
++++ configure	Wed May  1 14:19:00 2002
+@@ -2199,7 +2199,7 @@
+ #include "confdefs.h"
+ #include <libintl.h>
+ EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
++ac_try="$ac_cpp -I/usr/local/include conftest.$ac_ext >/dev/null 2>conftest.out"
+ { (eval echo configure:2204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+@@ -2780,7 +2780,6 @@
+ 		 CATOBJEXT=.cat
+ 		 INSTOBJEXT=.cat
+ 		 DATADIRNAME=lib
+-		 INTLDEPS='$(top_builddir)/intl/libintl.a'
+ 		 INTLLIBS=$INTLDEPS
+ 		 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+ 		 nls_cv_header_intl=intl/libintl.h
+@@ -2909,7 +2908,6 @@
+         CATOBJEXT=.gmo
+         INSTOBJEXT=.mo
+         DATADIRNAME=share
+-	INTLDEPS='$(top_builddir)/intl/libintl.a'
+ 	INTLLIBS=$INTLDEPS
+ 	LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+         nls_cv_header_intl=intl/libintl.h
+@@ -3964,49 +3962,6 @@
+ ac_dests="$nls_cv_header_intl"
+ EOF
+ 
+-cat >> $CONFIG_STATUS <<\EOF
+-srcdir=$ac_given_srcdir
+-while test -n "$ac_sources"; do
+-  set $ac_dests; ac_dest=$1; shift; ac_dests=$*
+-  set $ac_sources; ac_source=$1; shift; ac_sources=$*
+-
+-  echo "linking $srcdir/$ac_source to $ac_dest"
+-
+-  if test ! -r $srcdir/$ac_source; then
+-    { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
+-  fi
+-  rm -f $ac_dest
+-
+-  # Make relative symlinks.
+-  # Remove last slash and all that follows it.  Not all systems have dirname.
+-  ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
+-  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
+-    # The dest file is in a subdirectory.
+-    test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
+-    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
+-    # A "../" for each directory in $ac_dest_dir_suffix.
+-    ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
+-  else
+-    ac_dest_dir_suffix= ac_dots=
+-  fi
+-
+-  case "$srcdir" in
+-  [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
+-  *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
+-  esac
+-
+-  # Make a symlink if possible; otherwise try a hard link.
+-  if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
+-    ln $srcdir/$ac_source $ac_dest; then :
+-  else
+-    { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
+-  fi
+-done
+-EOF
+-cat >> $CONFIG_STATUS <<EOF
+-
+-
+-EOF
+ cat >> $CONFIG_STATUS <<\EOF
+ case "$CONFIG_FILES" in *po/Makefile.in*)
+         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
diff -ruN /usr/ports/misc/graphthing/files/patch-configure.in graphthing/files/patch-configure.in
--- /usr/ports/misc/graphthing/files/patch-configure.in	Thu Jan  1 01:00:00 1970
+++ graphthing/files/patch-configure.in	Wed May  1 14:03:42 2002
@@ -0,0 +1,10 @@
+--- configure.in.orig	Wed May  1 14:03:01 2002
++++ configure.in	Wed May  1 14:03:13 2002
+@@ -63,7 +63,6 @@
+ # Write stuff to Makefiles
+ AC_OUTPUT(Makefile
+ 	src/Makefile
+-	intl/Makefile
+ 	po/Makefile.in)
+ 
+ # If they've turned on Developer Flags, give a warning
diff -ruN /usr/ports/misc/graphthing/files/patch-src-Makefile.in graphthing/files/patch-src-Makefile.in
--- /usr/ports/misc/graphthing/files/patch-src-Makefile.in	Thu Jan  1 01:00:00 1970
+++ graphthing/files/patch-src-Makefile.in	Wed May  1 14:13:29 2002
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	Wed May  1 14:13:07 2002
++++ src/Makefile.in	Wed May  1 14:13:17 2002
+@@ -7,7 +7,7 @@
+ 
+ DISTFILES = Makefile.in config.h.in depend.1 *.cc *.h *.y *.l *.gt
+ 
+-INTL_INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
++INTL_INCLUDES = -DLOCALEDIR=\"$(localedir)\"
+ 
+ CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ $(INTL_INCLUDES)
+ CXXFLAGS = @CXXFLAGS@ @EXTRA_CFLAGS@ \
--- graphthing-update.diff ends here ---


>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?200205021944.g42JiBt03588>