Skip to content

[FEAT] add Debian trixie build support with libwebkit2gtk-4.1-dev #5018

@michealroberts

Description

@michealroberts

Is your feature request related to a problem? Please describe.

When running wails doctor I see the following issue:

Version         | v2.11.0
Package Manager | apt    

# System
...
We are falling back to setting the total physical amount of memory to
the total usable amount of memory
┌─────────────────────────────────┐
| OS           | Debian GNU/Linux |
| Version      | 13               |
| ID           | debian           |
| Branding     |                  |
| Go Version   | go1.26.0         |
| Platform     | linux            |
| Architecture | arm64            |
| CPU          |                  |
| Memory       | 23GB             |
└─────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────────────┐
| Dependency | Package Name    | Status    | Version            |
| *docker    | docker.io       | Available | 26.1.5+dfsg1-9+b11 |
| gcc        | build-essential | Installed | 14.2.0             |
| libgtk-3   | libgtk-3-dev    | Installed | 3.24.49-3          |
| libwebkit  | Unknown         | Not Found |                    |
| npm        | npm             | Installed | 9.2.0~ds1-3        |
| *nsis      | nsis            | Available | 3.11-1             |
| pkg-config | pkg-config      | Installed | 1.8.1-4            |
|                                                               |
└─────────────────── * - Optional Dependency ───────────────────┘

# Diagnosis
Optional package(s) installation details: 
  - docker: sudo apt install docker.io
  - nsis: sudo apt install nsis

 WARNING  Your system has missing dependencies!
Fatal:
Required dependencies missing: libwebkit

 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

However, for Debian I have access to libwebkit version 4.1:

Image

I'm sure the fix isn't trivial, but requesting it gets added to the roadmap if it hasn't already been added.

Describe the solution you'd like

Support for Debian trixie builds ...

Describe alternatives you've considered

  • Downgrading to Debian bookworm build
  • Installing libwebkit 4.0 (not supported on Trixie)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions