~neonofneophyte/ubuntu/oneiric/notification-daemon/fix-for-557887

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-21 10:22:23 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20081121102223-ze843jr21f9197zw
Tags: 0.4.0-0ubuntu1
* New upstream release
* drop 06_fix_default_theme_size (taken upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
dnl ################################################################
4
4
dnl # Initialize autoconf
5
5
dnl ################################################################
6
 
AC_INIT(notification-daemon, 0.3.7, galago-devel@lists.freedesktop.org)
 
6
AC_INIT(notification-daemon, 0.4.0, galago-devel@lists.freedesktop.org)
7
7
AC_PREREQ(2.50)
8
8
AC_CONFIG_SRCDIR(config.h.in)
9
9
AC_COPYRIGHT([Copyright 2006 Christian Hammond])
13
13
dnl # Version information
14
14
dnl ################################################################
15
15
NOTIFICATION_DAEMON_MAJOR_VERSION=0
16
 
NOTIFICATION_DAEMON_MINOR_VERSION=3
17
 
NOTIFICATION_DAEMON_MICRO_VERSION=7
 
16
NOTIFICATION_DAEMON_MINOR_VERSION=4
 
17
NOTIFICATION_DAEMON_MICRO_VERSION=0
18
18
NOTIFICATION_DAEMON_DEVEL_VERSION=0
19
19
 
20
20
NOTIFICATION_DAEMON_VERSION=$NOTIFICATION_DAEMON_MAJOR_VERSION.$NOTIFICATION_DAEMON_MINOR_VERSION.$NOTIFICATION_DAEMON_MICRO_VERSION
67
67
AM_PROG_LIBTOOL
68
68
AC_PROG_INTLTOOL
69
69
 
70
 
ALL_LINGUAS="de nl sv"
 
70
ALL_LINGUAS="ar de it nl pl sv"
71
71
GETTEXT_PACKAGE=notification-daemon
72
72
AC_SUBST(GETTEXT_PACKAGE)
73
73
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
74
74
AM_GLIB_GNU_GETTEXT
75
75
 
76
 
REQ_GTK_VERSION=2.4.0
 
76
REQ_GTK_VERSION=2.10.0
77
77
REQ_GLIB_VERSION=$REQ_GTK_VERSION
78
78
REQ_SEXY_VERSION=0.1.3
79
79
REQ_DBUS_VERSION=0.36
90
90
AC_SUBST(NOTIFICATION_DAEMON_CFLAGS)
91
91
AC_SUBST(NOTIFICATION_DAEMON_LIBS)
92
92
 
 
93
PKG_CHECK_MODULES(NOTIFICATION_CAPPLET, glib-2.0 >= $REQ_GLIB_VERSION gtk+-2.0 >= $REQ_GTK_VERSION libglade-2.0 gconf-2.0 libnotify dbus-1 dbus-glib-1)
 
94
AC_SUBST(NOTIFICATION_CAPPLET_CFLAGS)
 
95
AC_SUBST(NOTIFICATION_CAPPLET_LIBS)
 
96
 
93
97
gdk_modules="
94
98
        gdk-2.0 >= $REQ_GTK_VERSION, \
95
99
        gdk-pixbuf-2.0 >= $REQ_GTK_VERSION \
162
166
AC_SUBST(CFLAGS)
163
167
 
164
168
dnl ################################################################
 
169
dnl # Sound Support 
 
170
dnl ################################################################
 
171
 
 
172
AC_ARG_ENABLE(sound,
 
173
  [[  --enable-sound=[auto,gstreamer,no]  Sound support (default=auto)]] )
 
174
 
 
175
if test x$enable_sound != xno -a x$enable_sound != xgstreamer; then
 
176
        enable_sound=auto
 
177
fi
 
178
 
 
179
if test x$enable_sound != xno; then
 
180
        gstreampkg="gstreamer-0.10"
 
181
 
 
182
        if test x$enable_sound = xauto; then
 
183
                PKG_CHECK_MODULES(GSTREAMER, $gstreampkg,
 
184
                                  [enable_sound=gstreamer], [enable_sound=no])
 
185
        else
 
186
                PKG_CHECK_MODULES(GSTREAMER, $gstreampkg, [enable_sound=gstreamer])
 
187
        fi
 
188
 
 
189
        if test x$enable_sound = xgstreamer; then
 
190
                AC_DEFINE([HAVE_GSTREAMER], 1, [Defined if Gstreamer is detected])
 
191
                AC_SUBST(GSTREAMER_CFLAGS)
 
192
                AC_SUBST(GSTREAMER_LIBS)
 
193
        fi
 
194
fi
 
195
 
 
196
dnl ################################################################
165
197
dnl # Output the Makefiles
166
198
dnl ################################################################
167
199
AC_CONFIG_FILES([
171
203
po/Makefile.in
172
204
src/Makefile
173
205
src/daemon/Makefile
 
206
src/capplet/Makefile
174
207
src/themes/Makefile
175
208
src/themes/bubble/Makefile
176
209
src/themes/standard/Makefile
184
217
echo prefix............... : $prefix
185
218
echo dbus-1 system.d dir.. : $DBUS_SYS_DIR
186
219
echo dbus-1 services dir.. : $DBUS_SERVICES_DIR
 
220
echo sound support........ : $enable_sound
187
221
echo
188
222
echo "Now type make to compile"
189
223
echo "Then su to root and type: make install"