debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Fix issue #9: Update Gio dependency to v0.9.0

Open emad-elsaid opened this issue 2 months ago • 0 comments

This commit resolves the compilation errors on Arch Linux by updating the Gio UI library from v0.1.0 to v0.9.0.

Changes made:

  • Updated gioui.org from v0.1.0 to v0.9.0
  • Updated related dependencies (golang.org/x/exp, golang.org/x/text, etc.)
  • Fixed API compatibility issues:
    • Updated material.NewTheme() to take no arguments
    • Updated text.NewShaper() to use text.WithCollection()
    • Updated Clickable.Clicked() calls to pass layout.Context
    • Replaced editor.Focused() with gtx.Source.Focused(editor)

The program now compiles successfully with the new Gio version. The only remaining errors are missing system libraries (wayland-client and xkbcommon) which are unrelated to this issue and expected on headless systems.

Fixes #9

emad-elsaid avatar Dec 20 '25 20:12 emad-elsaid