meta-browser][PATCH V2] cef3: Add recipe for Chromium Embedded Framework
CEF is a framework to embed chromium based browsers into other applications
--- .../cef3/01_get_svn_version_from_LASTCHANGE.patch | 25 +++++ recipes-browser/chromium/cef3_280796.bb | 125 +++++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch create mode 100644 recipes-browser/chromium/cef3_280796.bb
recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch new file +25 -0
@@ -0,0 +1,25 @@ +diff --git a/cef/tools/make_version_header.py b/cef/tools/make_version_header.py +index 84d49f5..395c2cf 100644 +--- a/cef/tools/make_version_header.py ++++ b/cef/tools/make_version_header.py +@@ -64,6 +64,8 @@ def write_svn_header(header, chrome_version, cef_version, cpp_header_dir): + revision = svn.get_revision() + elif git.is_checkout('.'): + revision = git.get_svn_revision() ++ elif os.path.isfile("../build/util/LASTCHANGE"): ++ revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip() + else: + raise Exception('Not a valid checkout') + +diff --git a/cef/tools/revision.py b/cef/tools/revision.py +index 1d94602..eb89e3b 100644 +--- a/cef/tools/revision.py ++++ b/cef/tools/revision.py +@@ -16,6 +16,8 @@ if os.path.exists(os.path.join('.', '.svn')): + sys.stdout.write(svn.get_revision()) + elif os.path.exists(os.path.join('.', '.git')): + sys.stdout.write(git.get_svn_revision()) ++elif os.path.isfile("../build/util/LASTCHANGE"): ++ revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip() + else: + raise Exception('Not a valid checkout')
recipes-browser/chromium/cef3_280796.bb new file +125 -0
125 lines not on this page · raw message
Signature · 1 line
1.9.1
Quoted 8 lines · Khem Raj
CEF is a framework to embed chromium based browsers into other applications
Change-Id Ieabae43042101331f67cf6e673391f6fe320561fSigned-off-by pnandyala <[email protected]>Signed-off-by knagabhirava <[email protected]>Signed-off-by Zoltan Kuscsik <[email protected]>Signed-off-by Khem Raj <[email protected]>
Couldn't it reuse the Chromium recipe we use?
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
Quoted 2 lines · Otavio Salvador
Couldn't it reuse the Chromium recipe we use?
Surely and I have thought that for as second iteration after its soaked in Right now they use different versions of chromium so there are some issues around.
this will also mean some changes in chromium recipes.
Quoted 9 lines · Khem Raj
Quoted 2 lines · Otavio Salvador
Couldn't it reuse the Chromium recipe we use?
Surely and I have thought that for as second iteration after its soaked in Right now they use different versions of chromium so there are some issues around.
this will also mean some changes in chromium recipes.
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
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
Quoted 7 lines · Otavio Salvador
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
My usecase is not i.MX moreover I do not have i.MX h/w to test as well, current set work fine for the architectures I need it for, if someone wants to help in testing on other machines, its welcome. however as I said, it will be in subsequent work to unite both recipes due to the overhead as explained in last email.
Quoted 9 lines · Khem Raj
Quoted 7 lines · Otavio Salvador
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
My usecase is not i.MX moreover I do not have i.MX h/w to test as well, current set work fine for the architectures I need it for, if someone wants to help in testing on other machines, its welcome. however as I said, it will be in subsequent work to unite both recipes due to the overhead as explained in last email.
I am not asking you to test cef3 on i.MX, this is fine. I don't want another giant build recipe with duplication.
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
Quoted 4 lines · Otavio Salvador
Quoted 2 lines · Khem Raj
Quoted 2 lines
On Mar 24, 2015, at 4:56 AM, Otavio Salvador <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 5 lines
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
My usecase is not i.MX moreover I do not have i.MX h/w to test as well,
current set work fine for the architectures I need it for, if someone wants to help in testing on other machines, its welcome. however as I said, it will be in subsequent work to unite both recipes due to the overhead as explained in last email.
Quoted 3 lines
I am not asking you to test cef3 on i.MX, this is fine. I don't want another giant build recipe with duplication.
I am aware of that. This let's other folks hands on it with a working version. Moving cef to latest chromium is a bigger exercise and will delay this. That's the motivation.
Quoted 10 lines
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 18 lines · Khem Raj
Quoted 4 lines · Otavio Salvador
Quoted 2 lines · Khem Raj
Quoted 2 lines
On Mar 24, 2015, at 4:56 AM, Otavio Salvador <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 5 lines
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
My usecase is not i.MX moreover I do not have i.MX h/w to test as well,
current set work fine for the architectures I need it for, if someone wants to help in testing on other machines, its welcome. however as I said, it will be in subsequent work to unite both recipes due to the overhead as explained in last email.
Quoted 1 line
Quoted 6 lines
Quoted 2 lines
I am not asking you to test cef3 on i.MX, this is fine. I don't want another giant build recipe with duplication.
I am aware of that. This let's other folks hands on it with a working version. Moving cef to latest chromium is a bigger exercise and will delay this. That's the motivation.
Reuse chromium.inc file for this, so we at least avoid recipe duplication? If you have a good reason to avoid it I am fine but I certainly prefer reuse here.
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
Quoted 2 lines · Otavio Salvador
Quoted 1 line · Khem Raj
On Mar 24, 2015 9:36 AM, "Otavio Salvador" <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 4 lines · Khem Raj
Quoted 2 lines
Quoted 2 lines
On Mar 24, 2015, at 4:56 AM, Otavio Salvador <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
I'd prefer to do it once and avoid adding another recipe and handle same problems we had solved there. Also this allows for example the use of i.MX patches on meta-fsl-arm.
My usecase is not i.MX moreover I do not have i.MX h/w to test as well,
current set work fine for the architectures I need it for, if someone
wants
Quoted 9 lines
Quoted 9 lines
to help in testing on other machines, its welcome. however as I said, it will be in subsequent work to unite both recipes due to the overhead as explained in last email.
Quoted 3 lines
I am not asking you to test cef3 on i.MX, this is fine. I don't want another giant build recipe with duplication.
I am aware of that. This let's other folks hands on it with a working version. Moving cef to latest chromium is a bigger exercise and will
delay
Quoted 6 lines
Quoted 1 line
this. That's the motivation.
Reuse chromium.inc file for this, so we at least avoid recipe duplication? If you have a good reason to avoid it I am fine but I certainly prefer reuse here.
Hi - thanks for the initial cef3 recipe. I've been taking a look at this with a view to a cef3 recipe based on chromium.inc that I can use to build for i.MX6 (the original recipe was failing to build for me)
I have this building now and was able to run cefsimple on i.MX6 although I am unsure whether it's correctly using hardware acceleration and I think it needs more work / cleanups.
I wish to use cefglue to wrap a Mono WebBrowser control around CEF3 and there are a set of standard Chromium builds it supports to this end.
I can build Chromium 39.0.2171.95 and the current 40.0.2214.91 recipe but when I go to 41.0.2272.104 which is supported by one of the newer cefglue releases I get an error of this form:
| In file included from ../../v8/src/base/sys-info.cc:19:0:
| /usr/include/c++/4.8/limits:42:28: fatal error: bits/c++config.h: No such file or directory
| #include <bits/c++config.h> | ^ | compilation terminated. | ninja: build stopped: subcommand failed.
I'm using a fairly vanilla x64 Ubuntu 14.04.2 LTS. It looks like some kind of paths/sysroot issue with the host compiler settings. I see googling that others have had similar issues with x64 hosts but I can't quite work out what to do.
Can anybody advise?
Thanks,
Alex