Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide libembedding library in pre-built nightly snapshots #12146

Open
vsimon opened this issue Jul 2, 2016 · 10 comments
Open

Provide libembedding library in pre-built nightly snapshots #12146

vsimon opened this issue Jul 2, 2016 · 10 comments

Comments

@vsimon
Copy link

@vsimon vsimon commented Jul 2, 2016

Since servo is a browser engine being developed for application and embedded use, it would be nice if the nightly builds included the library for embedded use as well. (I believe it is called libembedding.so on linux for example)
Was looking here: https://servo-builds.s3.amazonaws.com/index.html

@metajack
Copy link
Contributor

@metajack metajack commented Jul 8, 2016

I think this is a fine idea, but we should probably have some simple client to test that it works first.

@zmike
Copy link
Contributor

@zmike zmike commented Jul 8, 2016

Define "simple"

@metajack
Copy link
Contributor

@metajack metajack commented Jul 8, 2016

A C program that links to libembedding and calls the simplest function provided. This would ensure we are at least linkable. Obviously more testing is better, but we have to start somewhere.

@zmike
Copy link
Contributor

@zmike zmike commented Jul 8, 2016

See #4024

@nox
Copy link
Member

@nox nox commented Oct 4, 2017

@jdm @metajack Is this something we should be working on? Should we close the issue?

@metajack
Copy link
Contributor

@metajack metajack commented Oct 4, 2017

We need to rewrite the CEF bindings on top of libservo, if @paulrouget hasn't done that already. And then we'd ship a .so that implemented the CEF API.

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Oct 4, 2017

CEF has been updated to comply to all the changes we made to libservo.
I haven't tested if it still works. It compiles though.

@gzunino
Copy link

@gzunino gzunino commented Oct 4, 2017

I would be great if there is a servo .so for embedding as a drop in replacement for CEF (chromium). There are many projects out there using CEF which could start testing it. Me (https://github.com/maketechnology/cefswt) being one.

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Oct 4, 2017

In theory, ./mach build-cef does that.

@gzunino
Copy link

@gzunino gzunino commented Dec 6, 2017

How can I know which version of CEF api is implemented by embedding servo ?

I built libembedding.so and tried to use it as drop-in replacement for libcef.so in a simple app targeting CEF 3.3071.1649.g98725e6.

ldd shows all resolved, but I at runtime I get:

undefined symbol: cef_string_userfree_utf8_alloc from my .so which is linked against libcef.so

Although the function is implemented

pub extern "C" fn cef_string_userfree_utf8_alloc() -> *mut cef_string_utf8_t {

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.