Skip to content

Koi - 0.7 -- Major GUIX/NIX OS Install Paths Refactor

Latest

Choose a tag to compare

@MartinVonReichenberg MartinVonReichenberg released this 18 Nov 01:14
06c92fc

Koi 0.7 -- Major GUIX/NIX OS Install Paths Refactor

Highlights

  • Native Qt6 Timer Scheduling: Replaced the third-party Bosma::Scheduler and CTPL thread-pool libraries with native single-shot QTimer instances (Qt::PreciseTimer) running directly on the Qt event loop, eliminating background thread overhead and timer coalescing drift.
  • Unified Cross-Distribution Theme Discovery: Removed compile-time source patching from CMakeLists.txt and introduced Utils::systemDataSearchPaths(), allowing a single compiled binary to discover Color Schemes, Plasma Styles, Kvantum Styles, Icon Themes, and GTK Themes across FHS distributions, NixOS, GNU Guix, and custom XDG_DATA_DIRS with canonical symlink deduplication.
  • Updated SunRise Library (2.1.0): Upgraded the bundled solar calculation library to version 2.1.0, adding a linear interpolation safeguard (fabs(a) < 1e-6) to prevent division-by-zero edge cases near interval midpoints.

Improvements & Fixes

  • Dynamic Executable Lookup: Replaced hardcoded /usr/bin/kquitapp6 and /usr/bin/kstart paths in Utils::restartProcess() with QStandardPaths::findExecutable() for improved portability on non-FHS systems.
  • Out-of-Tree CMake & GNUInstallDirs Integration: Standardized installation paths via GNUInstallDirs (CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR, CMAKE_INSTALL_DATAROOTDIR), enforced REQUIRED Qt6/KF6 package checks, and moved .desktop and D-Bus .service file generation strictly into the build directory.
  • UI, Configuration & Documentation Updates:
    • Removed Bosma Scheduler and CTPL entries from the About dialog and updated copyright notices to 2026.
    • Added the [Aurorae] section to Development/Configuration/Samples/koirc.sample.
    • Updated README.md build/uninstall instructions and synchronized packaging recipes (PKGBUILD, koi.spec, Debian/Ubuntu debian/, and NixOS default.nix) for version 0.7.

Full Changelog: 0.6...0.7