Skip to contentSkip to conversation

chromium: Remove Chromium 35 recipe and obsolete patches

PATCH New Carlos Rafael Giani 1 participant 1 message Sep 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium: Remove Chromium 35 recipe and obsolete patches

These patches are no longer used or needed anywhere. Chromium 35 is now obsolete, since Chromium 37.0.2062.94 is the new stable version.

---
 .../0001-Disable-ANGLE-commit-ID-generation.patch  |  71 -------------
 ...tracker_notify_deprecated_since_ATK_2_9_4.patch |  17 ----
 .../chromium/fix-glib-deprecated-warning.patch     |  32 ------
 .../chromium/chromium/secitem_array.patch          |  26 -----
 .../chromium/chromium/uninitialised-warning.patch  |  90 -----------------
 recipes-browser/chromium/chromium_35.0.1916.114.bb | 112 ---------------------
 6 files changed, 348 deletions(-)
 delete mode 100644 recipes-browser/chromium/chromium/0001-Disable-ANGLE-commit-ID-generation.patch
 delete mode 100644 recipes-browser/chromium/chromium/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch
 delete mode 100644 recipes-browser/chromium/chromium/fix-glib-deprecated-warning.patch
 delete mode 100644 recipes-browser/chromium/chromium/secitem_array.patch
 delete mode 100644 recipes-browser/chromium/chromium/uninitialised-warning.patch
 delete mode 100644 recipes-browser/chromium/chromium_35.0.1916.114.bb
recipes-browser/chromium/chromium/0001-Disable-ANGLE-commit-ID-generation.patch deleted +0 -71
deleted file mode 100644
index 72b978c..0000000
@@ -1,71 +0,0 @@
-From 6ee39ace731dabdbe5e169ac5bc52b713afb1275 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani <[email protected]>
-Date: Tue, 29 Jul 2014 12:08:25 +0200
-Subject: [PATCH] Disable ANGLE commit ID generation
-
-As part of the build process, ANGLE generates an ID out of the SRCREV
-of the git repo's HEAD. Since these recipes do not use a git repository,
-but a tarball release of Chromium, there is no HEAD, and building ANGLE
-fails.
-
-This patch replaces the git-based commit ID generation with a dummy ID.
-
-Upstream-Status: Pending
-
-Signed-off-by: Carlos Rafael Giani <[email protected]>
----
- third_party/angle/src/angle.gypi   |  2 +-
- third_party/angle/src/commit_id.py | 22 +++++++++++++---------
- 2 files changed, 14 insertions(+), 10 deletions(-)
-
-diff --git a/third_party/angle/src/angle.gypi b/third_party/angle/src/angle.gypi
-index 5339369..c7ef8c1 100644
---- a/third_party/angle/src/angle.gypi
-+++ b/third_party/angle/src/angle.gypi
-@@ -56,7 +56,7 @@
-                         {
-                             'action_name': 'Generate Commit ID Header',
-                             'message': 'Generating commit ID header...',
--                            'inputs': [ '<(SHARED_INTERMEDIATE_DIR)/commit_id.py', '<(angle_path)/.git/index' ],
-+                            'inputs': [ '<(SHARED_INTERMEDIATE_DIR)/commit_id.py' ],
-                             'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/commit.h' ],
-                             'action': [ 'python', '<(SHARED_INTERMEDIATE_DIR)/commit_id.py', '<(SHARED_INTERMEDIATE_DIR)/commit.h' ],
-                         },
-diff --git a/third_party/angle/src/commit_id.py b/third_party/angle/src/commit_id.py
-index 6339cca..1a3c0a3 100644
---- a/third_party/angle/src/commit_id.py
-+++ b/third_party/angle/src/commit_id.py
-@@ -1,17 +1,21 @@
- import subprocess as sp
- import sys
- 
--def grab_output(*command):
--    return sp.Popen(command, stdout=sp.PIPE).communicate()[0].strip()
-+#def grab_output(*command):
-+#    return sp.Popen(command, stdout=sp.PIPE).communicate()[0].strip()
-+#
-+#commit_id_size = 12
-+#
-+#try:
-+#    commit_id = grab_output('git', 'rev-parse', '--short=%d' % commit_id_size, 'HEAD')
-+#    commit_date = grab_output('git', 'show', '-s', '--format=%ci', 'HEAD')
-+#except:
-+#    commit_id = 'invalid-hash'
-+#    commit_date = 'invalid-date'
- 
-+commit_id = "0123456789ab"
- commit_id_size = 12
--
--try:
--    commit_id = grab_output('git', 'rev-parse', '--short=%d' % commit_id_size, 'HEAD')
--    commit_date = grab_output('git', 'show', '-s', '--format=%ci', 'HEAD')
--except:
--    commit_id = 'invalid-hash'
--    commit_date = 'invalid-date'
-+commit_date = "2014-06-11 17:45:12 +0200"
- 
- hfile = open(sys.argv[1], 'w')
- 
--- 
-1.8.3.2
-
recipes-browser/chromium/chromium/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch deleted +0 -17
deleted file mode 100644
index a44abff..0000000
@@ -1,17 +0,0 @@
---- a/content/browser/accessibility/browser_accessibility_manager_gtk.cc	2013-05-26 00:43:54.000000000 +0200
-+++ b/content/browser/accessibility/browser_accessibility_manager_gtk.cc	2013-12-14 15:45:44.251138663 +0100
-@@ -55,11 +55,9 @@
-       RecursivelySendChildrenChanged(GetRoot()->ToBrowserAccessibilityGtk());
-       break;
-     case AccessibilityNotificationFocusChanged:
--      // Note: atk_focus_tracker_notify may be deprecated in the future;
--      // follow this bug for the replacement:
--      // https://bugzilla.gnome.org/show_bug.cgi?id=649575#c4
--      g_signal_emit_by_name(atk_object, "focus-event", true);
--      atk_focus_tracker_notify(atk_object);
-+      // Note: the focus-event was deprecated in ATK 2.9.4
-+      // See https://bugzilla.gnome.org/show_bug.cgi?id=649575#c8  
-+      g_signal_emit_by_name(atk_object, "focus-event", true); 
-       break;
-     default:
-       break;
recipes-browser/chromium/chromium/fix-glib-deprecated-warning.patch deleted +0 -32
deleted file mode 100644
index 05b3bbe..0000000
@@ -1,32 +0,0 @@
-Stolen the applicable part of https://chromium.googlesource.com/chromium/src.git/+/27f62d43929d33f178e89a832fde0b091a452fdd
-to fix the -Werror problem from a deprecated warning in this file:
-
-| In file included from ../../net/proxy/proxy_config_service_linux.cc:41:0:
-| gen/library_loaders/libgio.h:29:13: error:
-|   'const gchar* const* g_settings_list_schemas()' is deprecated
-|   (declared at .../tmp/sysroots/imx6qsabresd/usr/include/glib-2.0/gio/gsettings.h:74):
-|   Use 'g_settings_schema_source_list_schemas' instead [-Werror=deprecated-declarations]
-|    typeof(&::g_settings_list_schemas) g_settings_list_schemas;
-|              ^
-| cc1plus: all warnings being treated as errors
-
-Upstream-Status: Backport [27f62d43929d33f178e89a832fde0b091a452fdd]
-
---- chromium-35.0.1883.0/net/proxy/proxy_config_service_linux.cc.old	2014-05-24 11:21:46.456263672 +0200
-+++ chromium-35.0.1883.0/net/proxy/proxy_config_service_linux.cc	2014-05-24 11:26:52.041519475 +0200
-@@ -4,6 +4,15 @@
- 
- #include "net/proxy/proxy_config_service_linux.h"
- 
-+// glib >=2.40 deprecate g_settings_list_schemas in favor of
-+// g_settings_schema_source_list_schemas. This function is not available on
-+// earlier versions that we still need to support (specifically, 2.32), so
-+// disable the warning.
-+// TODO(mgiuca): Remove this suppression when we drop support for Ubuntu 13.10
-+// (saucy) and earlier. Update the code to use
-+// g_settings_schema_source_list_schemas instead.
-+#define GLIB_DISABLE_DEPRECATION_WARNINGS
-+
- #include <errno.h>
- #include <fcntl.h>
- #if defined(USE_GCONF)
recipes-browser/chromium/chromium/secitem_array.patch deleted +0 -26
deleted file mode 100644
index 3537952..0000000
@@ -1,26 +0,0 @@
---- trunk/src/net/third_party/nss/ssl/bodge/secitem_array.c	2013/06/13 22:43:39	206183
-+++ trunk/src/net/third_party/nss/ssl/bodge/secitem_array.c	2013/06/13 22:44:52	206184
-@@ -6,6 +6,7 @@
-  * Support routines for SECItemArray data structure.
-  */
- 
-+#include "nssutil.h"
- #include "seccomon.h"
- #include "secitem.h"
- #include "secerr.h"
-@@ -13,10 +14,15 @@
- 
- typedef struct SECItemArrayStr SECItemArray;
- 
-+#define NSSUTIL_VERSION_NUM \
-+    (NSSUTIL_VMAJOR * 10000 + NSSUTIL_VMINOR * 100 + NSSUTIL_VPATCH)
-+#if NSSUTIL_VERSION_NUM < 31500
-+// Added in NSS 3.15.
- struct SECItemArrayStr {
-     SECItem *items;
-     unsigned int len;
- };
-+#endif
- 
- SECItemArray *
- SECITEM_AllocArray(PLArenaPool *arena, SECItemArray *array, unsigned int len)
recipes-browser/chromium/chromium/uninitialised-warning.patch deleted +0 -90

90 lines not on this page · raw message

recipes-browser/chromium/chromium_35.0.1916.114.bb deleted +0 -112

112 lines not on this page · raw message

Signature · 1 line
1.8.3.2