summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* plasma.kde.org.eclass: Support Plasma 6 RC micro releasesAndreas Sturmlechner2024-02-071-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* gnome2.eclass: Make gnome2_gdk_pixbuf_update call conditionalMichał Górny2024-02-061-1/+3
| | | | | | | | Move the condition that checks the result of gnome2_gdk_pixbuf_savelist from inside gnome2_gdk_pixbuf_update to the postinst phase of gnome2.eclass. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gnome2-utils.eclass: Make *_gdk_pixbuf_update work unconditionallyMichał Górny2024-02-061-6/+1
| | | | | | | | | | | Remove the GNOME2_ECLASS_GDK_PIXBUF_LOADERS condition that required calling gnome2_gdk_pixbuf_savelist prior to gnome2_gdk_pixbuf_update. The actual list was never used, and all the ebuilds calling the function in Gentoo contain conditions to avoid calling the function when loaders are not built. Closes: https://bugs.gentoo.org/922500 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: ignore GCC version mismatch for live ebuildsSam James2024-02-051-1/+1
| | | | | | | | | | | We want to have live ebuilds use e.g. 14.0.9999. not 14.0.1.9999 which is inconsistent and requires a rename/adjustment to package.accept_keywords files when going from stage3->stage4 (.0 -> .1). We can do this now because we use --with-major-version-only nowadays, so SLOT matches the installed path of just '14'. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 19.0.0_pre20240203 snapshotMichał Górny2024-02-031-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: don't take shortcut for non-GCC bootstrap compilerSam James2024-02-031-1/+1
| | | | | | | | | We're fragile for stage0 so if we're not building using GCC, use -O0. The use of regular CFLAGS/CXXFLAGS there should be seen as a bonus as it has some caveats. Best to play it safe to avoid confusing hard-to-diagnose differences later on. Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: add installkernel as optfeatureAndrew Ammerlaan2024-02-021-1/+4
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* kernel-build.eclass: require real bison & flexSam James2024-02-011-2/+2
| | | | | | | | | | | | | This reverts commit 486f12612d840bf4efbd324afdab59a98dd27fce. Note that it appears to have been wrong for yacc for quite a while, as we previously depended on virtual/yacc, even though the kernel looks for bison... GNU Bison is at least needed, unclear about flex vs reflex, but let's say flex for now as the kernel docs say it (most of the time, reflex does work in place of flex, but not checked so let's be safe). Closes: https://bugs.gentoo.org/922823 Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: require real bison & flexSam James2024-02-011-2/+2
| | | | | | | | | | | | This reverts commit 57a9b506597e766521a5633898d33fef125ecd5b and commit bd3dc0379262bedb0bb301df1b9c82442835be3e. GNU Bison is at least needed, unclear about flex vs reflex, but let's say flex for now as the kernel docs say it (most of the time, reflex does work in place of flex, but not checked so let's be safe). Closes: https://bugs.gentoo.org/922823 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: delete libstdc++exp.la tooSam James2024-02-011-0/+1
| | | | | | Reported by negril. Signed-off-by: Sam James <sam@gentoo.org>
* cargo.eclass: Output only the first crate URI when PKGBUMPINGMichał Górny2024-01-311-0/+5
| | | | | | | | | | | | | | Modify cargo_set_crate_uris to output only the first crate URI when PKGBUMPING is set for the current ebuild. This makes pkgdiff-mg much faster on Rust packages, as it does not have to fetch all the hundreds of crates that aren't part of the diff anyway. This is an improved version of 92001837418f3a50e6571c0f533520b42f90d488, as the original attempted not to output any URIs, and therefore could create empty groups in SRC_URI that are invalid. Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35097 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove 18.0.0 snapshotsMichał Górny2024-01-301-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: update texlive eclasses for texlive 2023Florian Schmaus2024-01-302-81/+124
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* linux-mod-r1.eclass: warn if KV does not match virtual/dist-kernelAndrew Ammerlaan2024-01-301-1/+19
| | | | | | | | | | | | | We have no mechanism to ensure that we build the kernel modules for the same kernel version as the version we will record in the virtual/dist-kernel subslot dependency. This does not fix this problem, but it does add a warning to ensure users are aware that, for example, built binpkgs are going to have wrong dependency metadata. Bug: https://bugs.gentoo.org/923025 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35066 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* llvm.org.eclass: Add 19.0.0_pre20240127 snapshotMichał Górny2024-01-271-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Revert "flag-o-matic.eclass: allow further MIPS errata flags"Sam James2024-01-271-5/+2
| | | | | | | | | | | | | This reverts commit cf366abd1bd50a33755734bbfb8c0e8a49a5480e. This reverts commit fad75a344cbaada57ae490c3e8f88cdd5b35dadc. There's a bug in gas where it messes up labels in the presence of some of these errata flags. Bug: https://gcc.gnu.org/PR112782 Bug: https://sourceware.org/PR13509 Closes: https://bugs.gentoo.org/921104 Signed-off-by: Sam James <sam@gentoo.org>
* gap-pkg.eclass: enable pipefail when piping tests through teeMichael Orlitzky2024-01-241-0/+2
| | | | | | | | | | | | | In src_test(), we are running, ${gapcmd} | tee test-suite.log to work around a terminal corruption issue in dev-gap/browse. This pipe however has the unfortunate side effect of hiding failures in ${gapcmd} behind the success of tee. To fix that, we enable pipefail for the duration of the command above. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* kernel-install.eclass: drop sys-kernel/installkernel-systemdAndrew Ammerlaan2024-01-241-13/+3
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* llvm.eclass: Allow LLVM 19Michał Górny2024-01-241-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: main is now 19.xMichał Górny2024-01-241-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain-autoconf.eclass: compress slotted info pagesSam James2024-01-231-0/+2
| | | | | | | | | | As noted in the bug, we install to a different location to accommodate slotting and hence do not benefit from the automagic compression for /usr/share/doc. Explicitly opt-in for the info pages we install. Bug: https://bugs.gentoo.org/922729 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: compress slotted man pages & info pagesSam James2024-01-231-0/+2
| | | | | | | | | | As noted in the bug, we install to a different location to accommodate slotting and hence do not benefit from the automagic compression for /usr/share/doc. Explicitly opt-in for the man pages & info pages we install. Bug: https://bugs.gentoo.org/922729 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: require >=sys-devel/gcc-config-2.11 for portageq fixesSam James2024-01-231-1/+1
| | | | | Bug: https://bugs.gentoo.org/906329 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 18.0.0_pre20240120 snapshotMichał Górny2024-01-221-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gap-pkg.eclass: add sci-mathematics as a co-maintainerMichael Orlitzky2024-01-221-0/+1
| | | | | | | | In case François and I get hit by the same bus, but mainly for symmetry: sci-mathematics is also listed as a co-maintainer on the individual dev-gap packages. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: add two missing eclassdoc colonsMichael Orlitzky2024-01-221-4/+4
| | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: default GAP_PKG_HTML_DOCDIR=doc at the top-levelMichael Orlitzky2024-01-221-12/+10
| | | | | | | | | The default value for this variable was essentially being set inside gap-pkg_src_install, rather than at the top-level. We move it to the top level so that the eclass man page correctly documents it. Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: use nullglob instead of working around itMichael Orlitzky2024-01-221-11/+15
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: improve comment about which docs we installMichael Orlitzky2024-01-221-1/+3
| | | | | | | | | The comment listing the file extensions to be installed as documentation was outdated, as such things are doomed to be. It has been changed to less precise and more accurate. Suggested-by: Max Horn <horn@mathematik.uni-kl.de> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: drop empty @USAGE tagsMichael Orlitzky2024-01-221-7/+0
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: drop internal _gap-pkg_gaparch functionMichael Orlitzky2024-01-221-12/+0
| | | | | | | Since removing the --bindir and --libdir flags from the default econf, this function is unused. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: ensure that "required" packages have the right ${CATEGORY}Michael Orlitzky2024-01-221-2/+2
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: don't quote argument to "case"Michael Orlitzky2024-01-221-1/+1
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: remove leading whitespaceMichael Orlitzky2024-01-221-7/+7
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: add missing dieMichael Orlitzky2024-01-221-1/+1
| | | | | Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: simplify gap-pkg_econf()Michael Orlitzky2024-01-221-15/+2
| | | | | | | | | Drop the --bindir and --libdir arguments to autoconf ./configure scripts, since they should not be necessary. Also remove some old (now inaccurate) documentation about the ABI variable Suggested-by: Max Horn <horn@mathematik.uni-kl.de> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: ForceQuitGap after running testsMichael Orlitzky2024-01-221-1/+6
| | | | | | | This should handle a few additional exit-code corner cases. Suggested-by: Max Horn <horn@mathematik.uni-kl.de> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* eclass/gap-pkg.eclass: improve configure script wordingMichael Orlitzky2024-01-221-11/+11
| | | | | | | | Instead of the potentially pejorative "real" and "fake", call the two types of ./configure script "autoconf" or "hand-written." Suggested-by: Max Horn <horn@mathematik.uni-kl.de> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* gap-pkg.eclass: new eclass for GAP packagesMichael Orlitzky2024-01-221-0/+408
| | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* 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>