aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-08-03 09:59:49 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-08-03 09:59:49 -0400
commit2cb144527dd7eda8299afa0155dbcb5017270f46 (patch)
treeb8b9328b4f2294979f86ffd3ad91379cb5e7d6e5
parent6b8997c9efca965290f4aca1ec1440e6b5c70a54 (diff)
parente70592564797c841e8d843afd29d3053bedc0a00 (diff)
downloadayatana-indicator-power-2cb144527dd7eda8299afa0155dbcb5017270f46.tar.gz
ayatana-indicator-power-2cb144527dd7eda8299afa0155dbcb5017270f46.tar.bz2
ayatana-indicator-power-2cb144527dd7eda8299afa0155dbcb5017270f46.zip
* New upstream release.
- Set GETTEXT_PACKAGE to generate proper templates - Dropped support for gnome-power-manager * debian/patches/fix_defines.patch - removed, merged upstream
-rw-r--r--ChangeLog26
-rwxr-xr-xconfigure78
-rw-r--r--configure.ac8
-rw-r--r--debian/changelog10
-rw-r--r--debian/patches/fix_defines.patch25
-rw-r--r--debian/patches/series1
-rw-r--r--src/indicator-power.c7
7 files changed, 79 insertions, 76 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c9deae..a631b60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,30 @@
# Generated by Makefile. Do not edit.
-2011-07-19 Javier Jardón <javier.jardon@codethink.co.uk>
+2011-08-03 Javier Jardón <javier.jardon@codethink.co.uk>
- 0.4 release
+ Release 0.5
+
+2011-08-03 Javier Jardón <javier.jardon@codethink.co.uk>
+
+ Do not support the gnome-power-manager dbus interface anymore
+
+ The interface was removed upstream and moved to gnome-settings-daemon
+
+2011-08-03 Ken VanDine <ken.vandine@canonical.com>
+
+ Fixed typos on checking for GSD and set the HAVE_GSD defines at build time
+
+2011-07-28 Ken VanDine <ken.vandine@canonical.com>
+
+ fixed a syntax error on checking for GSD and set the HAVE_GSD defines at build time
+
+2011-08-03 Javier Jardón <javier.jardon@codethink.co.uk>
+
+ configure.ac: Set GETTEXT_PACKAGE correctly to generate the expect template
+
+2011-08-01 Ken VanDine <ken.vandine@canonical.com>
+
+ Set GETTEXT_PACKAGE to generate the expect template
2011-07-18 Javier Jardón <javier.jardon@codethink.co.uk>
diff --git a/configure b/configure
index 65c7ea2..bcb2e3d 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for indicator-power 0.4.
+# Generated by GNU Autoconf 2.68 for indicator-power 0.5.
#
# Report bugs to <http://bugs.launchpad.net/indicator-power>.
#
@@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='indicator-power'
PACKAGE_TARNAME='indicator-power'
-PACKAGE_VERSION='0.4'
-PACKAGE_STRING='indicator-power 0.4'
+PACKAGE_VERSION='0.5'
+PACKAGE_STRING='indicator-power 0.5'
PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-power'
PACKAGE_URL='http://launchpad.net/indicator-power'
@@ -662,8 +662,6 @@ INTLTOOL_UPDATE
USE_NLS
INDICATORICONSDIR
INDICATORDIR
-HAVE_GSD_FALSE
-HAVE_GSD_TRUE
GSD_LIBS
GSD_CFLAGS
INDICATOR_LIBS
@@ -1364,7 +1362,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures indicator-power 0.4 to adapt to many kinds of systems.
+\`configure' configures indicator-power 0.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1434,7 +1432,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of indicator-power 0.4:";;
+ short | recursive ) echo "Configuration of indicator-power 0.5:";;
esac
cat <<\_ACEOF
@@ -1563,7 +1561,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-indicator-power configure 0.4
+indicator-power configure 0.5
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1841,7 +1839,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by indicator-power $as_me 0.4, which was
+It was created by indicator-power $as_me 0.5, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2665,7 +2663,7 @@ fi
# Define the identity of the package.
PACKAGE='indicator-power'
- VERSION='0.4'
+ VERSION='0.5'
cat >>confdefs.h <<_ACEOF
@@ -11745,12 +11743,12 @@ if test -n "$GSD_CFLAGS"; then
pkg_cv_GSD_CFLAGS="$GSD_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon>= \$GSD_REQUIRED_VERSION\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon>= $GSD_REQUIRED_VERSION") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon >= \$GSD_REQUIRED_VERSION\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon >= $GSD_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GSD_CFLAGS=`$PKG_CONFIG --cflags "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>/dev/null`
+ pkg_cv_GSD_CFLAGS=`$PKG_CONFIG --cflags "gnome-settings-daemon >= $GSD_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -11762,12 +11760,12 @@ if test -n "$GSD_LIBS"; then
pkg_cv_GSD_LIBS="$GSD_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon>= \$GSD_REQUIRED_VERSION\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon>= $GSD_REQUIRED_VERSION") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-settings-daemon >= \$GSD_REQUIRED_VERSION\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gnome-settings-daemon >= $GSD_REQUIRED_VERSION") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GSD_LIBS=`$PKG_CONFIG --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>/dev/null`
+ pkg_cv_GSD_LIBS=`$PKG_CONFIG --libs "gnome-settings-daemon >= $GSD_REQUIRED_VERSION" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -11788,33 +11786,45 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>&1`
+ GSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-settings-daemon >= $GSD_REQUIRED_VERSION" 2>&1`
else
- GSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-settings-daemon>= $GSD_REQUIRED_VERSION" 2>&1`
+ GSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-settings-daemon >= $GSD_REQUIRED_VERSION" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GSD_PKG_ERRORS" >&5
- have_gsd=no
+ as_fn_error $? "Package requirements (gnome-settings-daemon >= $GSD_REQUIRED_VERSION) were not met:
+
+$GSD_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GSD_CFLAGS
+and GSD_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- have_gsd=no
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GSD_CFLAGS
+and GSD_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
else
GSD_CFLAGS=$pkg_cv_GSD_CFLAGS
GSD_LIBS=$pkg_cv_GSD_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- have_gsd=yes
-fi
- if test x$have_gsd = xyes; then
- HAVE_GSD_TRUE=
- HAVE_GSD_FALSE='#'
-else
- HAVE_GSD_TRUE='#'
- HAVE_GSD_FALSE=
-fi
+fi
###########################
# Check to see if we're local
@@ -14303,7 +14313,7 @@ $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
-GETTEXT_PACKAGE=PACKAGE_TARNAME
+GETTEXT_PACKAGE=${PACKAGE_TARNAME}
$as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
@@ -14444,10 +14454,6 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${HAVE_GSD_TRUE}" && test -z "${HAVE_GSD_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_GSD\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
ac_config_commands="$ac_config_commands po/stamp-it"
@@ -14861,7 +14867,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by indicator-power $as_me 0.4, which was
+This file was extended by indicator-power $as_me 0.5, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14928,7 +14934,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-indicator-power config.status 0.4
+indicator-power config.status 0.5
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 84d23c2..0372683 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([indicator-power],
- [0.4],
+ [0.5],
[http://bugs.launchpad.net/indicator-power],
[indicator-power],
[http://launchpad.net/indicator-power])
@@ -39,9 +39,7 @@ PKG_CHECK_MODULES([INDICATOR],[
gtk+-3.0 >= $GTK_REQUIRED_VERSION
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
])
-PKG_CHECK_MODULES([GSD],[gnome-settings-daemon>= $GSD_REQUIRED_VERSION],
- [have_gsd=yes],[have_gsd=no])
-AM_CONDITIONAL([HAVE_GSD],[test x$have_gsd = xyes])
+PKG_CHECK_MODULES([GSD],[gnome-settings-daemon >= $GSD_REQUIRED_VERSION])
###########################
# Check to see if we're local
@@ -91,7 +89,7 @@ IT_PROG_INTLTOOL([0.41.0])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
-AC_SUBST([GETTEXT_PACKAGE],[PACKAGE_TARNAME])
+AC_SUBST([GETTEXT_PACKAGE],[${PACKAGE_TARNAME}])
AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME],[Define to the gettext package name.])
###########################
diff --git a/debian/changelog b/debian/changelog
index 8560027..7454cca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+indicator-power (0.5-0ubuntu1) UNRELEASED; urgency=low
+
+ * New upstream release.
+ - Set GETTEXT_PACKAGE to generate proper templates
+ - Dropped support for gnome-power-manager
+ * debian/patches/fix_defines.patch
+ - removed, merged upstream
+
+ -- Ken VanDine <ken.vandine@canonical.com> Wed, 03 Aug 2011 09:30:18 -0400
+
indicator-power (0.4-0ubuntu3) oneiric; urgency=low
* debian/control
diff --git a/debian/patches/fix_defines.patch b/debian/patches/fix_defines.patch
deleted file mode 100644
index 35d822a..0000000
--- a/debian/patches/fix_defines.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-=== modified file 'Makefile.am'
---- old/Makefile.am 2011-07-15 09:26:50 +0000
-+++ new/Makefile.am 2011-07-28 16:51:20 +0000
-@@ -13,6 +13,7 @@
- libpower_la_CFLAGS = \
- $(UPOWER_CFLAGS) \
- $(INDICATOR_CFLAGS) \
-+ -DHAVE_GSD \
- -Wall -Werror \
- -DG_LOG_DOMAIN=\"Indicator-Power\"
- libpower_la_LIBADD = \
-
-=== modified file 'configure.ac'
---- old/configure.ac 2011-07-18 13:40:17 +0000
-+++ new/configure.ac 2011-07-28 16:51:16 +0000
-@@ -39,7 +39,7 @@
- gtk+-3.0 >= $GTK_REQUIRED_VERSION
- indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
- ])
--PKG_CHECK_MODULES([GSD],[gnome-settings-daemon>= $GSD_REQUIRED_VERSION],
-+PKG_CHECK_MODULES([GSD],[gnome-settings-daemon >= $GSD_REQUIRED_VERSION],
- [have_gsd=yes],[have_gsd=no])
- AM_CONDITIONAL([HAVE_GSD],[test x$have_gsd = xyes])
-
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5eb90f8..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-fix_defines.patch
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 5649473..17c6bd5 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -38,17 +38,10 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEFAULT_ICON "gpm-battery-missing"
-#if HAVE_GSD
#define DBUS_SERVICE "org.gnome.SettingsDaemon"
#define DBUS_PATH "/org/gnome/SettingsDaemon"
#define POWER_DBUS_PATH DBUS_PATH "/Power"
#define POWER_DBUS_INTERFACE "org.gnome.SettingsDaemon.Power"
-#else
-#define DBUS_SERVICE "org.gnome.PowerManager"
-#define DBUS_PATH "/org/gnome/PowerManager"
-#define POWER_DBUS_PATH DBUS_PATH
-#define POWER_DBUS_INTERFACE "org.gnome.PowerManager"
-#endif
#define INDICATOR_POWER_TYPE (indicator_power_get_type ())
#define INDICATOR_POWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_POWER_TYPE, IndicatorPower))