Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 21:56:05 +0100
From:      Anders Andersson <anders@hack.org>
To:        gnome@FreeBSD.org
Subject:   sysutils/battstat-applet
Message-ID:  <20020129205605.GL1124@sushi.sanyusan.se>

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

--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

I am trying to upgrade sysutils/battstat-applet to the latest version
without much luck. It fails on finding gettext-devel which it needs:

[snip]
checking for gettext >= 0.10.37... 0.10.35
configure: error: gettext version 0.10.37 is required.
[snip]

Please see the attaches patch, I have tried to use the obvious hints for
gettext-devel but I am suspecting $PATH gets included somewhere and
messes it up.

I tried a lot of different stuff I found in other ports Makefiles that
needs gettext-devel but none seems to work. I also tried the
--with-included-gettext without success. 

Am I missing something obvious? Just want to check with you before I get
my hands dirty.
-- 
Anders Andersson <anders@hack.org>
UNIX, Networking and Security consultant
+46 (0)705 87 53 35

--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="battstat-applet.diff"

Index: battstat-applet/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/battstat-applet/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- battstat-applet/Makefile	16 Apr 2001 17:25:32 -0000	1.6
+++ battstat-applet/Makefile	29 Jan 2002 20:50:20 -0000
@@ -6,21 +6,24 @@
 #
 
 PORTNAME=	battstat-applet
-PORTVERSION=	2.0.4
+PORTVERSION=	2.0.13
 CATEGORIES=	sysutils gnome
-MASTER_SITES=	http://spektr.eu.org/~jp/battstat/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	battstat
 DISTNAME=	battstat_applet-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-
-WRKSRC=		${WRKDIR}/${DISTNAME}
+MAINTAINER=	anders@hack.org
 
+BUILD_DEPENDS=	msgfmt-new:${PORTSDIR}/devel/gettext-devel
+	
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_GNOME=	yes
 USE_LIBTOOL=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LIBS="-L${LOCALBASE}/lib" \
+		MSGFMT=${LOCALBASE}/bin/msgfmt-new \
+		XGETTEXT=${LOCALBASE}/bin/xgettext-new
 
 pre-patch:
 	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
Index: battstat-applet/distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/battstat-applet/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- battstat-applet/distinfo	9 Aug 2000 23:29:46 -0000	1.1.1.1
+++ battstat-applet/distinfo	29 Jan 2002 20:17:51 -0000
@@ -1 +1 @@
-MD5 (battstat_applet-2.0.4.tar.gz) = 6330b00a857aa9244ac80d5c9b28459c
+MD5 (battstat_applet-2.0.13.tar.gz) = a6c704b14ab8b3911e18c8d44e6846c3
Index: battstat-applet/pkg-descr
===================================================================
RCS file: /home/ncvs/ports/sysutils/battstat-applet/pkg-descr,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pkg-descr
--- battstat-applet/pkg-descr	9 Aug 2000 23:29:47 -0000	1.1.1.1
+++ battstat-applet/pkg-descr	29 Jan 2002 20:24:56 -0000
@@ -2,6 +2,6 @@
 different icons depending on the status (AC, battery, charging, low
 power), and requires GTK and GNOME.
 
-WWW:	http://spektr.eu.org/~jp/battstat/
+WWW:	http://battstat.sourceforge.net/
 
 - Jim <jim@FreeBSD.org>

--TRYliJ5NKNqkz5bu--

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




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