Repository navigation
Conversation
nixpkgs ships only the GTK port of WebKit and Ubuntu 24.04 ships no WPE, so the zero-GTK web view needs its own build: - nix/wpewebkit/package.nix: the WebKit source tree as -DPORT=WPE with the WPEPlatform API (headless + Wayland, DRM off), no legacy libwpe/fdo API, introspection, docs or WebDriver; MiniBrowser kept as the smoke test. Mirrors nixpkgs' webkitgtk_6_0 (same bubblewrap patch). Tarball checked against the published sha256. CMake configure verified locally in the derivation's env. - flake.nix: a separate, revision-pinned `nixpkgs-wpe` input, so `nix flake update` or a consumer's `inputs.nixpkgs.follows` never rebuilds WebKit. - wpewebkit-watch.yml: weekly check against the newest stable release; opens an issue when the pin is behind (bumps stay deliberate). - docs/ui/leanui-wpe.md: decisions, out-of-process architecture, phases P0-P4. The aarch64 build is produced at night on dgx-spark by the omarchnix "wpewebkit nightly" workflow and pushed to the OVH Nix cache. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Phase 0 of the zero-GTK LeanUI web view: a pinned WPE WebKit we build ourselves. The full plan is in
docs/ui/leanui-wpe.md.nixpkgs ships only the GTK port of WebKit (
webkitgtk_*; there is nowpewebkitin the pinned rev,nixos-unstableornixos-25.05). Ubuntu 24.04 ships no WPE WebKit either. Thewpewebkit ? nullargument innix/desktop.nixwas therefore alwaysnull.nix/wpewebkit/package.nix:.sums.-DPORT=WPEwith the WPEPlatform API (headless + Wayland; DRM off). It mirrors nixpkgs'webkitgtk_6_0derivation, including its bubblewrap patch, which applies cleanly to 2.54.3.flake.nix: a separatenixpkgs-wpeinput pinned by revision in the URL.nix flake update, or omarchnix'sinputs.nixpkgs.follows, never changes the WebKit derivation, so WebKit is only rebuilt on a deliberate bump..github/workflows/wpewebkit-watch.yml: a weekly check against the newest stable release on wpewebkit.org. It opens an issue when the pin is behind, so security releases are not missed; bumps stay manual PRs.docs/ui/leanui-wpe.md:orb-webview-hostprocess owns WebKit and GLib and talks to LeanUI over a socket, with DMA-BUF frames imported into Vulkan;Builds happen at night on dgx-spark (aarch64, the m2air's architecture), through the
wpewebkit nightlyworkflow in Th0rgal/omarchnix, which pushes to the OVH Nix cache.Checks
nix eval .#packages.{aarch64,x86_64}-linux.wpewebkit.drvPathboth evaluate.nix develop) on x86_64:Configuring done,Generating done;libWPEWebKit-2.0.so.1andbin/MiniBrowser;wpe-webkit-2.0,wpe-platform-{,headless-,wayland-}2.0.fontconfig(for Skia) andpcre2(forglib-2.0.pc).Nothing consumes the package yet; P1 adds
orb-webview-host.🤖 Generated with Claude Code