Fixed broken patch accepted/tizen/6.5/unified/20211029.013537 accepted/tizen/unified/20210104.130314 submit/tizen/20210103.044544 submit/tizen/20210103.212140 submit/tizen_6.5/20211028.163401 tizen_6.5.m2_release
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 24 Dec 2020 05:27:44 +0000 (14:27 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 24 Dec 2020 05:27:44 +0000 (14:27 +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: I32362f64470bbd96aeb424f576a9d4a674e60d88

patch/remove-icu-header-dependencies-from-harfbuzz-header.patch

index 1f6335a..8911866 100644 (file)
@@ -1,6 +1,6 @@
-From d90ac5141407d6c3278bb67784ea8cec1743ff89 Mon Sep 17 00:00:00 2001
+From c7cac7e0d3bbba4285354c90590a6e6d081fce61 Mon Sep 17 00:00:00 2001
 From: Bowon Ryu <bowon.ryu@samsung.com>
-Date: Tue, 25 Feb 2020 17:22:46 +0900
+Date: Thu, 24 Dec 2020 13:35:34 +0900
 Subject: [PATCH] remove icu header dependencies from harfbuzz header
 
 Harfbuzz header include icu header that is not Tizen public API.
@@ -9,15 +9,15 @@ should be removed.
 
 @tizen_fix
 
-Change-Id: Iecf2c69345cdb795c63be238895796e1d4adc610
+Change-Id: I94835684a7ddc193c42cc0e2565a200f13c62f8c
 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(-)
+ src/hb-icu.h  |  6 ++----
+ 2 files changed, 12 insertions(+), 11 deletions(-)
 
 diff --git a/src/hb-icu.cc b/src/hb-icu.cc
-index 985ff02..4767722 100644
+index c1dcc24..98de45f 100644
 --- a/src/hb-icu.cc
 +++ b/src/hb-icu.cc
 @@ -40,6 +40,7 @@
@@ -28,7 +28,7 @@ index 985ff02..4767722 100644
  
  /* 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 @@
+@@ -72,8 +73,10 @@
   **/
  
  hb_script_t
@@ -40,9 +40,10 @@ index 985ff02..4767722 100644
    if (unlikely (script == USCRIPT_INVALID_CODE))
      return HB_SCRIPT_INVALID;
  
-   return hb_script_from_string (uscript_getShortName (script), -1);
- }
+@@ -90,18 +93,18 @@ hb_icu_script_to_script (UScriptCode script)
+  * Return value: the UScriptCode identifier found
+  *
+  **/
 -UScriptCode
 +unsigned int
  hb_icu_script_from_script (hb_script_t script)
@@ -63,7 +64,7 @@ index 985ff02..4767722 100644
  }
  
  
-@@ -160,7 +163,7 @@ hb_icu_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED,
+@@ -184,7 +187,7 @@ hb_icu_unicode_script (hb_unicode_funcs_t *ufuncs HB_UNUSED,
    if (unlikely (U_FAILURE (status)))
      return HB_SCRIPT_UNKNOWN;
  
@@ -73,15 +74,15 @@ index 985ff02..4767722 100644
  
  static hb_bool_t
 diff --git a/src/hb-icu.h b/src/hb-icu.h
-index 2db6a7b..dc6d7aa 100644
+index 2db6a7b..47e718c 100644
 --- a/src/hb-icu.h
 +++ b/src/hb-icu.h
-@@ -31,15 +31,14 @@
+@@ -31,15 +31,13 @@
  
  #include "hb.h"
  
 -#include <unicode/uscript.h>
+-
  HB_BEGIN_DECLS