[vlc-commits] Contrib: Disable HarfBuzz non-native backends

Jean-Baptiste Kempf git at videolan.org
Fri Dec 19 13:51:53 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 19 13:22:55 2014 +0100| [93b2b55f562f38342ceb489ceb560d0d5a584254] | committer: Jean-Baptiste Kempf

Contrib: Disable HarfBuzz non-native backends

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93b2b55f562f38342ceb489ceb560d0d5a584254
---

 contrib/src/harfbuzz/disable-backends.patch |   29 +++++++++++++++++++++++++++
 contrib/src/harfbuzz/rules.mak              |    1 +
 2 files changed, 30 insertions(+)

diff --git a/contrib/src/harfbuzz/disable-backends.patch b/contrib/src/harfbuzz/disable-backends.patch
new file mode 100644
index 0000000..69ba6b7
--- /dev/null
+++ b/contrib/src/harfbuzz/disable-backends.patch
@@ -0,0 +1,29 @@
+--- harfbuzz-0.9.5/configure.ac.orig	2012-10-18 15:58:56.940962618 +0200
++++ harfbuzz-0.9.5/configure.ac	2012-10-18 15:59:24.348963620 +0200
+@@ -117,7 +117,7 @@
+ 
+ dnl ===========================================================================
+ 
+-have_hb_old=true
++have_hb_old=false
+ if $have_hb_old; then
+ 	AC_DEFINE(HAVE_HB_OLD, 1, [Have Old HarfBuzz backend])
+ fi
+@@ -208,7 +208,7 @@
+ 
+ dnl ===========================================================================
+ 
+-AC_CHECK_HEADERS(usp10.h windows.h, have_uniscribe=true, have_uniscribe=false)
++have_uniscribe=false
+ if $have_uniscribe; then
+ 	UNISCRIBE_CFLAGS=
+ 	UNISCRIBE_LIBS="-lusp10 -lgdi32"
+@@ -220,7 +220,7 @@
+ 
+ dnl ===========================================================================
+ 
+-AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, have_coretext=true, have_coretext=false)
++have_coretext=false
+ if $have_coretext; then
+ 	CORETEXT_CFLAGS=
+ 	CORETEXT_LIBS="-framework ApplicationServices"
diff --git a/contrib/src/harfbuzz/rules.mak b/contrib/src/harfbuzz/rules.mak
index e9ea233..27149d4 100644
--- a/contrib/src/harfbuzz/rules.mak
+++ b/contrib/src/harfbuzz/rules.mak
@@ -17,6 +17,7 @@ harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
 	$(UPDATE_AUTOCONFIG)
 	$(APPLY) $(SRC)/harfbuzz/harfbuzz-aarch64.patch
 	$(APPLY) $(SRC)/harfbuzz/harfbuzz-clang.patch
+	$(APPLY) $(SRC)/harfbuzz/disable-backends.patch
 	$(MOVE)
 
 DEPS_harfbuzz = freetype2 $(DEPS_freetype2)



More information about the vlc-commits mailing list