summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* python-utils-r1.eclass: Disable tavern plugin in epytestMichał Górny2022-11-261-0/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Bump min Python versionsMichał Górny2022-11-261-7/+7
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Remove support for gpep517 < 9Michał Górny2022-11-261-29/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Print versions of common hatch pluginsMichał Górny2022-11-261-0/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Bump min dep versions to newest stableMichał Górny2022-11-261-15/+15
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Pass options to meson-python backendMichał Górny2022-11-261-11/+39
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ninja-utils.eclass: Split get_NINJAOPTS outMichał Górny2022-11-261-4/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221126Michał Górny2022-11-261-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* waf-utils.eclass: set PYTHONHASHSEED environment variableMatthew Smith2022-11-251-0/+5
| | | | | | | | | | waf relies on Python set order, so let's make it consistent to avoid brittle builds. Added into existing phase functions instead of pkg_setup to retain compatibility with existing ebuilds. Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: set --jobs=1 for configure and installMatthew Smith2022-11-251-2/+3
| | | | | | | | | MAKEOPTS was only respected for src_compile, leading to out-of-memory issues for some users. Force number of concurrent jobs to 1 in src_configure and src_install phases as it doesn't provide much of a benefit anyway. Closes: https://bugs.gentoo.org/715542 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: pass EXTRA_ECONF to configureMatthew Smith2022-11-251-0/+1
| | | | | | | Allows users to override configure flags as in other build systems. Closes: https://bugs.gentoo.org/817419 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: add default mandir settingMatthew Smith2022-11-251-0/+3
| | | | | Closes: https://bugs.gentoo.org/376149 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* mozcoreconf-v5.eclass: mark @DEADJoonas Niilola2022-11-251-0/+1
| | | | | | - no more consumers in the tree. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* Revert "toolchain.eclass: add initial sphinx support for 13"Sam James2022-11-231-17/+2
| | | | | | | | | This reverts commit 803ac64d367c4c865a2c30f1196dfec95dc7fee1. This was dropped upstream and no snapshots of GCC 13 in Gentoo use the variables from this commit anymore. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: fix autoconf 2.13 minimum boundSam James2022-11-231-1/+1
| | | | | Fixes: cece5b154234aa8c9982feae05f67df8db39e270 Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: depend on modern libtoolSam James2022-11-231-1/+1
| | | | | | | 2.4.7 has been stable for a while, and for older versions, we can't be sure that our elibtoolize (elt-patches) bits will work anyway. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: crank up autoconf minimum versionsSam James2022-11-231-2/+2
| | | | | | | | This ensures we have versions which have Clang 16 / GCC 14 / stricter compiler fixes, so 'eautoreconf' will Do The Right Thing. Closes: https://bugs.gentoo.org/870412 Signed-off-by: Sam James <sam@gentoo.org>
* cuda.eclass: adapt for newer GCC paths (major version only)Sam James2022-11-221-4/+4
| | | | | | Bug: https://bugs.gentoo.org/865835 Closes: https://bugs.gentoo.org/880675 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221120 snapshotMichał Górny2022-11-201-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xorg-3.eclass: add FONT_OPENTYPE_COMPAT supportSam James2022-11-201-1/+7
| | | | | Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James <sam@gentoo.org>
* font.eclass: introduce FONT_OPENTYPE_COMPAT for converting old bitmap fontsSam James2022-11-201-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | >=x11-libs/pango-1.44 dropped support for old bitmap fonts. We can convert (or really, wrap/embed) fonts from the legacy .bdf and .pcf formats into the OTB wrapper format using x11-apps/fonttosfnt. This commit adds FONT_OPENTYPE_COMPAT to font.eclass which packages installing bitmap fonts can set to opt-in to conversion/wrapping. Note that the font conversion isn't perfect -- it's good enough in many cases, but in some cases they may require tweaking via fontconfig to get pixel size right, antialiasing settings, ... Adds IUSE=+opentype-compat to any ebuilds which set FONT_OPENTYPE_COMPAT; enabled by default given discoverability of this issue may be difficult and presumably any font package enabling FONT_OPENTYPE_COMPAT will be useless without it anyway. See also https://fedoraproject.org/wiki/BitmapFontConversion. Bug: https://bugs.gentoo.org/698922 Thanks-to: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Clean up after old snapshotsMichał Górny2022-11-191-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: add a way to allow go mod verify to be nonfatalWilliam Hubbs2022-11-181-1/+3
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* ada.eclass: gcc-10.3.1 changed to gcc-10Alfredo Tupone2022-11-181-1/+1
| | | | | Closes: https://bugs.gentoo.org/881681 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* docs.eclass: add initialize_git_repo helper functionAndrew Ammerlaan2022-11-161-0/+35
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* docs.eclass: allow multiple doc builders in one ebuildAndrew Ammerlaan2022-11-161-18/+28
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* llvm.org.eclass: Enable prebuilt manpages for 15.0.5Michał Górny2022-11-161-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Reuse makeopts_jobsMichał Górny2022-11-152-162/+4
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27999 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Default SCONS_MIN_VERSION to current stableMichał Górny2022-11-151-5/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Update documentationMichał Górny2022-11-151-3/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Enable EAPI 8 supportMichał Górny2022-11-151-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Use python_has_versionMichał Górny2022-11-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Remove support for EAPI 0..6Michał Górny2022-11-151-109/+17
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: add initial sphinx support for 13Sam James2022-11-141-2/+17
| | | | | | | | | Adds TOOLCHAIN_SPHINX_BUILD. Upstream have converted their docs to Sphinx and it's needed for man, info, and HTML docs. There's no progress yet on including the files in dist tarballs though. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221113 snapshotMichał Górny2022-11-131-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: remove whissi from GENPATCHES_URIMike Pagano2022-11-101-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* cargo.eclass: mention --frozen usecase.Georgy Yakovlev2022-11-101-1/+6
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* verify-sig.eclass: Workaround GPG problems with long TMPDIRMichał Górny2022-11-101-0/+6
| | | | | | | | Force using TMPDIR=/tmp to workaround GPG failing when TMPDIR happens to be long enough to cause UNIX socket paths to exceed the system limit. Closes: https://bugs.gentoo.org/854492 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* font.eclass: Remove racy pkg_postinst codeMatt Turner2022-11-081-6/+0
| | | | | | | | | | | | | | | | | | | | | | | Noticed on ChromeOS when installing a large number of font packages in parallel: /usr/share/fonts/noto/NotoSerifThai-Regular.ttf#new' from 0004 (------r--) to 2440 (r--r-S---) * ERROR: media-fonts/ipaex-004.01-r1::chromiumos failed (postinst phase): * failed to fix font files perms The "#new" filename is the hint. Portage uses "#new" suffixes when copying files to the system, and then renames them to their final filenames. This code was executing while another font was in the process of being copied to the system. Font packages should just ensure that they install files with correct permissions to begin with, and all except media-fonts/x11fonts-jmk already use 0644 permissions. media-fonts/x11fonts-jmk used 0444 (which was probably fine) until the previous commit which changes its installed files to 0644. Bug: https://bugs.gentoo.org/187774 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* git-r3.eclass: Add checkout dirs as "safe" directoriesMichał Górny2022-11-071-0/+5
| | | | | | | | | | Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install(). Closes: https://bugs.gentoo.org/879353 Closes: https://github.com/gentoo/gentoo/pull/28154 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable 16.0.0_pre20221104Michał Górny2022-11-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: With KDE_ORG_COMMIT, fetch from mirror://gentoo firstAndreas Sturmlechner2022-11-031-2/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Enable dist manpages for 15.0.4Michał Górny2022-11-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt6-build.eclass: add qt6-build_src_installJimi Huotari2022-11-021-0/+7
| | | | | Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: Fix variable mismatchMichał Górny2022-10-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-17/+26
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27949 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-26/+41
| | | | | | | | | Do not assume PV and kernel version must always match. Use PV for kernel install directory (i.e. /usr/src/linux) but get the release from the kernel build directory for the module directory. Update preinst version check to account for live ebuilds. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Revert "Add KV_FULL [...]"Michał Górny2022-10-291-23/+17
| | | | | Reverts: 55a495ad71b0ce1620488f389baddeebc787ee64 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Revert "Respect KV_FULL"Michał Górny2022-10-291-3/+3
| | | | | Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp.eclass: Drop EAPI 6 supportUlrich Müller2022-10-281-6/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>