summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* java-pkg-simple.eclass and java-utils-2.eclass: features and enhancementsZhang Zongyu2020-08-302-29/+388
| | | | | | | | | | 1) support java resources 2) support java main class and launcher 3) enable java-pkg-simple_src_test() 4) support binary jars (both for resolve circular deps and for pkgdiff test) Signed-off-by: Zhang Zongyu <zzy2529420793@gmail.com> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/kernel-install.eclass: rework testsGeorgy Yakovlev2020-08-291-23/+96
| | | | | | | | | | | instead of using linux image we compile tiny static binary and use it as /sbin/init image is simply created using mkfs.ext4 -d option arm tests need qemu keyworded, so disabled for now Closes: https://github.com/gentoo/gentoo/pull/17305 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-build.eclass: don't strip ppc64 kernelsGeorgy Yakovlev2020-08-281-0/+3
| | | | | | it breaks external module builds Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-install.eclass: add ppc64 image pathGeorgy Yakovlev2020-08-281-0/+5
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-install.eclass: restrict tests on ppc64 (for now)Georgy Yakovlev2020-08-281-1/+3
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* gnuconfig.eclass: Remove deprecation warnings.Ulrich Müller2020-08-271-9/+1
| | | | | | | | As discussed in #gentoo-qa. These were added in 2006, but the eclass is still used by prominent packages. For example, it is inherited by toolchain and toolchain-glibc. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: fix relocation of libgccjitSergei Trofimovich2020-08-241-0/+6
| | | | | | | | | | | | | | | | | Before the change libgccjit.so was installed to /usr/lib. Relocation code in toolchain.eclass:gcc_movelibs() only handles /usr/$(get_libdir) -> $LIBDIR location. As a result gcc did not relocate libraries to version-speciifc firectory: caused collisions and installed library into wrong LIBDIR. The change handles libgccjit special case by relocating it explicitly. Reported-by: Michał Górny Bug: https://bugs.gentoo.org/583010 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/kernel-build.eclass: copy module.lds linker scriptGeorgy Yakovlev2020-08-231-0/+5
| | | | | | | | | | without it it's impossible to build external kernel modules on some arches (zfs-kmod on arm64 for example) Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/17225 Closes: https://bugs.gentoo.org/737302 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: always enable --with-long-double-128 for glibc targetsSergei Trofimovich2020-08-201-0/+8
| | | | | | | | | | | | | | | Unless overridden glibc enables 128-bit 'long double' for glibc 2.4 and above. But with crossdev change 7283a01 ("set --without-headers by default") we don't install any headers for stage1-gcc. As a result gcc pessimistically disables 128-bit 'long double'. The change enables --with-long-double-128 for glibc targets for stage1-gcc. Reported-by: hanetzer@startmail.com Closes: https://bugs.gentoo.org/738248 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* mate.eclass: Fix quotingAdam Feldman2020-08-201-1/+1
| | | | | Closes: https://bugs.gentoo.org/738150 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
* mate.eclass: #637786, adj {MATE,GNOME}_LA_PUNT to fix eclassdoc genAdam Feldman2020-08-191-1/+2
| | | | | Closes: https://bugs.gentoo.org/637786 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
* mate.eclass: drop static-libs whenever possibleAdam Feldman2020-08-191-1/+11
| | | | | | | | Whenever package doesn't have static-libs available and selected, if configure script has static-libs selectable, explicitly disable Bug: https://bugs.gentoo.org/695878 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
* toolchain.eclass: stop installing /usr/bin/c89 and /usr/bin/c99Sergei Trofimovich2020-08-191-15/+0
| | | | | | | | Ownership of /usr/bin/c89 and /usr/bin/c99 was switched to sys-devel/gcc-config-2.3.1. Closes: https://bugs.gentoo.org/728722 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* xorg-3.eclass: set XORG_MODULE for xcb-util packagesDavid Michael2020-08-161-9/+10
| | | | | | | | | | Other packages like xcb-proto and libxcb are also under xcb/, but they are duplicated under proto/ and lib/ and are already working there, so this only affects xcb-util packages. Signed-off-by: David Michael <fedora.dm0@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17133 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* dev-lang/vala: p.masked bump to 0.49.90Mart Raudsepp2020-08-151-1/+1
| | | | | Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* eclass: new class netsurf.eclass for netsurf buildLukas Vacek2020-08-151-0/+42
| | | | | | | | | This eclass contains one new function netsurf_define_makeconf which should be used in ebuilds instead of sourcing netsurf-buildsystem/gentoo-helpers.sh Signed-off-by: Lukas Vacek <lucas.vacek@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* kernel-install.eclass: Restrict tests on arm&arm64Michał Górny2020-08-131-1/+5
| | | | | | Restrict tests on arches that currently lack a test image. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/texlive-common.eclass: fix texlive-common_is_file_present_in_texmf.Alexis Ballier2020-08-121-0/+1
| | | | | | | | | Function was not returning if the file was found or not. Always returned true. Fixes: [dcfc5829e7c027057d8] texlive-common.eclass: kill POSIXism Closes: https://bugs.gentoo.org/736872 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* flag-o-matic.eclass: fix '-gstabs' filtering (allow '-gstabs')Sergei Trofimovich2020-08-101-1/+1
| | | | | | 'gstabs' is not a valid compiler flag. '-gstabs' is valid. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: allow -gdwarf (we already allow -gdwarf-*)Sergei Trofimovich2020-08-101-1/+1
| | | | | | Reported-by: Guilherme Amadio Suggested-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: add whitespace around -g* optionsSergei Trofimovich2020-08-101-1/+8
| | | | | | No functional change. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* distutils-r1.eclass: Set PATH in distutils_install_for_testingMichał Górny2020-08-091-0/+6
| | | | | | | | Make distutils_install_for_testing set PATH so that newly-installed scripts are available in the testing environment. Make PATH local in all sub-phases to make modifications safe. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: Switch EGIT_MIRROR to https://invent.kde.org/kdeAndreas Sturmlechner2020-08-081-1/+1
| | | | | | | | | | | Upstream did a mass-import to KDE group first, and those links persist even after the move into subgroups, so for now we can use it as flat structure fallback URI, coming from cgit.kde.org. See also: https://mail.kde.org/pipermail/kde-community/2020q2/006241.html See also: https://mail.kde.org/pipermail/kde-cvs-announce/2020/000198.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop duplicate local lang declarationAndreas Sturmlechner2020-08-081-1/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/linux-mod: migrate to sys-apps/kmodMikle Kolyada2020-08-081-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* toolchain.eclass: raise minimum gcc-config up to 2.3Sergei Trofimovich2020-08-071-1/+1
| | | | | | | | | | In #736040 gcc-config-1.9 was not able to handle gcc-10 paths. Let's raise lower bound to minimum stable version currently in ::gentoo. Reported-by: Dennis Nezic Bug: https://bugs.gentoo.org/736040 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* xorg-3.eclass: Add missing spaceMatt Turner2020-08-071-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Fix inherits and BDEPENDMike Lothian2020-08-071-2/+2
| | | | | | | | | | Remove duplicate flag-o-matic and re-add ${GIT_ECLASS} to allow xorg-3 git ebuilds to work again Don't overwrite BDEPEND variable Signed-off-by: Mike Lothian <mike@fireburn.co.uk> Closes: https://github.com/gentoo/gentoo/pull/17043 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* python*-r1.eclass: Check for invalid impl patternsMichał Górny2020-08-073-0/+44
| | | | | | | | | | | | | Check for invalid implementation patterns passed to python_gen* functions, python_setup, etc. Currently the functions silently ignore pattern mismatches which is fine for patterns matching historical implementations but also hides errors in patterns. After this change, each pattern must match at least one current or historical implementation. If no match is found, the function dies indicating developer's mistake. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ruby-{ng,utils}.eclass: mark ruby24 as removedHans de Graaff2020-08-072-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* xorg-3.eclass: Add support for handling fontsHenrik Pihl2020-08-061-4/+172
| | | | | Signed-off-by: Henrik Pihl <ahvenas@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* cuda.eclass: adopt it on behalf of Science Project.Benda Xu2020-08-051-1/+1
| | | | | | Signed-off-by: Benda Xu <heroxbd@gentoo.org> Reference: https://archives.gentoo.org/gentoo-dev/message/d693da42b93e7bf016a44b3ae3752b9f
* */*: reassign jlec's packagesMichał Górny2020-08-053-5/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Support installation of dynamic modules.Ulrich Müller2020-08-031-6/+36
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-install.eclass: Pass '-cpu max' on amd64 onlyMichał Górny2020-08-011-1/+3
| | | | | | It seems to break testing on 32-bit x86. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: drop java binary renames for <gcc-4Sergei Trofimovich2020-07-311-41/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop --as-needed spec workaround for <gcc-3.4.4Sergei Trofimovich2020-07-311-7/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: always validate gcc/BASE-VER (assume >=gcc-4.1)Sergei Trofimovich2020-07-311-6/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop fixheadtails.eclass use for <gcc-4.3Sergei Trofimovich2020-07-311-10/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop tweak for pythondir for gcc-{4.5..4.7}Sergei Trofimovich2020-07-311-8/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop support for standalone lang=dSergei Trofimovich2020-07-311-16/+0
| | | | | | | 'd' is merged and maintained upstream. Dropped support for external patches. No ::gentoo ebuilds are using it. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE=boundschecking supportSergei Trofimovich2020-07-311-29/+1
| | | | | | boundschecking patch is superseded by IUSE=sanitize Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: simplify LICENSE= by leaving >=gcc-4.6 caseSergei Trofimovich2020-07-311-14/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop handling of /usr/lib/gcc-lib for gcc-3.3Sergei Trofimovich2020-07-311-5/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE=mudflap handlingSergei Trofimovich2020-07-311-7/+0
| | | | | | mudflap was removed in favour of sanitizers. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: avoid libquadmath in stage1-gccSergei Trofimovich2020-07-301-0/+3
| | | | | | | | | | | | | | libquadmath relies on libc presence (sqrt symbols). When initial toolchain is bootstrapped libc is not available yet. The change disables libquadmath for bootstrap cases when libc is not installed yet. gcc-stage2 still uses platform defaults for libquadmath. Reported-by: Andrew Aladjev Closes: https://bugs.gentoo.org/734820 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: also delete /usr/bin/fix_libtool_files.shSergei Trofimovich2020-07-301-0/+1
| | | | | | Reported-by: Silvio Closes: https://bugs.gentoo.org/734008 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ruby-ng-gnome2.eclass: drop non-necessary dieNaohiro Aota2020-07-301-2/+2
| | | | | | We don't need to die explicitly for ebuild helpers. Drop useless dies. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: add support for 3.4.xNaohiro Aota2020-07-301-3/+9
| | | | | | Update SRC_URI since the primary release site is moved to github. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: fold common all_ruby_prepareNaohiro Aota2020-07-301-0/+22
| | | | Signed-off-by: Naohiro Aota <naota@gentoo.org>