[vala] Require and target GLib >= 2.14
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Require and target GLib >= 2.14
- Date: Thu, 25 Mar 2010 09:44:40 +0000 (UTC)
commit ccf253008c13af8e2002ccc42606192b3eaf6bce
Author: Jürg Billeter <j bitron ch>
Date: Wed Mar 24 10:56:50 2010 +0100
Require and target GLib >= 2.14
Regular expression literals will require GLib 2.14. Thread-safe
get_type functions also require GLib 2.14. Generating code for
GLib 2.12 is still possible by using --target-glib=2.12.
compiler/valacompiler.vala | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index b636037..a006dae 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -271,7 +271,7 @@ class Vala.Compiler {
}
} else if (context.profile == Profile.GOBJECT) {
int glib_major = 2;
- int glib_minor = 12;
+ int glib_minor = 14;
if (target_glib != null && target_glib.scanf ("%d.%d", out glib_major, out glib_minor) != 2) {
Report.error (null, "Invalid format for --target-glib");
}
diff --git a/configure.ac b/configure.ac
index b97ed1e..bdd9878 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ AC_SUBST(vapigen_decl)
AC_SUBST(gen_introspect_decl)
AC_SUBST(vala_gen_introspect_decl)
-GLIB_REQUIRED=2.12.0
+GLIB_REQUIRED=2.14.0
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]