[latexila] Vala 0.12.x required (not 0.13.x and above)



commit de188c6aba50d17e69a37fb0b03ebb4d5b7c96c2
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Wed Aug 24 15:35:36 2011 +0200

    Vala 0.12.x required (not 0.13.x and above)
    
    More precisely:
    minimum: Vala 0.12.1
    maximum: Vala 0.12.99

 CMakeLists.txt |    3 +++
 INSTALL        |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e22f2ca..e57dae1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,9 @@ set (ICONS_DIR "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor")
 if (BUILD_VALA)
 	list (APPEND CMAKE_MODULE_PATH "${latexila_SOURCE_DIR}/cmake/vala")
 	find_package (Vala "0.12.1" REQUIRED)
+	if (${VALA_VERSION} VERSION_GREATER "0.12.99")
+		message (FATAL_ERROR "Vala 0.12.x required")
+	endif ()
 	include (${VALA_USE_FILE})
 endif ()
 
diff --git a/INSTALL b/INSTALL
index f04fe3c..656b186 100644
--- a/INSTALL
+++ b/INSTALL
@@ -12,7 +12,7 @@ CMake >= 2.6.4
 gettext
 ITS Tool (http://itstool.org/)
 gsettings-desktop-schemas (optional)
-Vala >= 0.12.1 (may be optional)
+Vala 0.12.x >= 0.12.1 (may be optional)
 
 If you are installing LaTeXila from a tarball or from a 'releases-*' branch,
 you don't have to install Vala because the C code is already generated.



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