Return-Path: Received: from ptmx.org (ptmx.org [178.63.28.110]) by mail.openembedded.org (Postfix) with ESMTP id 5926D6A362 for ; Mon, 13 Oct 2014 11:33:44 +0000 (UTC) Received: from localhost.localdomain (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id 16D6722EF0 for ; Mon, 13 Oct 2014 13:33:42 +0200 (CEST) From: Carlos Rafael Giani To: openembedded-devel@lists.openembedded.org Date: Mon, 13 Oct 2014 13:32:50 +0200 Message-Id: <1413199970-17377-1-git-send-email-dv@pseudoterminal.org> X-Mailer: git-send-email 1.9.1 Subject: [meta-browser][PATCH] chromium: Upgrade to version 38.0.2125.101 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 11:33:55 -0000 * Starting with this version, several cross compilation specific parts in the GYP files need to be disabled with both additional flags and an extra patch. Chromium 38 now includes clang specifics, which are enabled by default. Additional flags (-Dhost_clang=0 -Dclang=0) disable these. Furthermore, the GYP files now include default values for CC and CXX (https://codereview.chromium.org/414343003/patch/40001/50001), which could not be overridden with environment variables. A patch removes this. * ozone-wayland's Milestone-Harvest branch is the one to use for Chromium 38. It includes a patch that collides with another one that is already present in the chromium/ directly. Consequently, this other patch is now only used for X11 builds. * Only 00*.patch patch files from ozone-wayland are used, since the 10*.patch files cannot be applied cleanly and easily (and are not actually required for builds with this recipe, since another patch already takes care of the X11 linker flags removal). Signed-off-by: Carlos Rafael Giani --- ...terization-whitelist-unlocking-impl-side-.patch | 54 +++++++++++++------- .../0001-Remove-X-libraries-from-GYP-files.patch | 48 +++++++++--------- ...ccelerated-Canvas-support-from-blacklist.patch} | 17 +++++-- ...1-Remove-hard-coded-values-for-CC-and-CXX.patch | 43 ++++++++++++++++ ...m_37.0.2062.94.bb => chromium_38.0.2125.101.bb} | 58 ++++++++++++++++++---- 5 files changed, 164 insertions(+), 56 deletions(-) rename recipes-browser/chromium/chromium/{remove-linux-accel-canvas-from-blacklist.patch => 0001-Remove-accelerated-Canvas-support-from-blacklist.patch} (66%) create mode 100644 recipes-browser/chromium/chromium/0001-Remove-hard-coded-values-for-CC-and-CXX.patch rename recipes-browser/chromium/{chromium_37.0.2062.94.bb => chromium_38.0.2125.101.bb} (66%) diff --git a/recipes-browser/chromium/chromium/0001-Disable-rasterization-whitelist-unlocking-impl-side-.patch b/recipes-browser/chromium/chromium/0001-Disable-rasterization-whitelist-unlocking-impl-side-.patch index 3e9d269..7bc3d34 100644 --- a/recipes-browser/chromium/chromium/0001-Disable-rasterization-whitelist-unlocking-impl-side-.patch +++ b/recipes-browser/chromium/chromium/0001-Disable-rasterization-whitelist-unlocking-impl-side-.patch @@ -1,31 +1,31 @@ -From 96a5a12ecd5b144bfeaa1d2116c2d1996bbb8f6c Mon Sep 17 00:00:00 2001 +From 2afda4afc9e97164a81ea76367e356c349234fb4 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani -Date: Mon, 22 Sep 2014 23:15:42 +0200 +Date: Sun, 12 Oct 2014 17:46:39 +0200 Subject: [PATCH] Disable rasterization whitelist, unlocking impl side painting +Upstream-Status: Inappropriate [enable feature] + Signed-off-by: Carlos Rafael Giani --- - gpu/config/software_rendering_list_json.cc | 49 ------------------------------ - 1 file changed, 49 deletions(-) + gpu/config/software_rendering_list_json.cc | 63 ------------------------------ + 1 file changed, 63 deletions(-) diff --git a/gpu/config/software_rendering_list_json.cc b/gpu/config/software_rendering_list_json.cc -index 52614eb..bd0bf01 100644 +index 6a12707..4e8e56a 100644 --- a/gpu/config/software_rendering_list_json.cc +++ b/gpu/config/software_rendering_list_json.cc -@@ -1144,55 +1144,6 @@ LONG_STRING_CONST( - "features": [ - "all" +@@ -1037,69 +1037,6 @@ LONG_STRING_CONST( ] -- }, -- { + }, + { - "id": 96, -- "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X", +- "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X, and on Qualcomm GPUs on Android 4.4", - "cr_bugs": [362779], +- "os": { +- "type": "android" +- }, - "exceptions": [ - { -- "os": { -- "type": "android" -- }, - "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", - "XT1049", "XT1050", "XT1052", "XT1053", - "XT1055", "XT1056", "XT1058", "XT1060"] @@ -38,6 +38,20 @@ index 52614eb..bd0bf01 100644 - "value": "4.4.99" - } - } +- }, +- { +- "os": { +- "type": "android", +- "version": { +- "op": ">=", +- "value": "4.4" +- } +- }, +- "gl_type": "gles", +- "gl_version": { +- "op": ">=", +- "value": "3.0" +- } - } - ], - "features": [ @@ -55,8 +69,8 @@ index 52614eb..bd0bf01 100644 - }, - "machine_model_name": ["HTC One", - "C5303", "C6603", "C6903", -- "GT-I8262", "GT-I8552", "GT-I9195", "GT-I9300", -- "GT-I9500", "GT-I9505", "GT-N7100", +- "GT-I8262", "GT-I8552", "GT-I9195", +- "GT-I9500", "GT-I9505", - "SAMSUNG-SCH-I337", "SCH-I545", "SGH-M919", - "SM-N900", "SM-N9005", "SPH-L720", - "XT907", "XT1032", "XT1033", "XT1080"] @@ -65,9 +79,11 @@ index 52614eb..bd0bf01 100644 - "features": [ - "gpu_rasterization_field_trial" - ] - } - ] - } +- }, +- { + "id": 98, + "description": "Whitelist for using GPU rasterization for a broader set of content", + "cr_bugs": [399306], -- 1.9.1 diff --git a/recipes-browser/chromium/chromium/0001-Remove-X-libraries-from-GYP-files.patch b/recipes-browser/chromium/chromium/0001-Remove-X-libraries-from-GYP-files.patch index 44f9710..4734f31 100644 --- a/recipes-browser/chromium/chromium/0001-Remove-X-libraries-from-GYP-files.patch +++ b/recipes-browser/chromium/chromium/0001-Remove-X-libraries-from-GYP-files.patch @@ -1,6 +1,6 @@ -From 32642c65e31c26673cc4687eefacdf0087cf4498 Mon Sep 17 00:00:00 2001 +From 715277bbb81a32c7225416eaef77521b2a4f63ac Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani -Date: Mon, 28 Jul 2014 00:10:03 +0200 +Date: Sun, 12 Oct 2014 18:08:37 +0200 Subject: [PATCH] Remove X libraries from GYP files Some X libraries are linked even when ozone-wayland is used, causing @@ -10,32 +10,30 @@ Upstream-Status: Pending Signed-off-by: Carlos Rafael Giani --- - third_party/libjingle/source/talk/libjingle.gyp | 4 ---- + third_party/libjingle/source/talk/libjingle.gyp | 2 -- third_party/libjingle/source/talk/libjingle_examples.gyp | 4 ---- third_party/webrtc/base/base.gyp | 4 ---- third_party/webrtc/modules/desktop_capture/desktop_capture.gypi | 2 +- - 4 files changed, 1 insertion(+), 13 deletions(-) + 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/third_party/libjingle/source/talk/libjingle.gyp b/third_party/libjingle/source/talk/libjingle.gyp -index 2182561..86c243b 100755 +index 6064277..7fbf5b5 100755 --- a/third_party/libjingle/source/talk/libjingle.gyp +++ b/third_party/libjingle/source/talk/libjingle.gyp -@@ -633,10 +633,6 @@ - '-lcrypto', - '-ldl', - '-lrt', -- '-lXext', -- '-lX11', -- '-lXcomposite', -- '-lXrender', - ' +Date: Sun, 12 Oct 2014 17:54:18 +0200 +Subject: [PATCH] Remove accelerated Canvas support from blacklist + Together with the --gpu-no-context-lost command line switch, this patch is necessary to enable hardware accelerated 2D canvas rendering when using EGL. @@ -8,12 +13,15 @@ contexts, as discussed here: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-September/206450.html Upstream-Status: Inappropiate [see link above] +--- + gpu/config/software_rendering_list_json.cc | 10 ---------- + 1 file changed, 10 deletions(-) diff --git a/gpu/config/software_rendering_list_json.cc b/gpu/config/software_rendering_list_json.cc -index 35060a9..4bd6ef5 100644 +index 4e8e56a..f6dd7e5 100644 --- a/gpu/config/software_rendering_list_json.cc +++ b/gpu/config/software_rendering_list_json.cc -@@ -232,16 +232,6 @@ const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( +@@ -240,16 +240,6 @@ const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( ] }, { @@ -29,4 +37,7 @@ index 35060a9..4bd6ef5 100644 - { "id": 27, "description": "ATI/AMD cards with older drivers in Linux are crash-prone", - "cr_bugs": [95934, 94973, 136240], + "cr_bugs": [95934, 94973, 136240, 357314], +-- +1.9.1 + diff --git a/recipes-browser/chromium/chromium/0001-Remove-hard-coded-values-for-CC-and-CXX.patch b/recipes-browser/chromium/chromium/0001-Remove-hard-coded-values-for-CC-and-CXX.patch new file mode 100644 index 0000000..47ae86e --- /dev/null +++ b/recipes-browser/chromium/chromium/0001-Remove-hard-coded-values-for-CC-and-CXX.patch @@ -0,0 +1,43 @@ +From e5c8af3d5e2a49effd39846657dd55ff6af44a63 Mon Sep 17 00:00:00 2001 +From: Carlos Rafael Giani +Date: Sun, 12 Oct 2014 19:31:47 +0200 +Subject: [PATCH] Remove hard coded values for CC and CXX + +In spite of what the comment says, the environment variables do *not* +override the variables; "which which arm-linux-gnueabihf-gcc" etc. are +always called. To undo this, remove the change. + +Upstream-Status: Pending + +The default values cannot be overriden without the patch; upstream +might be interested in this. + +Signed-off-by: Carlos Rafael Giani +--- + build/common.gypi | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/build/common.gypi b/build/common.gypi +index 609041c..4040a0b 100644 +--- a/build/common.gypi ++++ b/build/common.gypi +@@ -5577,16 +5577,6 @@ + ['CXX.host', '<(host_cxx)'], + ], + }], +- ['OS=="linux" and target_arch=="arm" and host_arch!="arm" and chromeos==0 and clang==0', { +- # Set default ARM cross compiling on linux. These can be overridden +- # using CC/CXX/etc environment variables. +- 'make_global_settings': [ +- ['CC', '