summaryrefslogtreecommitdiff
path: root/eclass
AgeCommit message (Collapse)Author
2025-06-15frameworks.kde.org.eclass: Mark 6.15 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-14cmake.eclass: Add src_install() check for CMake-4-incompatible modulesAndreas Sturmlechner
See examples: https://bugs.gentoo.org/953075 https://bugs.gentoo.org/957670 https://bugs.gentoo.org/957671 https://bugs.gentoo.org/957803 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-14cmake.eclass: Avoid none-detection by ensuring match starts w/ digitAndreas Sturmlechner
Thanks-to: Ionen Wolkens <ionen@gentoo.org> Closes: https://bugs.gentoo.org/957990 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-14cmake.eclass: mv _CMAKE_MINREQVER_UNSUPPORTED detection to src_prepareAndreas Sturmlechner
- _cmake_minverreq-lt(): New function for reusability of regex - Optimise #1: Reuse existing loop over CMakeLists.txt files - Optimise #2: If _CMAKE_MINREQVER_UNSUPPORTED is already set, then no further run of _cmake_minverreq-lt is necessary since we currently throw away the info on affected files - Relegate "CMake 4 detected; ..." to be a non-QA Notice, it is just an addendum Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-13cmake.eclass: Introduce _CMAKE_MINREQVER_UNSUPPORTEDAndreas Sturmlechner
Allows to split detection/eqawarn and applying cmakearg over different phases. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-12plasma.kde.org.eclass: Mark 6.4.0 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-12frameworks.kde.org.eclass: Mark 6.15 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-12ecm.eclass: Avoid unused cmake arg warnings w/ >=KF-6.15Andreas Sturmlechner
Upstream now only searches for these Python libs inside the BUILD_PYTHON_BINDINGS conditional if enabled. See also: https://invent.kde.org/frameworks/kunitconversion/-/commit/2c1239dd Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-12ecm.eclass: Restrict ECM_QTHELP to <6.15 for KDE FrameworksAndreas Sturmlechner
6.15 changes how API documentation is built, and we haven't implemented it yet. See also: https://mail.kde.org/pipermail/distributions/2025-June/001595.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-06cmake.eclass: quote "${file}" for sedsSam James
Otherwise sed may fail (as it can't find the files) on directories/files with spaces in the path, as is the case in dev-build/cmake itself where it'll die in src_prepare. Signed-off-by: Sam James <sam@gentoo.org>
2025-06-05gear.kde.org.eclass: Mark 25.04.2 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-04cmake.eclass: _cmake_modify-cmakelists(): Consolidate the sedAndreas Sturmlechner
See also: https://github.com/gentoo/kde/pull/1046#pullrequestreview-2897140501 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-04cmake.eclass: Improve _cmake_modify-cmakelists()Andreas Sturmlechner
50% less find 50% less grep 100% less cut Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-04kde-apps/kig: Port to KF6Andreas Sturmlechner
Upstream commit 2589ea350005eb4e665939727cfc72c9c6974579 and following... Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-03gear.kde.org.eclass: Mark 25.04.2 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-03cmake.eclass: Use get_makeopts_{jobs,loadavg}Michał Górny
See also: https://github.com/gentoo/gentoo/pull/39544 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-03cmake.eclass: Permit overriding CTEST_{JOBS,LOADAVG}Michał Górny
Bug: https://bugs.gentoo.org/945081 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-06-02cmake.eclass: CMake 4 QA check: Make sed case-insensitiveAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-22cmake.eclass: EAPI=7: Extra slap on wristAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-22cmake.eclass: CMake 4 QA notice: Use more wordsAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-21cmake.eclass: CMake 4 QA check: Exit after first matchAndreas Sturmlechner
We don't want more than one version for the subsequent ver_test. Besides, any follow-up cmake_minimum_required call will most likely be conditional for some type of workarounds. Thanks-to: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-21cmake.eclass: CMake 4 QA check: Apparently, cmake allows double-dotsAndreas Sturmlechner
As a quick fix, for now, don't error out on that. > ERROR: media-gfx/darktable-5.0.1-r2::gentoo failed (configure phase): > __eapi7_ver_compare: invalid version: 3.12..16 See also: > LibRaw-cmake/CMakeLists.txt:cmake_minimum_required(VERSION 3.12..16) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-20cmake.eclass: Add CMAKE_QA_COMPAT_SKIP flag to skip compat checksAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-20cmake.eclass: If CMake 4 is detected, build w/ compat cmake argAndreas Sturmlechner
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-20cmake.eclass: Add recursive CMakeLists.txt unsupported version detectionAndreas Sturmlechner
We need to ramp up detection of unsupported CMake build systems with CMake 4. This will detect CMakeLists.txt files setting insufficient cmake_minimum_required VERSION level even in project subdirectories, putting out appropriate eqawarn message about the need to fix ${PN}. That makes us not rely on tinderbox runs w/ unmasked cmake-4 slowly being able to build everything up to leaf packages, and also helps detect insufficient subproject minimums that could otherwise be masked by USE flag choice. Bug: https://bugs.gentoo.org/951350 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-10frameworks.kde.org.eclass: Mark 6.14.0 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-08gear.kde.org.eclass: Mark 24.05.1 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-06gear.kde.org.eclass: Mark 25.04.1 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-04frameworks.kde.org.eclass: Mark 6.14.0 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-23ecm.eclass: use 'QA Notice:' prefix in eqawarnSam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James <sam@gentoo.org>
2025-04-23cmake.eclass: use 'QA Notice:' prefix in eqawarnSam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James <sam@gentoo.org>
2025-04-17gear.kde.org.eclass: Mark 25.04.0 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-12frameworks.kde.org.eclass: Mark 6.13.0 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-11gear.kde.org.eclass: Mark 24.05.0 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-05frameworks.kde.org.eclass: Mark 6.13 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-03-25kde-apps/artikulate: Port to Qt6Andreas Sturmlechner
Upstream commits: 13f44b64a3e16345a88c8bda9ce1786c5b45b638 bebf6138a41f7294be701d4a620c2e0b6ece2d03 2a3be7150b5cca51e142557ba12b63648b9ae371 3c1f3330fa3010d1edf765bf88d7f30f384be07b 27fb25baa29353b7a0bb5fdba877cb4367f0d432 05cb22e0ebaa27d41541394f66ba83491efa89b1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-03-06gear.kde.org.eclass: Mark 24.12.3 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-03-04ecm.eclass: ecm_src_install: Pass arguments to cmake_src_installAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-03-04ecm.eclass: Fix missing arguments handover to cmake_src_testAndreas Sturmlechner
This omission impressively goes back to initial kde overlay commit 8265e71f48675ee84f8c745734ee157cc74cea6a on 2008-08-04. Bug: https://bugs.gentoo.org/946863 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-03-04gear.kde.org.eclass: Mark 24.12.3 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-26ecm.eclass: Improve _ecm_punt_kdoctools_install(), ecm_punt_po_install()Andreas Sturmlechner
Allow for whitespace padding within kdoctools_install and ki18n_install. Odd that this hasn't come up before. Closes: https://bugs.gentoo.org/950317 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-14frameworks.kde.org.eclass: Mark 6.11.0 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-11plasma.kde.org.eclass: Mark 6.3.0 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-10frameworks.kde.org.eclass: Mark 6.11.0 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-06gear.kde.org.eclass: Mark 24.12.2 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-06plasma.kde.org.eclass: Mark 6.3.0 unreleasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-04gear.kde.org.eclass: Mark 24.12.2 as releasedAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-04ecm-common.eclass: Switch to ECMFeatureSummaryAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-03eclass: Say belated happy new year as wellAndreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-02-03ecm-common.eclass: Drop ecm.eclass derived KFMIN kde-frameworks quirkAndreas Sturmlechner
It is simply not necessary for the basic functions used, and only leads to problems with live versions claiming unfulfilled dependencies in _ecm-common_preamble(). Thanks-to: Alfred Wingate <parona@protonmail.com> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>