[Webkit-unassigned] [Bug 237107] New: [GTK][WPE] generate-bundle: self-contained bundle for the MiniBrowser that can work on any distro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 13:11:41 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=237107

            Bug ID: 237107
           Summary: [GTK][WPE] generate-bundle: self-contained bundle for
                    the MiniBrowser that can work on any distro
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org

The script generate-bundle allows to generate a bundle of "jsc" or "MiniBrowser".

The script currently has support for two types of bundles

1)
--syslibs=generate-install-script will create a install script to install all the libraries the binary depends on, but this only works on Debian based distros.

Problem: It requires that the user runs the bundle on the same distro the bundle was created

2)
--syslibs=bundle-all

It will bundle all the libraries inside the bundle and will use those libraries instead of the system ones.

In theory this would allow to create a self-contained bundle that runs anywhere.

Problem: This is currently only working ok for jsc bundles. The MiniBrowser bundles are not working as expected
because there are many libraries (many opened via dlopen()) that the script doesn't capture correctly.
There are also issues with system resources (icons, fonts, etc)


So this bug is for allowing generate-bundle to create a bundle for the MiniBrowser with --syslibs=bundle-all
that can work on any distro without issues and bundles everything needed (including icons or fonts)

The goal is:

1) To replace the bundles at https://webkitgtk.org/built-products with one "generic" bundle that can work on any distro (Fedora, Ubuntu, Alpine, etc)
Currently we only support Ubuntu because we are generating the bundles on the "packaging ubuntu" bots at https://build.webkit.org/#/builders

2) To have the bundles based on the official builds (flatpak one).
That allows external CIs (https://wpt.fyi for example) to test the same build that we test (the official one)
Currently on the bundles uploaded at https://webkitgtk.org/built-products we don't enable all features we enable on the official build because Ubuntu doesn't have some requires dependencies (for example libsoup3)

3) Reduce maintenance 
That way we can remove the "packaging ubuntu" bots and generate the bundles on the release bot directly

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220223/4b424e8e/attachment.htm>


More information about the webkit-unassigned mailing list