From 8a45662b7eb920b4070d1c3f62684ab37ae73adb Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Tue, 6 May 2014 17:18:10 +0200 Subject: Remove icu-config workaround and add libraries for eLinux We require that the icu libs are in the default library seach path since we build embedded with use_system_icu=1. This patch also updates the chromium patches and the shasum of the submodule. Change-Id: Ica43fa45e9f5eac712019f5437bb9fde0896e49a Reviewed-by: Simon Hausmann --- .../0022-Adjust-gyp-defines-for-eLinux.patch | 24 ++++++++++++++-- .../icu/0001-Do-not-use-icu-config-on-eLinux.patch | 32 ++++++++++++++++++++++ patches/patch-chromium.sh | 1 + patches/update-patches.sh | 1 + src/3rdparty | 2 +- src/core/qtwebengine_extras.gypi | 8 +++++- 6 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 patches/chromium/third_party/icu/0001-Do-not-use-icu-config-on-eLinux.patch diff --git a/patches/chromium/0022-Adjust-gyp-defines-for-eLinux.patch b/patches/chromium/0022-Adjust-gyp-defines-for-eLinux.patch index 58e2b1324..f478727e1 100644 --- a/patches/chromium/0022-Adjust-gyp-defines-for-eLinux.patch +++ b/patches/chromium/0022-Adjust-gyp-defines-for-eLinux.patch @@ -16,11 +16,11 @@ Reviewed-by: Pierre Rossi base/atomicops_internals_arm_gcc.h | 2 +- base/base.gyp | 2 +- base/base.gypi | 12 ++++++++++++ - build/linux/system.gyp | 2 +- + build/linux/system.gyp | 6 +++++- net/net.gyp | 2 +- skia/skia_chrome.gypi | 2 +- skia/skia_library.gypi | 2 +- - 7 files changed, 18 insertions(+), 6 deletions(-) + 7 files changed, 22 insertions(+), 6 deletions(-) diff --git a/base/atomicops_internals_arm_gcc.h b/base/atomicops_internals_arm_gcc.h index 9f4fe2e..1964041 100644 @@ -72,7 +72,7 @@ index 11edab0..45d7180 100644 'sources!': [ 'message_loop/message_pump_glib.cc', diff --git a/build/linux/system.gyp b/build/linux/system.gyp -index 1451afb..92c74805b 100644 +index 1451afb..2a2c8bd 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -5,7 +5,7 @@ @@ -84,6 +84,24 @@ index 1451afb..92c74805b 100644 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', }, { 'pkg-config': 'pkg-config' +@@ -506,6 +506,8 @@ + { + 'target_name': 'libpci', + 'type': 'static_library', ++ 'conditions': [ ++ ['use_x11==1', { + 'cflags': [ + ' +Date: Tue, 6 May 2014 17:05:55 +0200 +Subject: Do not use icu-config on eLinux + +We require that the icu libs are in the default library seach path. +--- + icu.gyp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/icu.gyp b/icu.gyp +index 4d8259a..416050d 100644 +--- a/icu.gyp ++++ b/icu.gyp +@@ -642,6 +642,8 @@ + ], + }, + },{ # OS!="android" ++ 'conditions': [ ++ ['qt_os!="embedded_linux"', { + 'link_settings': { + 'ldflags': [ + '