Title: [150963] trunk
Revision
150963
Author
[email protected]
Date
2013-05-30 07:55:45 -0700 (Thu, 30 May 2013)

Log Message

[GTK] Needs to check for harfbuzz-icu
https://bugs.webkit.org/show_bug.cgi?id=116978

Patch by Alberto Garcia <[email protected]> on 2013-05-30
Reviewed by Xan Lopez.

HarfBuzz 0.9.18 splits harbuzz-icu into a separate library so we
also need to check for it in order to get the necessary flags for
the compiler and the linker.

We keep this conditional for now since we still want to support
earlier versions of HarfBuzz.

* Source/autotools/FindDependencies.m4:

Modified Paths

Diff

Modified: trunk/ChangeLog (150962 => 150963)


--- trunk/ChangeLog	2013-05-30 14:26:21 UTC (rev 150962)
+++ trunk/ChangeLog	2013-05-30 14:55:45 UTC (rev 150963)
@@ -1,3 +1,19 @@
+2013-05-30  Alberto Garcia  <[email protected]>
+
+        [GTK] Needs to check for harfbuzz-icu
+        https://bugs.webkit.org/show_bug.cgi?id=116978
+
+        Reviewed by Xan Lopez.
+
+        HarfBuzz 0.9.18 splits harbuzz-icu into a separate library so we
+        also need to check for it in order to get the necessary flags for
+        the compiler and the linker.
+
+        We keep this conditional for now since we still want to support
+        earlier versions of HarfBuzz.
+
+        * Source/autotools/FindDependencies.m4:
+
 2013-05-29  Kent Tamura  <[email protected]>
 
         Remove leftover files for ENABLE_PAGE_POPUP and ENABLE_CALENDAR_PICKER

Modified: trunk/Source/autotools/FindDependencies.m4 (150962 => 150963)


--- trunk/Source/autotools/FindDependencies.m4	2013-05-30 14:26:21 UTC (rev 150962)
+++ trunk/Source/autotools/FindDependencies.m4	2013-05-30 14:55:45 UTC (rev 150963)
@@ -375,6 +375,13 @@
     PKG_CHECK_MODULES([FREETYPE],
         [cairo-ft fontconfig >= fontconfig_required_version freetype2 >= freetype2_required_version harfbuzz >= harfbuzz_required_version])
 fi
+# HarfBuzz 0.9.18 splits harbuzz-icu into a separate library.
+# Since we support earlier HarfBuzz versions we keep this conditional for now.
+if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz; then
+    PKG_CHECK_MODULES(HARFBUZZ_ICU, harfbuzz-icu >= $harfbuzz_required_version)
+    FREETYPE_CFLAGS+=" $HARFBUZZ_ICU_CFLAGS"
+    FREETYPE_LIBS+=" $HARFBUZZ_ICU_LIBS"
+fi
 AC_SUBST([FREETYPE_CFLAGS])
 AC_SUBST([FREETYPE_LIBS])
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to