~ubuntu-branches/ubuntu/lucid/tomboy/lucid-proposed

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge, Jo Shields, Sebastian Dröge
  • Date: 2009-03-06 11:02:03 UTC
  • mfrom: (1.2.1 upstream)
  • mto: (4.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: james.westby@ubuntu.com-20090306110203-5nbuw7itgo5mn9e0
Tags: 0.12.2-3
[ Jo Shields ]
* debian/control:
  + Add Vcs-* fields

[ Sebastian Dröge ]
* Upload to unstable (Closes: #518414).
* debian/control:
  + Use Gnome# 2.20 for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT(tomboy, 0.10.2)
 
1
AC_INIT(tomboy, 0.12.2)
2
2
AC_CONFIG_SRCDIR(Tomboy/Tomboy.cs)
3
3
AM_INIT_AUTOMAKE([tar-pax])
4
4
AM_MAINTAINER_MODE
17
17
AM_DISABLE_STATIC
18
18
AM_PROG_LIBTOOL
19
19
 
20
 
AC_CHECK_LIBM
21
 
AC_SUBST(LIBM)
22
 
 
23
20
#
24
21
# Setup GETTEXT
25
22
#
47
44
# Gdk and Atk are needed for libtrayicon
48
45
#
49
46
GDK20_MINIMUM_VERSION=2.6.0
50
 
GTK20_MINIMUM_VERSION=2.6.0
 
47
GTK20_MINIMUM_VERSION=2.10.0
51
48
ATK_MINIMUM_VERSION=1.2.4
52
49
 
53
50
PKG_CHECK_MODULES(LIBTOMBOY, 
141
138
# Tomboy.exe needs Gtk# Gnome# GConf#
142
139
#
143
140
GTKSHARP2_MINIMUM_VERSION=$GTK20_MINIMUM_VERSION
144
 
if pkg-config --atleast-version=2.16.1 gconf-sharp-2.0; then
145
 
        PKG_CHECK_MODULES(TOMBOY, gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION gnome-sharp-2.0 gconf-sharp-2.0 gconf-sharp-peditors-2.0)
 
141
GNOMESHARP_MINIMUM_VERSION=2.15
 
142
if pkg-config --atleast-version=2.23.90 gnome-sharp-2.0; then
 
143
        PKG_CHECK_MODULES(TOMBOY,
 
144
                          gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION
 
145
                          gnome-sharp-2.0
 
146
                          gconf-sharp-2.0
 
147
                          gconf-sharp-peditors-2.0
 
148
                          gnome-panel-sharp-2.24,
 
149
                          has_fixed_panelapplet="yes",
 
150
                          has_fixed_panelapplet="no")
 
151
 
146
152
else
147
 
        PKG_CHECK_MODULES(TOMBOY, gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION gnome-sharp-2.0 gconf-sharp-2.0)
 
153
        if pkg-config --atleast-version=2.16.1 gconf-sharp-2.0; then
 
154
                PKG_CHECK_MODULES(TOMBOY,
 
155
                                  gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION
 
156
                                  gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
 
157
                                  gconf-sharp-2.0
 
158
                                  gconf-sharp-peditors-2.0)
 
159
        else
 
160
                PKG_CHECK_MODULES(TOMBOY,
 
161
                                  gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION
 
162
                                  gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
 
163
                                  gconf-sharp-2.0)
 
164
        fi
148
165
fi
 
166
AM_CONDITIONAL(FIXED_PANELAPPLET, test "x$has_fixed_panelapplet" = "xyes")
149
167
AC_SUBST(TOMBOY_LIBS)
150
168
 
151
169
#
 
170
# Printing at least needs Mono.Cairo
 
171
#
 
172
required_assemblies="Mono.Cairo"
 
173
 
 
174
#
 
175
# This check stolen from banshee/build/m4/shamrock/mono.m4, because pkg-config
 
176
# seems to find the wrong Mono.Cairo (1.0).
 
177
#
 
178
for asm in $required_assemblies
 
179
do
 
180
        AC_MSG_CHECKING([for Mono 2.0 GAC for $asm.dll])
 
181
        if test \
 
182
                -e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/$asm.dll" -o \
 
183
                -e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll"; \
 
184
                then \
 
185
                AC_MSG_RESULT([found])
 
186
        else
 
187
                AC_MSG_RESULT([not found])
 
188
                AC_MSG_ERROR([missing reqired Mono 2.0 assembly: $asm.dll])
 
189
        fi
 
190
done
 
191
 
 
192
 
 
193
#
152
194
# Evolution.dll needs Gmime#
153
195
#
154
196
PKG_CHECK_MODULES(EVOLUTION, gmime-sharp, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
161
203
#
162
204
# Sketching.dll is very sketchy; for now disable by default
163
205
#
164
 
PKG_CHECK_MODULES(CAIRO, mono-cairo, [
165
 
          AC_ARG_ENABLE(sketching,
 
206
AC_ARG_ENABLE(sketching,
166
207
              [  --enable-sketching[[=no/yes]]  compile sketching addin [[default: disabled]]],
167
 
              ENABLE_SKETCHING="$enableval") ],
168
 
          ENABLE_SKETCHING="no")
 
208
              ENABLE_SKETCHING="$enableval")
169
209
AM_CONDITIONAL(ENABLE_SKETCHING, test "$ENABLE_SKETCHING" = "yes")
170
 
AC_SUBST(SKETCHING_LIBS)
171
210
 
172
211
#
173
212
# GalagoPresence.dll needs Galago#
188
227
AC_PATH_PROG(NUNIT, nunit-console)
189
228
 
190
229
#
191
 
# DEFINES uses for #if statements
192
 
#
193
 
CSC_DEFINES=""
194
 
if pkg-config --atleast-version=2.10 gtk-sharp-2.0; then
195
 
        CSC_DEFINES="-d:GTK_2_10"
196
 
fi
197
 
AC_SUBST(CSC_DEFINES)
198
 
 
199
 
#
200
230
# Check for X11 libraries
201
231
#
202
232
 
265
295
Tomboy/Addins/Makefile
266
296
Tomboy/Addins/Backlinks/Makefile
267
297
Tomboy/Addins/Bugzilla/Makefile
 
298
Tomboy/Addins/Evolution/Makefile
268
299
Tomboy/Addins/ExportToHtml/Makefile
269
 
Tomboy/Addins/Evolution/Makefile
 
300
Tomboy/Addins/FileSystemSyncService/Makefile
270
301
Tomboy/Addins/FixedWidth/Makefile
271
302
Tomboy/Addins/GalagoPresence/Makefile
272
 
Tomboy/Addins/Sketching/Makefile
273
303
Tomboy/Addins/InsertTimestamp/Makefile
274
304
Tomboy/Addins/NoteOfTheDay/Makefile
275
305
Tomboy/Addins/PrintNotes/Makefile
 
306
Tomboy/Addins/Sketching/Makefile
 
307
Tomboy/Addins/SshSyncService/Makefile
276
308
Tomboy/Addins/StickyNoteImport/Makefile
277
 
Tomboy/Addins/FileSystemSyncService/Makefile
 
309
Tomboy/Addins/Tasque/Makefile
278
310
Tomboy/Addins/WebDavSyncService/Makefile
279
 
Tomboy/Addins/SshSyncService/Makefile
280
311
test/Makefile
281
312
po/Makefile.in
282
313
])