Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 20 November 2012 23:02, Lubos Lunak <l.lunak@suse.cz> wrote:
On Tuesday 20 of November 2012, Libreoffice Gerrit user wrote:
 configure.ac |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit d23764182ccb5d1e96774cc958a7afaaa659e114
Author: Matúš Kukan <matus.kukan@gmail.com>
Date:   Tue Nov 20 22:31:21 2012 +0100

    check harder whether to build cairo

    Change-Id: Ica2b9f1535f92c1b1cbceb7ec99ea96696742568

diff --git a/configure.ac b/configure.ac
index 1545ca8..20299e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9425,7 +9425,10 @@ if test $_os = Darwin -o $_os = iOS -o $_os =
Android -o "$enable_headless" = "y fi
 ENABLE_GTK=""
 if test "x$enable_gtk" = "xyes"; then
-    test_cairo=yes
+    if test "$GUIBASE" = "unx"; then
+        # Used in vcl/Library_vclplug_gtk.mk
+        test_cairo=yes
+    fi
     ENABLE_GTK="TRUE"
     R="gtk $R"
 fi

 Does this actually make sense? Isn't it rather that we only ever build gtk if
test "$GUIBASE" = "unx" -a "$enable_headless" != "yes" ?

It's ugly but I think (hope) it works.
It was blind fix for WNT where I guess ENABLE_GTK=TRUE but in
vcl/Module_vcl.mk it's also guarded with
ifeq ($(GUIBASE),unx), so just I've just added that also to configure.
I did not feel like making it nicer, it was just quick hack.

Best,
Matus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.