Skip to content

fix(ci): build Linux desktop packages on Ubuntu 22.04 - #3996

Merged
kev1n77 merged 7 commits into
openBitFun:mainfrom
kev1n77:fmy/bugfix
Nov 20, 2026
Merged

kev1n77 merged 7 commits into
openBitFun:mainfrom
kev1n77:fmy/bugfix

Conversation

@kev1n77

@kev1n77 kev1n77 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes #3767

  • Build official and nightly Linux desktop packages for x86_64 and arm64 in Ubuntu 22.04 containers.
  • Check the desktop executable and AppImage ELF requirements against glibc 2.35 before upload. Keep the fcitx5 check and use Jammy APT to validate the generated DEB dependencies.
  • Accept either Tesseract 5 or Tesseract 4 in the DEB, matching the existing OCR loader.
  • Trust the checked-out worktree in the Linux CI container so later Git steps can read it.
  • Declare the Ayatana tray runtime in the DEB and bundle the matching Ayatana libraries in the AppImage to keep the tray on the packaged GLib.
  • Initialize Xlib thread support before GTK opens the display to address the intermittent Ubuntu 22.04 arm64 exit.

Type and areas

Bug fix for Desktop/Tauri and release CI.

Motivation

The v1.0.11 x86_64 AppImage was built on Ubuntu 26.04. The executable and bundled WebKitGTK require GLIBC_2.43, which prevents startup on Ubuntu 24.04 and 22.04.

Verification

  • GitHub workflow configuration checks and actionlint.
  • The package check accepted a compatible fixture and rejected the published v1.0.11 AppImage.
  • Jammy APT accepted the updated DEB dependency list and rejected the previous Tesseract 5-only declaration.
  • Built x64 and arm64 desktop packages from d2680739 on the fork. Both bundles passed the GLIBC 2.35, fcitx5, bzip2 linkage, and tray dependency checks. Build and artifacts
  • Installed and launched the DEB and launched the AppImage on native Ubuntu runners with Xvfb and D-Bus. Each DEB installed the Ayatana tray dependency through APT. Each AppImage launched through FUSE on a host without Ayatana installed. Smoke test logs
Ubuntu Architecture DEB install and launch AppImage launch
22.04 x64 Pass Pass
22.04 arm64 Pass Pass, 3 out of 3 launches
24.04 x64 Pass Pass
24.04 arm64 Pass Pass

Each smoke test kept the main window visible for at least 10 seconds. The repeated Ubuntu 22.04 arm64 runs also confirmed that the companion window appeared. Ubuntu 22.04 arm64 job

Reviewer notes

AI-assisted. The smoke tests cover Linux desktop installation and startup in Xvfb.

Checklist

  • The PR is scoped to the Linux desktop packaging fix.
  • Verification results are recorded above.
  • User-facing strings and locales require no updates.

@kev1n77
kev1n77 merged commit ce9301d into openBitFun:main Nov 20, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[需求]: Linux的版本 要求的 GLIBC 运行版本过高希望能降一下

1 participant