[Goodies-commits] r1937 - xfce4-battery-plugin/trunk

Nick Schermer nick at xfce.org
Sat Sep 2 18:09:22 CEST 2006


Author: nick
Date: 2006-09-02 16:09:21 +0000 (Sat, 02 Sep 2006)
New Revision: 1937

Added:
   xfce4-battery-plugin/trunk/configure.in.in
Removed:
   xfce4-battery-plugin/trunk/configure.ac
Modified:
   xfce4-battery-plugin/trunk/ChangeLog
   xfce4-battery-plugin/trunk/autogen.sh
Log:
* Replace configure
* Update changelog


Modified: xfce4-battery-plugin/trunk/ChangeLog
===================================================================
--- xfce4-battery-plugin/trunk/ChangeLog	2006-09-02 16:06:30 UTC (rev 1936)
+++ xfce4-battery-plugin/trunk/ChangeLog	2006-09-02 16:09:21 UTC (rev 1937)
@@ -1,3 +1,39 @@
+2005-09-01 14:0  nick
+
+	* Bumped version to 0.4.90.2 for realease.
+
+2005-09-01 13:30  nick
+
+	* panel-plugin/battmon.c, panel-plugin/libacpi.c: Applied patches (or
+	parts of it) from Bug #1261, Bug #1475
+	* panel-plugin/battmon.c, panel-plugin/libacpi.c: NetBSD patch from
+	Stefan Sperling <stsp at stsp.in-berlin.de>
+
+2005-09-01 12:11  nick
+
+	* configure.ac, autogen.sh, po/LINGUAS: Switch to linguas support,
+	rename configure.in to configure.in.in
+	* po/xfce4-battery-plugin.pot: Addded file
+	* po/*.po: Regenerated po files
+
+2005-09-01 11:33  nick
+
+	* panel-plugin/libacpi.c: Apply patch from Giuseppe Ciotta to
+	remove hardcoded battery paths.
+	* panel-plugin/battmon.c: Fix crash when adding the plugin.
+	* panel-plugin/battmon.c: Fix plugin resize problem (bug #1791)
+	* panel-plugin/battmon.c: Improved icon loading and try to load the
+	battery icon from your current theme (fallback on buildin icon).
+	* panel-plugin/battmon.c: Initially hide the icon when building the
+	plugin (this stops the icon from flashing if disabled).
+	* panel-plugin/battmon.c: Remove the time label from "display percentage"
+	and add a new option "Display time".
+	* panel-plugin/battmon.c: Fix label alignment if only 1 "option" is shown
+	in a vbox.
+	* panel-plugin/battmon.c, configure.ac: Use new titled dialog and depend on
+	beta 2.
+	* panel-plugin/battmon.c: Couple of small fixes, improvement, memleaks etc.
+
 2003-07-18 17:59  huysmans
 
 	* panel-plugin/battmon.c: Change panel API again to prevent old

Modified: xfce4-battery-plugin/trunk/autogen.sh
===================================================================
--- xfce4-battery-plugin/trunk/autogen.sh	2006-09-02 16:06:30 UTC (rev 1936)
+++ xfce4-battery-plugin/trunk/autogen.sh	2006-09-02 16:09:21 UTC (rev 1937)
@@ -2,11 +2,6 @@
 #
 # $Id$
 #
-# Copyright (c) 2002-2005
-#         The Xfce development team. All rights reserved.
-#
-# Written for Xfce by Benedikt Meurer <benny at xfce.org>.
-#
 
 (type xdt-autogen) >/dev/null 2>&1 || {
   cat >&2 <<EOF
@@ -18,6 +13,20 @@
   exit 1
 }
 
+# verify that po/LINGUAS is present
+(test -f po/LINGUAS) >/dev/null 2>&1 || {
+  cat >&2 <<EOF
+autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
+            or try to checkout again.
+EOF
+  exit 1
+}
+
+# substitute revision and linguas
+linguas=`sed -e '/^#/d' po/LINGUAS`
+revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+sed -e "s/@LINGUAS@/${linguas}/g" \
+    -e "s/@REVISION@/${revision}/g" \
+    < "configure.in.in" > "configure.in"
+
 exec xdt-autogen $@
-
-# vi:set ts=2 sw=2 et ai:
\ No newline at end of file

Deleted: xfce4-battery-plugin/trunk/configure.ac

Added: xfce4-battery-plugin/trunk/configure.in.in
===================================================================
--- xfce4-battery-plugin/trunk/configure.in.in	                        (rev 0)
+++ xfce4-battery-plugin/trunk/configure.in.in	2006-09-02 16:09:21 UTC (rev 1937)
@@ -0,0 +1,47 @@
+dnl configure.ac
+dnl
+dnl xfce4-battery-plugin - Battery monitor for the XFce4 panel
+dnl
+dnl 2003 Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de>
+dnl
+
+m4_define([battmon_version], [0.4.90.2])
+
+AC_INIT([xfce4-battery-plugin], [battmon_version()],
+	[xfce-goodies-dev at lists.berlios.de])
+
+
+BATTMON_VERSION=battmon_version()
+AM_INIT_AUTOMAKE([xfce4-battery-plugin], [$BATTMON_VERSION])
+AM_CONFIG_HEADER([config.h])
+
+AM_MAINTAINER_MODE
+
+dnl Check for UNIX variants
+AC_AIX
+AC_ISC_POSIX
+AC_MINIX
+
+dnl Check for basic programs
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_INTLTOOL
+
+dnl Check for standard header files
+AC_HEADER_STDC
+AC_CHECK_FUNCS([sysctl])
+
+
+dnl configure the panel plugin
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.90.2])
+
+XDT_I18N([@LINGUAS@])
+
+dnl Check for debugging support
+XDT_FEATURE_DEBUG()
+
+AC_OUTPUT([
+Makefile
+panel-plugin/Makefile
+po/Makefile.in
+])




More information about the Goodies-commits mailing list