summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* git-r3.eclass: Add Git LFS supportSebastian Parborg2023-07-261-0/+90
| | | | | | Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31905 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: fix _LLVM_KNOWN_SLOTS for LLVM 18Sam James2023-07-261-1/+1
| | | | | | Thanks to vimproved for reporting. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: master → mainMichał Górny2023-07-251-6/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: main is now 18.xMichał Górny2023-07-251-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove old snapshotsMichał Górny2023-07-251-6/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ecm.eclass: Drop Qt 5.15.9 from ECM_QTHELP Portage bug workaroundAndreas Sturmlechner2023-07-241-15/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Add 17.0.0_pre20230722 snapshotMichał Górny2023-07-221-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain-funcs.eclass: cleanup old gcc/clang logic in tc-ld-force-bfdSam James2023-07-221-16/+8
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: formatting tweaksSam James2023-07-221-11/+13
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: fix incomplete ninj renameSam James2023-07-211-1/+1
| | | | | | | | | Lost in rebase as kept changing between splitting/unsplitting sparc64*. Thanks to dilfridge & ionen for spotting. Fixes: d1c60c8515d1487149bda90575609a757b8246ef Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: adjust test deps for sparcSam James2023-07-211-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: simplify caseSam James2023-07-211-18/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: kernel-install_get_qemu_arch: port to sparcSam James2023-07-211-1/+7
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* kernel-build.eclass: add special-case for sparc arch/ directorySam James2023-07-211-0/+8
| | | | | | | | | | | | | | | | | | | | | Unfortunately, we still have a mess wrt dual-bitness arches. For sparc, there's arch/sparc, with ARCH=sparc being "whatever the toolchain is", ARCH=sparc32 being "give me a 32-bit kernel", and ARCH=sparc64 being "give me a 64-bit kernel". You do, seemingly, need to actually pass ARCH=sparc64 to guarantee correct results, as various kernel Makefiles check for the ARCH value, even though ARCH=sparc will pop out a 64-bit kernel. (I originally updated toolchain-funcs.eclass's tc-ninja_magic_to_arch, but we later found that doesn't look particularly sturdy. Per at the very least 5ba800962a80d4158b73fb91a7779df7b770c750 ("kbuild: update ARCH alias info for sparc") upstream, although it seems to go back a fair bit earlier, ARCH=sparc when building the kernel means "sparc64" if on a sparc64 host.) Signed-off-by: Sam James <sam@gentoo.org>
* dist-kernel-utils.eclass: dist-kernel_get_image_path: handle sparcSam James2023-07-211-1/+1
| | | | | | Same as hppa/ppc*. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: tc-ninja_magic_to_arch: rename helper functionSam James2023-07-211-7/+7
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: add note re texinfo QA warningSam James2023-07-201-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* kernel-build.eclass: require modules-sign if securebootAndrew Ammerlaan2023-07-201-1/+17
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* dist-kernel-utils.eclass: optionally sign the kernelsAndrew Ammerlaan2023-07-201-1/+17
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* eclass/secureboot.eclass: add new eclassAndrew Ammerlaan2023-07-201-0/+173
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* rust-toolchain.eclass: add preparatory loong supportWANG Xuerui2023-07-201-0/+9
| | | | | | | | Rust 1.71.0 was already beta at time of the commit, meaning the target tuple of loong can be considered stable. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endiannessWANG Xuerui2023-07-201-6/+10
| | | | | | | | For less downloading client-side, as it is likely that only one package in each covered group would work on a given system. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: add support for mips64el platformsWANG Xuerui2023-07-201-0/+2
| | | | | | | | | Right now mips64el systems are treated as mips64 (big-endian) in the rust_abi helper, that prevents installation of rust. Fix by checking for mips64el before mips64. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: cosmetic cleanupsWANG Xuerui2023-07-201-30/+40
| | | | | | | | | Re-tab the file, and reorganize the rust_abi and rust_all_arch_uris helpers so the keys are sorted alphabetically while preserving match order. No functional change intended. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* toolchain.eclass: disable gcov for crossSam James2023-07-201-1/+7
| | | | | | | | I don't see an immediate way to only disable this for crossdev stage1, so just disable it entirely for cross for now. Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 Signed-off-by: Sam James <sam@gentoo.org>
* cmake.eclass: Support CMAKE_VERBOSE with ninjaMatt Turner2023-07-181-0/+4
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ninja-utils.eclass: Add NINJA_VERBOSEMatt Turner2023-07-181-1/+12
| | | | | | | | | | | | | | ninja operates in one of three modes: - verbose (with -v): prints build commands - quiet (with --quiet): prints nothing - normal: prints [XX/YY]-style build status updates samurai works the same way, except it does not have a quiet mode. Thus we can't simply override ninja-utils' hard-coded flag from callers of eninja. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ninja-utils.eclass: Change maintainer to base-system@Matt Turner2023-07-181-2/+1
| | | | | | Per floppym's request. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* meson.eclass: Add MESON_VERBOSEJonas Rakebrandt2023-07-181-2/+13
| | | | | | | | This works similar to cmake.eclass's ${CMAKE_VERBOSE}. Closes: https://github.com/gentoo/gentoo/pull/28942 Signed-off-by: Jonas Rakebrandt <xarblu@protonmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* meson.eclass: Change maintainer to base-system@Matt Turner2023-07-181-2/+1
| | | | | | Per floppym's request. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* git-r3.eclass: Use '__init__' as initial branchkonsolebox2023-07-181-2/+2
| | | | | | | It silences the default branch warning. Closes: https://bugs.gentoo.org/841392 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ruby-utils.eclass: Simplify _ruby_implementation_dependkonsolebox2023-07-171-50/+2
| | | | | Closes: https://bugs.gentoo.org/909529 Signed-off-by: Sam James <sam@gentoo.org>
* shell-completion.eclass: new eclass, migrated from ::guruFlorian Schmaus2023-07-171-0/+115
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* llvm.org.eclass: Add 17.0.0_pre20230717 snapshotMichał Górny2023-07-171-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Loosen minimal Python versionsMichał Górny2023-07-173-11/+9
| | | | | | | | | | | | | | | | | | Loosen minimal Python versions to accept any version in a given slot. Lower bounds are cumbersome to maintain and cause problems when upgrading outdated systems, particularly when sys-libs/glibc is involved. We could technically apply some hack to make any-r1 dependency checks to conditionally ignore minimal versions but that sounds like unnecessary complexity. In the end, minimum versions were primarily enforced to make sure users got the latest bugfixes but that doesn't seem strictly necessary. Closes: https://bugs.gentoo.org/910288 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/31796 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: wheel dep moved into setuptoolsMichał Górny2023-07-171-3/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: _pypi_translate_version _pre to .devTom Gillespie2023-07-171-0/+1
| | | | | | | | Implement automatic translation _pre to .dev for pypi SRC_URIs. Signed-off-by: Tom Gillespie <tgbugs@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31861 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Disable LTO when using cargo.eclassMichał Górny2023-07-171-0/+7
| | | | | | | | | Strip LTO flags when cargo.eclass is inherited. This means that Rust extensions are being built, and linking them with C/C++ style LTO results in broken shared libraries. Closes: https://bugs.gentoo.org/910220 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Update addpredict for PyPy3.10Michał Górny2023-07-171-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: pypy3 is now 3.10-onlyMichał Górny2023-07-171-3/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Require >=dev-python/pypy3-7.3.12Michał Górny2023-07-171-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Remove --reflink=auto from calls to cpViolet Purcell2023-07-171-1/+1
| | | | | | | | --reflink=auto has become the default behaviour in coreutils 9, and it is not compatible with BSD userland. Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multibuild.eclass: Remove --reflink=auto from calls to cpViolet Purcell2023-07-171-4/+2
| | | | | | | | --reflink=auto has become the default behaviour in coreutils 9, and it is not compatible with BSD userland. Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* docs.eclass: define missing python_check_deps()Andrew Ammerlaan2023-07-171-26/+33
| | | | | | | and remove some code duplication Closes: https://bugs.gentoo.org/910278 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* elisp-common.eclass: Small documentation updateUlrich Müller2023-07-161-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: Update documentation for NEED_EMACSUlrich Müller2023-07-161-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cargo.eclass: filter out lto flags for C/CXX compilersGeorgy Yakovlev2023-07-121-1/+2
| | | | | | | | | | | we do it in src_compile to avoid excessive flag stripping in projects using cargo.eclass just to fetch crates. Bug: https://bugs.gentoo.org/903908 Closes: https://bugs.gentoo.org/893658 Closes: https://bugs.gentoo.org/910220 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Remove old snapshotsMichał Górny2023-07-111-12/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user-info.eclass: egetent: fix lookup by id when ROOT != /Mike Gilbert2023-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Previous to this change, egetent would match any id that starts with the id given as input. For example: egetent group 1 bin::1:root,bin,daemon wheel::10:root floppy::11:root news::13:news uucp::14:uucp console::17: audio::18: cdrom::19: users::100: Adding a colon to the grep expression yields the desired result: egetent group 1 bin::1:root,bin,daemon Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* qt5-build.eclass: Rename qt5_tools_oos_quirk -> qt5_configure_oos_quirkAndreas Sturmlechner2023-07-081-38/+23
| | | | | | | | | | ...and turn it into a public helper, as it serves more than just qttools. The initial review missed the fact that qtlocation is not part of qttools, so push the quirks back into the ebuilds, calling the newly publicised function. Bug: https://bugs.gentoo.org/910066 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>