summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* ecm.eclass: Drop obsolete kde5*.eclass porting cluesAndreas Sturmlechner2020-12-121-25/+0
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit ce04d25f26dbaf4a150be16df96beb3f3c1ed215)
* kde.org.eclass: Fix DESCRIPTION tagsAndreas Sturmlechner2020-12-121-1/+1
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 89bfbb04f02a119c0d1d4c631f6122b1b62849b4)
* kde.org.eclass: Make 'Unreleased' ascii art work for all categoriesAndreas Sturmlechner2020-12-121-1/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: KDE Applications -> Release ServiceAndreas Sturmlechner2020-12-121-2/+2
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 36ea2a40e6bdd0274c7670c1857eac890674ea3e)
* autotools.eclass: Simplified config.{guess,sub} handling a bitLars Wendler2020-12-091-7/+8
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* autotools.eclass: eautoconf(): Install config.guess and config.sub.Arfrever Frehtes Taifersar Arahesis2020-12-091-0/+12
| | | | | | Bug: https://bugs.gentoo.org/757996 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* eclass/docs: quick fixesAndrew Ammerlaan2020-12-081-28/+10
| | | | | | | | | | | | | | | | - remove DOCS_EXTRA_ARGS: it causes too many problems with "unexpected arguments" and it is not used anyway - fix the append_deps function: apperently I messed up somewhere and all deps but the first got ignored - remove the check_deps function: it is not required and is causing more problems at the moment (did the python eclasses change the way they handle this function?) Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* gnome2-utils.eclass: skip executing cross-compiled toolsDavid Michael2020-12-071-23/+75
| | | | | | | | | | | | | | | | | | | | | | Executing tools installed in ROOT will fail when cross-compiling, so this prints a warning about manually running the command instead in that case. The warning is copied from dev-libs/glib. This also reorders the exception handling by increasing severity so that the "nothing to do" non-error returns first, otherwise the expected problem of unexecutable cross-compiled commands returns, otherwise the unexpected problem of missing commands returns. The immodule cache functions were updated to handle a different problem. They run native tools from BROOT, but they are not guaranteed to exist while cross-compiling (e.g. gtk+ can't BDEPEND on itself, so the cross-compiled gtk+ can be installed before the native gtk+, which fails from gtk-query-immodules not existing). Closes: https://bugs.gentoo.org/611030 Closes: https://bugs.gentoo.org/757483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Drop EAPI < 5 supportMatt Turner2020-12-071-18/+7
| | | | | Closes: https://bugs.gentoo.org/566728 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2.eclass: Add EAPI=7 supportMatt Turner2020-12-071-11/+18
| | | | | | Closes: https://bugs.gentoo.org/658638 Closes: https://bugs.gentoo.org/717100 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2.eclass: Drop EAPI=4 supportMatt Turner2020-12-071-66/+27
| | | | | Closes: https://bugs.gentoo.org/596674 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* eclass/docs: quick fix with doxygenAndrew Ammerlaan2020-12-071-1/+1
| | | | | | | Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/18530 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/db-use: EAPI=7 is silently supported. Reflect that.Aaron Bauman2020-12-061-1/+1
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/db-use: Fix EclassDocErrorAaron Bauman2020-12-061-9/+27
| | | | | | | | | | | | | * Multiple tags and comments added * Some functions could use better @USAGE * CVS shows pauldv@gentoo.org as the original committer to the tree. As such, he is now listed as the author of the eclass [1] * Assign to maintainer-needed as the eclass is still in use by several packages [1]: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/db-use.eclass?view=log Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/dotnet: Fix EclassDocErrorAaron Bauman2020-12-061-2/+3
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/alternatives: fix EclassDocErrorAaron Bauman2020-12-061-1/+3
| | | | | | * Add maintainer-needed as no Git history exists for this eclass Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/distutils-r1: Fix EclassDocMissingFuncAaron Bauman2020-12-061-0/+32
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/docs: setup mkdocs deps and build docsAndrew Ammerlaan2020-12-051-0/+354
| | | | | | | | | works with sphinx, mkdocs and doxygen. Based on distutils_enable_sphinx, but unlike distutils also works for non-python packages Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* distutils-r1.eclass: Accept distutils_enable_tests --installMichał Górny2020-12-011-16/+58
| | | | | | | Add a convenience --install option to distutils_enable_tests to call distutils_install_for_testing. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Introduce install_for_testing --via-rootMichał Górny2020-12-011-9/+42
| | | | | | | | | | | | | Introduce a new --via-root mode for distutils_install_for_testing function. The legacy --via-home seems to no longer work for a lot of packages but before we can confirm that --via-root is good enough for every single one of them, let's have two variants to choose from. The general recommendation is to try --via-root, and explicitly specify --via-home if the former does not work. Once all packages have explicit --via-*, we will decide how to proceed. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: tc-export PKG_CONFIGGeorgy Yakovlev2020-11-271-1/+1
| | | | | | | this way cargo will call properly prefixed pkg-config binary Closes: https://bugs.gentoo.org/756913 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2Andreas Sturmlechner2020-11-251-4/+3
| | | | | | Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* multilib.eclass: drop amd64 from maintainersMike Gilbert2020-11-251-1/+0
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: Include /$(get_libdir) in PKG_CONFIG_SYSTEM_LIBRARY_PATH.Arfrever Frehtes Taifersar Arahesis2020-11-251-1/+3
| | | | | | | | Set also PKG_CONFIG_SYSTEM_INCLUDE_PATH for consistency. Bug: https://bugs.gentoo.org/756238 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests: Initial test cases for eapi8-dosym.eclass.Ulrich Müller2020-11-231-0/+78
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi8-dosym.eclass: New eclass.Ulrich Müller2020-11-231-0/+108
| | | | | | | | | | | | | | | | | | | This implements the dosym command proposed for EAPI 8 (called dosym8 because we cannot use the same name as the package-manager builtin). "dosym -r <target> <link>" will expand the (apparent) path of <target> relative to the (apparent) path of the directory containing <link>. The main aim of this is to allow for an absolute path to be specified as the link target, and the function will count path components and convert it into a relative path. Since we're inside ED at this point but the image will finally be installed in EROOT, we don't try to resolve any pre-existing symlinks in <target> or <link>. In other words, path expansion only looks at the specified apparent paths, without touching any actual files in ED or EROOT. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-utils.eclass: prefer ruby26 as the stable rubyHans de Graaff2020-11-211-2/+2
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* nvidia-driver.eclass: Take over maintainershipDavid Seifert2020-11-151-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-build.eclass: Support merging config filesMichał Górny2020-11-141-0/+32
| | | | | | | Add a convenience function to merge kernel config files from within the build tree, and support merging user configs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: clarify variable docsGeorgy Yakovlev2020-11-101-0/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/cargo.eclass: add CARGO_OPTIONAL conditionGeorgy Yakovlev2020-11-101-4/+25
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* mozcoreconf-v?.eclass: Added waterfox supportLars Wendler2020-11-102-2/+4
| | | | | Acked-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* depend.apache.eclass: support EAPI-7Marek Szuba2020-11-091-3/+3
| | | | | | | | | | | Technically speaking, the eclass in question does not properly support EAPI-6 to begin with - but from what I could see during testing, the way it doesn't work is the same for 6 and 7. Moreover, the current workaround for the main problem with EAPI-6 support, i.e. having ebuilds themselves call the apache2 init functions, seems to work fine with EAPI-7 as well. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* toolchain.eclass: add USE=custom-cflags for gcc-11Sergei Trofimovich2020-11-081-6/+13
| | | | | | | | | | | | | Sometimes it's useful to build gcc quickly with CFLAGS=-O0 as a smoke test for sanity. CFLAGS=-O3 should also generally work as a code generation stres test. But not in general case. Some options like -flto would probably not work as is. Let's allow users to experiment with gcc flags if they really want to. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* verify-sig.eclass: Support verifying checksum listsMichał Górny2020-11-081-1/+54
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Add a function to verify PGP signed messagesMichał Górny2020-11-081-0/+36
| | | | | | | | Add a function to verify files containing PGP signed messages (i.e. not using detached signatures). This will be used for projects that publish signed checksum lists. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: don't skip xvfb dependency on PrefixAlexey Sokolov2020-11-071-1/+1
| | | | | | Closes: https://bugs.gentoo.org/730190 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* versionator.eclass: Fix eclassdoc tag orderMichał Górny2020-11-061-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/*: Add @DEPRECATED tags, based on pkgcheck listMichał Górny2020-11-0611-8/+19
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* lua-single.eclass: fix typo in eclassdocMarek Szuba2020-11-061-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* kernel-2.eclass: Add support for patches that fail to apply with --dry-runMike Pagano2020-11-051-20/+24
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* lua-single.eclass: add an example to eclassdocMarek Szuba2020-11-051-2/+32
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: Fix eclassdoc indentationMarek Szuba2020-11-051-3/+3
| | | | | | | Must use spaces instead of tabs in code examples in order for them to be properly indented in generated man pages etc. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* selinux-policy-2.eclass: drop EAPI 5David Michael2020-11-051-35/+12
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* selinux-policy-2.eclass: add EAPI 7David Michael2020-11-051-6/+12
| | | | | | Closes: https://bugs.gentoo.org/748483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* user.eclass: Deprecate general use for future EAPIs.Ulrich Müller2020-11-041-0/+13
| | | | | | | | | No functional difference for existing EAPIs. Reviewed-by: David Seifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/nvidia-drivers.eclass: update copyright (fix OldGentooCopyright)Sam James2020-11-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* nvidia-drivers.eclass: Reassign due to jer's retirementMichał Górny2020-11-031-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Account for verifying stdinMichał Górny2020-11-031-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* fdo-mime.eclass: Mark @DEAD for removalDavid Seifert2020-11-031-0/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>