aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-25python: Bump maximum version for Python 3 module generator check.Michael Pyne
The proximate problem is that the Python Module generator cmake script has started failing for people with Python 3.10, which a CMake backtrace pointing into FindPythonModuleGeneration.cmake with an error of the form "The max python version in PythonModuleGeneration must be updated." At least one distro has addressed this by simply patching out modules that happen to use this CMake module [1]. From what I can tell and the testing I've done, the cause is pretty simple: The CMake script attempts to find the best Python 3 version by starting from an impossible version and working backwards until it finds a version that is installed. As a sanity check, if the "impossible" version is actually present, it aborts. But this appears to be just a sanity check, and not any sort of guard against buggy version handling code later. While the best fix is probably to start from a known *good* version and move up until we stop finding better versions, there's problems here (e.g. a user with 3.6 and 3.8 installed would fail to see 3.7 and so be left with 3.6 as the "best" match), so I opted just to increase the max version significantly, and improve the documentation as to what's happening and whether it is safe to repeat the step again later. [1]: https://bugs.gentoo.org/746866
2021-09-20clang-format: extend ForeachMacrosDavid Edmundson
wl_resource_for_each_safe is used in kwayland-server, and as the name suggests is a for-each like function.
2021-09-20Avoid raising an error for submodule git trees.Damien Caliste
2021-09-13Make sphinx happier about syntaxAlbert Astals Cid
And the generated html looks more correct
2021-09-11KDEClangFormat: Check for autogeneration notice instead of copyright textAlexander Lohnau
If people ship their own clang-format file they might still have the copyright, because they forked it. Instead search for the notice that the file is autogenerated.
2021-09-11GIT_SILENT Upgrade ECM version to 5.87.0.l10n daemon script
2021-09-01ECMSetupQtPluginMacroNames: avoid use of IN_LIST in generated codev5.86.0-rc1v5.86.0Friedrich W. H. Kossebau
NO_CHANGELOG
2021-09-01ECMSetupQtPluginMacroNames: avoid adding duplicates to vars in config codeFriedrich W. H. Kossebau
2021-08-16Enable KDEGitCommitHooks on WindowsHannah von Reth
Git on Windows provides bash
2021-08-15Add LicenseRef-KDE-Accepted-LGPL to license compatibility matrixNicolas Fella
KDE-Accepted-LGPL means LGPL3 plus maybe future version, so accept it everywhere LGPL3-only is accepted
2021-08-14GIT_SILENT Upgrade ECM version to 5.86.0.l10n daemon script
2021-08-06Add another test for ECMSetupVersionChristophe Giboudeaux
Amends: f0790f910 GIT_SILENT
2021-08-05[ecmcheckoutboundlicense] Ensure that last source file is always processedv5.85.0-rc1v5.85.0Nicolas Fella
Sometimes reuse spdx does not produce an empty line after the last FileName line and thus the file is never added to the dictionary
2021-08-05Simplify the PROJECT_VERSION regexChristophe Giboudeaux
CMake rejects the project version if it contains anything but dots and numbers, there's no need to try to catch anything else.
2021-08-05Handle case where zero must be keptChristophe Giboudeaux
This is required for the frameworks versions Amends: a0f8e54
2021-08-05ecm_setup_version: deal with 0-prefixed version values in PROJECT modeFriedrich W. H. Kossebau
5c191fa1d2383c69ddc075395e04f84b7679613a already added the same sanity check for the non-PROJECT mode
2021-08-04modules/ECMGenerateHeaders.cmake - avoid uninitialized warningAllen Winter
Check for EGH_REQUIRED_HEADERS definition before using. Avoids a CMake warning for unitialized values.
2021-07-20suppress tar errorsAdriaan de Groot
With non-GNU tar, passing the --sort option may print out an error message saying the option isn't supported; that's confusing and not useful to the consumer.
2021-07-19Move ENABLE_BSYMBOLICFUNCTIONS documentation in its own moduleAleix Pol
2021-07-18FindGperf: support version checkFriedrich W. H. Kossebau
2021-07-17Define NOMINMAX on WindowsHannah von Reth
This will prevent the macro definition of min and max which breaks the use of std::min and std::max
2021-07-16KDEFrameworksCompilerSettings: move backward-compat code into separate fileFriedrich W. H. Kossebau
Also add trigger to switch to KDE_COMPILERSETTINGS_LEVEL of latest KDECompilerSettings on ECM dependency in KF modules to 5.85 NO_CHANGELOG
2021-07-16KDECompilerSettings: properly use KDE_QT_MODERNCODE_DEFINITIONS_LEVELFriedrich W. H. Kossebau
MO_CHANGELOG
2021-07-16KDECompilerSettings: support multiple inclusion and auto-levelsFriedrich W. H. Kossebau
Existing projects have muliple calls of find_package(ECM) and include(KDECompilerSettings), usually in pairs, e.g. for forks of 3rd-party software or examples. While this is not a recommnended setup, as there is no official mechanism to properly reset previously created setings, those existing projects and their releases can be supported by discarding any auto-level values at the end of the include, so the next can pick up again the value of any closer find_package(ECM) call. NO_CHANGELOG
2021-07-15KDECompilerSettings: fix message status on too high KDE_COMPILERSETTINGS_LEVELFriedrich W. H. Kossebau
Also print current values for more context NO_CHANGELOG
2021-07-15KDEFrameworksCompilerSettings: remove hardcoded KDE_COMPILERSETTINGS_LEVELFriedrich W. H. Kossebau
No longer needed, also triggering wrong warning about KDE_COMPILERSETTINGS_LEVEL value for 3rd-party users requiring older ECM NO_CHANGELOG
2021-07-15Add Find7z & FindgzipFriedrich W. H. Kossebau
2021-07-13Fix typos found by codespellChristophe Giboudeaux
GIT_SILENT
2021-07-13KDEFrameworksCompilerSettings: guard ENABLE_BSYMBOLICFUNCTIONS by ECM versionFriedrich W. H. Kossebau
NO_CHANGELOG
2021-07-12Fix windows build on CIAhmad Samir
GIT_SILENT
2021-07-12Don't install logging categories files on AndroidVolker Krause
There is no KDebugSettings there, and thus those files just bloat the APK.
2021-07-12Handle case where ECM_GLOBAL_FIND_VERSION is undefinedChristophe Giboudeaux
If no minimum ECM version is required, ECM_GLOBAL_FIND_VERSION is empty and the version comparison fails. Amends: 12af1e4e5
2021-07-12Enable the usage of -Bsymbolic-functionsAleix Pol
Checks if the compiler supports it and if so it enables it by default. This is useful as it allows to perform internal linking operations at build time that otherwise would have been delayed until process startup time.
2021-07-10Revert "KDEFrameworksCompilerSettings: use latest KDECompilerSettings"Friedrich W. H. Kossebau
Has to wait until KF requires ECM 5.85.0 This reverts commit e6f87fa7427a2edde7dd8a47ace21011169d2650. NO_CHANGELOG
2021-07-10KDEFrameworksCompilerSettings: use latest KDECompilerSettingsFriedrich W. H. Kossebau
NO_CHANGELOG
2021-07-10KDECompilerSettings: add KDE_COMPILERSETTINGS_LEVEL & more settingsFriedrich W. H. Kossebau
There is desire for having more strict compiler settings by default over what the KDECompilerSettings have been declaring until now. This means making more use of modern features usually and being less tolerant about the use of deprecated ones. While some projects have used KDEFrameworksCompilerSettings to get more modern requirements by just a single macro include, that was not the intent of that module, and now is also warned about in the docs. Instead of adding a new separate dedicated module e.g. named KDEStricterCompilerSettings, with a separate version scheme for sets of strict settings, the existing KDECompilerSettings macro file is instead extended as well as are the ECM versions reused to define the different sets of settings. As these settings are getting more strict by the time, e.g. allowing less of old & deprecated code, these sets are considered as kind of levels. To enable the clients to control the required settings level, a dedicated variable KDE_COMPILERSETTINGS_LEVEL is introduced, which for convenience defaults to the minimum required ECM version, so only needs to be set when the need for other newer features provided by ECM does not go along the settings level of that ECM version. As some projects might have needs not exactly matching a certain settings level, additionally the settings can be optionally individually controlled by specific variables, to be set again before including KDECompilerSettings.
2021-07-10GIT_SILENT Upgrade ECM version to 5.85.0.l10n daemon script
2021-07-03Trim whitespaces from description textsVolker Krause
This fixes spurious differences after a roundtrip through Google Play, breaking change detection and thus triggering unnecessary metadata updates.
2021-07-01Number screenshots in the same way the fastlane tool does thisv5.84.0-rc1v5.84.0Volker Krause
This considerably simplifies comparing our data with that retrieved from Google Play for automatically syncing metadata.
2021-06-29Make pre-commit hook executableMilian Wolff
Otherwise recent versions of git will complain with: ``` hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable. hint: You can disable this warning with `git config advice.ignoredHook false`. ```
2021-06-28KDECompilerSettings: revert setting CMAKE_C(XX)_EXTENSIONSFriedrich W. H. Kossebau
Some projects using KDECompilerSettings need more control about whether this is set, as 3rd-party projects linked to might not meet those requirements. To be reworked and added later with consumer control options
2021-06-27[fastlane] Add mapping for serbianNicolas Fella
Qt maps it this way
2021-06-27cmake: Explicetely disable c/c++ compiler extensionsAlbert Astals Cid
We're a multi-compiler project, so disable compiler specific extensions
2021-06-25KDEFrameworkCompilerSettings: add warning note to only use for KF modulesFriedrich W. H. Kossebau
NO_CHANGELOG
2021-06-19Set the C++17 standard starting from 5.84Ahmad Samir
2021-06-19Bump the C++ standard we compile with to 17Ahmad Samir
But only for repos that require Frameworks 5.83 or newer. We have asked on the KDE distributions mailing list and distro maintainers didn't object to the change (since most distros already have recent enough compilers).
2021-06-15Update IRC network name in the READMENicolás Alvarez
KDE has moved from freenode to Libera Chat, update the README to reflect this.
2021-06-13Override atime and ctime in tar PaxHeadersBernhard M. Wiedemann
to make build results deterministic See https://reproducible-builds.org/ for why this is good. related to https://phabricator.kde.org/D25494 Without this patch, openSUSE's kio package varied in /usr/share/kdevappwizard/templates/ioslave.tar This PR was done while working on reproducible builds for openSUSE.
2021-06-12GIT_SILENT Upgrade ECM version to 5.84.0.l10n daemon script
2021-06-12Add prefix.sh.fish file for fish shellAlexander Lohnau