[almanah] build: Re-enable spell checking now that GtkSpell has GTK+ 3 support



commit 90f6d22a337b9718182c7cc847f9323024b3d0b0
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Jan 4 17:45:40 2012 +0000

    build: Re-enable spell checking now that GtkSpell has GTK+ 3 support
    
    A GTK+ 3-ready version of GtkSpell is about ready at:
    https://github.com/manisandro/gtkspell3
    
    Re-enable compilation with --enable-spell-checking accordingly.
    
    This undoes commit 43768d9a223e769ef8662222b55e2dc6e5a6c48c and bumps our
    GtkSpell dependency to gtkspell-3.0.
    
    Closes: bgo#667263

 configure.ac |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2d502cb..1c5868a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,10 +65,9 @@ AC_ARG_ENABLE([spell-checking],
 		yes) spell_checking=true ;;
 		no)  spell_checking=false ;;
 		*) AC_MSG_ERROR([bad value ${enableval} for --enable-spell-checking]) ;;
-	esac],[spell_checking=false])
+	esac],[spell_checking=true])
 
 if test $spell_checking = "true"; then
-	AC_ERROR([Building with spell checking enabled is not possible, as gtkspell-2.0 does not support GTK+ 3. Use --disable-spell-checking])
 	AC_DEFINE([ENABLE_SPELL_CHECKING],[1],[Define if you want spell checking support])
 fi
 
@@ -96,7 +95,7 @@ AC_SUBST(EVO_LIBS)
 
 dnl Spell checking
 if test $spell_checking = "true"; then
-	PKG_CHECK_MODULES(SPELL_CHECKING, gtkspell-2.0)
+	PKG_CHECK_MODULES(SPELL_CHECKING, gtkspell-3.0)
 	AC_SUBST(SPELL_CHECKING_CFLAGS)
 	AC_SUBST(SPELL_CHECKING_LIBS)
 fi



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