chromium: Upgrade 29 -> 35
PATCH v2 1/1 chromium: Upgrade 29 -> 35
Removed already applied patches
License year changed thats why there is change in checksum
-// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
we see
rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
so we add PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
Enable SUID sandbox
Install ICU configuration file which is required
--- ...tracker_notify_deprecated_since_ATK_2_9_4.patch | 17 -- .../chromium-29.0.1518.2/armv6/include.gypi | 8 - .../chromium-29.0.1518.2/armv6/oe-defaults.gypi | 15 -- .../chromium-29.0.1518.2/armv7a/include.gypi | 9 - .../chromium-29.0.1518.2/armv7a/oe-defaults.gypi | 15 -- .../chromium/chromium-29.0.1518.2/google-chrome | 7 - .../chromium-29.0.1518.2/google-chrome.desktop | 222 --------------------- .../chromium-29.0.1518.2/i586/include.gypi | 5 - .../chromium-29.0.1518.2/i586/oe-defaults.gypi | 15 -- .../chromium-29.0.1518.2/secitem_array.patch | 26 --- .../uninitialised-warning.patch | 90 --------- .../chromium/chromium-29.0.1518.2/unistd-2.patch | 27 --- .../chromium-29.0.1518.2/x86-64/include.gypi | 5 - .../chromium-29.0.1518.2/x86-64/oe-defaults.gypi | 15 -- ...tracker_notify_deprecated_since_ATK_2_9_4.patch | 17 ++ .../chromium/chromium/armv6/include.gypi | 8 + .../chromium/chromium/armv6/oe-defaults.gypi | 15 ++ .../chromium/chromium/armv7a/include.gypi | 9 + .../chromium/chromium/armv7a/oe-defaults.gypi | 15 ++ recipes-browser/chromium/chromium/google-chrome | 8 + .../chromium/chromium/google-chrome.desktop | 222 +++++++++++++++++++++ .../chromium/chromium/i586/include.gypi | 5 + .../chromium/chromium/i586/oe-defaults.gypi | 15 ++ .../chromium/chromium/secitem_array.patch | 26 +++ .../chromium/chromium/uninitialised-warning.patch | 90 +++++++++ recipes-browser/chromium/chromium/unistd-2.patch | 27 +++ .../chromium/chromium/x86-64/include.gypi | 5 + .../chromium/chromium/x86-64/oe-defaults.gypi | 15 ++ recipes-browser/chromium/chromium_29.0.1518.2.bb | 74 ------- recipes-browser/chromium/chromium_35.0.1883.0.bb | 79 ++++++++ 30 files changed, 556 insertions(+), 550 deletions(-) delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/include.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/oe-defaults.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/include.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/oe-defaults.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/google-chrome delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/google-chrome.desktop delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/include.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/oe-defaults.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/secitem_array.patch delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/uninitialised-warning.patch delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/unistd-2.patch delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/include.gypi delete mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch create mode 100644 recipes-browser/chromium/chromium/armv6/include.gypi create mode 100644 recipes-browser/chromium/chromium/armv6/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium/armv7a/include.gypi create mode 100644 recipes-browser/chromium/chromium/armv7a/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium/google-chrome create mode 100644 recipes-browser/chromium/chromium/google-chrome.desktop create mode 100644 recipes-browser/chromium/chromium/i586/include.gypi create mode 100644 recipes-browser/chromium/chromium/i586/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium/secitem_array.patch create mode 100644 recipes-browser/chromium/chromium/uninitialised-warning.patch create mode 100644 recipes-browser/chromium/chromium/unistd-2.patch create mode 100644 recipes-browser/chromium/chromium/x86-64/include.gypi create mode 100644 recipes-browser/chromium/chromium/x86-64/oe-defaults.gypi delete mode 100644 recipes-browser/chromium/chromium_29.0.1518.2.bb create mode 100644 recipes-browser/chromium/chromium_35.0.1883.0.bb
recipes-browser/chromium/chromium-29.0.1518.2/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch deleted +0 -17
@@ -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-29.0.1518.2/armv6/include.gypi deleted +0 -8
@@ -1,8 +0,0 @@ -{ - 'variables': { - # Configure for armv6 compilation - 'target_arch': 'arm', - 'armv7': 0, - 'arm_neon': 0, - } -}
recipes-browser/chromium/chromium-29.0.1518.2/armv6/oe-defaults.gypi deleted +0 -15
@@ -1,15 +0,0 @@ -{ - 'variables': { - 'use_system_bzip2': 1, - 'disable_nacl': 1, - 'proprietary_codecs': 1, - 'v8_use_snapshot': 1, - 'use_system_ffmpeg': 0, - 'linux_use_tcmalloc': 0, - 'linux_link_kerberos': 0, - 'use_kerberos': 0, - 'use_cups': 0, - 'use_gnome_keyring': 0, - 'linux_link_gnome_keyring': 0 - }, -}
recipes-browser/chromium/chromium-29.0.1518.2/armv7a/include.gypi deleted +0 -9
@@ -1,9 +0,0 @@ -{ - 'variables': { - # Configure for armv7 compilation - 'target_arch': 'arm', - 'armv7': 1, - 'arm_thumb': 1, - 'arm_neon': 1, - }, -}
recipes-browser/chromium/chromium-29.0.1518.2/armv7a/oe-defaults.gypi deleted +0 -15
@@ -1,15 +0,0 @@ -{ - 'variables': { - 'use_system_bzip2': 1, - 'disable_nacl': 1, - 'proprietary_codecs': 1, - 'v8_use_snapshot': 1, - 'use_system_ffmpeg': 0, - 'linux_use_tcmalloc': 0, - 'linux_link_kerberos': 0, - 'use_kerberos': 0, - 'use_cups': 0, - 'use_gnome_keyring': 0, - 'linux_link_gnome_keyring': 0 - }, -}
recipes-browser/chromium/chromium-29.0.1518.2/google-chrome deleted +0 -7
@@ -1,7 +0,0 @@ -#!/bin/sh - -if [ "${USER}" = "root" ] ; then - /usr/bin/chrome/chrome --user-data-dir=${HOME}/.chromium/ $@ -else - /usr/bin/chrome/chrome $@ -fi
recipes-browser/chromium/chromium-29.0.1518.2/google-chrome.desktop deleted +0 -222
222 lines not on this page · raw message
recipes-browser/chromium/chromium-29.0.1518.2/i586/include.gypi deleted +0 -5
@@ -1,5 +0,0 @@ -{ - 'variables': { - 'target_arch': 'ia32', - } -}
recipes-browser/chromium/chromium-29.0.1518.2/i586/oe-defaults.gypi deleted +0 -15
@@ -1,15 +0,0 @@ -{ - 'variables': { - 'use_system_bzip2': 1, - 'disable_nacl': 1, - 'proprietary_codecs': 0, - 'v8_use_snapshot': 1, - 'use_system_ffmpeg': 0, - 'linux_use_tcmalloc': 1, - 'linux_link_kerberos': 0, - 'use_kerberos': 0, - 'use_cups': 0, - 'use_gnome_keyring': 0, - 'linux_link_gnome_keyring': 0, - }, -}
recipes-browser/chromium/chromium-29.0.1518.2/secitem_array.patch deleted +0 -26
@@ -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-29.0.1518.2/uninitialised-warning.patch deleted +0 -90
90 lines not on this page · raw message
recipes-browser/chromium/chromium-29.0.1518.2/unistd-2.patch deleted +0 -27
@@ -1,27 +0,0 @@ -diff --git a/chrome/browser/memory_details_linux.cc b/chrome/browser/memory_details_linux.cc -index bee24ce..299f237 100644 ---- a/chrome/browser/memory_details_linux.cc -+++ b/chrome/browser/memory_details_linux.cc -@@ -7,6 +7,10 @@ - #include <map> - #include <set> - -+#if defined(OS_POSIX) -+#include <unistd.h> -+#endif -+ - #include "base/bind.h" - #include "base/process_util.h" - #include "base/string_util.h" -diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h -index 14c375b..345f9eb 100644 ---- a/ipc/ipc_channel.h -+++ b/ipc/ipc_channel.h -@@ -10,6 +10,7 @@ - - #if defined(OS_POSIX) - #include <sys/types.h> -+#include <unistd.h> - #endif - - #include "base/compiler_specific.h"
recipes-browser/chromium/chromium-29.0.1518.2/x86-64/include.gypi deleted +0 -5
@@ -1,5 +0,0 @@ -{ - 'variables': { - 'target_arch': 'x64', - } -}
recipes-browser/chromium/chromium-29.0.1518.2/x86-64/oe-defaults.gypi deleted +0 -15
@@ -1,15 +0,0 @@ -{ - 'variables': { - 'use_system_bzip2': 1, - 'disable_nacl': 1, - 'proprietary_codecs': 0, - 'v8_use_snapshot': 1, - 'use_system_ffmpeg': 0, - 'linux_use_tcmalloc': 1, - 'linux_link_kerberos': 0, - 'use_kerberos': 0, - 'use_cups': 0, - 'use_gnome_keyring': 0, - 'linux_link_gnome_keyring': 0, - }, -}
recipes-browser/chromium/chromium/001-atk_focus_tracker_notify_deprecated_since_ATK_2_9_4.patch new file +17 -0
@@ -0,0 +1,17 @@ +--- 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/armv6/include.gypi new file +8 -0
@@ -0,0 +1,8 @@ +{ + 'variables': { + # Configure for armv6 compilation + 'target_arch': 'arm', + 'armv7': 0, + 'arm_neon': 0, + } +}
recipes-browser/chromium/chromium/armv6/oe-defaults.gypi new file +15 -0
@@ -0,0 +1,15 @@ +{ + 'variables': { + 'use_system_bzip2': 1, + 'disable_nacl': 1, + 'proprietary_codecs': 1, + 'v8_use_snapshot': 1, + 'use_system_ffmpeg': 0, + 'linux_use_tcmalloc': 0, + 'linux_link_kerberos': 0, + 'use_kerberos': 0, + 'use_cups': 0, + 'use_gnome_keyring': 0, + 'linux_link_gnome_keyring': 0 + }, +}
recipes-browser/chromium/chromium/armv7a/include.gypi new file +9 -0
@@ -0,0 +1,9 @@ +{ + 'variables': { + # Configure for armv7 compilation + 'target_arch': 'arm', + 'armv7': 1, + 'arm_thumb': 1, + 'arm_neon': 1, + }, +}
recipes-browser/chromium/chromium/armv7a/oe-defaults.gypi new file +15 -0
@@ -0,0 +1,15 @@ +{ + 'variables': { + 'use_system_bzip2': 1, + 'disable_nacl': 1, + 'proprietary_codecs': 1, + 'v8_use_snapshot': 1, + 'use_system_ffmpeg': 0, + 'linux_use_tcmalloc': 0, + 'linux_link_kerberos': 0, + 'use_kerberos': 0, + 'use_cups': 0, + 'use_gnome_keyring': 0, + 'linux_link_gnome_keyring': 0 + }, +}
recipes-browser/chromium/chromium/google-chrome new file +8 -0
@@ -0,0 +1,8 @@ +#!/bin/sh + +export CHROME_DEVEL_SANDBOX=/usr/sbin/chrome-devel-sandbox +if [ "${USER}" = "root" ] ; then + /usr/bin/chrome/chrome --user-data-dir=${HOME}/.chromium/ $@ +else + /usr/bin/chrome/chrome $@ +fi
recipes-browser/chromium/chromium/google-chrome.desktop new file +222 -0
222 lines not on this page · raw message
recipes-browser/chromium/chromium/i586/include.gypi new file +5 -0
@@ -0,0 +1,5 @@ +{ + 'variables': { + 'target_arch': 'ia32', + } +}
recipes-browser/chromium/chromium/i586/oe-defaults.gypi new file +15 -0
@@ -0,0 +1,15 @@ +{ + 'variables': { + 'use_system_bzip2': 1, + 'disable_nacl': 1, + 'proprietary_codecs': 0, + 'v8_use_snapshot': 1, + 'use_system_ffmpeg': 0, + 'linux_use_tcmalloc': 1, + 'linux_link_kerberos': 0, + 'use_kerberos': 0, + 'use_cups': 0, + 'use_gnome_keyring': 0, + 'linux_link_gnome_keyring': 0, + }, +}
recipes-browser/chromium/chromium/secitem_array.patch new file +26 -0
@@ -0,0 +1,26 @@ +--- 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 new file +90 -0
90 lines not on this page · raw message
recipes-browser/chromium/chromium/unistd-2.patch new file +27 -0
@@ -0,0 +1,27 @@ +diff --git a/chrome/browser/memory_details_linux.cc b/chrome/browser/memory_details_linux.cc +index bee24ce..299f237 100644 +--- a/chrome/browser/memory_details_linux.cc ++++ b/chrome/browser/memory_details_linux.cc +@@ -7,6 +7,10 @@ + #include <map> + #include <set> + ++#if defined(OS_POSIX) ++#include <unistd.h> ++#endif ++ + #include "base/bind.h" + #include "base/process_util.h" + #include "base/string_util.h" +diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h +index 14c375b..345f9eb 100644 +--- a/ipc/ipc_channel.h ++++ b/ipc/ipc_channel.h +@@ -10,6 +10,7 @@ + + #if defined(OS_POSIX) + #include <sys/types.h> ++#include <unistd.h> + #endif + + #include "base/compiler_specific.h"
recipes-browser/chromium/chromium/x86-64/include.gypi new file +5 -0
@@ -0,0 +1,5 @@ +{ + 'variables': { + 'target_arch': 'x64', + } +}
recipes-browser/chromium/chromium/x86-64/oe-defaults.gypi new file +15 -0
@@ -0,0 +1,15 @@ +{ + 'variables': { + 'use_system_bzip2': 1, + 'disable_nacl': 1, + 'proprietary_codecs': 0, + 'v8_use_snapshot': 1, + 'use_system_ffmpeg': 0, + 'linux_use_tcmalloc': 1, + 'linux_link_kerberos': 0, + 'use_kerberos': 0, + 'use_cups': 0, + 'use_gnome_keyring': 0, + 'linux_link_gnome_keyring': 0, + }, +}
recipes-browser/chromium/chromium_29.0.1518.2.bb deleted +0 -74
74 lines not on this page · raw message
recipes-browser/chromium/chromium_35.0.1883.0.bb new file +79 -0
79 lines not on this page · raw message
Signature · 1 line
1.9.0
Quoted 11 lines · Khem Raj
Removed already applied patches
License year changed thats why there is change in checksum
(quoted diff) +1
-1-// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2013 The Chromium Authors. All rights reserved.we see
rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
Quoted 8 lines
so we add
PACKAGE_DEBUG_SPLIT_STYLE= "debug-without-src"Enable SUID sandbox
Install ICU configuration file which is required
Signed-off-by Khem Raj <[email protected]>Signed-off-by Gary Thomas <[email protected]>
Build and run tested. Seems to work fine.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Otavio Salvador
AppliedQuoted 11 lines · Khem Raj
Removed already applied patches
License year changed thats why there is change in checksum
(quoted diff) +1
-1-// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2013 The Chromium Authors. All rights reserved.we see
rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
Quoted 7 lines
so we add
PACKAGE_DEBUG_SPLIT_STYLE= "debug-without-src"Enable SUID sandbox
Install ICU configuration file which is required
Signed-off-by Khem Raj <[email protected]>
Applied 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