Skip to content

Use official builds from cefbuilds.com for all platforms #212

@cztomczak

Description

@cztomczak

Below are listed custom patches that we currently apply to Chromium and CEF. The goal is to get rid of these so that we can use official builds from cefbuilds.com . Without requirement to build Chromium from sources we can speed up the process of building cefpython from several hours to just a few minutes - this will facilitate development of the project.

1. [linux] Disabling tcmalloc memory allocator global hook

Marshall is currently testing Linux builds with tcmalloc disabled and if there are no issues tcmalloc will be disabled by default for all builds on cefbuilds.com - see upstream CEF issue 1827. Related cefpython issues: #73 and #155 .

2. [linux] Patch to fix the CEF GTK implementation

This patch needs to be reinvestigated. See details here. Recently with Aura UI changes in Chromium there were many implementation changes in CEF in regards to GTK/X11. Needs to be checked whether the "hidden window" and "GtkVBox" issues were resolved. Regarding the GtkPizza element issue in wxPython - maybe this can be fixed by exposing a helper function in cefpython that will remove the GtkPizza element for the control CEF is being embedded in. The removal of GtkPizza element is causing auto-focus issues so while at it reinvestigate to see if anything can be done with that.

3. [windows] [linux] Patch to fix HTTPS cache problems on sites with certificate errors

This patch is so that caching works with self-signed SSL certificates on private networks. See Issue #125. We have to drop this feature or convince Marshall to add this patch in CEF. It modifies behavior only when "ignore_certificate_errors" option is set to True (which is not default). We could even add a separate command line switch for this feature, so that it doesn't collide with current "ignore_certificate_errors" behavior. See the related CEF topic.

Arguments for not using official builds

There still are use cases for a self-signed certificate.

Currently cefbuilds.com doesn't provide new builds since about 2.5 months. We can't rely on it to have latest builds in the future. It's convenient to use it, but we can't always use it.

Either way we need to create the automate.py tool for automating building of CEF. The automate-git.py provided by CEF has some issues. On Linux we can prepare Debian/Ubuntu binaries and it would be useful to have some toolchain to automate this for other Linux distribs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions