summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move {app-doc → app-text}/doxygenMichał Górny2024-01-121-2/+2
| | | | | | | | Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ecm.eclass: Drop dev-qt/qtbase:6[test]Andreas Sturmlechner2023-12-211-5/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Relax kde-frameworks/extra-cmake-modules SLOT dep to :*Andreas Sturmlechner2023-11-261-1/+1
| | | | | | We do not need to pin to 0 right away to let overlays catch up. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Use _KFSLOT to aptly configure KF5/KF6 based packagesAndreas Sturmlechner2023-11-261-21/+25
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Add SLOT=6 dependencies if KFMIN is >=5.240Andreas Sturmlechner2023-11-261-3/+16
| | | | | | | - Excluding KDE Frameworks 5.9999 from KFMIN>=5.240 check - Enforce QT_MAJOR_VERSION=6 for packages w/ KFMIN >= 5.240 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Initial support for Qt6-based consumersAndreas Sturmlechner2023-11-261-11/+26
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Raise baseline Frameworks version (KFMIN) to 5.106.0Andreas Sturmlechner2023-11-131-3/+2
| | | | | | | | | | In ecm.eclass, this only affects BDEPENDs, and in practise every ebuild making use of KFMIN in RDEPEND will set their own minimum pre-inherit. Many KDE packages already require 5.101 at a minimum for new API and porting away from deprecated. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop supposedly obsolete dev-qt/qthelp crutch for PortageAndreas Sturmlechner2023-10-081-11/+1
| | | | | | | Reverts commit 98f5475d46518fa7da5ece4bceb1189283eba4f8 Closes: https://bugs.gentoo.org/836726 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop Qt 5.15.9 from ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-07-241-15/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Add Qt 5.15.10 to ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-06-171-6/+15
| | | | | Closes: https://bugs.gentoo.org/908715 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Use QT_QPA_PLATFORM=offscreen instead of virtualx.eclassAndreas Sturmlechner2023-06-081-2/+8
| | | | | | Keep inheriting virtualx.eclass since it is expected from ecm.eclass for now. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop Qt 5.15.8 from ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-05-091-15/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Add Qt 5.15.9 to ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-04-081-6/+15
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-17/+17
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* ecm.eclass: Drop Qt 5.15.7 from ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-01-241-15/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Add Qt 5.15.8 to ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-01-091-6/+15
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop EAPI-7 supportAndreas Sturmlechner2022-12-261-19/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop obsolete Qt 5.15.5Andreas Sturmlechner2022-12-091-15/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Workaround Portage depgraph shortcomings from revdeps' sideAndreas Sturmlechner2022-11-291-1/+20
| | | | | Bug: https://bugs.gentoo.org/836726 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Switch to pcre2grep, add dev-libs/libpcre2 to BDEPENDAndreas Sturmlechner2022-10-111-5/+8
| | | | | | | | The dependency is basically free since dev-qt/qtcore:5 or dev-qt/qtbase:6 already depend on dev-libs/libpcre2. Closes: https://bugs.gentoo.org/872068 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Support single dependency ecm_punt_bogus_dep callAndreas Sturmlechner2022-08-221-6/+19
| | | | | | Bringing back usefulness outside of KF5/Qt5 calls with multiple components. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: provides virtualx.eclassSam James2022-03-261-1/+1
| | | | | | As discussed with asturm. Signed-off-by: Sam James <sam@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-14/+14
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ecm.eclass: Use new ecm_punt_kf_module/ecm_punt_qt_module internallyAndreas Sturmlechner2022-01-081-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Introduce ecm_punt_kf_module and ecm_punt_qt_moduleAndreas Sturmlechner2022-01-081-1/+50
| | | | | | | | | | | | | | | | | | | | | | Upstream has begun replacing find_package(Qt5 ...) with find_package(Qt${QT_MAJOR_VERSION}) ...) for optional build with Qt6 - this breaks existing ecm_punt_bogus_dep() regexps. There is no known usage of ecm_punt_bogus_dep with anything else than Qt5 or KF5, so simply replace it with two public functions fixed on Qt* and KF* module removal. Also add '${dep}' info to 'removed by ecm.eclass' output. Replaces ecm_punt_bogus_dep(). Closes: https://bugs.gentoo.org/830729 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Case-insensitivity for grep and sedAndreas Sturmlechner2022-01-071-3/+3
| | | | | | Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: set KDE_DEBUG=1 for ecm_src_testJames Beddek2021-11-191-1/+2
| | | | | | | | | | | | | | | | | | The KDE_DEBUG variable [1] prevents crash handlers such as DrKonqi from launching if a test were to segfault. This prevents a hanging test phase where DrKonqi has launched and is waiting for input on the virtx display. [sam: We already try to disable apport/similar crash reporters because they slow down tests, don't always play well in sandbox, and confuse users, so this seems like a natural change.] [1]: https://userbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_DEBUG Signed-off-by: James Beddek <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22643 Signed-off-by: Sam James <sam@gentoo.org>
* ecm.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop exec. bit from .desktop files in xdg standard dirAndreas Sturmlechner2021-09-021-2/+20
| | | | | Bug: https://bugs.gentoo.org/621970 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Support EAPI-8, move EXPORT_FUNCTIONS below guardAndreas Sturmlechner2021-09-021-13/+13
| | | | | | Raise baseline Frameworks version to 5.82.0. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guardAndreas Sturmlechner2021-04-241-11/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: KDE Applications -> KDE GearAndreas Sturmlechner2021-04-241-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-281-5/+0
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ecm: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* ecm.eclass: Drop obsolete kde5*.eclass porting cluesAndreas Sturmlechner2020-12-121-25/+0
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ce04d25f26dbaf4a150be16df96beb3f3c1ed215)
* ecm.eclass: Drop duplicate local lang declarationAndreas Sturmlechner2020-08-081-1/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop references to -DNDEBUG of cmake.eclassAndreas Sturmlechner2020-04-161-3/+2
| | | | | | | Flag has been removed from there. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1)
* ecm.eclass: Drop kde5.eclass supportAndreas Sturmlechner2020-04-161-39/+14
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ed6084d902979c53477f2084f9c292e0553b97a5)
* ecm.eclass: Drop KDE Applications 19.08.3 supportAndreas Sturmlechner2020-03-191-27/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass, ecm.eclass: Re-add kde-apps-19.08 support for nowAndreas Sturmlechner2020-03-191-1/+27
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop KDE Applications 19.08.3 supportAndreas Sturmlechner2020-03-191-27/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Switch to cmake.eclassAndreas Sturmlechner2019-12-291-14/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Ban variables from kde5*eclass for stricter portingAndreas Sturmlechner2019-12-241-0/+18
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PVAndreas Sturmlechner2019-12-151-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Set correct KFMIN default for kde-frameworks/*Andreas Sturmlechner2019-12-151-2/+7
| | | | | Closes: https://bugs.gentoo.org/703006 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: cmake-utils_use_find_package -> cmake_use_find_packageAndreas Sturmlechner2019-12-121-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: _ECM_UTILS_ECLASS -> _ECM_ECLASSAndreas Sturmlechner2019-12-031-2/+2
| | | | | | Was forgotten to rename w/ eclass. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Inherit xdg only if ECM_NONGUI=falseAndreas Sturmlechner2019-11-111-13/+17
| | | | | | xdg phase functions were already only called based on this var. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix punt_bogus_dep -> ecm_punt_bogus_depAndreas Sturmlechner2019-11-111-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>