aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-09-20 08:55:00 -0700
committerKen VanDine <ken.vandine@canonical.com>2011-09-20 08:55:00 -0700
commitceba790f10a1a52020b52e9e4f524dbf7474ce7d (patch)
treefc1280343c2c74cc78369163326fa9bcf7baa04c
parent130ebff768cb4fe0a1584bdbd9f7d3db7acde250 (diff)
parent2867575084ee7586b1edac03b67526bc4bce2ee8 (diff)
downloadlibayatana-indicator-ceba790f10a1a52020b52e9e4f524dbf7474ce7d.tar.gz
libayatana-indicator-ceba790f10a1a52020b52e9e4f524dbf7474ce7d.tar.bz2
libayatana-indicator-ceba790f10a1a52020b52e9e4f524dbf7474ce7d.zip
* New upstream release.
* Add libm to linking to fix FTBFS (LP: #840514)
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog15
-rw-r--r--Makefile.in1
-rwxr-xr-xconfigure183
-rw-r--r--configure.ac5
-rw-r--r--debian/changelog7
-rw-r--r--libindicator/Makefile.in1
-rw-r--r--tests/Makefile.in1
-rw-r--r--tools/Makefile.in1
9 files changed, 190 insertions, 25 deletions
diff --git a/AUTHORS b/AUTHORS
index 7b1c028..d77855b 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,6 +3,7 @@
Aurelien Gateau
Cody Russell
Eitan Isaacson
+ Evgeni Golov
Javier Jardón
Karl
Ken VanDine
diff --git a/ChangeLog b/ChangeLog
index cd27c62..9bcd05e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
# Generated by Makefile. Do not edit.
+2011-09-19 Ted Gould <ted@gould.cx>
+
+ 0.4.0
+
+2011-09-16 Ted Gould <ted@gould.cx>
+
+ Add in libm
+
+2011-09-03 Evgeni Golov <evgeni@debian.org>
+
+ find and link libm
+
+ otherwise it will ftbfs with --as-needed because
+ libindicator/indicator-image-helper.c uses round() but does not link to libm
+
2011-08-11 Ted Gould <ted@gould.cx>
0.3.93
diff --git a/Makefile.in b/Makefile.in
index 2aeb899..b31e969 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -151,6 +151,7 @@ LDFLAGS = @LDFLAGS@
LIBDIR = @LIBDIR@
LIBINDICATOR_CFLAGS = @LIBINDICATOR_CFLAGS@
LIBINDICATOR_LIBS = @LIBINDICATOR_LIBS@
+LIBM = @LIBM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
diff --git a/configure b/configure
index 3df0617..5bde3ff 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 libindicator 0.3.93.
+# Generated by GNU Autoconf 2.68 for libindicator 0.4.0.
#
# Report bugs to <http://bugs.launchpad.net/libindicator>.
#
@@ -709,8 +709,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libindicator'
PACKAGE_TARNAME='libindicator'
-PACKAGE_VERSION='0.3.93'
-PACKAGE_STRING='libindicator 0.3.93'
+PACKAGE_VERSION='0.4.0'
+PACKAGE_STRING='libindicator 0.4.0'
PACKAGE_BUGREPORT='http://bugs.launchpad.net/libindicator'
PACKAGE_URL='http://launchpad.net/libindicator'
@@ -760,6 +760,7 @@ LIBDIR
SYSCONFDIR
PREFIX
EXPANDED_SYSCONFDIR
+LIBM
USE_GTK3_FALSE
USE_GTK3_TRUE
LIBINDICATOR_LIBS
@@ -1451,7 +1452,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 libindicator 0.3.93 to adapt to many kinds of systems.
+\`configure' configures libindicator 0.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1521,7 +1522,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libindicator 0.3.93:";;
+ short | recursive ) echo "Configuration of libindicator 0.4.0:";;
esac
cat <<\_ACEOF
@@ -1637,7 +1638,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libindicator configure 0.3.93
+libindicator configure 0.4.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1915,7 +1916,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 libindicator $as_me 0.3.93, which was
+It was created by libindicator $as_me 0.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2737,7 +2738,7 @@ fi
# Define the identity of the package.
PACKAGE='libindicator'
- VERSION='0.3.93'
+ VERSION='0.4.0'
cat >>confdefs.h <<_ACEOF
@@ -4685,13 +4686,13 @@ if ${lt_cv_nm_interface+:} false; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:4688: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:4689: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:4691: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:4692: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:4694: output\"" >&5)
+ (eval echo "\"\$as_me:4695: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -5897,7 +5898,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5900 "configure"' > conftest.$ac_ext
+ echo '#line 5901 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7426,11 +7427,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7429: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7430: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7433: \$? = $ac_status" >&5
+ echo "$as_me:7434: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7765,11 +7766,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7768: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7769: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7772: \$? = $ac_status" >&5
+ echo "$as_me:7773: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7870,11 +7871,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7873: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7874: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7877: \$? = $ac_status" >&5
+ echo "$as_me:7878: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -7925,11 +7926,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7928: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7929: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7932: \$? = $ac_status" >&5
+ echo "$as_me:7933: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10309,7 +10310,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10312 "configure"
+#line 10313 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10405,7 +10406,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10408 "configure"
+#line 10409 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11083,6 +11084,140 @@ else
fi
+LIBM=
+case $host in
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
+$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
+if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmw $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char _mwvalidcheckl ();
+int
+main ()
+{
+return _mwvalidcheckl ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_mw__mwvalidcheckl=yes
+else
+ ac_cv_lib_mw__mwvalidcheckl=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
+$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
+if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
+ LIBM="-lmw"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
+$as_echo_n "checking for cos in -lm... " >&6; }
+if ${ac_cv_lib_m_cos+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cos ();
+int
+main ()
+{
+return cos ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_cos=yes
+else
+ ac_cv_lib_m_cos=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
+$as_echo "$ac_cv_lib_m_cos" >&6; }
+if test "x$ac_cv_lib_m_cos" = xyes; then :
+ LIBM="$LIBM -lm"
+fi
+
+ ;;
+*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
+$as_echo_n "checking for cos in -lm... " >&6; }
+if ${ac_cv_lib_m_cos+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cos ();
+int
+main ()
+{
+return cos ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_cos=yes
+else
+ ac_cv_lib_m_cos=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
+$as_echo "$ac_cv_lib_m_cos" >&6; }
+if test "x$ac_cv_lib_m_cos" = xyes; then :
+ LIBM="-lm"
+fi
+
+ ;;
+esac
+
+
+LIBINDICATOR_LIBS+="$LIBM"
+
##############################
# Custom Junk
##############################
@@ -11730,7 +11865,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 libindicator $as_me 0.3.93, which was
+This file was extended by libindicator $as_me 0.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11797,7 +11932,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="\\
-libindicator config.status 0.3.93
+libindicator config.status 0.4.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 4a36dda..03e8e43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([libindicator],
- [0.3.93],
+ [0.4.0],
[http://bugs.launchpad.net/libindicator],
[libindicator],
[http://launchpad.net/libindicator])
@@ -62,6 +62,9 @@ AS_IF([test "x$with_gtk" = x3],
)
AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3])
+LT_LIB_M
+LIBINDICATOR_LIBS+="$LIBM"
+
##############################
# Custom Junk
##############################
diff --git a/debian/changelog b/debian/changelog
index 0fa3e90..665a7d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libindicator (0.4.0-0ubuntu1~ppa1) oneiric; urgency=low
+
+ * New upstream release.
+ * Add libm to linking to fix FTBFS (LP: #840514)
+
+ -- Ted Gould <ted@ubuntu.com> Mon, 19 Sep 2011 21:54:32 -0500
+
libindicator (0.3.93-0ubuntu2) oneiric; urgency=low
* Drop the Breaks: against old versions of libindicator and libindicator3;
diff --git a/libindicator/Makefile.in b/libindicator/Makefile.in
index ca82011..178e9b3 100644
--- a/libindicator/Makefile.in
+++ b/libindicator/Makefile.in
@@ -205,6 +205,7 @@ LDFLAGS = @LDFLAGS@
LIBDIR = @LIBDIR@
LIBINDICATOR_CFLAGS = @LIBINDICATOR_CFLAGS@
LIBINDICATOR_LIBS = @LIBINDICATOR_LIBS@
+LIBM = @LIBM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 25e8106..923451a 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -345,6 +345,7 @@ LDFLAGS = @LDFLAGS@
LIBDIR = @LIBDIR@
LIBINDICATOR_CFLAGS = @LIBINDICATOR_CFLAGS@
LIBINDICATOR_LIBS = @LIBINDICATOR_LIBS@
+LIBM = @LIBM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 0d46485..e3fd7e1 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -166,6 +166,7 @@ LDFLAGS = @LDFLAGS@
LIBDIR = @LIBDIR@
LIBINDICATOR_CFLAGS = @LIBINDICATOR_CFLAGS@
LIBINDICATOR_LIBS = @LIBINDICATOR_LIBS@
+LIBM = @LIBM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@