-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
Support linking to GTK 3 when building CEF from sources and when building cefpython module. PATCH attached in comments. #446
Comments
Added |
@cztomczak when do you think the "next release 2" is going to happen? |
@pinebit Tag "next release 2" is used for marking tasks to be done for one of next releases. There is no known schedule for this issue at the moment. You should be able to make the necessary changes quite easily, I've already outlined all the places that need to be modified (and replace 2.0 to 3.0 I guess). See the Build Instructions doc on how to build CEF Python from sources. It's best to use master branch and the v66-upstream GitHub release prebuilt binaries. |
@cztomczak I'm done porting to GTK3, please find the patch attached. |
@pinebit Thanks. Have you tested it with the gtk3.py example? |
I tested it with other tests that are based on gtk3.py, so I think gtk3 will also work. |
UPDATE: Patch attached in comments.
Currently there are some issues when running GTK 3 example, like for example Issue #434 ("Print support in GTK 3 example (gtk3.py) on Linux"). The solution is to link to GTK 3 library when building CEF/Chromium from sources. This issue is to add
--use-gtk3
flag toautomate.py
script. For further instructions on building see the Build-instructions.md document.Additionally add support for the
--use-gtk3
flag in thebuild.py
andcython_setup.py
scripts used for building the cefpython3 module. Currently the cefpython3 module links to GTK 2 libraries as found in the cython_setup.py file:Also there are multiple places with include headers pointing to GTK 2 locations:
We might consider providing cefpython releases for GTK 3 in the future. See Issue #447 for details ("Provide CEF Python releases for GTK 3 on Linux and Mac").
Related issue: #467 ("GTK 2 dependency will be removed in CEF v70+").
Related patch by Joseph Kogut that removes GTK 2 dependency in cefpython: jakogut@f35475f
The text was updated successfully, but these errors were encountered: