Skip to content

About

WPE WebKit packaged for Fuju.WebView on Linux, carried beside the application where the system has no WPE WebKit 2.54.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Fuju.WebView.WPE

WPE WebKit for Fuju.WebView on Linux, carried with the application. Fuju.WebView shows web content with WPE WebKit 2.54 and its WPEPlatform API, which Fedora, Ubuntu and the Flatpak runtimes do not package. An application that references this package carries its own copy in wpe/ beside its executable, and Fuju.WebView loads it from there before looking for a system installation, under Wayland and X11.

dotnet add package Fuju.WebView.WPE

The package holds files only: the engine built from wpewebkit.org's release with one patch (it finds its helper processes relative to itself, and runs without the bubblewrap sandbox, with a warning, where bwrap or xdg-dbus-proxy is missing), its helper processes, the Web Inspector's resources, and the libraries whose sonames differ between distributions (ICU, libxml2, libxslt, libjpeg, hyphen, harfbuzz-icu). It copies the runtime of the application's runtime identifier (linux-x64, linux-arm64) to the output and publish directories; for any other identifier it does nothing. The runtime needs glibc 2.38 or later and the system libraries wpe/<rid>/manifest.txt lists, which every GNOME or KDE desktop installs.

Building

wpe/ builds the runtime on Ubuntu 24.04 for the machine's architecture, into wpe/out/<rid>/; wpe/README.md says what it needs. dotnet pack src/Fuju.WebView.WPE then packs every runtime wpe/out/ has, to artifacts/package/release/.

The package's version is the WPE WebKit release it carries: 2.54.4 carries WPE WebKit 2.54.4, and 2.54.4.1 the same release published again after a change to the patch, the build or the package. A local pack is -dev (2.54.4-dev).

Releases

The Release workflow follows wpewebkit.org by itself. Once a week it checks whether the stable series wpe/versions.env names (WPE_SERIES, 2.54) has a newer release; when it has, it builds both runtimes on GitHub's runners, packs and checks the package, publishes it to nuget.org and commits the new pin. A failure at any step publishes and commits nothing. A newer stable series is not followed, because it may change the WPEPlatform API Fuju.WebView uses: the weekly run fails with a message naming it until WPE_SERIES is moved, by hand, after Fuju.WebView has been checked with it.

Started by hand (Actions > Release > Run workflow), it does the same (update), publishes the pinned release again under the next fourth part (republish), or builds and packs without publishing (dry-run); runtimes, the id of an earlier run, packs the runtimes that run built instead of building them again.

Licence

The repository's own files are licensed under the Apache License 2.0 (LICENSE, NOTICE). WPE WebKit and the libraries the package carries are under their own licences (LGPL-2.1 and BSD for WPE WebKit): THIRD-PARTY-NOTICES, in the repository and in the package, lists each, with its licence and where its source is.

About

WPE WebKit packaged for Fuju.WebView on Linux, carried beside the application where the system has no WPE WebKit 2.54.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages