[pan/test2] Fix building --with-gtkspell for GTK 3
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan/test2] Fix building --with-gtkspell for GTK 3
- Date: Mon, 6 Dec 2021 22:47:46 +0000 (UTC)
commit 2f0699c08163025c47f5ef6d00c22de730f84fc9
Author: Petr Kovar <pknbe volny cz>
Date: Mon Dec 6 23:21:21 2021 +0100
Fix building --with-gtkspell for GTK 3
.gitlab-ci.yml | 6 +++---
configure.ac | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 037a0ec..591a0da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,6 @@ build-ubuntu-gtk2:
libgtk2.0-dev
libgmime-3.0-dev
libgtkspell-dev
- libenchant-2-dev
libnotify-dev
gnome-keyring
libgnutls28-dev
@@ -30,7 +29,8 @@ build-ubuntu-gtk2:
- mkdir _build
- cd _build
- ../autogen.sh --without-gtk3 --with-gnutls --with-dbus --with-gmime-crypto --with-gtkspell
--enable-libnotify --enable-gkr --enable-manual
- - make && make distcheck
+ - make
+ - make distcheck
build-ubuntu-gtk3:
image: ubuntu:rolling
@@ -52,10 +52,10 @@ build-ubuntu-gtk3:
libgmime-3.0-dev
libgnutls28-dev
libgtk-3-dev
- libgtkspell-dev
libnotify-dev
libsecret-1-dev
libgtkspell3-3-dev
+ libenchant-2-dev
yelp-tools
script:
- mkdir _build
diff --git a/configure.ac b/configure.ac
index a719895..f7bc179 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,7 @@ GTK3_REQUIRED=3.0.0
GTKSPELL_REQUIRED=2.0.7
GTKSPELL3_REQUIRED=2.0.16
ENCHANT_REQUIRED=1.6.0
+ENCHANT2_REQUIRED=2.2.15
GNUTLS_REQUIRED=3.0.0
LIBNOTIFY_REQUIRED=0.4.1
LIBGKR_REQUIRED=3.2.0
@@ -159,7 +160,7 @@ if test "x$want_gtk3" = "xyes" ; then
AC_DEFINE(HAVE_GTK,[1],[GTK+ 3 support])]
)
if test "x$want_gtkspell" = "xyes" ; then
- PKG_CHECK_MODULES([GTKSPELL], [gtkspell3-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED],
+ PKG_CHECK_MODULES([GTKSPELL], [gtkspell3-3.0 >= $GTKSPELL3_REQUIRED enchant-2 >= $ENCHANT2_REQUIRED],
[
gtkspell_msg=yes
AC_DEFINE(HAVE_GTKSPELL,[1],[GtkSpell support for spellchecking])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]