summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/freedict: use HTTPSMichael Mair-Keimberger2024-01-201-3/+3
| | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/34785 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* java-utils-2.eclass: default to default_src_prepare for future EAPIVolkmar W. Pogatzki2024-01-201-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Presently patches from a PATCHES array are not getting applied unless "default" or "eapply_user" is set in the ebuild. In cases where nothing else needs to be prepared it still needs src_prepare in the ebuild src_prepare() { default } With this change, starting from EAPI 9 this will no longer be needed. In cases where any other changes are done in the prepare phase it would only need java-pkg-2_src_prepare be added: src_prepare() { java-pkg-2_src_prepare cp, rm, mv, sed or other changes } Bug: https://bugs.gentoo.org/780585 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/34897 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* Move {dev-util → dev-debug}/systemtapMichał Górny2024-01-191-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-pkg-simple.eclass: improve decision when to use --module-pathManuel Mommertz2024-01-191-6/+6
| | | | | | | Closes: https://bugs.gentoo.org/922157 Signed-off-by: Manuel Mommertz <manuel.mommertz@desy.de> Closes: https://github.com/gentoo/gentoo/pull/34866 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: cut possible prefix to allow integer comparisonManuel Mommertz2024-01-191-4/+6
| | | | | Signed-off-by: Manuel Mommertz <manuel.mommertz@desy.de> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: make code related to java 9+ actually executeManuel Mommertz2024-01-191-5/+5
| | | | | Signed-off-by: Manuel Mommertz <manuel.mommertz@desy.de> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* postgres.eclass: Drop postgresql:11 supportPatrick Lauer2024-01-191-2/+2
| | | | | | Very EOL upstream. Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* Move {dev-util → dev-build}/sconsMichał Górny2024-01-171-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-build}/bazelMichał Górny2024-01-171-3/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-build}/gtk-doc-amMichał Górny2024-01-171-2/+2
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34819 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Compress kernel modules in parallelMichał Górny2024-01-171-4/+9
| | | | | | | Closes: https://bugs.gentoo.org/922185 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34843 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: USE=generic-uki drop requirement for installkernel[uki]Andrew Ammerlaan2024-01-161-1/+1
| | | | | | | | | | it is not strictly necessary, i.e. we might also want to just use the generic initrd. Or install the uki in the grub layout. But more importantly this requirement creates a bit of an unfortunate conflict in binpkg-docker that would otherwise have to be resolved with manual overrides of install.conf. See-also: https://github.com/projg2/binpkg-docker/pull/7 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* Move {sys-devel → dev-build}/libtoolMichał Górny2024-01-153-5/+5
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34807 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {sys-devel → dev-build}/automakeMichał Górny2024-01-151-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {sys-devel → dev-build}/autoconfMichał Górny2024-01-152-11/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-build}/cmakeMichał Górny2024-01-141-2/+2
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34792 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-build}/mesonMichał Górny2024-01-131-1/+1
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34790 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-build}/meson-format-arrayMichał Górny2024-01-131-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-debug}/valgrindMichał Górny2024-01-131-1/+1
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34786 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {sys-devel → dev-build}/pmakeMichał Górny2024-01-131-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {sys-devel → dev-build}/makeMichał Górny2024-01-132-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Clean old snapshots upMichał Górny2024-01-131-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20240113 snapshotMichał Górny2024-01-131-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {app-doc → app-text}/doxygenMichał Górny2024-01-122-4/+4
| | | | | | | | 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>
* toolchain.eclass: don't enable PCH by default in IUSE (but effective noop)Sam James2024-01-121-1/+1
| | | | | | It's already masked in use.mask, even. PCH has been proven to be unreliable. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: drop USE="cilk mpx" debrisSam James2024-01-121-13/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: USE=generic-uki depend on installkernel[uki]Andrew Ammerlaan2024-01-121-1/+1
| | | | | | | and switch order since we are deprecating installkernel-systemd and have moved this functionality into installkernel(-gentoo). Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* */*: move sys-kernel/installkernel-gentoo to sys-kernel/installkernelAndrew Ammerlaan2024-01-121-4/+4
| | | | | Bug: https://bugs.gentoo.org/917145 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* toolchain.eclass: drop noop USE=nptlSam James2024-01-121-1/+1
| | | | | | | | | | | | This doesn't make sense to toggle nowadays anyway given linuxthreads is long gone, but it's not even wired up to do anything in the eclass. The last remaining consumer was for uclibc which was dropped in 4d33143e5b807af00d29ec59d9512ac05ab0e131. Bug: https://bugs.gentoo.org/642932 Bug: https://bugs.gentoo.org/820905 Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: update go version in BDEPEND and add subslotWilliam Hubbs2024-01-111-2/+2
| | | | | Bug: https://bugs.gentoo.org/919751 Signed-off-by: William Hubbs <williamh@gentoo.org>
* java-utils-2.eclass: enhance ejavadocVolkmar W. Pogatzki2024-01-111-3/+21
| | | | | | | | This patch enhances the ejavadoc function so that it can be called without arguments if the JAVADOC_SRC_DIRS array is set in the ebuild. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: respect JAVADOC_SRC_DIRSVolkmar W. Pogatzki2024-01-111-5/+9
| | | | | | | | | | | This patch helps to avoid useless runs of ejavadoc in multi-jar packages where java-pkg-simple_src_compile is called for each jar file. JAVADOC_SRC_DIRS can be set in the ebuild in global scope and "use doc && ejavadoc" be called at the end of src_compile. And it no longer needs to build a useless "ignoreme.jar". Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-utils-2.eclass: new JAVADOC_CLASSPATH, JAVADOC_SRC_DIRSVolkmar W. Pogatzki2024-01-111-0/+40
| | | | | | | | | | | | | | | Several multi-jar packages built with java-pkg-simple.eclass use a workaround to avoid passing arguments to ejavadoc. That workaround runs another java-pkg-simple_src_compile which builds an unneeded jar file usually called "ignoreme.jar". This patch defines the JAVADOC_SRC_DIRS eclass variable needed by the java-pkg-simple.eclass to decide whether to call ejavadoc or not. The other new eclass variable is JAVADOC_CLASSPATH. It can be used for multi-jar packages to pass dependencies's classpath to ejavadoc. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* qt5-build.eclass: Move append-ldflags and filter-lto to src_prepareAndreas Sturmlechner2024-01-101-9/+9
| | | | | Closes: https://bugs.gentoo.org/919789 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Set CMAKE_DISABLE_PRECOMPILE_HEADERS=ONAndreas Sturmlechner2024-01-101-0/+1
| | | | | Closes: https://bugs.gentoo.org/920845 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Set FETCHCONTENT_FULLY_DISCONNECTED=ONAndreas Sturmlechner2024-01-101-1/+2
| | | | | Closes: https://bugs.gentoo.org/920846 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cargo.eclass: Revert PKGBUMPING for CARGO_CRATE_URISMichał Górny2024-01-091-3/+0
| | | | | | | Setting PKGBUMPING would result in empty crate URI list which is incorrect when used inside an USE-conditional group. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: go back to flexSam James2024-01-081-1/+1
| | | | | | | We should really tighten this so it's only for snapshots though... Closes: https://bugs.gentoo.org/921620 Signed-off-by: Sam James <sam@gentoo.org>
* qt6-build.eclass: shorten intrin test a bitIonen Wolkens2024-01-081-3/+0
| | | | | | | | | Felt more correct but do not actually need the header for these. Could alternatively use tc-cpp-is-true too, but fwiw current method allows batching in a single compiler call. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* verify-sig.eclass: Accept 1-out-of-n sigs on multisig filesMichał Górny2024-01-081-1/+1
| | | | | | | | | | | | | If a distfile has multiple detached signatures, pass verification if at least one of them can be verified rather than requiring all of them. This is particularly helpful for upstreams where the whole set of release keys is hard to come by. Closes: https://bugs.gentoo.org/873211 Closes: https://github.com/gentoo/gentoo/pull/29224 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29592 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Remove <dev-python/gemato-20 supportMichał Górny2024-01-081-12/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: fix lex, yacc versionsSam James2024-01-081-2/+2
| | | | | | Fixes: b8300e99e7137925c73f1d067caed8af4f77dc1b Fixes: 4c621abb2923e1085cc4aaf67c30901510d8b3c0 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: sys-devel/bison -> app-alternatives/yaccSam James2024-01-081-1/+1
| | | | | | | | | All of these will be using app-alternatives/yacc anyway as they're not unsetting YACC or LEX, so make the dep reflect reality. (Included both YACC and LEX out of conservatism.) Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: sys-devel/bison -> app-alternatives/yaccSam James2024-01-081-1/+1
| | | | | | | | | All of these will be using app-alternatives/yacc anyway as they're not unsetting YACC or LEX, so make the dep reflect reality. (Included both YACC and LEX out of conservatism.) Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: sys-devel/flex -> app-alternatives/lexSam James2024-01-081-2/+2
| | | | | | | | | All of these will be using app-alternatives/lex anyway as they're not unsetting YACC or LEX, so make the dep reflect reality. (Included both YACC and LEX out of conservatism.) Signed-off-by: Sam James <sam@gentoo.org>
* kernel-build.eclass: sys-devel/flex -> app-alternatives/lexSam James2024-01-081-1/+1
| | | | | | | | | All of these will be using app-alternatives/lex anyway as they're not unsetting YACC or LEX, so make the dep reflect reality. (Included both YACC and LEX out of conservatism.) Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: sys-devel/flex -> app-alternatives/lexSam James2024-01-081-1/+1
| | | | | | | | All of these will be using app-alternatives/lex anyway as they're not unsetting YACC or LEX, so make the dep reflect reality. (Included both YACC and LEX out of conservatism.) Signed-off-by: Sam James <sam@gentoo.org>
* ninja-utils.eclass: dev-util/ninja -> app-alternatives/ninjaSam James2024-01-081-3/+3
| | | | | | Missed this before. Signed-off-by: Sam James <sam@gentoo.org>
* unpacker.eclass: app-arch/cpio -> app-alternatives/cpioSam James2024-01-081-2/+2
| | | | | | | All of these will be using app-alternatives/cpio anyway as they're not calling gcpio, so make the dep reflect reality. Signed-off-by: Sam James <sam@gentoo.org>
* kernel-build.eclass: app-arch/cpio -> app-alternatives/cpioSam James2024-01-081-1/+1
| | | | | | | All of these will be using app-alternatives/cpio anyway as they're not calling gcpio, so make the dep reflect reality. Signed-off-by: Sam James <sam@gentoo.org>