246 Commits (a7e5488f77aa2672963489d7a8ed1053f330137a)

Author SHA1 Message Date
Adriaan de Groot 6dc83d692c CMake: pre-release housekeeping 5 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
Adriaan de Groot f65ec65fcc CMake: bump version
- Set RC because this isn't near to a release yet
6 years ago
Adriaan de Groot dfb42f2b49 CMake: add target show-version to get version information 6 years ago
Adriaan de Groot 0e314447ec CMake: show the USE variable for services 6 years ago
Adriaan de Groot b2c2b91645 CMake: introduce USE_<foo>
When there are multiple modules doing a thing and it really only
makes sense to have one of them in a given Calamares compilation,
the USE_<foo> variables allow you to select one, while ignoring
all the other implementations. If USE_<foo> is not set, all
implementations are included (as usual).
6 years ago
Adriaan de Groot a6688504e8 CMake: switch INSTALL_CONFIG to OFF by default
- The examples files are not harmless, so distro's should take a
   explicit decision to install the config examples (instead of
   putting files in /etc/calamares).
6 years ago
Adriaan de Groot 018ee1cc06 CMake: bump version 6 years ago
Adriaan de Groot 25533c4dce i18n: Update language lists with Korean and current stats 6 years ago
Adriaan de Groot 6a36e1dc8e CMake: make docs and code consistent.
- Document the version requirements more accurately
6 years ago
Adriaan de Groot 5935d57069 CMake: bump minimum Qt to 5.7 to match kpmcore 6 years ago
Calamares CI ef897f59f5 i18n: Add Korean (ko) language translations
Since this is a new language, it is currently 0% translated.
That is why it goes into _tx_bad. It will move to one of the
other categories once some translation has happened. Add the
(still empty) Transifex files already.
6 years ago
Adriaan de Groot 52f2161c35 CMake: make polkit-qt5-1 optional
- This is only found in order to know where polkit files should
   be installed. In distro's that don't use polkit, may as well
   make it entirely optional.
6 years ago
Adriaan de Groot e52c99685d CMake: untangle more sections of top-level CMakeLists.txt 6 years ago
Adriaan de Groot fd2afc3ba9 CMake: move dependency-versioning info to top 6 years ago
Adriaan de Groot dfd76ed384 CMake: drop unused variable (no thirdparty/ dir anymore) 6 years ago
Adriaan de Groot fc979404d1 CMake: move translation settings up
- Follow previous move of user-adaptable settings and regularly-updated
   variables to the top of CMakeLists.txt with a move of the list of
   translated languages.
6 years ago
Adriaan de Groot 91a5ec426d CMake: shuffle the top-level CMakeLists
- Put all the options near the top, easy to spot when reading the file
 - Put the settings that need regular updates, like version, near the top
 - Add some "section headers"
6 years ago
Adriaan de Groot cfcc753130 i18n: Enable Belorussian translation 6 years ago
Adriaan de Groot 41f70975ea i18n: add Byelorussian (new translation team) 6 years ago
Adriaan de Groot 45b95e1b65 PythonQt: default to enabled
- This just causes it to be enabled and used when present
   by default, rather than disabled by default (even when present).
6 years ago