anjuta/anjuta-support-libgda-5.0.patch

38 lines
1.1 KiB
Diff

diff -ur anjuta-3.0.2.0/configure.ac anjuta-3.0.2.0.patched/configure.ac
--- anjuta-3.0.2.0/configure.ac 2011-05-23 21:12:40.000000000 +0200
+++ anjuta-3.0.2.0.patched/configure.ac 2011-06-10 21:14:30.486480081 +0200
@@ -32,7 +32,8 @@
GTK_REQUIRED=3.0.0
GTHREAD_REQUIRED=2.22.0
GDK_PIXBUF_REQUIRED=2.0.0
-GDA_REQUIRED=4.2.0
+GDA4_REQUIRED=4.2.0
+GDA5_REQUIRED=4.99.0
VTE_REQUIRED=0.27.6
LIBXML_REQUIRED=2.4.23
GDL_REQUIRED=2.91.4
@@ -157,7 +158,9 @@
[gdl-3.0 >= $GDL_REQUIRED])
PKG_CHECK_MODULES([GDA],
- [libgda-4.0 >= $GDA_REQUIRED])
+ [libgda-5.0 >= $GDA5_REQUIRED],,
+ [PKG_CHECK_MODULES([GDA],
+ [libgda-4.0 >= $GDA4_REQUIRED])])
PKG_CHECK_MODULES([VTE],
[vte-2.90 >= $VTE_REQUIRED])
@@ -278,8 +281,10 @@
AM_CONDITIONAL(HAVE_PYTHON, [test x$have_python = xyes])
-PKG_CHECK_MODULES(PLUGIN_SYMBOL_DB,
- [libgda-4.0 >= $GDA_REQUIRED])
+PKG_CHECK_MODULES([PLUGIN_SYMBOL_DB],
+ [libgda-5.0 >= $GDA5_REQUIRED],,
+ [PKG_CHECK_MODULES([PLUGIN_SYMBOL_DB],
+ [libgda-4.0 >= $GDA4_REQUIRED])])
dnl Setup Anjuta Library flags
dnl --------------------------