gnome-power-manager-01-build.diff revision 12373
12373N/Adiff -Nur gnome-power-manager-2.21.1-org/help/Makefile.am gnome-power-manager-2.21.1/help/Makefile.am
12373N/A--- gnome-power-manager-2.21.1-org/help/Makefile.am 2007-12-17 17:12:56.218240000 +0800
12373N/A+++ gnome-power-manager-2.21.1/help/Makefile.am 2007-12-17 17:08:33.198369000 +0800
12373N/A@@ -19,4 +19,4 @@
12373N/A figures/gpm-unplugged.png \
12373N/A figures/gs-prefs.png
12373N/A
12373N/A-DOC_LINGUAS = ca es fr hu it oc pa ru sv
12373N/A+DOC_LINGUAS = ca es fr it oc pa ru sv
12373N/Adiff -Nur gnome-power-manager-2.21.1-org/src/gpm-array-float.c gnome-power-manager-2.21.1/src/gpm-array-float.c
12373N/A--- gnome-power-manager-2.21.1-org/src/gpm-array-float.c 2007-12-17 17:12:56.275650000 +0800
12373N/A+++ gnome-power-manager-2.21.1/src/gpm-array-float.c 2007-12-17 17:02:07.642824000 +0800
12373N/A@@ -75,7 +75,7 @@
12373N/A *
12373N/A * @array: input array
12373N/A **/
12373N/A-inline gfloat
12373N/A+gfloat
12373N/A gpm_array_float_get (GArray *array, guint i)
12373N/A {
12373N/A if (i >= array->len) {
12373N/A@@ -89,7 +89,7 @@
12373N/A *
12373N/A * @array: input array
12373N/A **/
12373N/A-inline void
12373N/A+void
12373N/A gpm_array_float_set (GArray *array, guint i, gfloat value)
12373N/A {
12373N/A g_array_index (array, gfloat, i) = value;
12373N/Adiff -Nur gnome-power-manager-2.21.1-org/src/gpm-array-float.h gnome-power-manager-2.21.1/src/gpm-array-float.h
12373N/A--- gnome-power-manager-2.21.1-org/src/gpm-array-float.h 2007-12-17 17:12:56.277090000 +0800
12373N/A+++ gnome-power-manager-2.21.1/src/gpm-array-float.h 2007-12-17 17:02:07.643637000 +0800
12373N/A@@ -49,9 +49,9 @@
12373N/A gboolean gpm_array_float_print (GArray *array);
12373N/A GArray *gpm_array_float_convolve (GArray *data,
12373N/A GArray *kernel);
12373N/A-inline gfloat gpm_array_float_get (GArray *array,
12373N/A+gfloat gpm_array_float_get (GArray *array,
12373N/A guint i);
12373N/A-inline void gpm_array_float_set (GArray *array,
12373N/A+void gpm_array_float_set (GArray *array,
12373N/A guint i,
12373N/A gfloat value);
12373N/A
12373N/Adiff -Nur gnome-power-manager-2.21.1-org/src/gpm-debug.h gnome-power-manager-2.21.1/src/gpm-debug.h
12373N/A--- gnome-power-manager-2.21.1-org/src/gpm-debug.h 2007-12-17 17:12:56.284090000 +0800
12373N/A+++ gnome-power-manager-2.21.1/src/gpm-debug.h 2007-12-17 17:02:07.650493000 +0800
12373N/A@@ -28,7 +28,7 @@
12373N/A
12373N/A G_BEGIN_DECLS
12373N/A
12373N/A-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12373N/A+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199409L
12373N/A #define gpm_debug(...) gpm_debug_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
12373N/A #define gpm_warning(...) gpm_warning_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
12373N/A #define gpm_error(...) gpm_error_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
12373N/A--- gnome-power-manager-2.21.1/configure.in 2007-11-18 23:36:20.000000000 +0800
12373N/A+++ gnome-power-manager-2.21.1-new/configure.in 2007-12-17 18:15:26.399221000 +0800
12373N/A@@ -136,6 +136,18 @@
12373N/A AC_SUBST(SBINDIR, $sbindir)
12373N/A
12373N/A dnl ---------------------------------------------------------------------------
12373N/A+dnl - Is it compiling on Solais?
12373N/A+dnl ---------------------------------------------------------------------------
12373N/A+AC_MSG_CHECKING(if we compile on Solaris)
12373N/A+case "$host" in
12373N/A+ *-solaris*)
12373N/A+ AC_MSG_RESULT(yes)
12373N/A+ AC_DEFINE(SOLARIS, 1, [Define if we compile on Solaris])
12373N/A+ ;;
12373N/A+esac
12373N/A+
12373N/A+
12373N/A+dnl ---------------------------------------------------------------------------
12373N/A dnl - Where should we put documentation ?
12373N/A dnl ---------------------------------------------------------------------------
12373N/A AC_ARG_WITH(doc-dir,