Skip to contentSkip to conversation

chromium: Upgrade to version 38.0.2125.101

PATCH Applied Carlos Rafael Giani 2 participants 2 messages Oct 13, 2014 – Oct 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium: Upgrade to version 38.0.2125.101

* 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).

---
 ...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%)
recipes-browser/chromium/chromium/0001-Disable-rasterization-whitelist-unlocking-impl-side-.patch +35 -19
index 3e9d269..7bc3d34 100644
@@ -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 <[email protected]>
-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 <[email protected]>
 ---
- 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
 
recipes-browser/chromium/chromium/0001-Remove-X-libraries-from-GYP-files.patch +23 -25

91 lines not on this page · raw message

recipes-browser/chromium/chromium/0001-Remove-accelerated-Canvas-support-from-blacklist.patch renamed from recipes-browser/chromium/chromium/remove-linux-accel-canvas-from-blacklist.patch +14 -3
similarity index 66%
rename from recipes-browser/chromium/chromium/remove-linux-accel-canvas-from-blacklist.patch
rename to recipes-browser/chromium/chromium/0001-Remove-accelerated-Canvas-support-from-blacklist.patch
index 635e563..fab0344 100644
@@ -1,3 +1,8 @@
+From 7166cba808d1922f4604d6771c21b90513bf9c2b Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani <[email protected]>
+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
+
recipes-browser/chromium/chromium/0001-Remove-hard-coded-values-for-CC-and-CXX.patch new file +43 -0

43 lines not on this page · raw message

recipes-browser/chromium/chromium_38.0.2125.101.bb renamed from recipes-browser/chromium/chromium_37.0.2062.94.bb +49 -9

94 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Carlos Rafael Giani

* 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.

Quoted 6 lines

* 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).

I applied this to master.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750