summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* java-utils-2.eclass: record LIBDIR in package.envFlorian Schmaus2023-11-141-0/+3
| | | | | | Bug: https://bugs.gentoo.org/917326 Closes: https://github.com/gentoo/gentoo/pull/33821 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* toolchain-funcs.eclass: Add functions to get pointer size in bytesJames Le Cuirot2023-11-131-0/+14
| | | | | | | tc-get-ptr-size for CHOST and tc-get-build-ptr-size for CBUILD. Closes: https://bugs.gentoo.org/328401 Signed-off-by: James Le Cuirot <chewi@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>
* eclass/dotnet-pkg-base.eclass: remove DOTNET_DATA and NUGET_DATAMaciej Barć2023-11-131-4/+0
| | | | | | they do not influence .NET build Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* eclass/dotnet-pkg-base.eclass: mark OUTPUT_VARIABLEsMaciej Barć2023-11-131-0/+6
| | | | Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* eclass/dotnet-pkg-base.eclass: remove DOTNET_PKG_EXECUTABLE_PATHMaciej Barć2023-11-131-6/+4
| | | | Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20231111 snapshotMichał Górny2023-11-111-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove support for old snapshotsMichał Górny2023-11-111-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cuda.eclass: fix typoPacho Ramos2023-11-101-1/+1
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dist-kernel-utils.eclass: drop workaround skipping dracut kernel-installAndrew Ammerlaan2023-11-101-14/+0
| | | | | | | | We have bumped the minimal version of dracut to 059-r4, this version contains the fixes to the kernel-install plugin we need to prevent the plugin from running again if the system is using uki's. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* kernel-install.eclass: bump minimal dracut versionAndrew Ammerlaan2023-11-101-1/+1
| | | | | | | 059-r4 contains the fixes to the kernel-install plugin that we need to be able to drop a workaround in dist-kernel-utils.eclass Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* git-r3.eclass: Inroducing EVCS_STORE_DIRS varSiddhanth Rathod2023-11-101-0/+10
| | | | | | | | | | | | ebuilds which calls git-r3_fetch multiple times for diffrent repos. While EGIT_DIR stores a single repo path, mapping all repos to such packages is currently unfeasible. Introducing EVCS_STORE_DIRS to address this limitation. See-Also: https://github.com/gentoo/gentoolkit/pull/33 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33133 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* */*: move sys-kernel/installkernel-systemd-boot to ↵Andrew Ammerlaan2023-11-091-1/+1
| | | | | | | | | sys-kernel/installkernel-systemd This reflects better that we don't necessarily need the systemd bootloader to use the systemd kernel-install system. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* toolchain.eclass: restore graphite for USE=jit minimal buildSam James2023-11-091-1/+4
| | | | | | | | | | | | | | graphite (isl) might be used for the just-built GCC. It's easier to just respect USE=graphite for the USE=jit minimal build in case the user passes some graphite flags rather than try strip them out. (The build would fail otherwise as the just-built GCC, even with --disable-bootstrap for the JIT build, would be invoked as ./xgcc ... -fgraphite-identity ... and error out in configure.) Reported by ano on IRC. Signed-off-by: Sam James <sam@gentoo.org>
* acct-user.eclass: Warn when the user is removed from a groupUlrich Müller2023-11-081-0/+16
| | | | | Acked-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: filter -Walloc-size for < GCC 14Sam James2023-11-081-0/+3
| | | | | | New in GCC 14. Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Add pytest-xdist dep if EPYTEST_XDIST is setMichał Górny2023-11-072-1/+6
| | | | | | | Make `distutils_enable_tests pytest` automatically add the `dev-python/pytest-xdist` dependency if `EPYTEST_XDIST` is set. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Add EPYTEST_XDIST for epytestMichał Górny2023-11-071-0/+29
| | | | | | | | | Add an `EPYTEST_XDIST` variable that can be used to enable running the test suite in parallel via the dev-python/pytest-xdist plugin. This also includes user-facing `EPYTEST_JOBS` to control the job count independently of `MAKEOPTS`. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Refactor d_e_t to permit multiple test packagesMichał Górny2023-11-071-6/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Refactor `d_e_t unittest` (NFC)Michał Górny2023-11-071-9/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* add gcc:13 support for ada packagesAlfredo Tupone2023-11-061-11/+8
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20231104 snapshotMichał Górny2023-11-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain-funcs.eclass: tc-ld-force-bfd: unset LD before calling tc-getLDMike Gilbert2023-11-041-4/+3
| | | | | | | | | | | | | | | | The previous logic would fail with common values of LD set by the user: LD="ld.lld" -> LD="ld.lld.bfd" LD="ld.gold" -> LD="ld.gold.bfd" LD="mold" -> LD="mold.bfd" It makes more sense to ignore the user's LD setting and use the default value given by tc-getLD. If the user doesn't have binutils installed, the "type -P" check will still fail and LD will be unaltered. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests: Remove obsolete/broken distutils-r1 testsMichał Górny2023-11-032-264/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* linux-mod-r1.eclass: fix DEPMOD override for kernel 6.6Ionen Wolkens2023-11-011-2/+2
| | | | | | | Not necessary, but also change STRIP while at it for parity. Closes: https://bugs.gentoo.org/916587 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* Remove BROOT from VERIFY_SIG_OPENPGP_KEY_PATHMike Gilbert2023-10-312-2/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* verify-sig.eclass: prepend BROOT to VERIFY_SIG_OPENPGP_KEY_PATHMike Gilbert2023-10-311-10/+27
| | | | | | | PMS does not allow use of BROOT in global scope, so move the BROOT logic into the relevant functions. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: depend on >=dev-util/meson-1.2.1Mike Gilbert2023-10-301-1/+1
| | | | | Bug: https://bugs.gentoo.org/916536 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* toolchain-funcs.eclass: add detection for arcMatoro Mahri2023-10-291-0/+3
| | | | | | | | | ARC is bi-endian. Assumes ARCH=arc. No plans to add profiles or keywords to official tree. Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/33554 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: only pass -fno-harden-control-flow-redundancy for new ↵Sam James2023-10-271-3/+3
| | | | | | | | enough GCC too Even if it's OK for the stage1 compiler, it may not be later. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: add -fno-harden-control-flow-redundancy to old-compiler ↵Sam James2023-10-271-3/+3
| | | | | | filter too Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: allow -fno-harden-control-flow-redundancy tooSam James2023-10-261-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: pass -fno-control-flow-redundancy, filter flags for older ↵Sam James2023-10-261-0/+12
| | | | | | | | | | | | | compilers too If we're *building* an older GCC, then these flags won't be supported later on during the boostrap process, so filter them out. Also, pass -fno-control-flow-redundancy given it makes the compiler unbearably slow (on a 3950x, it went from 2.5hours for pgo+lto+checking to 6+ hours) and it doesn't really benefit us there anyway. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20231025 snapshotMichał Górny2023-10-261-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cmake.eclass: do not mention media-gfx/gmic in comments, it no longer uses CMakeMarek Szuba2023-10-261-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* ghc-package.eclass: fix "unknown keyword @AUTHOR:" eclass-to-manpage errorFlorian Schmaus2023-10-231-2/+2
| | | | | | | | | | | AUTHOR has to be before SUPPORTED_EAPIS, otherwise eclass-to-manpage reports: ghc-package.eclass: error:8: ghc-package.eclass: unknown keyword @AUTHOR: Fixes: 356bdc36a6bd ("ghc-package.eclass: Sync from ::haskell") Signed-off-by: Florian Schmaus <flow@gentoo.org>
* haskell-cabal.eclass: Sync from ::haskellhololeap2023-10-231-43/+246
| | | | | Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* ghc-package.eclass: Sync from ::haskellhololeap2023-10-231-8/+30
| | | | | Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* python-utils-r1.eclass: Disable pytest-describe by defaultMichał Górny2023-10-221-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Disable pytest-plus by defaultMichał Górny2023-10-221-1/+2
| | | | | | | Disable the intrusive dev-python/pytest-plus plugin by default as it is breaking random test suites. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Set no-native-compile in generated filesUlrich Müller2023-10-221-0/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* flag-o-matic.eclass: add '-mfpmath=*'Sam James2023-10-211-1/+1
| | | | | | We set this for x86 multilib profiles. Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: add '-mharden-sls=*'Sam James2023-10-211-0/+1
| | | | | | Spectre-style mitigation. Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: add -mpreferred-stack-boundary=*, ↵Sam James2023-10-211-0/+2
| | | | | | | | | -mincoming-stack-boundary=* Wine may use this and it's in the same league as -mstackrealign in that it affects ABI. Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: allow hardened compare/control flow flagsSam James2023-10-211-0/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: Fetch xcb-util-* distfiles from lib/Matt Turner2023-10-201-1/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20231019 snapshotMichał Górny2023-10-191-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove old snapshotsMichał Górny2023-10-191-6/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-pkg-simple.eclass: improved descriptionMiroslav Šulc2023-10-191-1/+2
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: improve description of "generated-test"Volkmar W. Pogatzki2023-10-191-3/+6
| | | | | | Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/33389 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>