365 Commits (b82da569d5b01f1ba84869efdf4490dfbfa4adf8)

Author SHA1 Message Date
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)
5 years ago
Adriaan de Groot 9039e15bdf CMake: tidy misc. installation bits
- don't generate uninstall file twice
- tighten up vertical space
5 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
5 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.
5 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.
5 years ago
Adriaan de Groot 6507098d16 CMake: use standard function for creating a version file 5 years ago
Adriaan de Groot b9f802bbda CMake: shuffle includes together 5 years ago
Adriaan de Groot fb3bc12aac Post-release housekeeping 5 years ago
Adriaan de Groot 1a48fa26df Changes: pre-release housekeeping 5 years ago
Callum Farmer 280e367c86 [/] Update SPDX identifiers.
Update CMakeLists.txt
5 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.
5 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
5 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.
5 years ago
Adriaan de Groot c90ebb5d82 [libcalamares] Apply Qt defines consistently
- Move some definitions that influence Qt compilation
  up to the top-level.
5 years ago
Adriaan de Groot ab6c6a6748 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 0d6e10311c Changes: pre-release housekeeping 5 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.
5 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
Adriaan de Groot 162ab2129e Changes: post-release housekeeping 5 years ago
Adriaan de Groot 0eb666c56a CMake: support TWEAK releases in version-information 5 years ago
Adriaan de Groot 8988e05f88 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 992746d558 Changes: post-release housekeeping 5 years ago
Adriaan de Groot b69dd3a93c Changes: pre-release housekeeping 5 years ago
Adriaan de Groot ffbc1a3e7d Changes: post-release housekeeping 5 years ago
Adriaan de Groot 9497540b64 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 300ebaaa03 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 3a7d0d4ee7 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 160ecd5ddc Changes: post-release housekeeping 5 years ago
Adriaan de Groot 9ad5ba36b0 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot 409c90a5bf i18n: welcome Malayalam translation 5 years ago
Adriaan de Groot c9ab0524e2 Changes: post-release housekeeping 5 years ago
Adriaan de Groot f156a683a8 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot e3f933259b CMake: missing return statement should be an error 5 years ago
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_
5 years ago
Adriaan de Groot bcb7f17584 [calamares] Make KCoreAddons a requirement
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
5 years ago
Adriaan de Groot 2bb1474ebb Changes: post-release housekeeping 6 years ago
Adriaan de Groot 729616ac6a Changes: pre-release housekeeping 6 years ago
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.
6 years ago
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.
6 years ago
Adriaan de Groot 05daa22542 CMake: update language lists 6 years ago
Adriaan de Groot ca58b67eb9 Changes: post-release housekeeping 6 years ago
Adriaan de Groot e88269089b Changes: pre-release housekeeping 6 years ago
Adriaan de Groot 69032ab5a0 Changes: post-release housekeeping 6 years ago
Adriaan de Groot 1bb3ea35b5 Changes: pre-release housekeeping 6 years ago
Adriaan de Groot 25fe8f73c9 CI: label languages "incomplete" at < 5% 6 years ago
Adriaan de Groot 36789d23fb CMake: update language list (add ca@valencia) 6 years ago
Adriaan de Groot e49beaea91 CMake: switch WITH_PYTHONQT default to OFF 6 years ago
Adriaan de Groot 0619f19536 CMake: post-release housekeeping 6 years ago
Adriaan de Groot 6dc83d692c CMake: pre-release housekeeping 6 years ago
Adriaan de Groot 4de703430f CMake: -O4 doesn't do anything in Clang, use -O3 6 years ago
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.
6 years ago
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.
6 years ago
Adriaan de Groot ec15cfb58d CMake: post-release housekeeping 6 years ago
Adriaan de Groot 6d7fd9db26 CMake: pre-release housekeeping 6 years ago
Adriaan de Groot b840bce22d CMake: reduce Qt dependency back to 5.9
- Although KDE CI onlt tests with Qt 5.10, and KPMCore 4 requires
   Qt 5.10, Calamares is still ok with older Qt and KPMCore 3.3,
   so drop the dependency back down again. This means, though, that
   the code will build against a Qt version we don't usually test.
   We're going to assume that Someone Else does the LTS-Qt testing
   for us.
6 years ago
Adriaan de Groot f937ef6eb9 CMake: be compatible with clang 6
- Some of the pragmas in moc-warnings.h, intended to *reduce*
   warnings from MOC code, generate a warning in their own right.
6 years ago
Adriaan de Groot a01262a535 CMake: massage dependency-finding
- If KPMCore is not found, don't require the KF5 components
   that it would depend on.
 - If ECM is found, use KDEInstallDirs always, not just when
   the partitioning module is used.
6 years ago
Adriaan de Groot 9eab61455a CMake: bump versions post-release 6 years ago
Adriaan de Groot cdcd45900b Changes: document 3.2.7 hotfix 6 years ago
Adriaan de Groot 5373729572 Changes: prep for release 6 years ago
Adriaan de Groot bdb7bf71a8 Reduce warnings from moc-generated code
- The auto-generated code produces a lot of warnings from
   Clang 8; this obscures the more meaningful warnings from
   actual Calamares code, so tone the warnings down.
 - For Clang, set CALAMARES_MOC_OPTIONS.
 - Add convenience CMake function for automoccing. It applies
   the options as needed to a given target.
6 years ago
Adriaan de Groot 1f66062c81 CMake: bump version, new stub in CHANGES 6 years ago
Adriaan de Groot 14bedef411 CMake: change project identifier to simplify code
- Using CALAMARES means that the automatic versioning variables
   are set using that name (instead of lower-case).
6 years ago
Adriaan de Groot 01f5ac22a0 CMake: use conventional method for setting version
- Using project() to set up the version is idiomatic for CMake
   and more standardised than doing it by hand. Do retain the
   RC flag, because that's used in other parts of versioning.
6 years ago
Adriaan de Groot e71fa5963b CMake: document top-level definitions and options 6 years ago
Adriaan de Groot 355987bfa1 CMake: QtConcurrent is required as well.
SEE #1082
6 years ago
Adriaan de Groot 7ed74cefa1 CMake: bump version 6 years ago
Adriaan de Groot a0ed58267d CMake: update translations, drop RC status 6 years ago
Adriaan de Groot d5033f218f CMake: drop es_ES which snuck into the language list 6 years ago
Adriaan de Groot b98006b94b i18n: welcome Nepali as language
- Nepali new language
 - Asturian at 100%
 - Polish documentation a bit
6 years ago
Adriaan de Groot 44211ee19a Merge branch 'release-3.2.3'
- Pull in CHANGES and release-numbering modifications
 - Pull in locale fixes
 - Bump version again, to 3.2.4-RC1 in master
6 years ago
Adriaan de Groot ba82526449 CMake: drop RC version for release 6 years ago
Adriaan de Groot 59eaf18b9f CMake: bump required Qt version
- kpmcore will require Qt 5.10 shortly
 - KDE CI tests only Qt 5.10 and later
6 years ago
Adriaan de Groot 0b6e1ca488 i18n: update list of translations from Transifex
- Add automatic tooling to retrieve translation stats and
   output new CMake variable settings.
 - If there are i18n language selection warnings, stop CMake.
6 years ago
Adriaan de Groot b8595a1323 CMake: relax debugging flags again 6 years ago
Adriaan de Groot 9816b6951f CMake: add debugging flags to compile in debug mode 6 years ago
Adriaan de Groot 7515386cf8 CMake: clean up test setup
- Remove redundant searches for ECM and Qt::Test, move
   them to top-level.
6 years ago
Adriaan de Groot 3b6cb73975 CMake: bump version for next release 6 years ago
Adriaan de Groot 46687fcb4c CMake: bump version and changelog 6 years ago