summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* linux-info.eclass: use eapi7-verMarty E. Plummer2018-07-141-4/+5
| | | | | | | versionator is banned in EAPI 7, so switch to either native EAPI 7 version functions or inherit eapi7-ver on EAPI 0-6. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass: selinux-policy-2: update SRC_URIJason Zaman2018-07-121-2/+2
|
* eclass/mysql-multilib-r1: use HTTPsMichael Mair-Keimberger2018-07-111-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/9135
* linux-info.eclass: Skip linux_config_*_exists on non-LinuxMichał Górny2018-07-091-2/+2
| | | | | | The linux_config_src_exists and linux_config_bin_exists always return false on non-Linux systems by design. Short-circuit it via 'kernel_linux' check.
* linux-info.eclass: Die in most of public-ish APIs on non-LinuxMichał Górny2018-07-091-0/+36
| | | | | | | | | Add appropriate 'die' calls in most of the seemingly public APIs of the eclass that could be called by ebuilds and that are going to fail horribly when used on non-Linux systems. This means that e.g. 'kernel_is' calls need to be explicitly guarded in ebuilds, as we can't really reasonably return 'true' or 'false' if there is no Linux kernel in the first place.
* linux-info.eclass: Ignore check_extra_config on non-LinuxMichał Górny2018-07-091-1/+7
| | | | | | | | | | Make the check_extra_config and pkg_setup calls no-op on non-Linux systems. Those systems don't have a Linux kernel, so they obviously can't satisfy the requirements. This currently results in a lot of useless warnings about missing Linux kernel sources on FreeBSD. We could make it conditional per-package but there is really no point in adding a lot of conditionals everywhere if this eclass can't ever work on non-Linux.
* linux-info.eclass: require_configured_kernel, improve error handlingMichał Górny2018-07-091-1/+1
| | | | | | Add error handling for failing get_version call in require_configured_kernel. Give just a simple 'die' message since the get_version function should verbosely explain the problem.
* linux-info.eclass: Move get_version to require_configured_kernelMichał Górny2018-07-091-3/+1
| | | | | | | All require_configured_kernel calls in this eclass are followed by a get_version call. Since even calling it proactively wouldn't hurt, move it to require_configured_kernel. This saves us from having to manually implement error handling for it everywhere.
* linux-info.eclass: linux-info_get_any_version, die on failureMichał Górny2018-07-091-1/+3
| | | | | | | Make linux-info_get_any_version die if it can't determine any version of the Linux kernel. This indicates a problem with the eclass code (as it should not happen on Linux) and the missing KV_* variables are going to cause random misbehavior and failures.
* linux-info.eclass: Replace unnecessary $? checksMichał Górny2018-07-091-6/+3
|
* linux-info.eclass: get_localversion, do not call 'ls'Michał Górny2018-07-091-1/+6
| | | | | | Use bash array to perform a safe filename glob instead of calling 'ls'. Also, use nullglob to cleanly handle no matches instead of silencing errors.
* toolchain.eclass: support gcc patches from cygwinportsMichael Haubenwallner2018-07-091-0/+28
| | | | | | Download and apply patches found in Cygwin's gcc.cygport, maintained at github/cygwinports/gcc, for a compiler running on cygwin. The ebuild can define the cygwinports' git commit id as CYGWINPORTS_GITREV.
* toolchain.eclass: Cygwin provides posix threadsMichael Haubenwallner2018-07-091-1/+1
| | | | | Upstream Cygwin does build their gcc with posix threads for ages, at least since gcc4-4.5.1-1.cygport (committed on Oct 3, 2010).
* toolchain.eclass: D->ED for where to start cleanupsMichael Haubenwallner2018-07-091-5/+5
|
* toolchain.eclass: ROOT->EROOT at looking for gcc specs fileMichael Haubenwallner2018-07-091-1/+1
|
* toolchain.eclass: EAPI 7 aware for D,ED,ROOT,EROOTMichael Haubenwallner2018-07-091-18/+18
| | | | | | | | | These variables may or may not have the trailing slash. Additionally, avoid leading double slash (a network location for Cygwin) with ROOT and EROOT because they may be empty, while D and ED never should be empty and there is no reason so far to avoid double slashes in between. On the other hand, eclass variables like DATAPATH and LIBPATH do contain the leading slash, so an extra slash reduces readability for no reason.
* python-utils-r1.eclass: add python3_7 supportMike Gilbert2018-07-081-2/+2
|
* kde5.eclass: No subshellsAndreas Sturmlechner2018-07-031-2/+2
|
* kde5.eclass: Drop use_if_iuseAndreas Sturmlechner2018-07-031-6/+6
|
* kde5-functions.eclass: Add minimum deps for Plasma 5.13Andreas Sturmlechner2018-07-031-1/+2
|
* toolchain.eclass: Do not pass unused --disable-libgcj option in GCC >=7.Arfrever Frehtes Taifersar Arahesis2018-07-011-4/+6
| | | | | Closes: https://bugs.gentoo.org/659798 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* linux-mod: depend on libelfJason A. Donenfeld2018-06-281-1/+1
| | | | | | | | | Recent linux kernels rely on libelf at build time, which includes at the time of building out of tree modules. So if a module is relying on the existence of linux sources, it also needs to rely on libelf being installed. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* qmake-utils.eclass: Ban Qt4-support in EAPI >=7Andreas Sturmlechner2018-06-271-0/+6
|
* qt4-r2.eclass: Mark DEADAndreas Sturmlechner2018-06-271-0/+1
|
* qt4-build-multilib.eclass: Mark DEADAndreas Sturmlechner2018-06-271-0/+1
|
* unpacker.eclass: disable path expansion while parsing SRC_URI #654960Mike Frysinger2018-06-251-1/+6
| | | | Closes: https://bugs.gentoo.org/654960
* eclass/mysql-v2: use HTTPs, fix HOMEPAGE LinkMichael Mair-Keimberger2018-06-221-4/+4
| | | | Closes: https://github.com/gentoo/gentoo/pull/8778
* chromium-2.eclass: remove .pak.info filesMike Gilbert2018-06-201-0/+2
|
* eclass/ros-catkin.eclass: Use https for homepage and add ROS_REPO_URI too ↵Alexis Ballier2018-06-201-1/+1
| | | | for a quicker link to the repo.
* latex-package.eclass: Support EAPI 7.Ulrich Müller2018-06-181-3/+6
|
* kernel-2.eclass:Mike Pagano2018-06-181-6/+8
| | | | | Fix the unapplying of fbcondecor for sparc and include check for K_WANT_GENPATCHES. Closes bug #652152.
* eclass/kernel-2: use HTTPsMichael Mair-Keimberger2018-06-181-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/8881
* gtk-sharp-module.eclass: Last riteMichał Górny2018-06-171-0/+7
| | | | Bug: https://bugs.gentoo.org/653460
* go-mono.eclass: Last riteMichał Górny2018-06-171-0/+7
| | | | Bug: https://bugs.gentoo.org/653460
* apache-2.eclass: Added "gdbm" USE flag to IUSE.Lars Wendler2018-06-171-1/+1
|
* apache-2.eclass: Add conditional dependency on sys-libs/gdbmLars Wendler2018-06-171-1/+2
|
* postgres.eclass: Add "12" to the reversal listAaron W. Swenson2018-06-131-2/+2
|
* gnome2-utils.eclass: Fix the documentation for cache update functionsMichał Górny2018-06-131-5/+7
| | | | | Fix the documentation for recently changed cache update functions that no longer rely on their _savelist() counterpart to indicate that.
* udev.eclass: Sanitize insoptsMichał Górny2018-06-131-0/+2
| | | | | Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* tmpfiles.eclass: Sanitize insoptsMichał Górny2018-06-131-0/+2
| | | | | Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* systemd.eclass: Sanitize insoptsMichał Górny2018-06-131-0/+8
| | | | | Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* python-utils-r1.eclass: Sanitize insopts/exeoptsMichał Górny2018-06-131-0/+3
| | | | | | Sanitize insopts/exeopts when calling doins/doexe, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* python-r1.eclass: Sanitize exeoptsMichał Górny2018-06-131-0/+1
| | | | | Sanitize exeopts when calling doexe, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* eutils.eclass: Sanitize exeoptsMichał Górny2018-06-131-0/+1
| | | | | Sanitize exeopts when calling newexe, in order to avoid prior insopts calls accidentally affecting make_wrapper.
* desktop.eclass: Sanitize insoptsMichał Górny2018-06-131-0/+5
| | | | | Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* bash-completion-r1.eclass: Sanitize insoptsMichał Górny2018-06-131-0/+2
| | | | | Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
* git-r3.eclass: Unconditionally depend on dev-vcs/git[curl] for HTTPSMichał Górny2018-06-131-27/+2
| | | | | | | Since HTTPS is strongly preferred in git-r3 eclass, there is no point in optimizing it for non-HTTPS use. Therefore, unconditionally depend on dev-vcs/git[curl] rather than verbosely failing when HTTPS is used and the dependency is not satisfied.
* git-r3.eclass: Ban EAPIs 0 through 3Michał Górny2018-06-131-1/+4
| | | | | | The code already uses USE dependencies which are not valid for EAPIs 0 and 1. Furthermore, according to qa-reports the eclass is not used in any EAPI older than 4.
* scons-utils.eclass: Provide proper Python API for EAPI 7Michał Górny2018-06-131-4/+60
| | | | | | | | | | | | | | | | Provide a proper multi-impl Python support for scons-utils in EAPI 7, to account for new versions of dev-util/scons (3.0.1-r100+, to be committed) that support Python 3 and break SConstruct files using Python 2 constructs. Combining scons-utils with python-any-r1 and python-single-r1 is added retroactively for older EAPIs as well, with fallback to Python 2.7. The new (hard-to-use) API for python-r1 is specific to EAPI 7 since it requires adding explicit BDEPEND. The new use of the eclass is described on the wiki page, along with series of examples covering different use cases: https://wiki.gentoo.org/wiki/Project:Python/scons-utils_integration
* Drop dead php-pear-r1 eclassBrian Evans2018-06-111-122/+0
| | | | Signed-off-by: Brian Evans <grknight@gentoo.org>