[latexila] build: gspell 0.1.x is required
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] build: gspell 0.1.x is required
- Date: Wed, 30 Sep 2015 19:19:59 +0000 (UTC)
commit fd6b77796e304cfb9e31844cf24432d3b2cb6043
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Sep 30 21:16:07 2015 +0200
build: gspell 0.1.x is required
With gspell 0.2 or 1.0, there will be most probably API/ABI breaks.
So, the 0.1 version is required, not greater than that.
README.in | 2 +-
configure.ac | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/README.in b/README.in
index a64d5f1..238f6f2 100644
--- a/README.in
+++ b/README.in
@@ -18,7 +18,7 @@ Requirements
GLib >= @GLIB_REQUIRED_VERSION@
GTK+ >= @GTK_REQUIRED_VERSION@
GtkSourceView >= @GTKSOURCEVIEW_REQUIRED_VERSION@
-gspell >= @GSPELL_REQUIRED_VERSION@
+gspell @GSPELL_REQUIRED_VERSION@
gee-0.8 >= @GEE_REQUIRED_VERSION@
gettext
gsettings-desktop-schemas
diff --git a/configure.ac b/configure.ac
index faa3013..786d61e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ LT_INIT
GLIB_REQUIRED_VERSION="2.40"
GTK_REQUIRED_VERSION="3.14"
GTKSOURCEVIEW_REQUIRED_VERSION="3.17.5"
-GSPELL_REQUIRED_VERSION="0.0.1"
+GSPELL_REQUIRED_VERSION="0.1"
VALA_REQUIRED_VERSION="0.26"
GEE_REQUIRED_VERSION="0.10"
@@ -99,7 +99,11 @@ if ! pkg-config --atleast-version=${GTKSOURCEVIEW_REQUIRED_VERSION} gtksourcevie
fi
if ! pkg-config --atleast-version=${GSPELL_REQUIRED_VERSION} gspell-1; then
- AC_MSG_ERROR([gspell-1 >= ${GSPELL_REQUIRED_VERSION} required.])
+ AC_MSG_ERROR([gspell-1 ${GSPELL_REQUIRED_VERSION} required.])
+fi
+
+if ! pkg-config --max-version=0.1.99 gspell-1; then
+ AC_MSG_ERROR([gspell-1 ${GSPELL_REQUIRED_VERSION} required.])
fi
if ! pkg-config gsettings-desktop-schemas; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]