summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* flag-o-matic.eclass: allow -mevex512 and -mno-evex512Sam James2024-05-121-0/+2
| | | | | | | | The whole -m/-mno-* situation needs to be improved in the eclass but let's do this for now for the benefit of Chromium (see 754d6f5226a532ed086afa276b48e89ffafe0484). Bug: https://bugs.gentoo.org/931623 Signed-off-by: Sam James <sam@gentoo.org>
* Add 19.0.0_pre20240509 snapshotMichał Górny2024-05-111-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-env.eclass: temporary EAPI guard for EAPI-6Joonas Niilola2024-05-111-1/+8
| | | | | | | | - there are still a handful of EAPI-6 ebuilds which don't support BDEPENDs. While the has_version check is imperfect without -b switch, this is better than nothing. I assume gcc[debug] isn't be that widely used either. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/apache2.eclass: remove rustls dependencyHans de Graaff2024-05-111-1/+0
| | | | | | This dependency differs per ebuild and has been moved to the ebuilds. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* alternatives.eclass: support EAPI 8Sam James2024-05-111-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* go-env.eclass: update GCC workaround for LTOSam James2024-05-111-1/+1
| | | | | | | | Not fixed upstream yet so change workaround to look for sys-devel/gcc[debug] instead as 14 is released now. Bug: https://bugs.gentoo.org/912152 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: sort toolchain varsSam James2024-05-101-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: respect toolchain environment for MakeMakerSam James2024-05-101-0/+8
| | | | | | | based on https://bugs.gentoo.org/261375#c5 and https://metacpan.org/dist/ExtUtils-MakeMaker/view/lib/ExtUtils/MakeMaker.pm#OPTIMIZE. Bug: https://bugs.gentoo.org/261375 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: stop using ${D} for MakeMaker in src_configureSam James2024-05-101-2/+1
| | | | | | | See https://metacpan.org/dist/ExtUtils-MakeMaker/view/lib/ExtUtils/MakeMaker.pm#DESTDIR. Bug: https://bugs.gentoo.org/778806 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: stop using ${D} for Module::Build in src_configureSam James2024-05-101-2/+1
| | | | | | | See https://github.com/Perl-Toolchain-Gang/Module-Build/blob/a2ecdf98c25af7dfc7070280232513e8ccec4986/lib/Module/Build/Cookbook.pm#L122. Bug: https://bugs.gentoo.org/778806 Signed-off-by: Sam James <sam@gentoo.org>
* perl-module.eclass: respect toolchain variables for Module::Build via ↵Sam James2024-05-101-1/+10
| | | | | | | | | --config ... Based off https://github.com/Perl-Toolchain-Gang/Module-Build/blob/a2ecdf98c25af7dfc7070280232513e8ccec4986/lib/Module/Build/Cookbook.pm#L63. Bug: https://bugs.gentoo.org/261375 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/freedict.eclass: support EAPI8Michael Mair-Keimberger2024-05-091-4/+6
| | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36165 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* eclass/vim-spell.eclass: support EAPI8Michael Mair-Keimberger2024-05-091-12/+11
| | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36166 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* eclass/tests/python-utils-r1.sh: Fix pypy3 matchesMichał Górny2024-05-081-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Add python3_13Michał Górny2024-05-082-5/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* epatch.eclass: Mark as DEADUlrich Müller2024-05-081-1/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* perl-module.eclass: Implement dependency on PERL_FEATURESAndreas K. Hüttel2024-05-071-11/+36
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* elisp-common.eclass: Add lexical-binding cookies to generated Lisp filesUlrich Müller2024-05-061-2/+2
| | | | | | This suppresses the warning spam in recent Emacs from Git. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Revert "elisp-common.eclass: Set no-native-compile in generated files"Ulrich Müller2024-05-061-2/+0
| | | | | | | | | "no-byte-compile: t" implies "no-native-compile: t", therefore this was redundant. This reverts commit 2ab9bda58e464656cdf1e31b7e8b293cf1ec0caf. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-mod-r1.eclass: update depmod --config paths for kmod-32Ionen Wolkens2024-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | kmod-32's tools/depmod.c adds 'DISTCONFDIR "/depmod.d"' which is $prefix/lib/depmod.d. Largely a no-op on merged-usr because of the /lib -> /usr/lib symlink, but could potentially impact split-usr if both directories get used (albeit this is only used when a different ROOT is used). Ordering matches the current depmod.c (etc first, then run, etc...). On a side-note, kmod-32 also now has configurable /lib/modules path albeit this is not done on Gentoo at the moment (the default without the prefix is used). May need updates in the future to figure out which to use though. Don't believe this is worth a ML review. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* stardict.eclass: stop optionally depending on stardictEli Schwartz2024-05-061-4/+1
| | | | | | | | | Since commit cb140e2e6bf42b5ca7f88f53afd2806c252a6ac4 it hasn't been available and was in fact removed for being completely dead. There's no real point in asking for it in the eclass. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 19.0.0_pre20240504 snapshotMichał Górny2024-05-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove old snapshot supportMichał Górny2024-05-041-6/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gnuconfig.eclass: drop EAPI 5 supportSam James2024-05-031-4/+4
| | | | | | | | autotools.eclass hasn't had EAPI 5 support for ~2 years since 50710f3d0e8f19fab5571d9596c336314e96b5cf so this wasn't being used anyway (non-autotools.eclass use of gnuconfig.eclass is very niche). Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: conditionalize gnuconfig dependencySam James2024-05-031-2/+6
| | | | | | | Use newly-added GNUCONFIG_DEPEND so that AUTOTOOLS_AUTO_DEPEND=no doesn't result in a useless dependency on gnuconfig. Signed-off-by: Sam James <sam@gentoo.org>
* gnuconfig.eclass: add GNUCONFIG_DEPENDSam James2024-05-031-3/+19
| | | | | | | The motivation here is to allow autotools.eclass consumers setting AUTOTOOLS_AUTO_DEPEND=no to not have a useless gnuconfig dependency. Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: conditionalize autotools deps on XORG_EAUTORECONFSam James2024-05-031-3/+2
| | | | | | | | | | | | | | | xorg-3.eclass only calls autoreconf if XORG_EAUTORECONF is set, although the logic got cleaned up more in fae3e3b3eeec2d252ad42afeba11ac8ffeb70c42. We therefore don't need to depend on autoconf, automake, etc unless XORG_EAUTORECONF is set. Set AUTOTOOLS_AUTO_DEPEND from autotools.eclass to opt-out of the auto dependencies and use the AUTOTOOLS_DEPEND variable it sets when XORG_EAUTORECONF. Note that libtool.eclass still adds a dep on elt-patches so we're OK for that part (we call elibtoolize where we can). Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: cleanup autotools logic a bit moreSam James2024-05-031-2/+0
| | | | | | | EAUTORECONF_DEPENDS is always empty since 3db70e9c014e415ae38a713b47cf7b299fd11945. Fixes: 3db70e9c014e415ae38a713b47cf7b299fd11945 Signed-off-by: Sam James <sam@gentoo.org>
* texlive-module.eclass: install man pages in right locationFlorian Schmaus2024-05-021-0/+187
| | | | | | | | | | | | | | | | | | | | The TeX Live packages under dev-texlive/* currently do not install the man pages in the right location. They are under /usr/share/texmf-dist/doc/man. Install them at the right location using doman. Having dev-texlive/* packages installing man pages requires that we filter man pages already installed by app-text/texlive-core to avoid file collisions. As a consequence, unfortunately, we have to hard code the list of man pages installed by texlive-core. Or, at least, folks from #-tex and myself could not come up with a solution that does not require hard coding that list. Thanks to ulm for providing feedback. Signed-off-by: Florian Schmaus <flow@gentoo.org> Thanks-to: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: fix validate_failures.py cp for non-gccSam James2024-05-021-1/+1
| | | | | | | Thanks to matoro for reporting. Fixes: 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: add another TODO for tests (multilib)Sam James2024-05-011-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: update validate_failures.py for Python 3.12Sam James2024-05-011-3/+3
| | | | | | | | | | | | The only change is that we've imported Gabi Falk's patch to fix a SyntaxWarning in its regexes. See https://inbox.sourceware.org/gcc-patches/20240415233833.104460-1-gabifalk@gmx.com/. While here, fix a typo in a comment. Closes: https://bugs.gentoo.org/929834 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: add TODO for JITSam James2024-05-011-0/+1
| | | | | | Suggested by Arsen. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: iterate over older slots if test manifest doesn't existSam James2024-05-011-1/+11
| | | | | | | | | | | | | | Iterate over all known slots (at least those using the "new" SLOT value from --with-major-version-only since ~GCC 10 in Gentoo) if we couldn't find a test manifest for GCC_TESTS_COMPARISON_SLOT, rather than expecting pristine results. This makes life easier when installing a new slot (or newly enabling tests for one). It's *particularly* useful, I think, for arch testers who might want to establish a baseline once but not have to keep doing it across many chroots for each new slot. Signed-off-by: Sam James <sam@gentoo.org>
* Building the ada compiler require both c++ and ada USE flags enabled.Alfredo Tupone2024-04-301-1/+1
| | | | | | Otherwise drop ada. Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* toolchain.eclass: To make "tc_has_feature ada" actually workAlfredo Tupone2024-04-301-1/+1
| | | | | | | tc_has_feature ada is used to add BDEPEND on a ada compiler,. Without setting TC_FEATURES the test does not work Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* stardict.eclass: inline mirror://sourceforgeLucio Sauer2024-04-301-2/+2
| | | | | | | bump copyright to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ruby-ng-gnome2.eclass: inline mirror://sourceforgeLucio Sauer2024-04-301-3/+3
| | | | | | | bump copyright to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: wire up TC_FEATURES for rustSam James2024-04-301-1/+1
| | | | | | | Otherwise we don't actually end up adding a BDEPEND for USE=rust. Closes: https://bugs.gentoo.org/930953 Signed-off-by: Sam James <sam@gentoo.org>
* texlive-common.eclass: add newline between tlpobj entries in tlpdbFlorian Schmaus2024-04-291-1/+3
| | | | | | | | | | | | | | | We previously created the texlive.tlpdb by concatenating all tlpobj files. This means that the entries will be right after another. As it turns out, some TeX Live tools require a newline (e.g., tlmgr) between the entries, while others do not (e.g., texdoc). And the "official" tlpdb also has the entries separated by newlines. Therefore this changes texlive-common_update_tlpdb() to also add them. Thanks to ulm for showing how this can be done with sed. Signed-off-by: Florian Schmaus <flow@gentoo.org> Thanks-to: Ulrich Müller <ulm@gentoo.org>
* eclass/apache2.eclass: Revert "use fcaps eclass to set capabilities"Michał Górny2024-04-281-5/+1
| | | | | | | | This is causing fatal postinst errors with some USE flag combinations. Reverts: 8b19280613e0efdbd5dd39860e835565e6a48c0e Bug: https://bugs.gentoo.org/930455 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/apache2.eclass: use fcaps eclass to set capabilitiesHans de Graaff2024-04-281-1/+5
| | | | | | | Thanks to Manuel Mausz for the bug report and initial patch. Closes: https://bugs.gentoo.org/930455 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* llvm.org.eclass: Add 19.0.0_pre20240427 snapshotMichał Górny2024-04-271-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gear.kde.org.eclass: Add post-24.02 release SLOT=5 blocklistAndreas Sturmlechner2024-04-251-0/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Restrict ECM_TEST="optional" and punting dep to _KFSLOT=5Andreas Sturmlechner2024-04-251-21/+29
| | | | | | | | | | | In dev-qt/qtbase:6, Qt6Test is always provided so it makes no sense to go through the trouble of ripping out the build dependency. We should still aim to avoid needless building of tests if not requested, either by detecting unconditional use of ecm_add_test or expose existing force* logic to ebuild developers to catch those as errors. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eutils.eclass: fix @DEAD tagSam James2024-04-231-1/+1
| | | | | | | | | ``` eutils.eclass: error:10: eutils.eclass: unknown keyword @DEAD ``` Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: propagate USE=zstd to libgccjit buildSam James2024-04-221-1/+1
| | | | | | | | | | | You *can* do LTO with libgccjit, apparently, and it even works if we don't break the compression used for LTO with it. Pass down the zstd arg from USE=zstd like we do for the regular build. Thanks to StrawberryTea for reporting. Closes: https://bugs.gentoo.org/926953 Signed-off-by: Sam James <sam@gentoo.org>
* qt6-build.eclass: sort eclass variablesIonen Wolkens2024-04-201-7/+7
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* qt6-build.eclass: add QT6_RESTRICT_TESTS variableIonen Wolkens2024-04-201-2/+13
| | | | | | | | At same time, remove the qttranslations special logic, it can just make use of the variable instead. Bug: https://bugs.gentoo.org/930266 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* llvm.org.eclass: Add 19.0.0_pre20240420 snapshotMichał Górny2024-04-201-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>