[jhbuild] 3.24, 3.26: Build e-d-s without GTK if no X11
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] 3.24, 3.26: Build e-d-s without GTK if no X11
- Date: Sun, 21 May 2017 19:57:37 +0000 (UTC)
commit 4b550c280c266e38e87c01d5d94c66d71cd2869e
Author: Philip Chimento <philip chimento gmail com>
Date: Sun May 21 12:53:15 2017 -0700
3.24, 3.26: Build e-d-s without GTK if no X11
evolution-data-server with GTK depends on gcr-3.pc, which has a hard
dependency on X11. Without X11, there is only gcr-base-3.pc. Therefore,
e-d-s can't use GTK when building without X11.
modulesets/gnome-suites-core-deps-3.24.modules | 3 +++
modulesets/gnome-suites-core-deps-3.26.modules | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.24.modules b/modulesets/gnome-suites-core-deps-3.24.modules
index 6527c00..e3cae0b 100644
--- a/modulesets/gnome-suites-core-deps-3.24.modules
+++ b/modulesets/gnome-suites-core-deps-3.24.modules
@@ -294,6 +294,9 @@
<if condition-set="freebsd">
<cmakeargs value="-DWITH_LIBDB_CFLAGS=-I/usr/local/include/db5 -DWITH_LIBDB_LIBS=-ldb-5"/>
</if>
+ <if condition-unset="x11">
+ <cmakeargs value="-DENABLE_GTK=OFF"/>
+ </if>
<branch/>
<dependencies>
<dep package="intltool"/>
diff --git a/modulesets/gnome-suites-core-deps-3.26.modules b/modulesets/gnome-suites-core-deps-3.26.modules
index da8178f..b56c47a 100644
--- a/modulesets/gnome-suites-core-deps-3.26.modules
+++ b/modulesets/gnome-suites-core-deps-3.26.modules
@@ -297,6 +297,9 @@
<if condition-set="freebsd">
<cmakeargs value="-DWITH_LIBDB_CFLAGS=-I/usr/local/include/db5 -DWITH_LIBDB_LIBS=-ldb-5"/>
</if>
+ <if condition-unset="x11">
+ <cmakeargs value="-DENABLE_GTK=OFF"/>
+ </if>
<branch/>
<dependencies>
<dep package="intltool"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]