chromium_24.0.1312.52.bb: Fix build with hardfp
PATCH 1/2 chromium_24.0.1312.52.bb: Fix build with hardfp
Add missing dep on gconf-2
Pass Wno-error=unused-local-typedefs to please gcc 4.8
--- recipes-browser/chromium/chromium_24.0.1312.52.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
recipes-browser/chromium/chromium_24.0.1312.52.bb +3 -2
@@ -1,7 +1,7 @@ DESCRIPTION = "Chromium browser" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=0750f191c9bbf46869b70508e7eb455b" -DEPENDS = "xextproto cairo nss gtk+ zlib-native libav libxi libgnome-keyring libxss cups ninja-native" +DEPENDS = "xextproto cairo nss gtk+ zlib-native libav libxi libgnome-keyring libxss cups ninja-native gconf" SRC_URI = "http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2 \ file://include.gypi \
@@ -35,7 +35,8 @@ EXTRA_OEGYP = " \ -I ${WORKDIR}/include.gypi \ -f ninja \ " - +ARMFPABI_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'arm_float_abi=hard', 'arm_float_abi=softfp', d)}" +export GYP_DEFINES="${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs'" do_configure() { cd ${S} # replace LD with CXX, to workaround a possible gyp issue?
Signature · 1 line
1.8.1.2
PATCH 2/2 chromium: Add recipes for 29.0.1518
--- .../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-29.0.1518.2/i586/include.gypi | 5 ++ .../chromium-29.0.1518.2/i586/oe-defaults.gypi | 15 ++++ .../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 ++++ recipes-browser/chromium/chromium_29.0.1518.2.bb | 72 +++++++++++++++++ 11 files changed, 276 insertions(+) create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/uninitialised-warning.patch create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/unistd-2.patch create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium_29.0.1518.2.bb
recipes-browser/chromium/chromium-29.0.1518.2/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-29.0.1518.2/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-29.0.1518.2/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-29.0.1518.2/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-29.0.1518.2/i586/include.gypi new file +5 -0
@@ -0,0 +1,5 @@ +{ + 'variables': { + 'target_arch': 'ia32', + } +}
recipes-browser/chromium/chromium-29.0.1518.2/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-29.0.1518.2/uninitialised-warning.patch new file +90 -0
90 lines not on this page · raw message
recipes-browser/chromium/chromium-29.0.1518.2/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-29.0.1518.2/x86-64/include.gypi new file +5 -0
@@ -0,0 +1,5 @@ +{ + 'variables': { + 'target_arch': 'x64', + } +}
recipes-browser/chromium/chromium-29.0.1518.2/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 new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
1.8.1.2
Re: [meta-browser][PATCH 2/2] chromium: Add recipes for 29.0.1518
Quoted 5 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>CC Eric Bénard <[email protected]>CC Denis Carikli <[email protected]>CC Otavio Salvador <[email protected]>
Quoted 13 lines
--- .../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-29.0.1518.2/i586/include.gypi | 5 ++ .../chromium-29.0.1518.2/i586/oe-defaults.gypi | 15 ++++ .../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 ++++ recipes-browser/chromium/chromium_29.0.1518.2.bb | 72 +++++++++++++++++ 11 files changed, 276 insertions(+)
both pushed to master.
Thanks
Eric
Re: [meta-browser][PATCH 2/2] chromium: Add recipes for 29.0.1518
In reply to Khem RajQuoted 18 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>CC Eric Bénard <[email protected]>CC Denis Carikli <[email protected]>CC Otavio Salvador <[email protected]>--- .../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-29.0.1518.2/i586/include.gypi | 5 ++ .../chromium-29.0.1518.2/i586/oe-defaults.gypi | 15 ++++ .../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 ++++ recipes-browser/chromium/chromium_29.0.1518.2.bb | 72 +++++++++++++++++ 11 files changed, 276 insertions(+)
Quoted 11 lines
create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv6/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/armv7a/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/i586/oe-defaults.gypi create mode 100644
recipes-browser/chromium/chromium-29.0.1518.2/uninitialised-warning.patchcreate mode 100644recipes-browser/chromium/chromium-29.0.1518.2/unistd-2.patchcreate mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/include.gypi create mode 100644 recipes-browser/chromium/chromium-29.0.1518.2/x86-64/oe-defaults.gypi create mode 100644 recipes-browser/chromium/chromium_29.0.1518.2.bb
... snip
Have you tried this? I just built it for my ARMv7a (i.MX6Q SabreLite) and it seems to hang up on any page that uses JavaScript. Try most any of the links on the "Chrome Help" page.
Maybe I'm missing something?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Re: [meta-browser][PATCH 2/2] chromium: Add recipes for 29.0.1518
Hi Gary,
Quoted 6 lines · Gary Thomas
Have you tried this? I just built it for my ARMv7a (i.MX6Q SabreLite) and it seems to hang up on any page that uses JavaScript. Try most any of the links on the "Chrome Help" page.
Maybe I'm missing something?
can you try to change
'v8_use_snapshot': 1,
to
'v8_use_snapshot': 0,
in oe-defaults.gypi ?
Eric
Re: [meta-browser][PATCH 2/2] chromium: Add recipes for 29.0.1518
Quoted 10 lines · Eric Bénard
Hi Gary,
Quoted 6 lines · Gary Thomas
Have you tried this? I just built it for my ARMv7a (i.MX6Q SabreLite) and it seems to hang up on any page that uses JavaScript. Try most any of the links on the "Chrome Help" page.
Maybe I'm missing something?
Quoted 8 lines
can you try to change
'v8_use_snapshot': 1,to
'v8_use_snapshot': 0,in oe-defaults.gypi ?
and was 24.0.1312.52 working on the i.MX6 ?
Eric
Re: [meta-browser][PATCH 2/2] chromium: Add recipes for 29.0.1518
In reply to Eric BénardQuoted 10 lines · Eric Bénard
Hi Gary,
Quoted 6 lines · Gary Thomas
Have you tried this? I just built it for my ARMv7a (i.MX6Q SabreLite) and it seems to hang up on any page that uses JavaScript. Try most any of the links on the "Chrome Help" page.
Maybe I'm missing something?
Quoted 7 lines
can you try to change
'v8_use_snapshot': 1,to
'v8_use_snapshot': 0,in oe-defaults.gypi ?
It looks like I was mistaken about this - it does seem to work (but wasn't immediately obvious to me). Sorry for the noise.
Note: I have tested it with both settings of v8_use_snapshot and they seem to behave the same.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------