Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 23:51:11 +0200
From:      Thorsten Greiner <thorsten.greiner@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56741: Update port: sysutils/xfce4-battery-plugin
Message-ID:  <20030912215111.GA38438@tybalt>
Resent-Message-ID: <200309122200.h8CM0Z1h062660@freefall.freebsd.org>

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

>Number:         56741
>Category:       ports
>Synopsis:       Update port: sysutils/xfce4-battery-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 12 15:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thorsten Greiner
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
n/a
>Environment:
System: FreeBSD tybalt 5.1-CURRENT FreeBSD 5.1-CURRENT #15: Thu Sep 11 22:36:24 CEST 2003 toor@tybalt:/usr/src/sys/i386/compile/TYBALT i386


>Description:
Update xfce4-battery-plugin to 0.2.0.

>How-To-Repeat:
Unpack shar archive.

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sysutils/xfce4-battery-plugin
#	sysutils/xfce4-battery-plugin/Makefile
#	sysutils/xfce4-battery-plugin/distinfo
#	sysutils/xfce4-battery-plugin/files
#	sysutils/xfce4-battery-plugin/files/patch-panel-plugin::battmon.c
#	sysutils/xfce4-battery-plugin/files/patch-configure
#	sysutils/xfce4-battery-plugin/pkg-plist
#	sysutils/xfce4-battery-plugin/pkg-descr
#
echo c - sysutils/xfce4-battery-plugin
mkdir -p sysutils/xfce4-battery-plugin > /dev/null 2>&1
echo x - sysutils/xfce4-battery-plugin/Makefile
sed 's/^X//' >sysutils/xfce4-battery-plugin/Makefile << 'END-of-sysutils/xfce4-battery-plugin/Makefile'
X# New ports collection makefile for:	xfce-battery-plugin
X# Date created:		31 June 2003
X# Whom:			Thorsten Greiner <thorsten.greiner@web.de>
X#
X# $FreeBSD: ports/sysutils/xfce4-battery-plugin/Makefile,v 1.3 2003/08/18 08:07:16 oliver Exp $
X#
X
XPORTNAME=	xfce4-battery-plugin
XPORTVERSION=	0.2.0
XCATEGORIES=	sysutils xfce
XMASTER_SITES=	http://download.berlios.de/xfce-goodies/
XDIST_SUBDIR=	xfce4
X
XMAINTAINER=	thorsten.greiner@web.de
XCOMMENT=	Battery monitor panel plugin for XFce4
X
XBUILD_DEPENDS=	xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		xfce4util.1:${PORTSDIR}/x11/libxfce4util \
X		xfcegui4.1:${PORTSDIR}/x11-toolkits/libxfce4gui
XRUN_DEPENDS=	xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
X
XUSE_GNOME=	gtk20
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
XCONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
X
X.include <bsd.port.mk>
END-of-sysutils/xfce4-battery-plugin/Makefile
echo x - sysutils/xfce4-battery-plugin/distinfo
sed 's/^X//' >sysutils/xfce4-battery-plugin/distinfo << 'END-of-sysutils/xfce4-battery-plugin/distinfo'
XMD5 (xfce4/xfce4-battery-plugin-0.2.0.tar.gz) = ad6cbb65b356342bf1b474b612beadf4
END-of-sysutils/xfce4-battery-plugin/distinfo
echo c - sysutils/xfce4-battery-plugin/files
mkdir -p sysutils/xfce4-battery-plugin/files > /dev/null 2>&1
echo x - sysutils/xfce4-battery-plugin/files/patch-panel-plugin::battmon.c
sed 's/^X//' >sysutils/xfce4-battery-plugin/files/patch-panel-plugin::battmon.c << 'END-of-sysutils/xfce4-battery-plugin/files/patch-panel-plugin::battmon.c'
X--- panel-plugin/battmon.c.orig	Fri Sep 12 23:38:01 2003
X+++ panel-plugin/battmon.c	Fri Sep 12 23:38:24 2003
X@@ -362,6 +362,7 @@
X 	
X 	
X 	if(charge < 0) charge = 0;
X+        if(charge > 100) charge = 100;
X 	gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(battmon->battstatus), charge / 100.0);
X 	
X 	if(battmon->options.display_label){
END-of-sysutils/xfce4-battery-plugin/files/patch-panel-plugin::battmon.c
echo x - sysutils/xfce4-battery-plugin/files/patch-configure
sed 's/^X//' >sysutils/xfce4-battery-plugin/files/patch-configure << 'END-of-sysutils/xfce4-battery-plugin/files/patch-configure'
X--- configure.orig	Sat Aug  9 04:05:09 2003
X+++ configure	Fri Sep 12 23:28:29 2003
X@@ -19273,7 +19273,8 @@
X 
X 
X # This can be used to rebuild libtool when needed
X-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
X+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
X+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
X 
X # Always use our own libtool.
X LIBTOOL='$(SHELL) $(top_builddir)/libtool'
X@@ -19651,7 +19652,7 @@
X 
X     echo "$as_me:$LINENO: checking where to install panel plugins" >&5
X echo $ECHO_N "checking where to install panel plugins... $ECHO_C" >&6
X-  XFCE4_PANEL_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`
X+  XFCE4_PANEL_PLUGINSDIR=${prefix}/lib/xfce4/panel-plugins
X 
X   echo "$as_me:$LINENO: result: $XFCE4_PANEL_PLUGINSDIR" >&5
X echo "${ECHO_T}$XFCE4_PANEL_PLUGINSDIR" >&6
END-of-sysutils/xfce4-battery-plugin/files/patch-configure
echo x - sysutils/xfce4-battery-plugin/pkg-plist
sed 's/^X//' >sysutils/xfce4-battery-plugin/pkg-plist << 'END-of-sysutils/xfce4-battery-plugin/pkg-plist'
Xlib/xfce4/panel-plugins/libbattmon.so
X@unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true
X@unexec rmdir %D/lib/xfce4 2>/dev/null || true
END-of-sysutils/xfce4-battery-plugin/pkg-plist
echo x - sysutils/xfce4-battery-plugin/pkg-descr
sed 's/^X//' >sysutils/xfce4-battery-plugin/pkg-descr << 'END-of-sysutils/xfce4-battery-plugin/pkg-descr'
XBattery monitor panel plugin for XFce4.
X
XWWW: http://www.xfce.org
END-of-sysutils/xfce4-battery-plugin/pkg-descr
exit

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



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