aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-06-07Merge branch 'fix-warn-uninit' of ↵Allen Winter
invent.kde.org:frameworks/extra-cmake-modules into fix-warn-uninit
2021-06-07modules/ECMGenerateHeaders.cmake - init originalprefixAllen Winter
to make cmake --warn-uninitialized happy
2021-06-07modules/ECMGenerateHeaders.cmake - init originalprefixAllen Winter
to make cmake --warn-uninitialized happy
2021-06-01Add LicenseRef-KDE-Accepted-GPL to license compatibility Matrixv5.83.0-rc1v5.83.0Nicolas Fella
LicenseRef-KDE-Accepted-GPL is GPL3 + later version accepted by KDE, so a file licensed only under this license is compatible with an outbound license of GPL-3.0-Only
2021-05-29ecm_gperf_generate(): add option for target arg to add the gen. source toFriedrich W. H. Kossebau
2021-05-29ecm_qt_declare_logging_category: catch alias targets before failing internallyFriedrich W. H. Kossebau
target_sources() as used internally does not take alias targets.
2021-05-27Provide fallback error when no .clang-format file is presentAndreas Cord-Landwehr
This check fixes a probably rare case, where we land in a repository that contains this clang-format.sh hook but where the format file went missing. In such cases, clang-format falls back to the system defaults, which brings undesired defaults, e.g. enforced line breaks in comments after 90 chars, which cannot easily be reverted by a reformat. Since clang-format's --fallback-style=none option is not available for git clang-format, this comment reimplements the logic.
2021-05-26Enable buildling docs for FindLibMountAhmad Samir
Thanks to kossebau for pointing that out. NO_CHANGELOG
2021-05-25Add module to find libmountAhmad Samir
There is a chance it's going to be used in Solid, and possibly KIO. Other exiting modules were used as templates while writing this.
2021-05-25Drop FindFontConfig.cmakeChristophe Giboudeaux
CMake 3.14 ships a module with compatible variables.
2021-05-25Clean ECM files after the minimum version changeChristophe Giboudeaux
- Remove deprecated version checks - Use VERSION_GREATER_EQUAL
2021-05-23Make sure that dir path exists before attempting to copy fileBart De Vries
2021-05-23Attempt to find the Play store icon if it's not explicitly setVolker Krause
This relies on the apparently predominant naming pattern for those files, those of our apps not using this often do not seem to have an appropriate file (512x512 png) to begin with. Explicit override is also possible, by the already existing mechanism of putting a file with the right name into the fastlane/ source directory. Having the icon included here will allow it to be automatically synced to the Play store.
2021-05-21Add address sanitizer for MSVCFelix Weilbach
2021-05-21ecm_create_qm_loader: support target as alternative argumentFriedrich W. H. Kossebau
2021-05-18appstreamtest: Check if file exists before testing itAlexander Lohnau
In case one has uninstalled the project, but has made local changes that should be tested the test would fail. Instead check if the files exist before adding them to the list of files that will be tested.
2021-05-17Don't pass through list rich text elements, Google Play can't handle thoseVolker Krause
Instead, restore their plain text fallback output that we used to have already prior to enabling rich text support.
2021-05-17Fix doc build with Sphinx 4Antonio Rojas
2021-05-17Use pkg_check_modules in FindTaglib.cmakeChristophe Giboudeaux
pkg_search_module() is only useful when the pkgconfig file may have different names.