[Libreoffice-commits] core.git: external/harfbuzz

Stephan Bergmann sbergman at redhat.com
Fri Sep 16 16:02:56 UTC 2016


 external/harfbuzz/UnpackedTarball_harfbuzz.mk |    1 +
 external/harfbuzz/no-freetype.patch           |   13 +++++++++++++
 2 files changed, 14 insertions(+)

New commits:
commit ec3fb334b00c1790de2bff4444f15fe1aa5bec88
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Sep 16 16:02:42 2016 +0200

    external/harfbuzz: Remove hidden dependency on freetype
    
    In external/harfbuzz/ExternalProject_harfbuzz.mk we are careful to configure
    harfbuzz --with-freetype=no, but then harfbuzz goes on to nevertheless link some
    of its programs against freetype.  However, those all appear to be test programs
    that we do not otherwise rely on, so just suppress building them in the first
    place.
    
    (I ran into this when trying to do a 32-bit Linux build in a 64-bit environment,
    with only very limited 32-bit support installed in the system.)
    
    Change-Id: I1bab2ff4b533e5a30d68d72ec001904cb63f5d94
    Reviewed-on: https://gerrit.libreoffice.org/28963
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/external/harfbuzz/UnpackedTarball_harfbuzz.mk b/external/harfbuzz/UnpackedTarball_harfbuzz.mk
index 9a5560f..1514fd8 100644
--- a/external/harfbuzz/UnpackedTarball_harfbuzz.mk
+++ b/external/harfbuzz/UnpackedTarball_harfbuzz.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,harfbuzz,0))
 
 $(eval $(call gb_UnpackedTarball_add_patches,harfbuzz, \
     external/harfbuzz/ubsan.patch \
+    external/harfbuzz/no-freetype.patch \
 ))
 
 ifneq ($(ENABLE_RUNTIME_OPTIMIZATIONS),TRUE)
diff --git a/external/harfbuzz/no-freetype.patch b/external/harfbuzz/no-freetype.patch
new file mode 100644
index 0000000..32d62e2
--- /dev/null
+++ b/external/harfbuzz/no-freetype.patch
@@ -0,0 +1,13 @@
+--- src/Makefile.in
++++ src/Makefile.in
+@@ -149,9 +149,7 @@
+ @HAVE_GOBJECT_TRUE@	$(HB_GOBJECT_ENUM_headers) \
+ @HAVE_GOBJECT_TRUE@	$(NULL)
+ 
+-noinst_PROGRAMS = main$(EXEEXT) test$(EXEEXT) \
+-	test-buffer-serialize$(EXEEXT) test-size-params$(EXEEXT) \
+-	test-would-substitute$(EXEEXT) $(am__EXEEXT_1)
++noinst_PROGRAMS = main$(EXEEXT) $(am__EXEEXT_1)
+ bin_PROGRAMS =
+ check_PROGRAMS = test-ot-tag$(EXEEXT) $(am__EXEEXT_1)
+ TESTS = $(am__EXEEXT_2) $(check_PROGRAMS)


More information about the Libreoffice-commits mailing list