Fixed broken patch 10/225910/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105635 accepted/tizen/6.0/unified/hotfix/20201102.233633 accepted/tizen/6.0/unified/hotfix/20201103.051613 accepted/tizen/unified/20200226.124257 submit/tizen/20200226.043432 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 tizen_6.0.m2_release
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 25 Feb 2020 08:26:20 +0000 (17:26 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 25 Feb 2020 08:33:50 +0000 (17:33 +0900)
(remove icu header dependencies from harfbuzz header)

this patch is auto applied at build time.
fixed not working properly after version up.

Change-Id: Idb487f37946a5df09063ea391d3414842358dd58
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
patch/remove-icu-header-dependencies-from-harfbuzz-header.patch

index 9bec5d5..1f6335a 100644 (file)
@@ -1,6 +1,6 @@
-From 6bce537e813081511d7899a235872ff794dbce1a Mon Sep 17 00:00:00 2001
-From: Jongmin Lee <jm105.lee@samsung.com>
-Date: Wed, 4 Dec 2019 09:54:01 +0900
+From d90ac5141407d6c3278bb67784ea8cec1743ff89 Mon Sep 17 00:00:00 2001
+From: Bowon Ryu <bowon.ryu@samsung.com>
+Date: Tue, 25 Feb 2020 17:22:46 +0900
 Subject: [PATCH] remove icu header dependencies from harfbuzz header
 
 Harfbuzz header include icu header that is not Tizen public API.
@@ -9,26 +9,27 @@ should be removed.
 
 @tizen_fix
 
-Change-Id: Ic73ee83de294c09fe3bf047eb3ed7f7c85bdc8c3
+Change-Id: Iecf2c69345cdb795c63be238895796e1d4adc610
+Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
 ---
  src/hb-icu.cc | 17 ++++++++++-------
  src/hb-icu.h  |  5 ++---
  2 files changed, 12 insertions(+), 10 deletions(-)
 
 diff --git a/src/hb-icu.cc b/src/hb-icu.cc
-index c26c91d..7e89f78 100644
+index 985ff02..4767722 100644
 --- a/src/hb-icu.cc
 +++ b/src/hb-icu.cc
-@@ -38,6 +38,7 @@
+@@ -40,6 +40,7 @@
  #include <unicode/ustring.h>
  #include <unicode/utf16.h>
  #include <unicode/uversion.h>
 +#include <unicode/uscript.h>
  
- /**
-@@ -51,26 +52,28 @@
+ /* ICU extra semicolon, fixed since 65, https://github.com/unicode-org/icu/commit/480bec3 */
+ #if U_ICU_VERSION_MAJOR_NUM < 65 && (defined(__GNUC__) || defined(__clang__))
+@@ -58,26 +59,28 @@
+  **/
  
  hb_script_t
 -hb_icu_script_to_script (UScriptCode script)
@@ -62,7 +63,7 @@ index c26c91d..7e89f78 100644
  }
  
  
-@@ -153,7 +156,7 @@ hb_icu_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED,
+@@ -160,7 +163,7 @@ hb_icu_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED,
    if (unlikely (U_FAILURE (status)))
      return HB_SCRIPT_UNKNOWN;