- Dec 20, 2024
-
-
Adriaan de Groot authored
-
- Nov 21, 2024
-
-
Adriaan de Groot authored
-
- Jul 22, 2024
-
-
Adriaan de Groot authored
CMake-coding-style isn't C++-coding-style.
-
- Feb 18, 2024
-
-
Adriaan de Groot authored
The target name for a module is annoyingly long and hard-to-read. Set a parent-scope variable with a nicer name to the full target name.
-
- Jan 12, 2024
-
-
Adriaan de Groot authored
-extensions won't build unless the CMake modules are (somewhat) self-contained.
-
- Jan 02, 2024
-
-
Adriaan de Groot authored
If set to *ON*, then the dependencies for these two are required (e.g. QtXml and/or AppStreamQt).
-
- Jan 01, 2024
-
-
Adriaan de Groot authored
-
- Dec 31, 2023
-
-
Adriaan de Groot authored
- add a CMake helper for finding variations of AppStreamQt - adapt packagechooser and packagechooserq - adopt a slightly more modern CMake style here
-
Adriaan de Groot authored
Allowing aliases and not using a canonical name for them (e.g. mapping "view" to "viewmodule") is annoying since the target name depends on which alias is passed in to the function. Drop one of the two aliases.
-
- Nov 19, 2023
-
-
demmm authored
with https://invent.kde.org/system/kpmcore/-/commit/2588d1e796442409a8f95f1777b4f1d89086028a KPMCore is Qt6 only, so any version from 24.01.75 on is Qt6, no need to check for Qt version this way add missing NO_CONFIG to summaryq
-
- Nov 16, 2023
-
-
Adriaan de Groot authored
-
- Nov 09, 2023
-
-
Adriaan de Groot authored
-
- Oct 13, 2023
-
-
Adriaan de Groot authored
Misplaced $, and looking for translation sources in the wrong directory, led to a test-case failure before release.
-
- Sep 28, 2023
-
-
Adriaan de Groot authored
-
- Sep 07, 2023
-
-
Adriaan de Groot authored
-
demmm authored
make kpmcorehelper usable for both kf5 & 6, though no section added yet dealing with set to NOT for Qt6 adjust CalamaresConfig to not be hardcoded to kf5 one more var needed in Variant.h, used in PartitionInfo.cpp adjust QVariant & QtConcurrent use
-
- Sep 04, 2023
-
-
Adriaan de Groot authored
- move template QRC file to the module that defines the function - add parameters to accept more files (prefixes) per language
-
Adriaan de Groot authored
-
Adriaan de Groot authored
- On FreeBSD, no KF6 was available - On KDE Neon Unstable, there are somewhat wonky KF6 packages available - Adjust CMake to find the KDE Neon versions, then fix the C++ code
-
- Sep 03, 2023
-
-
Adriaan de Groot authored
-
Adriaan de Groot authored
-
- Nov 05, 2022
-
-
Adriaan de Groot authored
-
- Jul 23, 2022
-
-
Adriaan de Groot authored
This works around older CMakes that refuse to set arbitrary properties on a target. Instead, use calamares::kpmcore as the specific indicator that kpmcore was found. Breaks build of libcalamares, since that needs **something** regardless of whether KPMcore was found.
-
- Jul 19, 2022
-
-
Adriaan de Groot authored
- the alias libraries calapmcore and calamares::kpmcore are always created; if there is no KPMcore, they handle definitions to signal that. - upstream kpmcore target is the one we should be testing to see if KPMcore itself is there (or, use KPMcore_FOUND).
-
- Jul 10, 2022
-
-
Adriaan de Groot authored
- kpmcore (when used as target "kpmcore") has an interface include directory that does not contain the "kpmcore/" subdirectory. But the headers it has installed, assume it is there (e.g. kpmcore internals use #include <fs/filesystem.h>). - add an alias at Calamares level that sticks in some more includes, adds the relevant WITHOUT_kpmcore when it's not there, etc.
-
Adriaan de Groot authored
- find the dependencies just once - fix the interface for kpmcore so it can find its own includes (this is mostly relevant for Debian)
-
- Jul 02, 2022
-
-
Adriaan de Groot authored
-
- Jun 27, 2022
-
-
Adriaan de Groot authored
Consumers of calapmcode couldn't tell if KPMcore was found. Pass it around as a property of calapmcore, rather than anything else. FIXES #2026
-
- Jul 21, 2022
-
-
Adriaan de Groot authored
-
- Apr 25, 2022
-
-
Adriaan de Groot authored
-
- Mar 21, 2022
-
-
Adriaan de Groot authored
-
- Sep 28, 2021
-
-
Adriaan de Groot authored
Nothing beyond the example module was ever built with the PythonQt bindings, as far as I can tell. They have been deprecated, defaulting OFF for over two years now. QML modules fill the gap with customizable, run-time interpreted UI and stronger support from the C++ side of Calamares.
-
- Sep 27, 2021
-
-
Adriaan de Groot authored
This introduces a stub-implementation (fake) that mimics the API offered by libcalamares (the library is actually exposed to Python via Boost::Python, so it doesn't act like a C-extension). Using that stub-implementation, we can check Python modules for validity as part of the test-suite. The stub-implementation is needed, because otherwise every Python module already fails at `import libcalamares`. - stub-implement the API that is actually used by the Python modules - in globalstorage, be slightly smart about what keys are being requested (so that e.g. all the modules that handle partitions information get an empty list and can manipulate that, instead of erroring out when they get a string)
-
- Sep 16, 2021
-
-
Adriaan de Groot authored
- drop the unused "NAME" option for calamares_add_test - while here reformat the module with the CMake style tool
-
- Jul 26, 2021
-
-
Adriaan de Groot authored
- call it yamlcpp::yamlcpp This is source-incompatible if targets link explicitly to yamlcpp
-
Adriaan de Groot authored
- Modules and plugins don't need to mention libcalamares themselves for linking -- we can do that automatically. Use the IMPORTED names so that it works in Calamares main repo and external repositories. - Complain about unknown module types.
-
- Mar 26, 2021
-
-
Adriaan de Groot authored
- merge the (not-installed) date-stamp and git-version files into ExtendedVersion, turn things into functions - drop support for CVS (wut?) - don't mention the branch, in git-versioning, because the hash is enough to find whatever - don't need external program to find date, use `string(TIMESTAMP...)`
-
Adriaan de Groot authored
The check for skipping a subdirectory was applied to Python subdirs, not to C++ subdirs. This meant that a skipped module would notice only in calamares_add_plugin() that it should be skipped. The **rest** of the CMakeLists.txt in the to-be-skipped modules' subdirectory was not skipped, and so a test might be added for a module that was skipped. Depending on how the test consumes the code/module under test, that might fail to link. Example module is *initramfs*. Reported by yonggan.
-
- Mar 23, 2021
-
-
Adriaan de Groot authored
The skip-checking is now in the functions for adding plugins and subdirectories, so that third-party building should get it as well, for free. Since AddModuleSubdirectory and AddPlugin use the newly split-out module, handling SKIP_MODULES and USE_* consistently across module repositories is now easier. While here, make accumulating-the-skipped-modules explicit.
-
Adriaan de Groot authored
There are two ways to skip building a module: - SKIP_MODULES (individually listed) - USE_* (pick one from a collection) Move the handling for those ways to a separate function, so that it can be re-used in the calamares-extensions module too, or other external module repositories.
-