47
44
# Gdk and Atk are needed for libtrayicon
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
53
50
PKG_CHECK_MODULES(LIBTOMBOY,
141
138
# Tomboy.exe needs Gtk# Gnome# GConf#
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
147
gconf-sharp-peditors-2.0
148
gnome-panel-sharp-2.24,
149
has_fixed_panelapplet="yes",
150
has_fixed_panelapplet="no")
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
158
gconf-sharp-peditors-2.0)
160
PKG_CHECK_MODULES(TOMBOY,
161
gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION
162
gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
166
AM_CONDITIONAL(FIXED_PANELAPPLET, test "x$has_fixed_panelapplet" = "xyes")
149
167
AC_SUBST(TOMBOY_LIBS)
170
# Printing at least needs Mono.Cairo
172
required_assemblies="Mono.Cairo"
175
# This check stolen from banshee/build/m4/shamrock/mono.m4, because pkg-config
176
# seems to find the wrong Mono.Cairo (1.0).
178
for asm in $required_assemblies
180
AC_MSG_CHECKING([for Mono 2.0 GAC for $asm.dll])
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"; \
185
AC_MSG_RESULT([found])
187
AC_MSG_RESULT([not found])
188
AC_MSG_ERROR([missing reqired Mono 2.0 assembly: $asm.dll])
152
194
# Evolution.dll needs Gmime#
154
196
PKG_CHECK_MODULES(EVOLUTION, gmime-sharp, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
162
204
# Sketching.dll is very sketchy; for now disable by default
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)
173
212
# GalagoPresence.dll needs Galago#
188
227
AC_PATH_PROG(NUNIT, nunit-console)
191
# DEFINES uses for #if statements
194
if pkg-config --atleast-version=2.10 gtk-sharp-2.0; then
195
CSC_DEFINES="-d:GTK_2_10"
197
AC_SUBST(CSC_DEFINES)
200
230
# Check for X11 libraries
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