326 Commits (80cad17e97b887452c8778e677d39ab81f471d73)

Author SHA1 Message Date
Adriaan de Groot b8e30e201f CMake: drop reference to external os-* modules
- The USE_* infrastructure is only **inside** the Calamares build
  tree (see `src/modules/CMakeLists.txt`) so there is no point
  in referring to external repositories.
4 years ago
Adriaan de Groot 45970fee27 Changes: pre-release housekeeping
- update the translations list, welcome Azerbaijani (in two variants)
- this is a hotfix release due to UB
4 years ago
Adriaan de Groot fde1aad465 CMake: add support for USE_*=none (from the os-modules branch) 4 years ago
Adriaan de Groot 7f85781d99 Changes: post-release housekeeping 4 years ago
Adriaan de Groot b2fcc61987 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 635f53a804 CI: add a BUILD_SCHEMA_TESTING
- ON by default, so if tests are built and the script works,
  those tests will run as well.
- Check that the script works by invoking it once.
4 years ago
Adriaan de Groot 0dbc44d388 CMake: update Python3-finding
- mark for updates in 3.3: update to CMake 3.12 and use the more-modern
  Python modules for it then.
4 years ago
Adriaan de Groot 62e7128ff6 CMake: document WITH_ and BUILD_ a little more
- also mark TODO:3.3: for incompatible / surprising changes for 3.3
4 years ago
Philip Müller fe8459b7f0
[CMake] fix typo 4 years ago
Adriaan de Groot 73f8c627bd CMake: support out-of-tree builds
- The variables that are set for out-of-tree builds are prefixed
  with  to avoid name clashes; make the module-infrastructure
  respect those instead of the in-tree variable names.
- .. and then duplicate the in-tree variables to the out-of-tree
  variables, so we only need one set of module instructions.
4 years ago
Adriaan de Groot 23c93904df CMake: put CMake-level ABI settings in CalamaresConfig
- drop the BuildTreeSettings, it was not usefully used
- make CalamaresConfig repeat the WITH_* settings, so that
  consumers can know the ABI offered
4 years ago
Adriaan de Groot 6c272bc8be [libcalamares] Link yamlcpp privately
- link the library privately -- the public API uses QVariantMap
- install FindYAMLCPP just in case
- add yamlcpp explicitly in the few places that really need it
  (e.g. netinstall testing the parsing of netinstall.yaml)
4 years ago
Adriaan de Groot 9039e15bdf CMake: tidy misc. installation bits
- don't generate uninstall file twice
- tighten up vertical space
4 years ago
Adriaan de Groot a62d96f555 CMake: tidy up installation of CMake infrastructure
- export() only once
- document variables a bit better
- drop the LibraryDepends file
4 years ago
Adriaan de Groot dc16afac4a CMake: massage IMPORTED targets and module path
- Add the Calamares CMake-modules to the search path automatically
- Export to CalamaresTargets.cmake and use namespace Calamares::
- Document imported targets
- Find Qt, because the translations machinery will need macros from that
- The installed lib links to IMPORTED libraries from KF5, so we need
  to find them (again) as well.
4 years ago
Adriaan de Groot f59b6da799 CMake: produce a standard modern-CMake config file
- Use modern CMake commands to produce the config file
- Drop the CalamaresUse.cmake file, include its functionality
  in the config file.
4 years ago
Adriaan de Groot 6507098d16 CMake: use standard function for creating a version file 4 years ago
Adriaan de Groot b9f802bbda CMake: shuffle includes together 4 years ago
Adriaan de Groot fb3bc12aac Post-release housekeeping 4 years ago
Adriaan de Groot 1a48fa26df Changes: pre-release housekeeping 4 years ago
Callum Farmer 280e367c86 [/] Update SPDX identifiers.
Update CMakeLists.txt
4 years ago
Adriaan de Groot 47979555fe CMake: optionally disable QML
This makes it possible to remove QML from Calamares, possibly yielding
a smaller, lighter installer; it takes with it the nice slideshow,
modern configurable navigation and the QML UIs built for various modules.

By default, WITH_QML is on and the "normal" feature set is retained.

- look for Qml modules only when WITH_QML is on (the default)
- look for Network, since that's pulled in only implicitly
- disable the QML Calamares models (modules/*q) if no QML is
  enabled; longer-term plan is to merge the **pages** back to
  the "upstream" modules, and have things be run-time switchable,
  but that's not here yet. Also disable the notesqml module when
  QML is off.
4 years ago
Adriaan de Groot cdb99ad887 CMake: shuffle WITH_* settings for calamares executable
- reminder to make all the ABI-relevant WITH_* settings available as #defines
- move the compilation of KDSAG to the calamares executable, not the library
- when DBus activation is on, drop all of kdsingleapplicationguard
4 years ago
Adriaan de Groot 1e09b823b7 CMake: remove redundant testing configuration
- BUILD_TESTING is built-in to CMake, and including CTest turns
  on all the machinery, so we don't have to do that ourselves.
4 years ago
Adriaan de Groot c90ebb5d82 [libcalamares] Apply Qt defines consistently
- Move some definitions that influence Qt compilation
  up to the top-level.
4 years ago
Adriaan de Groot ab6c6a6748 Changes: post-release housekeeping 4 years ago
Adriaan de Groot 0d6e10311c Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 54b211daa4 CMake: switch back to kdsingleapplicationguard
- Reports from downstream Manjaro that the DBus activation doesn't
  work at all. Switch the default back to the old way, until it
  can be debugged more.
4 years ago
Adriaan de Groot b7214b8ede [calamares] Switch over to DBus unique activation
- By default, try to use DBus service to keep Calamares unique
- The older implementation via KDSingleApplicationGuard is still
  available, just not used by default.
5 years ago
Gaël PORTAY ded923fb95 Docs: Add support for bash-completion 5 years ago
Adriaan de Groot 7664a913cc Changes: post-release housekeeping 5 years ago
Adriaan de Groot d24e2b561f Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 05990fb287 CMake: handle DEBUG_* consistently
- Make all four DEBUG_ flags actual CMake options, rather than
  stuffing some of them in the rather-peculiar _enable_debug_flags.
  Each debug option turns on suitable compile flags in the module(s)
  that are affected.
5 years ago
Adriaan de Groot 3b69e48e04 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 624b8ae853 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 599c72bade Changes: post-release housekeeping 5 years ago
Adriaan de Groot 32ded8b731 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 948ecb4fd1 CMake: explain the policy settings 5 years ago
Adriaan de Groot c15022462a Changes: post-release housekeeping 5 years ago
Adriaan de Groot 3c059cc599 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot aacdb6be29 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 801c3d4715 Changes: pre-release (hotfix) housekeeping 5 years ago
Adriaan de Groot a7b0b03bde Changes: post-release housekeeping 5 years ago
Adriaan de Groot 01c9916cb9 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 6bdc4a55de CMake: new convenience module CalamaresAddTest 5 years ago
Adriaan de Groot 445eb1f640 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 5107ce550b Changes: pre-release housekeeping 5 years ago
Adriaan de Groot b3f5e28738 CMake: update language list
- Add Assamese (as) in the *ok* group.
 - Although languages move around a bit in the groupings,
   that doesn't change their availability; just says something
   about the current translation status.
5 years ago
Adriaan de Groot c482990bc5 CMake: fix find-boost 5 years ago
Adriaan de Groot 1bc8a28eac CMake: Calamares doesn't want -p in automoc
FIXES #1286
5 years ago