summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/go-module.eclass: add a missing die callWilliam Hubbs2020-09-141-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* ltprune.eclass: update find command per qa policy-guideJoonas Niilola2020-09-131-1/+1
| | | | | | - policy-guide/commit/2ab9dac1a436e8698963da0aa0a00c978611a747 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ltprune.eclass: match removing libtool files command with policy guideJoonas Niilola2020-09-131-2/+2
| | | | | | - https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* multilib-build.eclass: Fix riscv abi conditionals in pseudo-headerAndreas K. Hüttel2020-09-131-5/+5
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* eutils.eclass: Add a global deprecation warning.Ulrich Müller2020-09-121-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Deprecate use_if_iuse().Ulrich Müller2020-09-125-39/+51
| | | | | | | | The function is not called from any ebuilds in the gentoo repository. Inline it as "in_iuse foo && use foo" in other eclasses, or define it as a local function when it is called multiple times. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Deprecate emktemp().Ulrich Müller2020-09-121-2/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* l10n.eclass: strip-linguas() moved from eutils to here.Ulrich Müller2020-09-122-51/+49
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* l10n.eclass: Add conditional to prevent multiple inclusion.Ulrich Müller2020-09-121-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* wrapper.eclass: Do not use emktemp.Ulrich Müller2020-09-121-3/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* wrapper.eclass: New eclass, split off from eutils.Ulrich Müller2020-09-122-49/+63
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* edos2unix.eclass: New eclass, split off from eutils.Ulrich Müller2020-09-122-15/+24
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Specify supported EAPIs.Ulrich Müller2020-09-121-4/+7
| | | | | | Proactively deprecate in future EAPIs, as requested by soap. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Remove optfeature()David Seifert2020-09-121-46/+1
| | | | | | | | * optfeature() is now defined in optfeature.eclass since e9caee95d9c7ec69a8b8a12be2ae9bcd98c46e2d. Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib*.eclass: Add support for rv32 abiAndreas K. Hüttel2020-09-112-6/+38
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* systemd.eclass: deprecate tmpfiles functionsMike Gilbert2020-09-091-0/+6
| | | | | Bug: https://bugs.gentoo.org/740638 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* systemd.eclass: fix systemd_tmpfiles_create under EAPI 7Mike Gilbert2020-09-091-1/+1
| | | | | Closes: https://bugs.gentoo.org/740586 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass: Add first version of lua.eclassMarek Szuba2020-09-081-0/+710
| | | | | | | | | | | | | | | | | This eclass should be to Lua what python-r1 is to Python. Indeed, most of the plumbing has been shamelessly stolen from that eclass. What works: - support for slotted dev-lang/lua - building and installing Lua modules, for multiple Lua implementations - dependencies on other Lua modules What doesn't work yet: - support for dev-lang/luajit (not in the least because the versions currently in the tree share module directories with dev-lang/lua) - proper support for building against a single Lua target Signed-off-by: Marek Szuba <marecki@gentoo.org>
* oasis.eclass: Fix @SUPPORTED_EAPIS.Ulrich Müller2020-09-081-2/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* optfeature.eclass: Remove unnecessary quotes in case statement.Ulrich Müller2020-09-071-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* optfeature.eclass: New eclass with definition from eutilsDavid Seifert2020-09-071-0/+63
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* acct-*.eclass: Create sysusers.d filesMichał Górny2020-09-052-4/+32
| | | | | | Thanks to David Michael for the initial patch and upstream fixes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-pkg-simple.eclass: fixed copyrightMiroslav Šulc2020-09-051-1/+1
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: Fix typos and commentsHenning Sudbrock2020-09-051-13/+12
| | | | | | | | | | | | | | | Mostly fixes typos (most of them in comments, only one in an actual variable, 'dependency'). Non-typos: * After the recent extensions of this eclass, it now supports resources - hence the change in the eclass description. * The usage description of java-pkg-simple_getclasspath mentions the optional parameter --runtime-only, which appears not to be provided by the function. Signed-off-by: Henning Sudbrock <github@hsudbrock.de> Closes: https://github.com/gentoo/gentoo/pull/17425 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/s6.eclass: add eapi 7 supportWilliam Hubbs2020-09-041-2/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* git-r3.eclass: fetch pullrequest refs on mirror clone typeFrédéric Pierret (fepitre)2020-09-021-0/+2
| | | | | | Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org> Closes: https://github.com/gentoo/gentoo/pull/17265 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: add rv32 abi namesAndreas K. Hüttel2020-09-021-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* cmake.eclass: If inherited from ecm.eclass, set ECM_DISABLE_QMLPLUGINDUMPAndreas Sturmlechner2020-09-011-0/+4
| | | | | | | | | Works with downstream patch added to kde-frameworks/extra-cmake-modules in commit f5b2cf80ea9696a5efbc2064cd432670670af486 Bug: https://bugs.gentoo.org/640432 Bug: https://bugs.gentoo.org/683102 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: cmake_comment_add_subdirectory: line length reductionAndreas Sturmlechner2020-09-011-8/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: cmake_run_in: New functionAndreas Sturmlechner2020-09-011-0/+16
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Fix invent.kde.org EGIT_REPO_URIAndreas Sturmlechner2020-09-011-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* java-pkg-simple.eclass: Fix error message when copying resourcesHenning Sudbrock2020-09-011-1/+1
| | | | | | Signed-off-by: Henning Sudbrock <github@hsudbrock.de> Closes: https://github.com/gentoo/gentoo/pull/17363 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* 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>