Commit Graph

456 Commits

Author SHA1 Message Date
Friedrich W. H. Kossebau 7901e48523 Use Find7z & Findgzip from ECM
NO_CHANGELOG
2021-07-18 15:15:27 +00:00
l10n daemon script 7399450bf7 GIT_SILENT Upgrade ECM and KF version requirements for 5.85.0 release. 2021-07-14 22:38:13 +00:00
l10n daemon script 057b744762 GIT_SILENT Upgrade KF version to 5.85.0. 2021-07-10 19:32:13 +00:00
Andreas Cord-Landwehr 8953e77ec2 Add compatibility code when GLVND is not available
CMake's FindOpenGL internally handles EGL only correctly when GLVND is
available. This might not the case on embedded systems and actually it
is not necessary when EGL::EGL is found.

BUG: 438444
2021-06-24 20:11:44 +00:00
l10n daemon script 3c84e6ae81 GIT_SILENT Upgrade ECM and KF version requirements for 5.84.0 release. 2021-06-19 16:04:14 +00:00
Adriaan de Groot a81a78becd CMake: do not expand variables beforehand
In **general**, variables in `if()` commands should not be expanded
"by hand" before use, because substitution occurs before the `if()`
command is parsed: in practice that means that a command like

	if(${A} STREQUAL "A")

can expand to (depending on the value of A being empty, "B" or "A")

	if( STREQUAL "A")
	if(B STREQUAL "A")
	if(A STREQUAL "A")

Then the `if()` command is processed, leading to:

 - a syntax error
 - comparing the value of variable B against string "A"
 - comparing the value of variable A (it's "A" because that
   is what `${A}` expanded to) against string "A"

This is explained in section *Variable Expansion* of the documentation
of the `if()` command, but keeps tripping people up.
2021-06-14 14:47:53 +00:00
l10n daemon script 2c6c29064d GIT_SILENT Upgrade KF version to 5.84.0. 2021-06-12 19:37:49 +00:00
l10n daemon script 33eb00127a GIT_SILENT Upgrade ECM and KF version requirements for 5.83.0 release. 2021-06-05 09:01:25 +00:00
Ahmad Samir 6ca69fb7ca Clean up some cmake code
GIT_SILENT
2021-06-01 23:20:03 +02:00
Ömer Fadıl Usta acdb1eef51 Fix missing definition of HAVE_X11 2021-06-01 00:38:49 +00:00
Ahmad Samir 661c652e65 Fix FreeBSD build on the CI
GIT_SILENT
2021-06-01 00:19:51 +02:00
Ahmad Samir a70957d96c Fix build with CMake 3.16
Use FindOpenGL from CMake upstream which finds both OpenGL and EGL.

Fix linking by using OpenGL::GLX (instead of ${OPENGL_gl_LIBRARY} which is
set to an empty string when GLVND is used). Thanks to Ömer Fadıl Usta for
mentioning that in https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/264

NO_CHANGELOG
2021-05-31 22:21:11 +02:00
Ahmad Samir 38d24bfac0 Bump required CMake version to 3.16
KF6 task: https://phabricator.kde.org/T14467

Bump cmake_minimum_required to 3.16 in templates too.
2021-05-31 17:28:31 +02:00
Ahmad Samir 29e06a6294 Remove compiler flags already defined in extra-cmake-modules
-DQT_NO_FOREACH

GIT_SILENT
2021-05-23 17:20:09 +02:00
David Faure a9372fb6ac Call ki18n_install() unconditionally, see kcontacts!9 2021-05-08 17:26:12 +02:00
l10n daemon script af206daa17 GIT_SILENT Upgrade KF version to 5.83.0. 2021-05-08 12:44:07 +00:00
l10n daemon script 1882e9a7bd GIT_SILENT Upgrade ECM and KF version requirements for 5.82.0 release. 2021-05-01 09:47:44 +00:00
David Faure 252d4b91d2 GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT 2021-04-11 12:09:16 +02:00
l10n daemon script 18c1940a64 GIT_SILENT Upgrade KF version to 5.82.0. 2021-04-10 11:36:29 +00:00
David Faure 82884be7a6 Fix build by reverting the level of Qt deprecation API.
I'll ensure there's a task about qmlRegisterInterface....
2021-04-04 15:49:48 +02:00
David Faure 508d371184 GIT_SILENT Upgrade Qt5 version requirement to 5.15.0. 2021-04-04 15:10:53 +02:00
l10n daemon script 93598ec180 GIT_SILENT Upgrade ECM and KF version requirements for 5.81.0 release. 2021-04-03 09:39:20 +00:00
David Faure f54f769d12 GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT 2021-03-27 11:41:04 +01:00
l10n daemon script 1bb889dfac GIT_SILENT Upgrade KF version to 5.81.0. 2021-03-15 14:42:41 +00:00
Ahmad Samir cce6198bb9 Add clang-format bits to CMakeLists.txt
GIT_SILENT
2021-03-13 17:35:34 +00:00
l10n daemon script 5072f38e80 GIT_SILENT Upgrade ECM and KF version requirements for 5.80.0 release. 2021-02-28 19:09:04 +00:00
David Faure 2b31e65cb4 GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT 2021-02-13 14:44:55 +01:00
l10n daemon script db1808346c GIT_SILENT Upgrade KF version to 5.80.0. 2021-02-13 12:32:09 +00:00
Nicolas Fella 08f0204d16 Replace KF5_VERSION with KF_VERSION
Frameworks will be Frameworks 6 at some point and there is no good reason to have the major version in the variable name.

Given this is purely internal we can to this now, making it a bit more future-proof

GIT_SILENT

NO_CHANGELOG
2021-01-29 23:25:42 +01:00
l10n daemon script a9b9a25c9f GIT_SILENT Upgrade ECM and KF5 version requirements for 5.79.0 release. 2021-01-29 20:53:43 +00:00
Friedrich W. H. Kossebau 3f390848ed Remove unused variable argument to configure_package_config_file calls
NO_CHANGELOG
2021-01-29 05:31:07 +01:00
l10n daemon script 296ab6421b GIT_SILENT Upgrade KF5 version to 5.79.0. 2021-01-09 10:06:14 +00:00
l10n daemon script 84527c752c GIT_SILENT Upgrade ECM and KF5 version requirements for 5.78.0 release. 2021-01-02 12:35:28 +00:00
Albert Astals Cid c20f93d26e GIT_SILENT Upgrade Qt5 version requirement to 5.14.0. 2020-12-18 19:10:25 +01:00
l10n daemon script ec113adffe GIT_SILENT Upgrade KF5 version to 5.78.0. 2020-12-12 13:20:11 +00:00
l10n daemon script 26eb310175 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.77.0 release. 2020-12-05 10:17:09 +00:00
Albert Astals Cid 65d600fa93 GIT_SILENT Upgrade Qt5 version requirement to 5.13.0. 2020-11-27 00:52:43 +01:00
l10n daemon script 390ae72097 GIT_SILENT Upgrade KF5 version to 5.77.0. 2020-11-16 09:31:18 +00:00
l10n daemon script 48c7856718 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.76.0 release. 2020-11-07 11:46:16 +00:00
David Faure 5d6cbd1de9 GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT 2020-10-11 11:32:11 +02:00
l10n daemon script f8b38b42e9 GIT_SILENT Upgrade KF5 version to 5.76.0. 2020-10-10 15:49:56 +00:00
l10n daemon script 3073465b82 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.75.0 release. 2020-10-04 09:59:40 +00:00
l10n daemon script b8ea2cc5a9 GIT_SILENT Upgrade KF5 version to 5.75.0. 2020-09-12 11:49:40 +00:00
l10n daemon script 1e430666c2 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.74.0 release. 2020-09-06 09:36:30 +00:00
David Faure a230221a54 GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT 2020-08-16 01:16:17 +02:00
l10n daemon script 458ba419f3 GIT_SILENT Upgrade KF5 version to 5.74.0. 2020-08-08 10:28:37 +00:00
l10n daemon script 74de953ce6 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.73.0 release. 2020-08-01 17:13:57 +00:00
l10n daemon script 81aed18cf3 GIT_SILENT Upgrade KF5 version to 5.73.0. 2020-07-12 21:55:03 +00:00
l10n daemon script fb87efff68 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.72.0 release. 2020-07-04 09:58:59 +00:00
l10n daemon script d0d6e73b39 GIT_SILENT Upgrade KF5 version to 5.72.0. 2020-06-13 12:43:38 +00:00