[valadoc] driver/0.24.x: Drop support for unstable valac <= 0.23.1



commit 795076b221525b769e362c58cf4fe0a32bac279d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Aug 24 13:27:56 2014 +0200

    driver/0.24.x: Drop support for unstable valac <= 0.23.1

 configure.ac                  |    3 ---
 src/driver/0.24.x/Makefile.am |    6 ------
 src/driver/0.24.x/driver.vala |    2 --
 src/driver/Makefile.am        |    4 ----
 4 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 88e8309..fcc60bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,9 +86,6 @@ AM_CONDITIONAL(HAVE_LIBVALA_0_26_X, test "$have_libvala_0_26_x" = "yes")
 PKG_CHECK_MODULES(LIBVALA_0_24_X, libvala-0.24 > 0.23.1, have_libvala_0_24_x="yes", have_libvala_0_24_x="no")
 AM_CONDITIONAL(HAVE_LIBVALA_0_24_X, test "$have_libvala_0_24_x" = "yes")
 
-PKG_CHECK_MODULES(LIBVALA_0_23_1, libvala-0.24 <= 0.23.1, have_libvala_0_23_1="yes", 
have_libvala_0_23_1="no")
-AM_CONDITIONAL(HAVE_LIBVALA_0_23_1, test "$have_libvala_0_23_1" = "yes")
-
 PKG_CHECK_MODULES(LIBVALA_0_22_X, libvala-0.22 >= 0.17.4, have_libvala_0_22_x="yes", 
have_libvala_0_22_x="no")
 AM_CONDITIONAL(HAVE_LIBVALA_0_22_X, test "$have_libvala_0_22_x" = "yes")
 
diff --git a/src/driver/0.24.x/Makefile.am b/src/driver/0.24.x/Makefile.am
index b7039ec..1331ac5 100644
--- a/src/driver/0.24.x/Makefile.am
+++ b/src/driver/0.24.x/Makefile.am
@@ -2,17 +2,12 @@ NULL =
 
 VERSIONED_VAPI_DIR = $(shell pkg-config libvala-0.24 --variable vapidir)
 
-if HAVE_LIBVALA_0_23_1
-VALAFLAGS += -D VALA_0_23_1
-endif
-
 AM_CFLAGS = \
        -DPACKAGE_ICONDIR=\"$(datadir)/valadoc/icons/\" \
        -I $(top_builddir)/src/libvaladoc/ \
        $(GLIB_CFLAGS) \
        $(LIBGEE_CFLAGS) \
        $(LIBGVC_CFLAGS) \
-       $(LIBVALA_0_23_1_CFLAGS) \
        $(LIBVALA_0_24_X_CFLAGS) \
        -g \
        -w \
@@ -61,7 +56,6 @@ libdriver.vala.stamp: $(libdriver_la_VALASOURCES) Makefile
 libdriver_la_LIBADD = \
        $(top_builddir)/src/libvaladoc/libvaladoc.la \
        $(GLIB_LIBS) \
-       $(LIBVALA_0_23_1_LIBS) \
        $(LIBVALA_0_24_X_LIBS) \
        $(LIBGEE_LIBS) \
        $(LIBGVC_LIBS) \
diff --git a/src/driver/0.24.x/driver.vala b/src/driver/0.24.x/driver.vala
index e140f0b..902d28d 100644
--- a/src/driver/0.24.x/driver.vala
+++ b/src/driver/0.24.x/driver.vala
@@ -43,9 +43,7 @@ public class Valadoc.Drivers.Driver : Object, Valadoc.Driver {
 
                gir_writer.write_file ((Vala.CodeContext) tree.data,
                                                           gir_directory,
-#if !VALA_0_23_1
                                                           "%s-%s.gir".printf (settings.gir_namespace, 
settings.gir_version),
-#endif
                                                           settings.gir_namespace,
                                                           settings.gir_version,
                                                           settings.pkg_name);
diff --git a/src/driver/Makefile.am b/src/driver/Makefile.am
index 9832c63..d302901 100644
--- a/src/driver/Makefile.am
+++ b/src/driver/Makefile.am
@@ -16,10 +16,6 @@ if HAVE_LIBVALA_0_22_X
 DRIVER_0_22_X_DIR = 0.22.x
 endif
 
-if HAVE_LIBVALA_0_23_1
-DRIVER_0_24_X_DIR = 0.24.x
-endif
-
 if HAVE_LIBVALA_0_24_X
 DRIVER_0_24_X_DIR = 0.24.x
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]