Commit Graph
30 Commits
Author SHA1 Message Date
Agel 832e24c6f7 fix(linux): preserve AppImage executable bit via .tar.gz and auto-integrate Ubuntu icons
Browsers strip POSIX executable permissions (+x) from raw .AppImage files
downloaded directly over HTTP, leaving the downloaded binary non-executable in
Ubuntu Files (Nautilus). Additionally, Ubuntu displays a generic cog icon for
standalone AppImages in both Nautilus and the Ubuntu Dock on Wayland unless
desktop metadata, high-DPI icons, and GVfs custom icon attributes are
registered.

- Wrap `Asteria-<arch>.AppImage` (`0755`) in a `.AppImage.tar.gz` archive in
  `package-linux.sh` and point CI wiki links to the archive so extracting the
  download preserves executable permissions out of the box.
- Copy `.DirIcon` as a regular PNG file rather than a symlink so SquashFS icon
  extractors that do not follow symlinks receive valid image bytes.
- Add non-blocking first-launch integration in `AppRun` to install `hicolor`
  icons and `asteria-qt.desktop` (`StartupWMClass=asteria-qt`) under
  `XDG_DATA_HOME` and apply `metadata::custom-icon` on `$APPIMAGE` via `gio`
  for Nautilus.
- Embed 128x128, 256x256, and 512x512 icons in Qt resources and register them
  with `QApplication::setWindowIcon()`.
2026-11-19 14:49:54 +01:00
Agel b9dc1fe515 fix? 2026-11-19 13:54:40 +01:00
Agel 4b3a959654 actual version bump support 2026-11-19 12:25:43 +01:00
Agel 0e6bfdc5ec version support 2026-11-18 22:16:15 +01:00
Agel 62c08ac9e0 maybe finally fixed??? 2026-11-13 14:38:13 +01:00
Agel 1c83b4cb6b moaaar ci changes 2026-11-13 11:41:27 +01:00
Agel 1ef94b910a moar ci changes 2026-11-13 10:56:08 +01:00
Agel 5940d86ed2 ci: resolve missing Windows ARM64 runtime DLLs and add pipeline inputs
The Windows ARM64 release package failed to launch on startup due to missing
runtime DLLs (libdbus-1-3.dll, libmd4c.dll, zlib1.dll, libzstd.dll).

This failure stemmed from several architectural and CI pipeline issues:
1. CMake unconditionally linked Qt6::DBus whenever available in the sysroot,
   introducing an unnecessary dependency on Qt6DBus.dll and libdbus-1-3.dll
   on Windows, even though D-Bus portal dialogs are only used on Linux.
2. The Docker build environment installed MSYS2 ARM64 Qt packages via an
   unchecked shell loop against a hardcoded package list. This missed crucial
   transitive runtime dependencies (such as md4c, zlib-ng-compat, libb2, and
   ICU) and failed silently when downloads or extractions broke.
3. Windows packaging lacked PE import verification, allowing broken packages
   with unresolved dynamic links to be produced and published without warning.

To fix these issues and make image management more accessible:
- Restrict Qt6::DBus detection and linking in CMakeLists.txt to Linux only,
  eliminating the D-Bus dependency from Windows builds.
- Introduce scripts/download-mingw-arm64-qt.py to parse the MSYS2 clangarm64
  database, resolve the complete transitive dependency graph, and verify
  essential runtime DLLs during the Docker image build.
- Introduce scripts/verify-windows-dlls.py and integrate it into
  packaging/package-windows.sh to validate PE imports across the executable
  and bundled Qt plugins, failing packaging if any non-system DLL is missing.
- Expose FORCE_REBUILD_IMAGE as a typed GitLab CI pipeline input (spec: inputs)
  to provide an interactive dropdown when triggering manual pipelines in the UI,
  and trigger container rebuilds when the download script changes.
- Update AGENTS.md documentation to reflect the new dependency and packaging
  verification workflows.
2026-11-13 08:37:05 +01:00
Agel 5151e40bde mac packaging fixes 2026-11-12 15:51:24 +01:00
Agel c3a89e88d2 fix linux and macos packaging on the wiki page 2026-11-12 14:18:16 +01:00
Agel ff8ef105dd add macos ci build 2026-11-12 14:02:50 +01:00
Agel 8782a3be8a ci: add Windows on ARM64 cross-compilation and packaging jobs
- Add `build-windows-arm64` and `package-windows-arm64` stages to `.gitlab-ci.yml` and wire download links to wiki updates
- Create `scripts/mingw-w64-arm64-toolchain.cmake` targeting `Windows` / `aarch64` with LLVM-MinGW
- Update `docker/Dockerfile.build` with LLVM-MinGW toolchain, MSYS2 Qt 6.10 ARM64 packages, and ARM64 cross-compiled static libraries (libiconv, uchardet, zlib, minizip, libarchive)
- Isolate GCC x86_64 and LLVM-MinGW ARM64 toolchains in `scripts/mingw-w64-toolchain.cmake` and PATH configuration
- Refactor `packaging/package-windows.sh` to package both x86_64 and ARM64 runtime DLLs and support MSYS2 plugin/QML directory layouts
- Update `scripts/test-ci-windows.sh` with `--arm64`, `--only-arm64`, `--image`, and local image detection
- Guard `-mwindows` link flag with `if(MINGW)` in `CMakeLists.txt`
- Document Windows ARM64 build targets and instructions in `AGENTS.md` and `README.md`
2026-10-31 14:15:36 +01:00
Agel bb18197228 fix? build-windows 2026-05-24 08:41:21 +02:00
Agel fd751d6111 Gitlab NoInputs 2026-05-23 20:38:46 +02:00
Agel def70d053c Gitlab Inputs 2026-05-23 20:36:57 +02:00
Agel 1ecc6e5826 Update .gitlab-ci.yml to handle FORCE_REBUILD_IMAGE with configurable options 2026-04-03 13:57:29 +02:00
Agel a31b20534a Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations. 2026-04-03 13:55:28 +02:00
Agel 93c43259b8 set ci job tags to right runner would be picked up 2026-03-24 15:57:41 +01:00
Agel f311904bb5 Try to switch to personal shell runner 2026-03-24 13:34:44 +01:00
Agel 07f664a660 windows build fixes 2026-03-20 08:53:39 +01:00
Agel 85e530e312 build and instruction fixes 2026-03-20 08:32:22 +01:00
Agel cb48341eea updated icons and wiki generation 2026-03-18 20:05:05 +01:00
Agel f82bb6305b fix windows artifact packaging name 2026-03-18 16:24:21 +01:00
Agel 29af1aa15e fixed windows release build 2026-03-18 15:45:01 +01:00
AgelandClaude Opus 4.6 6f419425c2 Fix portable packaging: add missing DLL, xcb dep, flatten zip artifact
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 21:27:57 +01:00
AgelandClaude Sonnet 4.6 4e8cc5063a Add portable packaging: AppImage for Linux, zip for Windows
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 21:05:54 +01:00
Agel ca307e6383 Merge branch 'claude/tender-liskov' 2026-03-16 20:49:31 +01:00
AgelandClaude Sonnet 4.6 9cbfb4728b fix CI update-wiki: handle missing token and HTTP errors gracefully
- Fail early with clear message when GITLAB_TOKEN is unset
- Capture HTTP status code instead of relying on curl -f
- Handle 404 by creating the wiki page if it doesn't exist yet
- Print API response body on unexpected errors for easier debugging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 20:44:08 +01:00
Agel 50d09f22cc Use custom image + wind build fixes 2026-03-16 20:04:21 +01:00
Agel 18e1ba1010 Gitlab CI/CD 2026-03-16 19:25:15 +01:00