Lint / REUSE compliance (push) Failing after 13s
Build and Test / Build and run tests (push) Failing after 44s
Lint / clang-format (push) Failing after 57s
Build and Publish Flatpak / Build Flatpak (push) Failing after 14s
Build and Publish Flatpak / Deploy hosted repo to Pages (push) Skipped
- Spread columns by rank among the stages actually present, so sparse pipelines fill the width instead of leaving dead stretches - Top-align columns: the funnel's success path runs level along the top and drop-off ribbons only ever descend - Give each ribbon its slot per node side (outgoing by target height, incoming by source height) so ribbons stop braiding over each other - Move the last column's labels to its left so they always stay on-screen, with a theme halo to stay legible over ribbons - Never hide small-node labels; elide with tooltip instead - Guarantee columns and ribbons fit the viewport (clamp-aware scale, spill-proof ribbon thickness) - Debounce resize relayouts and stop re-querying SQLite on resize - Canonicalize stage names on write (CLI "rejected" -> "Rejected") and repair pre-existing rows on database open - Take Sankey node width/padding from Kirigami units - Add QuickShapesPrivate configure-time guard for QtQuick.Shapes - Extend sankeylayouttest: viewport fit, ribbon containment, slot ordering, sparse-column spread, canonicalization, degenerate sizes - README: build-dependency and generator fixes, document SettingsPage Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019FXfh48mASRsE1WEhy9jcM
88 lines
2.2 KiB
CMake
88 lines
2.2 KiB
CMake
# SPDX-FileCopyrightText: 2026 ToServeTheKing <[email protected]>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Kareer - a Kirigami/Qt job application tracker
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(kareer VERSION 0.1.3 LANGUAGES CXX)
|
|
|
|
set(REQUIRED_QT_VERSION 6.6.0)
|
|
set(REQUIRED_KF_VERSION 6.5.0)
|
|
|
|
find_package(ECM ${REQUIRED_KF_VERSION} REQUIRED NO_MODULE)
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
|
|
|
|
include(KDEInstallDirs)
|
|
include(KDECMakeSettings)
|
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
|
include(ECMSetupVersion)
|
|
include(ECMInstallIcons)
|
|
include(FeatureSummary)
|
|
include(KDEClangFormat)
|
|
include(KDEGitCommitHooks)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
find_package(Qt6 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS
|
|
Core
|
|
Gui
|
|
Widgets
|
|
Qml
|
|
Quick
|
|
# QtQuick.Shapes runtime QML module (SankeyDiagram.qml); configure-time
|
|
# guard only, nothing links against it.
|
|
QuickShapesPrivate
|
|
QuickControls2
|
|
Sql
|
|
Test
|
|
)
|
|
|
|
find_package(KF6 ${REQUIRED_KF_VERSION} REQUIRED COMPONENTS
|
|
I18n
|
|
CoreAddons
|
|
IconThemes
|
|
Crash
|
|
ColorScheme
|
|
)
|
|
|
|
find_package(KF6Kirigami ${REQUIRED_KF_VERSION} REQUIRED)
|
|
set_package_properties(KF6Kirigami PROPERTIES
|
|
TYPE REQUIRED
|
|
DESCRIPTION "KDE's next-gen UI framework"
|
|
)
|
|
|
|
find_package(KF6KirigamiAddons REQUIRED)
|
|
set_package_properties(KF6KirigamiAddons PROPERTIES
|
|
TYPE REQUIRED
|
|
DESCRIPTION "Add-on components for Kirigami"
|
|
)
|
|
|
|
ecm_setup_version(${PROJECT_VERSION}
|
|
VARIABLE_PREFIX KAREER
|
|
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kareer-version.h"
|
|
)
|
|
|
|
add_subdirectory(icons)
|
|
add_subdirectory(src)
|
|
|
|
if(BUILD_TESTING)
|
|
add_subdirectory(autotests)
|
|
endif()
|
|
|
|
install(PROGRAMS io.github.toservetheking.Kareer.desktop
|
|
DESTINATION ${KDE_INSTALL_APPDIR})
|
|
install(FILES io.github.toservetheking.Kareer.metainfo.xml
|
|
DESTINATION ${KDE_INSTALL_METAINFODIR})
|
|
install(FILES LICENSES/GPL-3.0-or-later.txt
|
|
DESTINATION ${KDE_INSTALL_DATAROOTDIR}/licenses/${PROJECT_NAME})
|
|
|
|
# Translations: add a po/ directory and re-enable ki18n_install(po) once present.
|
|
|
|
kde_configure_git_pre_commit_hook(CHECKS CLANG-FORMAT)
|
|
|
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|