chromium-wayland: update to 53.0.2785.14
PATCH v2 1/1 chromium-wayland: update to 53.0.2785.14
That is the latest version of Chromium that has been made work with the Ozone-Wayland project.
Patches have been rebased and configure flags were changed because existing ones were causing conflicts in the new version. An extra patch was added to prevent the build from failing when building without X11 libs present due to an unnecessary inclusion.
--- .../chromium/chromium-wayland_48.0.2548.0.bb | 36 --------- .../chromium/chromium-wayland_53.0.2785.143.bb | 37 +++++++++ .../0011-Replace-readdir_r-with-readdir.patch | 88 +++++----------------- .../add_missing_stat_h_include.patch | 2 +- .../guard-x11_desktop_handler-inclusion.patch | 13 ++++ .../chromium/chromium-wayland/remove-Werror.patch | 66 ++++++++-------- ...3-Remove-hard-coded-values-for-CC-and-CXX.patch | 11 ++- 7 files changed, 108 insertions(+), 145 deletions(-) delete mode 100644 recipes-browser/chromium/chromium-wayland_48.0.2548.0.bb create mode 100644 recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb create mode 100644 recipes-browser/chromium/chromium/chromium-wayland/guard-x11_desktop_handler-inclusion.patch
recipes-browser/chromium/chromium-wayland_48.0.2548.0.bb deleted +0 -36
@@ -1,36 +0,0 @@ -CHROMIUM_ENABLE_WAYLAND = "1" - -include chromium-browser.inc - -DEPENDS += "wayland libxkbcommon" - -SRC_URI += "\ - file://chromium-wayland/add_missing_stat_h_include.patch \ - file://0003-Remove-hard-coded-values-for-CC-and-CXX.patch \ - file://0004-Create-empty-i18n_process_css_test.html-file-to-avoi.patch \ - file://0005-Override-root-filesystem-access-restriction.patch \ - file://chromium-wayland/0007-Workaround-for-glib-related-build-error-with-ozone-w.patch \ - file://chromium-wayland/0011-Replace-readdir_r-with-readdir.patch \ - file://chromium-wayland/remove-Werror.patch \ - ${@bb.utils.contains('PACKAGECONFIG', 'component-build', 'file://component-build.gypi', '', d)} \ - ${@bb.utils.contains('PACKAGECONFIG', 'ignore-lost-context', 'file://0001-Remove-accelerated-Canvas-support-from-blacklist.patch', '', d)} \ -" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" -SRC_URI[md5sum] = "0534981cc21efcd11e64b67b85854420" -SRC_URI[sha256sum] = "4ca4e2adb340b3fb4d502266ad7d6bda45fa3519906dbf63cce11a63f680dbc8" - -OZONE_WAYLAND_GIT_BRANCH = "Milestone-SouthSister" -OZONE_WAYLAND_GIT_SRCREV = "c605505044af3345a276abbd7c29fd53db1dea40" - -SRC_URI += "git://github.com/01org/ozone-wayland.git;destsuffix=${OZONE_WAYLAND_GIT_DESTSUFFIX};branch=${OZONE_WAYLAND_GIT_BRANCH};rev=${OZONE_WAYLAND_GIT_SRCREV} file://chromium-wayland/0006-Remove-GBM-support-from-wayland.gyp.patch" - -# Component build is unsupported in ozone-wayland for Chromium 48 -python() { - if not bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d): - raise bb.parse.SkipPackage("Wayland is not available") - if bb.utils.contains('PACKAGECONFIG', 'component-build', True, False, d): - bb.fatal("Chromium 48 Wayland version cannot be built in component-mode") -} - -CHROMIUM_WAYLAND_GYP_DEFINES = "use_ash=1 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1"
recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb new file +37 -0
@@ -0,0 +1,37 @@ +CHROMIUM_ENABLE_WAYLAND = "1" + +include chromium-browser.inc + +DEPENDS += "wayland libxkbcommon" + +SRC_URI += "\ + file://chromium-wayland/add_missing_stat_h_include.patch \ + file://0003-Remove-hard-coded-values-for-CC-and-CXX.patch \ + file://0004-Create-empty-i18n_process_css_test.html-file-to-avoi.patch \ + file://0005-Override-root-filesystem-access-restriction.patch \ + file://chromium-wayland/0007-Workaround-for-glib-related-build-error-with-ozone-w.patch \ + file://chromium-wayland/0011-Replace-readdir_r-with-readdir.patch \ + file://chromium-wayland/remove-Werror.patch \ + file://chromium-wayland/guard-x11_desktop_handler-inclusion.patch \ + ${@bb.utils.contains('PACKAGECONFIG', 'component-build', 'file://component-build.gypi', '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'ignore-lost-context', 'file://0001-Remove-accelerated-Canvas-support-from-blacklist.patch', '', d)} \ +" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" +SRC_URI[md5sum] = "fdc737af242421b2a9a0bb84f6b17040" +SRC_URI[sha256sum] = "c52a58b79bfb27bb87e4a0a6ff213001485fbc747657b290f75d39ddce07dcc3" + +OZONE_WAYLAND_GIT_BRANCH = "rebase_m53" +OZONE_WAYLAND_GIT_SRCREV = "1a5e7982bf7b8743c20a20e5aa33d9d6a42d48d6" + +SRC_URI += "git://github.com/01org/ozone-wayland.git;destsuffix=${OZONE_WAYLAND_GIT_DESTSUFFIX};branch=${OZONE_WAYLAND_GIT_BRANCH};rev=${OZONE_WAYLAND_GIT_SRCREV} file://chromium-wayland/0006-Remove-GBM-support-from-wayland.gyp.patch" + +# Component build is unsupported in ozone-wayland for Chromium 53 +python() { + if not bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d): + raise bb.parse.SkipPackage("Wayland is not available") + if bb.utils.contains('PACKAGECONFIG', 'component-build', True, False, d): + bb.fatal("Chromium 53 Wayland version cannot be built in component-mode") +} + +CHROMIUM_WAYLAND_GYP_DEFINES = "use_ash=0 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1 ozone_auto_platforms=0 ozone_platform_wayland=1"
recipes-browser/chromium/chromium/chromium-wayland/0011-Replace-readdir_r-with-readdir.patch +18 -70
147 lines not on this page · raw message
recipes-browser/chromium/chromium/chromium-wayland/add_missing_stat_h_include.patch +1 -1
@@ -34,6 +34,6 @@ Upstream-Status: Pending #include <mntent.h> #include <stdio.h> +#include <sys/stat.h> - + #include <limits> #include <list>
recipes-browser/chromium/chromium/chromium-wayland/guard-x11_desktop_handler-inclusion.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc +index e9899b0..f9103d0 100644 +--- a/chrome/browser/ui/startup/startup_browser_creator.cc ++++ b/chrome/browser/ui/startup/startup_browser_creator.cc +@@ -101,7 +101,7 @@ + #include "chrome/browser/metrics/jumplist_metrics_win.h" + #endif + +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) + #include "ui/views/widget/desktop_aura/x11_desktop_handler.h" + #endif +
recipes-browser/chromium/chromium/chromium-wayland/remove-Werror.patch +34 -32
95 lines not on this page · raw message
recipes-browser/chromium/files/0003-Remove-hard-coded-values-for-CC-and-CXX.patch +5 -6
@@ -21,7 +21,7 @@ diff --git a/build/common.gypi b/build/common.gypi index 7ec5ae2..11e8d1d 100644 --- a/build/common.gypi +++ b/build/common.gypi -@@ -6047,16 +6047,6 @@ +@@ -6027,16 +6027,6 @@ ['CXX.host', '<(host_cxx)'], ], }],
@@ -35,9 +35,8 @@ index 7ec5ae2..11e8d1d 100644 - ['CXX.host', '<(host_cxx)'], - ], - }], - # TODO(yyanagisawa): supports GENERATOR==make - # make generator doesn't support CC_wrapper without CC - # in make_global_settings yet. + ['use_goma==1', { + 'make_global_settings': [ + ['CC_wrapper', '<(gomadir)/gomacc'], -- -1.9.1 - +2.1.4
Signature · 1 line
2.7.4
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc. I'm using VC4, which has a DRM/KMS interface (it seems that DRM interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Basically, it seems that USE_XKBCOMMON is not defined when compiling keycodes.
Is it something that you saw as well? Or do you have a different setting/experience?
Just for reference, here is the patch I need (right now, I'm triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
ui/events/keycodes/events_keycodes.gyp +3 -0
@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON', + ], }, ], 'conditions': [
Cheers,
Herve
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jacobo Aragunde Pérez
Sent: mercredi 25 janvier 2017 16:07
To: [email protected]
Cc: [email protected]
Subject: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14
That is the latest version of Chromium that has been made work with the Ozone-Wayland project.
Patches have been rebased and configure flags were changed because existing ones were causing conflicts in the new version. An extra patch was added to prevent the build from failing when building without X11 libs present due to an unnecessary inclusion.
--- .../chromium/chromium-wayland_48.0.2548.0.bb | 36 --------- .../chromium/chromium-wayland_53.0.2785.143.bb | 37 +++++++++ .../0011-Replace-readdir_r-with-readdir.patch | 88 +++++----------------- .../add_missing_stat_h_include.patch | 2 +- .../guard-x11_desktop_handler-inclusion.patch | 13 ++++ .../chromium/chromium-wayland/remove-Werror.patch | 66 ++++++++-------- ...3-Remove-hard-coded-values-for-CC-and-CXX.patch | 11 ++- 7 files changed, 108 insertions(+), 145 deletions(-) delete mode 100644 recipes-browser/chromium/chromium-wayland_48.0.2548.0.bb create mode 100644 recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb create mode 100644 recipes-browser/chromium/chromium/chromium-wayland/guard-x11_desktop_handler-inclusion.patch
recipes-browser/chromium/chromium-wayland_48.0.2548.0.bb deleted +0 -36
@@ -1,36 +0,0 @@ -CHROMIUM_ENABLE_WAYLAND = "1" - -include chromium-browser.inc - -DEPENDS += "wayland libxkbcommon" - -SRC_URI += "\ - file://chromium-wayland/add_missing_stat_h_include.patch \ - file://0003-Remove-hard-coded-values-for-CC-and-CXX.patch \ - file://0004-Create-empty-i18n_process_css_test.html-file-to-avoi.patch \ - file://0005-Override-root-filesystem-access-restriction.patch \ - file://chromium-wayland/0007-Workaround-for-glib-related-build-error-with-ozone-w.patch \ - file://chromium-wayland/0011-Replace-readdir_r-with-readdir.patch \ - file://chromium-wayland/remove-Werror.patch \ - ${@bb.utils.contains('PACKAGECONFIG', 'component-build', 'file://component-build.gypi', '', d)} \ - ${@bb.utils.contains('PACKAGECONFIG', 'ignore-lost-context', 'file://0001-Remove-accelerated-Canvas-support-from-blacklist.patch', '', d)} \ -" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" -SRC_URI[md5sum] = "0534981cc21efcd11e64b67b85854420" -SRC_URI[sha256sum] = "4ca4e2adb340b3fb4d502266ad7d6bda45fa3519906dbf63cce11a63f680dbc8" - -OZONE_WAYLAND_GIT_BRANCH = "Milestone-SouthSister" -OZONE_WAYLAND_GIT_SRCREV = "c605505044af3345a276abbd7c29fd53db1dea40" - -SRC_URI += "git://github.com/01org/ozone-wayland.git;destsuffix=${OZONE_WAYLAND_GIT_DESTSUFFIX};branch=${OZONE_WAYLAND_GIT_BRANCH};rev=${OZONE_WAYLAND_GIT_SRCREV} file://chromium-wayland/0006-Remove-GBM-support-from-wayland.gyp.patch" - -# Component build is unsupported in ozone-wayland for Chromium 48 -python() { - if not bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d): - raise bb.parse.SkipPackage("Wayland is not available") - if bb.utils.contains('PACKAGECONFIG', 'component-build', True, False, d): - bb.fatal("Chromium 48 Wayland version cannot be built in component-mode") -} - -CHROMIUM_WAYLAND_GYP_DEFINES = "use_ash=1 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1"
recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb new file +37 -0
@@ -0,0 +1,37 @@ +CHROMIUM_ENABLE_WAYLAND = "1" + +include chromium-browser.inc + +DEPENDS += "wayland libxkbcommon" + +SRC_URI += "\ + file://chromium-wayland/add_missing_stat_h_include.patch \ + file://0003-Remove-hard-coded-values-for-CC-and-CXX.patch \ + file://0004-Create-empty-i18n_process_css_test.html-file-to-avoi.patch \ + file://0005-Override-root-filesystem-access-restriction.patch \ + file://chromium-wayland/0007-Workaround-for-glib-related-build-error-with-ozone-w.patch \ + file://chromium-wayland/0011-Replace-readdir_r-with-readdir.patch \ + file://chromium-wayland/remove-Werror.patch \ + file://chromium-wayland/guard-x11_desktop_handler-inclusion.patch \ + ${@bb.utils.contains('PACKAGECONFIG', 'component-build', 'file://component-build.gypi', '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'ignore-lost-context', +'file://0001-Remove-accelerated-Canvas-support-from-blacklist.patch', '', d)} \ " + +LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" +SRC_URI[md5sum] = "fdc737af242421b2a9a0bb84f6b17040" +SRC_URI[sha256sum] = "c52a58b79bfb27bb87e4a0a6ff213001485fbc747657b290f75d39ddce07dcc3" + +OZONE_WAYLAND_GIT_BRANCH = "rebase_m53" +OZONE_WAYLAND_GIT_SRCREV = "1a5e7982bf7b8743c20a20e5aa33d9d6a42d48d6" + +SRC_URI += "git://github.com/01org/ozone-wayland.git;destsuffix=${OZONE_WAYLAND_GIT_DESTSUFFIX};branch=${OZONE_WAYLAND_GIT_BRANCH};rev=${OZONE_WAYLAND_GIT_SRCREV} file://chromium-wayland/0006-Remove-GBM-support-from-wayland.gyp.patch" + +# Component build is unsupported in ozone-wayland for Chromium 53 +python() { + if not bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d): + raise bb.parse.SkipPackage("Wayland is not available") + if bb.utils.contains('PACKAGECONFIG', 'component-build', True, False, d): + bb.fatal("Chromium 53 Wayland version cannot be built in +component-mode") } + +CHROMIUM_WAYLAND_GYP_DEFINES = "use_ash=0 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1 ozone_auto_platforms=0 ozone_platform_wayland=1"
recipes-browser/chromium/chromium/chromium-wayland/0011-Replace-re renamed from recipes-browser/chromium/chromium/chromium-wayland/0011-Replace-readdir_r-with-readdir.patch +0 -0
+++ addir_r-with-readdir.patch
@@ -1,4 +1,4 @@
-From feb645ae0259582e2075691047e27b5e064ec160 Mon Sep 17 00:00:00 2001
+From 3781812308b7aea64b3be037202c940e1a7ebf03 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <[email protected]>
Date: Thu, 19 May 2016 21:12:05 +0200
Subject: [PATCH] Replace readdir_r with readdir @@ -8,27 +8,26 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=19056
---
- base/files/file_enumerator_posix.cc | 15 ++++++++++--- + base/files/file_enumerator_posix.cc | 15 +++++++++++--- net/disk_cache/simple/simple_index_file_posix.cc | 10 ++++++--- - sandbox/linux/services/proc_util.cc | 24 +++++++++++++-------- - third_party/boringssl/src/crypto/directory_posix.c | 25 +++------------------- - .../crashpad/crashpad/util/posix/close_multiple.cc | 8 +++++-- - third_party/leveldatabase/env_chromium.cc | 13 ++++++++--- - 6 files changed, 53 insertions(+), 42 deletions(-) + sandbox/linux/services/proc_util.cc | 24 ++++++++++++++-------- + .../crashpad/crashpad/util/posix/close_multiple.cc | 8 ++++++-- + third_party/leveldatabase/env_chromium.cc | 13 +++++++++---
+ 5 files changed, 50 insertions(+), 20 deletions(-)
diff --git a/base/files/file_enumerator_posix.cc b/base/files/file_enumerator_posix.cc
-index 7533a24..637b8cd 100644
+index fb4010a..cf2fd40 100644
--- a/base/files/file_enumerator_posix.cc
+++ b/base/files/file_enumerator_posix.cc
-@@ -7,6 +7,7 @@
- #include <dirent.h>
+@@ -8,6 +8,7 @@
#include <errno.h>
#include <fnmatch.h>
+ #include <stdint.h>
+#include <string.h>
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"
-@@ -129,9 +130,17 @@ bool FileEnumerator::ReadDirectory(std::vector<FileInfo>* entries, +@@ -131,9 +132,17 @@ bool +FileEnumerator::ReadDirectory(std::vector<FileInfo>* entries,
additional space for pathname may be needed
#endif
@@ -50,7 +49,7 @@ index 7533a24..637b8cd 100644
info.filename_ = FilePath(dent->d_name);
diff --git a/net/disk_cache/simple/simple_index_file_posix.cc b/net/disk_cache/simple/simple_index_file_posix.cc
-index 586699d..bbe81fc 100644
+index e0dd3dd..b155d92 100644
--- a/net/disk_cache/simple/simple_index_file_posix.cc
+++ b/net/disk_cache/simple/simple_index_file_posix.cc
@@ -34,8 +34,12 @@ bool SimpleIndexFile::TraverseCacheDirectory(
@@ -78,10 +77,10 @@ index 586699d..bbe81fc 100644
}
diff --git a/sandbox/linux/services/proc_util.cc b/sandbox/linux/services/proc_util.cc
-index 8341b4a..1603415 100644
+index b6d58de..3c7bb84 100644
--- a/sandbox/linux/services/proc_util.cc
+++ b/sandbox/linux/services/proc_util.cc
-@@ -50,15 +50,18 @@ int ProcUtil::CountOpenFds(int proc_fd) {
+@@ -51,15 +51,18 @@ int ProcUtil::CountOpenFds(int proc_fd) {
CHECK(dir);
int count = 0;
@@ -104,7 +103,7 @@ index 8341b4a..1603415 100644
if (fd_num == proc_fd || fd_num == proc_self_fd) {
continue;
}
-@@ -80,22 +83,25 @@ bool ProcUtil::HasOpenDirectory(int proc_fd) {
+@@ -81,22 +84,25 @@ bool ProcUtil::HasOpenDirectory(int proc_fd) {
ScopedDIR dir(fdopendir(proc_self_fd));
CHECK(dir);@@ -135,59 +134,8 @@ index 8341b4a..1603415 100644
if (S_ISDIR(s.st_mode)) {
return true;
}-diff --git a/third_party/boringssl/src/crypto/directory_posix.c b/third_party/boringssl/src/crypto/directory_posix.c -index b944b69..17143a7 100644
---- a/third_party/boringssl/src/crypto/directory_posix.c
-+++ b/third_party/boringssl/src/crypto/directory_posix.c
-@@ -24,10 +24,6 @@
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
--#if !defined(_POSIX_C_SOURCE)
--#define _POSIX_C_SOURCE 201409 /* for readdir_r */ --#endif
--
- #include "directory.h"
-
-
-@@ -38,21 +34,6 @@
- #include <stdlib.h>
- #include <string.h>
-
--#if defined(OPENSSL_PNACL)
--/* pnacl doesn't include readdir_r! So we do the best we can. */ --int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) {
-- errno = 0;
-- *result = readdir(dirp);
-- if (*result != NULL) {-- return 0;
-- }
-- if (errno) {
-- return 1;
-- }
-- return 0;
--}
--#endif
--
- struct OPENSSL_dir_context_st {
- DIR *dir;
- struct dirent dirent;
-@@ -85,10 +66,10 @@ const char *OPENSSL_DIR_read(OPENSSL_DIR_CTX **ctx, const char *directory) {
- }
- }
-
-- if (readdir_r((*ctx)->dir, &(*ctx)->dirent, &dirent) != 0 ||
-- dirent == NULL) {
-+ errno = 0; -+ dirent = readdir((*ctx)->dir); -+ if (dirent == NULL || errno != 0)
- return 0;
-- }
-
- return (*ctx)->dirent.d_name;
- }
diff --git a/third_party/crashpad/crashpad/util/posix/close_multiple.cc b/third_party/crashpad/crashpad/util/posix/close_multiple.cc
-index d94d575..4c1287a 100644
+index fea7ca0..0b23b83 100644
--- a/third_party/crashpad/crashpad/util/posix/close_multiple.cc
+++ b/third_party/crashpad/crashpad/util/posix/close_multiple.cc
@@ -100,10 +100,14 @@ bool CloseMultipleNowOrOnExecUsingFDDir(int fd, int preserve_fd) { @@ -208,10 +156,10 @@ index d94d575..4c1287a 100644
if (strcmp(entry_name, ".") == 0 || strcmp(entry_name, "..") == 0) {
continue; diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
-index 939534c..f23142e 100644
+index 200a12a..4b5d86c 100644
--- a/third_party/leveldatabase/env_chromium.cc
+++ b/third_party/leveldatabase/env_chromium.cc
-@@ -79,10 +79,17 @@ static base::File::Error GetDirectoryEntries(const FilePath& dir_param, +@@ -82,10 +82,17 @@ static base::File::Error GetDirectoryEntries(const
+FilePath& dir_param,
DIR* dir = opendir(dir_string.c_str());
if (!dir)
return base::File::OSErrorToFileError(errno);
@@ -233,5 +181,5 @@ index 939534c..f23142e 100644
continue;
result->push_back(FilePath::FromUTF8Unsafe(dent->d_name)); --
-2.7.4
+2.1.4
recipes-browser/chromium/chromium/chromium-wayland/add_missing_sta renamed from recipes-browser/chromium/chromium/chromium-wayland/add_missing_stat_h_include.patch +0 -0
+++ t_h_include.patch
@@ -34,6 +34,6 @@ Upstream-Status: Pending
#include <mntent.h>
#include <stdio.h>
+#include <sys/stat.h>
-
+ #include <limits>
#include <list>
recipes-browser/chromium/chromium/chromium-wayland/guard-x11_deskt new file +0 -0
+++ op_handler-inclusion.patch
@@ -0,0 +1,13 @@
+diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc +b/chrome/browser/ui/startup/startup_browser_creator.cc +index e9899b0..f9103d0 100644
+--- a/chrome/browser/ui/startup/startup_browser_creator.cc ++++ b/chrome/browser/ui/startup/startup_browser_creator.cc +@@ -101,7 +101,7 @@
+ #include "chrome/browser/metrics/jumplist_metrics_win.h"
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
+ #include "ui/views/widget/desktop_aura/x11_desktop_handler.h"
+ #endif
+
recipes-browser/chromium/chromium/chromium-wayland/remove-Werror.p renamed from recipes-browser/chromium/chromium/chromium-wayland/remove-Werror.patch +0 -0
+++ atch
@@ -1,8 +1,8 @@
-Index: chromium-48.0.2548.0/build/common.gypi +Index: chromium-53.0.2785.143/build/common.gypi
===================================================================
---- chromium-48.0.2548.0.orig/build/common.gypi -+++ chromium-48.0.2548.0/build/common.gypi -@@ -1421,7 +1421,7 @@
+--- chromium-53.0.2785.143.orig/build/common.gypi ++++ chromium-53.0.2785.143/build/common.gypi +@@ -1431,7 +1431,7 @@
# Disable fatal linker warnings, similarly to how we make it possible # to disable -Werror (e.g. for different toolchain versions).
@@ -11,9 +11,9 @@ Index: chromium-48.0.2548.0/build/common.gypi
'release_valgrind_build%': 0,
-@@ -3135,12 +3135,6 @@
- '-Wsign-compare',
- ]
+@@ -3052,12 +3052,6 @@
+ # third-party code either.
+ 'cflags!': [ '-Wall' ],
}],
- # TODO: Fix all warnings on chromeos too.
- [ 'os_posix==1 and OS!="mac" and OS!="ios" and (clang!=1 or chromeos==1)', {
@@ -21,10 +21,10 @@ Index: chromium-48.0.2548.0/build/common.gypi
- '-Werror',
- ],
- }],
- [ 'os_posix==1 and os_bsd!=1 and OS!="mac" and OS!="android"', {
- 'cflags': [
- # Don't warn about ignoring the return value from e.g. close().
-@@ -3692,10 +3686,10 @@
+ [ 'OS=="win"', {
+ 'defines': [
+ '_CRT_SECURE_NO_DEPRECATE', @@ -3593,10 +3587,10 @@
}],
['os_posix==1 and OS!="mac" and OS!="ios"', {
'target_defaults': {
@@ -35,34 +35,36 @@ Index: chromium-48.0.2548.0/build/common.gypi
- 'werror%': '-Werror',
+ 'werror%': '',
'libraries_for_target%': '',- },
- 'defines': [
-@@ -5045,7 +5039,7 @@
+ 'conditions' : [
+ # Enable -Wextra for chromium_code when we control the compiler.
+@@ -5062,7 +5056,7 @@
'GCC_OBJC_CALL_CXX_CDTORS': 'YES', # -fobjc-call-cxx-cdtors
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
- 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
-+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
- 'GCC_VERSION': '4.2',
- 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
++ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
+ 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'USE_HEADERMAP': 'NO',-Index: chromium-48.0.2548.0/build/config/compiler/BUILD.gn
+ 'WARNING_CFLAGS': [
+Index: chromium-53.0.2785.143/build/config/compiler/BUILD.gn
===================================================================
---- chromium-48.0.2548.0.orig/build/config/compiler/BUILD.gn -+++ chromium-48.0.2548.0/build/config/compiler/BUILD.gn -@@ -687,7 +687,6 @@ config("default_warnings") {
- cflags += [
- # Enables. - "-Wendif-labels", # Weird old-style text after an #endif. -- "-Werror", # Warnings as errors.
-
- # Disables.
- "-Wno-missing-field-initializers", # "struct foo f = {0};"
-Index: chromium-48.0.2548.0/build/nocompile.gypi +--- chromium-53.0.2785.143.orig/build/config/compiler/BUILD.gn ++++ chromium-53.0.2785.143/build/config/compiler/BUILD.gn +@@ -1039,9 +1039,6 @@ config("chromium_code") {
+ cflags = [ "/W4" ] # Warning level 4.
+ } else {
+ cflags = [ "-Wall" ]
+- if (treat_warnings_as_errors) {
+- cflags += [ "-Werror" ]
+- }
+ if (is_clang) {
+ # Enable -Wextra for chromium_code when we control the compiler.
+ cflags += [ "-Wextra" ]+Index: chromium-53.0.2785.143/build/nocompile.gypi
===================================================================
---- chromium-48.0.2548.0.orig/build/nocompile.gypi -+++ chromium-48.0.2548.0/build/nocompile.gypi -@@ -81,7 +81,7 @@
+--- chromium-53.0.2785.143.orig/build/nocompile.gypi ++++ chromium-53.0.2785.143/build/nocompile.gypi +@@ -82,7 +82,7 @@
'<(nocompile_driver)',
'4', # number of compilers to invoke in parallel.
'<(RULE_INPUT_PATH)',recipes-browser/chromium/files/0003-Remove-hard-coded-values-for-C renamed from recipes-browser/chromium/files/0003-Remove-hard-coded-values-for-CC-and-CXX.patch +0 -0
+++ C-and-CXX.patch
@@ -21,7 +21,7 @@ diff --git a/build/common.gypi b/build/common.gypi index 7ec5ae2..11e8d1d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
-@@ -6047,16 +6047,6 @@
+@@ -6027,16 +6027,6 @@
['CXX.host', '<(host_cxx)'],
],
}],
@@ -35,9 +35,8 @@ index 7ec5ae2..11e8d1d 100644
- ['CXX.host', '<(host_cxx)'],
- ],
- }],
- # TODO(yyanagisawa): supports GENERATOR==make
- # make generator doesn't support CC_wrapper without CC
- # in make_global_settings yet.
+ ['use_goma==1', {+ 'make_global_settings': [
+ ['CC_wrapper', '<(gomadir)/gomacc'],
--
-1.9.1
-
+2.1.4
--
2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 13 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc. I'm using VC4, which has a DRM/KMS interface (it seems that DRM interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Basically, it seems thatUSE_XKBCOMMONis not defined when compiling keycodes.Is it something that you saw as well? Or do you have a different setting/experience?
Just for reference, here is the patch I need (right now, I'm triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 5 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',
This seems fine to me. It should also be proposed upstream as well I think.
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 3 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
Julien
Quoted 36 lines · Julien Brianceau (jbriance)
Quoted 25 lines
...
Quoted 3 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
This error definitely rings a bell to me, although I haven't reproduced it in my latest builds for minnowboard. It could happen with certain build flags, maybe some of those are enabled for arm builds but not for intel ones.
The patch looks definitely good, and because gyp is deprecated in upstream master, I think it's ok to keep it downstream. Thank you :)
Signature · 1 line
Jacobo
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 3 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 2 lines
Julien
Re: ***SPAM*** Re: [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
Herve
Quoted 63 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 2 lines
Julien
Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: ***SPAM*** Re: [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 77 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 56 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 7 lines
Quoted 2 lines
Julien
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Khem Raj,
sorry, I didn't understand your response. Do you prefer I send a new version of the rebase patch, including Herve's fix? In that case, Herve, I think I could use jbriance's upstream patch so you don't need to generate it, if you all agree. I'd use the one that didn't get merged [1], because we need the .gyp part too.
Future rebases will require changes to use GN, at that point we should probably get rid of this custom patch. That's a problem for another day, though :)
[1] https://codereview.chromium.org/2239833003/#ps1
Thank you all,
Signature · 2 lines
Jacobo Aragunde Software Engineer at Igalia
Quoted 82 lines · Khem Raj
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 77 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 56 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
ui/events/keycodes/events_keycodes.gyp line 25
Quoted 6 lines
ui/events/keycodes/events_keycodes.gyp +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 7 lines
Quoted 2 lines
Julien
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 11 lines · Jacobo Aragunde Pérez
Hi Khem Raj,
sorry, I didn't understand your response. Do you prefer I send a new version of the rebase patch, including Herve's fix? In that case, Herve, I think I could use jbriance's upstream patch so you don't need to generate it, if you all agree. I'd use the one that didn't get merged [1], because we need the .gyp part too.
Future rebases will require changes to use GN, at that point we should probably get rid of this custom patch. That's a problem for another day, though :)
I was thinking both of Herve and you will send your patches independently after rework but if you can integrate both that would be wonderful.
Quoted 99 lines
[1] https://codereview.chromium.org/2239833003/#ps1
Thank you all,
--
Jacobo Aragunde
Software Engineer at IgaliaQuoted 82 lines · Khem Raj
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 77 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 56 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
Review line 25
Quoted 6 lines
(quoted diff) +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 7 lines
Quoted 2 lines
Julien
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 10 lines · Khem Raj
Quoted 8 lines · Jacobo Aragunde Pérez
Hi Khem Raj,
sorry, I didn't understand your response. Do you prefer I send a new version of the rebase patch, including Herve's fix? In that case, Herve, I think I could use jbriance's upstream patch so you don't need to generate it, if you all agree. I'd use the one that didn't get merged [1], because we need the .gyp part too.
Quoted 8 lines
Quoted 3 lines
Future rebases will require changes to use GN, at that point we should probably get rid of this custom patch. That's a problem for another day, though :)
I was thinking both of Herve and you will send your patches independently after rework but if you can integrate both that would be wonderful.
I definitely can, it's easy enough by picking Julien's diff from Chromium code review. I've updated my patch and just triggered a build to make sure everything is in place, it will compile overnight. I just don't want to "steal" Herve's idea, so I'll wait for his blessing :)
Best,
Signature · 2 lines
Jacobo Aragunde Software Engineer at Igalia
Quoted 81 lines
Quoted 81 lines
[1] https://codereview.chromium.org/2239833003/#ps1
Thank you all,
--
Jacobo Aragunde
Software Engineer at IgaliaQuoted 71 lines · Khem Raj
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 66 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 58 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
Review line 25
Quoted 6 lines
(quoted diff) +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 2 lines
Julien
Hi Jacobo, Khem,
I'm traveling, so not able to access my build system for a few more days.
I didn't check Julien's patch yet, so as long as it does at least what mine does, it should be OK for me. I'm open to whatever solution, whether I regenerate a patch or Jacobo integrates it in his.
One thing I will do, though, is test the resulting recipe on my build platform, to see if it's still working in my configuration.
Cheers,
Herve
Quoted 118 lines · Jacobo Aragunde Pérez
Quoted 12 lines · Khem Raj
Quoted 8 lines · Jacobo Aragunde Pérez
Hi Khem Raj,
sorry, I didn't understand your response. Do you prefer I send a new version of the rebase patch, including Herve's fix? In that case, Herve, I think I could use jbriance's upstream patch so you don't need to generate it, if you all agree. I'd use the one that didn't get merged [1], because we need the .gyp part too.
Quoted 8 lines
Quoted 3 lines
Future rebases will require changes to use GN, at that point we should probably get rid of this custom patch. That's a problem for another day, though :)
I was thinking both of Herve and you will send your patches independently after rework but if you can integrate both that would be wonderful.
I definitely can, it's easy enough by picking Julien's diff from Chromium code review. I've updated my patch and just triggered a build to make sure everything is in place, it will compile overnight. I just don't want to "steal" Herve's idea, so I'll wait for his blessing :)
Best,
Signature · 2 lines
Jacobo Aragunde Software Engineer at IgaliaQuoted 81 lines
Quoted 81 lines
[1] https://codereview.chromium.org/2239833003/#ps1
Thank you all,
--
Jacobo Aragunde
Software Engineer at IgaliaQuoted 72 lines · Khem Raj
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 67 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 58 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
Review line 25
Quoted 6 lines
(quoted diff) +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 2 lines
Julien
Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi again,
Otavio already merged the v2 of the update patch (thanks!), so I'll send the change we are discussing as a separate patch.
Best,
Signature · 2 lines
Jacobo Aragunde Software Engineer at Igalia
Quoted 129 lines · Herve Jourdain
Hi Jacobo, Khem,
I'm traveling, so not able to access my build system for a few more days.
I didn't check Julien's patch yet, so as long as it does at least what mine does, it should be OK for me. I'm open to whatever solution, whether I regenerate a patch or Jacobo integrates it in his.
One thing I will do, though, is test the resulting recipe on my build platform, to see if it's still working in my configuration.Cheers,
HerveQuoted 118 lines · Jacobo Aragunde Pérez
Quoted 12 lines · Khem Raj
Quoted 8 lines · Jacobo Aragunde Pérez
Hi Khem Raj,
sorry, I didn't understand your response. Do you prefer I send a new version of the rebase patch, including Herve's fix? In that case, Herve, I think I could use jbriance's upstream patch so you don't need to generate it, if you all agree. I'd use the one that didn't get merged [1], because we need the .gyp part too.
Quoted 8 lines
Quoted 3 lines
Future rebases will require changes to use GN, at that point we should probably get rid of this custom patch. That's a problem for another day, though :)
I was thinking both of Herve and you will send your patches independently after rework but if you can integrate both that would be wonderful.
I definitely can, it's easy enough by picking Julien's diff from Chromium code review. I've updated my patch and just triggered a build to make sure everything is in place, it will compile overnight. I just don't want to "steal" Herve's idea, so I'll wait for his blessing :)
Best,
Signature · 2 lines
Jacobo Aragunde Software Engineer at IgaliaQuoted 81 lines
Quoted 81 lines
[1] https://codereview.chromium.org/2239833003/#ps1
Thank you all,
--
Jacobo Aragunde
Software Engineer at IgaliaQuoted 72 lines · Khem Raj
Hi Herve
Yes please send a V2 with suggested changes.
Quoted 67 lines · Herve Jourdain
Hi Khem,
Shall I generate a proper patch with the proper header? Or should Jacobo add that to his patch? I'm not even sure the patch is accepted on master yet.
Cheers,
HerveQuoted 58 lines · Khem Raj
Quoted 46 lines · Julien Brianceau (jbriance)
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: vendredi 27 janvier 2017 02:47
To: [email protected]
Subject: Re: [oe] [meta-browser][PATCH v2] chromium-wayland: update to 53.0.2785.14Quoted 4 lines · Herve Jourdain
Hi Jacob,
I've been able to compile chromium-wayland 53.0.2785.14 on
RaspberryPi, with Wayland only (no X11), BUT I had to add an additional patch for it to work, or else I get an error in ui/events/keycodes/keyboard_code_conversion_xkb.cc.
Quoted 1 line
I'm using VC4, which has a DRM/KMS interface (it seems that DRM
interface is required by ozone-wayland), but this patch seems to not be related to RaspberryPi itself.
Quoted 1 line
Basically, it seems that
USE_XKBCOMMONis not defined when compilingkeycodes.
Quoted 2 lines
Is it something that you saw as well? Or do you have a different
setting/experience?
Quoted 2 lines
Just for reference, here is the patch I need (right now, I'm
triggering it from meta-raspberrypi, but I believe it may be needed in meta-browser).
Quoted 2 lines
--- a/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:01.767271256 +0800
Quoted 1 line
+++ b/ui/events/keycodes/events_keycodes.gyp 2017-01-23
19:12:11.503048216 +0800
Quoted 10 lines
Review line 25
Quoted 6 lines
(quoted diff) +2
-0@@ -21,6 +21,9 @@ 'scoped_xkb.h', 'xkb_keysym.h', ], + 'defines': [ + 'USE_XKBCOMMON',This seems fine to me. It should also be proposed upstream as well I think.
Quoted 2 lines
For the record, I've already tried to upstream a similar change (see Patch Set 1 of review https://codereview.chromium.org/2239833003/), but only the GN part has been accepted as gyp support has been removed in Chromium 54.
thats we should make a note of this in patch header. We will have to remove it or replace it as well when we upgrade chromium.
Quoted 2 lines
Julien
Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel