Commit Graph

390 Commits

Author SHA1 Message Date
Adriaan de Groot
3ae4ccf402 Changes: post-release housekeeping 2020-08-20 18:03:16 +02:00
Adriaan de Groot
559bb6f27a Changes: pre-release housekeeping 2020-08-20 17:24:23 +02:00
Adriaan de Groot
8518a5037d Changes: post-release housekeeping 2020-08-10 23:18:02 +02:00
Adriaan de Groot
172859dc2d Changes: pre-release housekeeping 2020-08-10 18:21:36 +02:00
Adriaan de Groot
740d723ec0 CMake: add SPDX identifiers to top-level CMakeLists.txt
- This is kind of bogus, since the file has existed for much longer
  than the identifier says, but I don't want to do spelunking now.
2020-08-10 09:44:34 +02:00
Adriaan de Groot
afebe8211a Changes: pre-release housekeeping 2020-08-09 21:01:44 +02:00
Adriaan de Groot
f324a055e5 CMake: put completions with the other "misc. installs" 2020-08-07 10:43:29 +02:00
Adriaan de Groot
29cfcb01da i18n: suppress Interlingue
- like Esperanto before Qt 5.12, Interlingue does not
  seem to be supported by QLocale, so it gets turned into
  "C" locale, which then messes up the default language
  selection in the welcome page.

Move it to _incomplete until QLocale does support it.

FIXES #1475
2020-08-04 12:40:08 +02:00
Adriaan de Groot
eacaa99609 Changes: welcome to a complete Tajik translation.
FIXES #1468
2020-07-31 10:32:46 +02:00
Adriaan de Groot
33eab6e869 CMake: improve validator dependency-checking
The configvalidator has some extra Python dependencies. Cache
the restults of checking the dependencies (convenient for developers),
and also explain what's going on if the feature is switched off.
2020-07-29 10:58:07 +02:00
Adriaan de Groot
9568fc082f [calamares] Try to reduce compile-churn with version header
- Very rarely do we need the full-git-version of Calamares,
  so split that into a separate header with a little trickery.
- In the "normal" version header, drop the full-git-version values.
2020-07-29 10:02:37 +02:00
Adriaan de Groot
d22f392609 CMake: update language lists
- welcome Tajik
- welcome Interlingue
2020-07-26 11:09:45 +02:00
Adriaan de Groot
4e4ffde604 Changes: post-release housekeeping 2020-07-11 17:00:36 +02:00
Adriaan de Groot
cfb0bebe0e Changes: pre-release housekeeping 2020-07-11 16:27:27 +02:00
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.
2020-06-23 10:45:11 +02:00
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
2020-06-22 17:34:32 -04:00
Adriaan de Groot
fde1aad465 CMake: add support for USE_*=none (from the os-modules branch) 2020-06-22 13:39:36 +02:00
Adriaan de Groot
7f85781d99 Changes: post-release housekeeping 2020-06-22 13:22:37 +02:00
Adriaan de Groot
b2fcc61987 Changes: pre-release housekeeping 2020-06-18 14:53:19 +02:00
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.
2020-06-16 17:36:59 +02:00
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.
2020-06-16 14:06:26 +02:00
Adriaan de Groot
62e7128ff6 CMake: document WITH_ and BUILD_ a little more
- also mark TODO:3.3: for incompatible / surprising changes for 3.3
2020-06-16 13:54:13 +02:00
Philip Müller
fe8459b7f0
[CMake] fix typo 2020-06-15 12:33:26 +02:00
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.
2020-06-12 11:35:23 +02:00
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
2020-06-10 11:51:53 +02:00
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)
2020-06-10 02:27:57 +02:00
Adriaan de Groot
9039e15bdf CMake: tidy misc. installation bits
- don't generate uninstall file twice
- tighten up vertical space
2020-06-10 01:42:11 +02:00
Adriaan de Groot
a62d96f555 CMake: tidy up installation of CMake infrastructure
- export() only once
- document variables a bit better
- drop the LibraryDepends file
2020-06-10 01:38:27 +02:00
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.
2020-06-10 01:37:54 +02:00
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.
2020-06-10 01:37:54 +02:00
Adriaan de Groot
6507098d16 CMake: use standard function for creating a version file 2020-06-09 23:38:31 +02:00
Adriaan de Groot
b9f802bbda CMake: shuffle includes together 2020-06-09 23:25:17 +02:00
Adriaan de Groot
fb3bc12aac Post-release housekeeping 2020-06-06 17:21:14 +02:00
Adriaan de Groot
1a48fa26df Changes: pre-release housekeeping 2020-06-06 17:07:53 +02:00
Callum Farmer
280e367c86 [/] Update SPDX identifiers.
Update CMakeLists.txt
2020-06-03 12:28:58 +01:00
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.
2020-05-14 16:31:39 +02:00
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
2020-05-14 12:21:33 +02:00
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.
2020-05-14 12:21:33 +02:00
Adriaan de Groot
c90ebb5d82 [libcalamares] Apply Qt defines consistently
- Move some definitions that influence Qt compilation
  up to the top-level.
2020-05-14 01:05:37 +02:00
Adriaan de Groot
ab6c6a6748 Changes: post-release housekeeping 2020-05-12 10:53:35 +02:00
Adriaan de Groot
0d6e10311c Changes: pre-release housekeeping 2020-05-11 20:53:23 +02:00
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.
2020-05-10 17:36:34 +02:00
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.
2020-05-08 15:22:15 +02:00
Gaël PORTAY
ded923fb95 Docs: Add support for bash-completion 2020-04-23 12:38:12 +02:00
Adriaan de Groot
7664a913cc Changes: post-release housekeeping 2020-04-17 15:25:15 +02:00
Adriaan de Groot
d24e2b561f Changes: pre-release housekeeping 2020-04-17 13:16:53 +02:00
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.
2020-04-14 11:18:51 +02:00
Adriaan de Groot
3b69e48e04 Changes: post-release housekeeping 2020-04-10 22:00:03 +02:00
Adriaan de Groot
624b8ae853 Changes: pre-release housekeeping 2020-04-08 13:24:09 +02:00
Adriaan de Groot
599c72bade Changes: post-release housekeeping 2020-03-28 10:48:13 +01:00
Adriaan de Groot
32ded8b731 Changes: pre-release housekeeping 2020-03-27 23:41:04 +01:00
Adriaan de Groot
948ecb4fd1 CMake: explain the policy settings 2020-03-18 10:25:16 +01:00
Adriaan de Groot
c15022462a Changes: post-release housekeeping 2020-03-03 14:30:35 +01:00
Adriaan de Groot
3c059cc599 Changes: pre-release housekeeping 2020-02-27 23:12:03 +01:00
Adriaan de Groot
aacdb6be29 Changes: post-release housekeeping 2020-02-24 21:47:13 +01:00
Adriaan de Groot
801c3d4715 Changes: pre-release (hotfix) housekeeping 2020-02-24 11:41:18 +01:00
Adriaan de Groot
a7b0b03bde Changes: post-release housekeeping 2020-02-21 22:07:15 +01:00
Adriaan de Groot
01c9916cb9 Changes: pre-release housekeeping 2020-02-21 18:53:03 +01:00
Adriaan de Groot
6bdc4a55de CMake: new convenience module CalamaresAddTest 2020-02-17 12:02:53 +01:00
Adriaan de Groot
445eb1f640 Changes: post-release housekeeping 2020-01-29 11:42:22 +01:00
Adriaan de Groot
5107ce550b Changes: pre-release housekeeping 2020-01-28 17:42:21 +01:00
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.
2020-01-27 16:42:05 +01:00
Adriaan de Groot
c482990bc5 CMake: fix find-boost 2020-01-07 11:38:18 +01:00
Adriaan de Groot
1bc8a28eac CMake: Calamares doesn't want -p in automoc
FIXES #1286
2020-01-07 11:20:45 +01:00
Adriaan de Groot
162ab2129e Changes: post-release housekeeping 2019-12-03 11:57:25 +01:00
Adriaan de Groot
0eb666c56a CMake: support TWEAK releases in version-information 2019-12-03 11:37:28 +01:00
Adriaan de Groot
8988e05f88 Changes: pre-release housekeeping 2019-12-02 11:47:58 +01:00
Adriaan de Groot
992746d558 Changes: post-release housekeeping 2019-11-28 16:51:07 +01:00
Adriaan de Groot
b69dd3a93c Changes: pre-release housekeeping 2019-11-28 13:12:14 +01:00
Adriaan de Groot
ffbc1a3e7d Changes: post-release housekeeping 2019-11-01 17:38:19 +01:00
Adriaan de Groot
9497540b64 Changes: pre-release housekeeping 2019-11-01 17:19:23 +01:00
Adriaan de Groot
300ebaaa03 Changes: post-release housekeeping 2019-10-13 21:12:24 +02:00
Adriaan de Groot
3a7d0d4ee7 Changes: pre-release housekeeping 2019-10-11 17:53:24 +02:00
Adriaan de Groot
160ecd5ddc Changes: post-release housekeeping 2019-10-01 11:14:21 +02:00
Adriaan de Groot
9ad5ba36b0 Changes: pre-release housekeeping 2019-10-01 10:50:12 +02:00
Adriaan de Groot
409c90a5bf i18n: welcome Malayalam translation 2019-09-23 12:56:51 +02:00
Adriaan de Groot
c9ab0524e2 Changes: post-release housekeeping 2019-08-30 13:38:00 +02:00
Adriaan de Groot
f156a683a8 Changes: pre-release housekeeping 2019-08-30 06:41:48 -04:00
Adriaan de Groot
e3f933259b CMake: missing return statement should be an error 2019-08-29 14:46:16 +02:00
Adriaan de Groot
8c5caf9fd0 [packagechooser] Add CMake knobs to enable/disable item choices
- AppData and AppStream can be disabled independently of finding
   their requirements (possibly useful if you want to ignore
   AppStream even when it's installed in your build environment).
 - Add a little top-level documentation about WITH_
2019-08-20 13:56:23 +02:00
Adriaan de Groot
bcb7f17584 [calamares] Make KCoreAddons a requirement
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
2019-08-12 13:24:53 +02:00
Adriaan de Groot
2bb1474ebb Changes: post-release housekeeping 2019-08-07 22:15:08 +02:00
Adriaan de Groot
729616ac6a Changes: pre-release housekeeping 2019-08-07 12:14:37 +02:00
Adriaan de Groot
fee2297e67 [packagechooser] Fix fallthrough situation
- Add a FALLTHRU macro to annotate fallthrough situations in both
   Clang and GCC,
 - Annotate intentional fallthroughs.
 - Add missing break which meant that the selection mode was
   always multiple-selection.
2019-08-06 00:24:53 +02:00
Adriaan de Groot
83df41ef06 CMake: bump required CMake to 3.3, enable Esperanto
- Require CMake 3.3 for the IN_LIST operator in if() statements
 - It looks like Qt 5.12.2 (possibly earlier) supports a QLocale("eo")
   so enable Esperanto if that Qt version or later is detected.
2019-08-05 18:24:31 +02:00
Adriaan de Groot
05daa22542 CMake: update language lists 2019-08-02 09:40:25 +02:00
Adriaan de Groot
ca58b67eb9 Changes: post-release housekeeping 2019-07-06 01:16:28 +02:00
Adriaan de Groot
e88269089b Changes: pre-release housekeeping 2019-07-06 00:52:35 +02:00
Adriaan de Groot
69032ab5a0 Changes: post-release housekeeping 2019-06-28 13:47:25 +02:00
Adriaan de Groot
1bb3ea35b5 Changes: pre-release housekeeping 2019-06-28 12:59:44 +02:00
Adriaan de Groot
25fe8f73c9 CI: label languages "incomplete" at < 5% 2019-06-18 11:44:19 +02:00
Adriaan de Groot
36789d23fb CMake: update language list (add ca@valencia) 2019-06-17 16:04:41 +02:00
Adriaan de Groot
e49beaea91 CMake: switch WITH_PYTHONQT default to OFF 2019-06-07 10:55:03 +02:00
Adriaan de Groot
0619f19536 CMake: post-release housekeeping 2019-06-07 10:45:53 +02:00
Adriaan de Groot
6dc83d692c CMake: pre-release housekeeping 2019-06-03 15:00:04 +02:00
Adriaan de Groot
4de703430f CMake: -O4 doesn't do anything in Clang, use -O3 2019-05-14 14:08:32 +02:00
Adriaan de Groot
10ba468748 [libcalamares] Avoid warnings / errors on both gcc and clang
- Clang 8 can detect that there is no need for a return if all
   previous paths already return. GCC 8 does not. Clang warns if
   the unreachable return is there, GCC errors out if it isn't.
 - Introduce a hack NOTREACHED that comments-out on Clang, and
   marks as unreachable (but still present) on GCC.
 - This might go away with an [[unreachable]] annotation or
   similar.
2019-05-14 05:29:18 -04:00
Adriaan de Groot
ba7ee445c6 CMake: switch to using autouic on plugins
- Use autouic so that we can also pass in --include to add
   a code-warning-suppression to the generated code, just like
   we can do with moc.
2019-05-13 14:52:26 +02:00
Adriaan de Groot
ec15cfb58d CMake: post-release housekeeping 2019-05-10 19:17:04 -04:00
Adriaan de Groot
6d7fd9db26 CMake: pre-release housekeeping 2019-05-10 18:52:06 -04:00