[latexila/wip/gspell] spell: adapt gspell API version



commit 223d22145b53c28e7ec1975119d47f015412c0f0
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Sep 26 20:17:07 2015 +0200

    spell: adapt gspell API version

 configure.ac    |    6 +++---
 src/Makefile.am |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8313e01..faa3013 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,8 +98,8 @@ if ! pkg-config --atleast-version=${GTKSOURCEVIEW_REQUIRED_VERSION} gtksourcevie
        AC_MSG_ERROR([gtksourceview-3.0 >= ${GTKSOURCEVIEW_REQUIRED_VERSION} required.])
 fi
 
-if ! pkg-config --atleast-version=${GSPELL_REQUIRED_VERSION} gspell-3.0; then
-       AC_MSG_ERROR([gspell-3.0 >= ${GSPELL_REQUIRED_VERSION} required.])
+if ! pkg-config --atleast-version=${GSPELL_REQUIRED_VERSION} gspell-1; then
+       AC_MSG_ERROR([gspell-1 >= ${GSPELL_REQUIRED_VERSION} required.])
 fi
 
 if ! pkg-config gsettings-desktop-schemas; then
@@ -115,7 +115,7 @@ dependencies="
        gio-2.0
        gtk+-3.0
        gtksourceview-3.0
-       gspell-3.0
+       gspell-1
        gsettings-desktop-schemas
        gee-0.8"
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 24d982f..e649e5c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ bin_PROGRAMS = latexila
 VALAFLAGS =                    \
        --pkg gtk+-3.0          \
        --pkg gtksourceview-3.0 \
-       --pkg gspell-3.0        \
+       --pkg gspell-1          \
        --pkg gee-0.8           \
        --pkg posix             \
        --target-glib=2.40      \


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