17 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 62c08ac9e0 maybe finally fixed??? 2026-11-13 14:38:13 +01:00
Agel 5517692bb5 maybe finally fixed??? 2026-11-13 14:31:34 +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 154880f4e4 mac packaging improvements 2026-11-12 16:49:42 +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 2568f9089b Add Mac support 2026-04-10 00:07:16 +02:00
Agel 85dc558793 Icon transparency fixes 2026-03-19 09:12:56 +01:00
Agel cb48341eea updated icons and wiki generation 2026-03-18 20:05:05 +01:00
Agel 22cdde9c6d fix linux build 2026-03-18 15:52:06 +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