Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 1999 21:58:55 +0200 (SAT)
From:      reg@shale.csir.co.za
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9810: Port fix: libgtop
Message-ID:  <199901301958.VAA98185@shale.csir.co.za>

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

>Number:         9810
>Category:       ports
>Synopsis:       Port fix: libgtop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 30 12:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Lea
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Arb's Inc.
>Environment:

	FreeBSD Ports collection

>Description:

	Enable nls support.  Fix support for 4.0-CURRENT.  Remove patch-ae
	and make port honour ${PREFIX}.  Add category gnome.  Remove
	impilict dependency on glib11-devel.

>How-To-Repeat:

	

>Fix:
	
	
diff -urN libgtop.old/Makefile libgtop/Makefile
--- libgtop.old/Makefile	Wed Jan 27 10:31:50 1999
+++ libgtop/Makefile	Wed Jan 27 12:47:42 1999
@@ -7,20 +7,23 @@
 #
 
 DISTNAME=	libgtop-0.99.2
-CATEGORIES=	devel
+CATEGORIES=	devel gnome
 MASTER_SITES=	${MASTER_SITE_GNOME} \
 		ftp://ftp.home-of-linux.org/pub/libgtop/0.99.2/
 MASTER_SITE_SUBDIR=	libgtop
 
 MAINTAINER=	nacai@iname.com
 
-LIB_DEPENDS=	glib11d.2:${PORTSDIR}/devel/glib11-devel \
-		gnome.1:${PORTSDIR}/x11/gnomelibs \
+LIB_DEPENDS=	gnome.1:${PORTSDIR}/x11/gnomelibs \
 		guile.4:${PORTSDIR}/lang/guile
 
+# implicit dependencies:
+# gettext, glib11-devel
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-nls
-CONFIGURE_ENV=	GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+		GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
+		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"
 USE_GMAKE=	yes
 
 post-install:
diff -urN libgtop.old/patches/patch-aa libgtop/patches/patch-aa
--- libgtop.old/patches/patch-aa	Thu Jan 28 23:31:38 1999
+++ libgtop/patches/patch-aa	Sat Jan 30 21:10:57 1999
@@ -17,8 +17,17 @@
  	*)
  	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
  	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
---- ltconfig.orig	Wed Jan  6 03:50:47 1999
-+++ ltconfig	Fri Jan  8 15:21:00 1999
+--- ltconfig.orig	Tue Jan  5 21:50:47 1999
++++ ltconfig	Sat Jan 30 21:10:18 1999
+@@ -823,7 +823,7 @@
+     ;;
+ 
+   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+-  freebsd3*)
++  freebsd3* | freebsd4*)
+     archive_cmds='$CC -shared -o $lib$libobjs'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
 @@ -1160,10 +1160,21 @@
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
    ;;
diff -urN libgtop.old/patches/patch-ab libgtop/patches/patch-ab
--- libgtop.old/patches/patch-ab	Thu Jan 14 19:00:23 1999
+++ libgtop/patches/patch-ab	Tue Jan 26 17:01:34 1999
@@ -72,8 +72,8 @@
  LT_VERSION_INFO = @LT_VERSION_INFO@
  MAKEINFO = @MAKEINFO@
  MKINSTALLDIRS = @MKINSTALLDIRS@
---- Makefile.in.orig	Wed Jan  6 03:53:28 1999
-+++ Makefile.in	Thu Jan  7 21:47:02 1999
+--- Makefile.in.orig	Tue Jan  5 21:53:28 1999
++++ Makefile.in	Wed Jan 20 00:33:09 1999
 @@ -172,8 +172,7 @@
  
  @BUILD_GNOME_SUPPORT_TRUE@support = support
@@ -93,6 +93,24 @@
  confexec_DATA	= $(top_builddir)/libgtopConf.sh \
  		  $(top_builddir)/libgtop-features.def
  
+@@ -511,7 +510,7 @@
+ $(top_srcdir)/aclocal.m4: libgtop-sysdeps.m4
+ 
+ libgtopConf.sh: libgtopConf.sh.in Makefile
+-	sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
++	sed -e 's#\@LIBGTOP_LIBDIR\@#$(confexecdir)#g' \
+ 	  -e 's#\@LIBGTOP_INCLUDEDIR\@#$(includedir)#g' \
+ 	  -e 's#\@LIBGTOP_EXTRA_LIBS\@#$(LIBGTOP_EXTRA_LIBS)#g' \
+ 	  -e 's#\@LIBGTOP_LIBS\@#$(LIBGTOP_LIBS)#g' \
+@@ -539,7 +538,7 @@
+ 	  && mv libgtopConf.tmp libgtopConf.sh
+ 
+ libgtop-config: libgtop-config.in Makefile
+-	sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
++	sed -e 's#\@LIBGTOP_LIBDIR\@#$(confexecdir)#g' \
+ 	      < $(srcdir)/libgtop-config.in > libgtop-config.tmp \
+ 	  && mv libgtop-config.tmp libgtop-config && \
+ 		chmod 755 libgtop-config
 --- po/Makefile.in.in.orig	Wed Jan  6 03:50:44 1999
 +++ po/Makefile.in.in	Thu Jan  7 21:47:02 1999
 @@ -18,7 +18,7 @@
diff -urN libgtop.old/patches/patch-ae libgtop/patches/patch-ae
--- libgtop.old/patches/patch-ae	Wed Sep 30 15:49:17 1998
+++ libgtop/patches/patch-ae	Thu Jan  1 02:00:00 1970
@@ -1,11 +0,0 @@
---- libgtop-config.in.orig	Mon Aug 17 06:56:49 1998
-+++ libgtop-config.in	Wed Sep 30 03:50:15 1998
-@@ -3,7 +3,7 @@
- usage="\
-     Usage: libgtop-config [--version] [--config]"
- 
--config_file="@LIBGTOP_LIBDIR@/libgtopConf.sh"
-+config_file="/usr/local/etc/libgtopConf.sh"
- . $config_file
- 
- if test $# -eq 0; then
diff -urN libgtop.old/pkg/PLIST libgtop/pkg/PLIST
--- libgtop.old/pkg/PLIST	Thu Jan 14 19:00:25 1999
+++ libgtop/pkg/PLIST	Tue Jan 26 16:45:46 1999
@@ -81,4 +81,17 @@
 lib/libgtop_sysdeps_suid.so.1
 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+share/locale/de/LC_MESSAGES/libgtop.mo
+share/locale/fr/LC_MESSAGES/libgtop.mo
+share/locale/ja/LC_MESSAGES/libgtop.mo
+share/locale/no/LC_MESSAGES/libgtop.mo
+share/locale/ko/LC_MESSAGES/libgtop.mo
+share/locale/es/LC_MESSAGES/libgtop.mo
+share/locale/es_DO/LC_MESSAGES/libgtop.mo
+share/locale/es_GT/LC_MESSAGES/libgtop.mo
+share/locale/es_HN/LC_MESSAGES/libgtop.mo
+share/locale/es_MX/LC_MESSAGES/libgtop.mo
+share/locale/es_PA/LC_MESSAGES/libgtop.mo
+share/locale/es_PE/LC_MESSAGES/libgtop.mo
+share/locale/es_SV/LC_MESSAGES/libgtop.mo
 @dirrm include/glibtop

>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?199901301958.VAA98185>