summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* sys-libs/glibc: enable IFUNC support only on whitelisted ARCHes, bug #641216Sergei Trofimovich2017-12-201-0/+11
| | | | | | | | | | | | | | | | We explicitly disable IFUNC support on the following targets: alpha/hppa/ia64/mips/m68k/nios2/riscv/sh to workaround weak IFUNC detection on binutils/glibc side. Otherwise at least on ia64 glibc generates IFUNC entries against compat librt.so.1 symbols (to redirect them back to libc.so.6) but linker does not produce correct relocations. As a result all IFUNC-backed functions don't work. Reported-by: Émeric Maschino Bug: https://sourceware.org/PR22634 Closes: https://bugs.gentoo.org/641216 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: Allow -gz for compressed debug sections, bug 636986Andreas K. Hüttel2017-12-151-1/+1
| | | | Closes: https://bugs.gentoo.org/636986
* kde5*.eclass: Add KDE Applications 17.12 supportAndreas Sturmlechner2017-12-102-5/+14
|
* kde5-functions.eclass: Raise FRAMEWORKS_MINIMAL to 5.40.0Andreas Sturmlechner2017-12-101-2/+1
|
* systemd.eclass: strip EPREFIX from pkg-config outputMike Gilbert2017-12-091-0/+1
|
* systemd.eclass: add systemd_get_systemgeneratordirMike Gilbert2017-12-091-0/+20
| | | | This is needed for sys-process/systemd-cron.
* sys-libs/glibc: disable stack protection by default on mips* targetsSergei Trofimovich2017-12-061-0/+5
| | | | | | | | | | | | | | | | | | | | | Otherwise dlopen() crashes (found on 'top' from 'procps' package). Original backtrace from qemu-mipsn32 (fails the same way on native host): ``` Program received signal SIGSEGV, Segmentation fault. 0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163 163 result->errcode = _dl_catch_error (&result->objname, &result->errstring, (gdb) bt #0 0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163 #1 0x408caf4c in __dlopen (file=file@entry=0x10012d58 "libnuma.so", mode=mode@entry=1) at dlopen.c:87 #2 0x1000306c in before (me=0x407ff382 "/usr/mips64-unknown-linux-gnu/usr/bin/top") at top/top.c:3308 #3 0x10001a10 in main (dont_care_argc=<optimized out>, argv=0x407ff1a4) at top/top.c:5721 ``` Reported-by: Matt Turner Bug: https://bugs.gentoo.org/640130 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/prefix.eclass: use a long line for @USAGEBenda Xu2017-12-061-3/+2
| | | | | | This is only for making eclass-manpages happy. Closes: https://bugs.gentoo.org/637848
* cmake-utils.eclass: Use xdg_environment_reset from xdg-utils.eclassAndreas Sturmlechner2017-12-061-2/+2
| | | | Closes: https://bugs.gentoo.org/639460
* eclass/toolchain.eclass: do not die if uclibc patches are not availableAnthony G. Basile2017-12-051-3/+0
| | | | | | | gcc-6 and above no longer needs uclibc specific patches, so we don't die if the patchset is not available. We do, however, still apply it if UCLIBC_VER is defined in the ebuild to future proof the code in case we need to reintroduce the patchset in the future.
* kde5-functions.eclass: Fix eclassdocAndreas Sturmlechner2017-12-021-2/+2
|
* kde5.eclass: Fix eclassdocAndreas Sturmlechner2017-12-021-4/+2
| | | | Closes: https://bugs.gentoo.org/637776
* cmake-utils.eclass: add supported EAPI documentationMichael Palimaka2017-12-021-0/+1
|
* kde5-functions.eclass: use new EAPI documentation methodMichael Palimaka2017-12-021-3/+1
|
* cmake-utils.eclass: mark some eclass variables as unset by defaultMichael Palimaka2017-12-021-0/+3
|
* desktop.eclass: Split off desktop, menu, and icon functions from eutils.Ulrich Müller2017-11-302-392/+404
| | | | | | | | | | | Split off functions make_desktop_entry, make_session_desktop, domenu, newmenu, doicon, and newicon from eutils.eclass into a dedicated desktop.eclass. These functions are independent of the rest of eutils, therefore moving them into their own eclass will help clarifying eclass inheritance in ebuilds. For backwards compatibility, eutils inherits the new eclass in existing EAPIs.
* eutils.eclass: Remove validate_desktop_entries function.Ulrich Müller2017-11-301-30/+0
| | | | | This function is no longer used in the tree. It was deprecated more than 8 months ago in commit 650a1ebe8f63d3750908142e2117b24a8efc9403.
* eutils.eclass: Remove check_license function.Ulrich Müller2017-11-301-4/+0
| | | | This is an inoperative stub since 2011, and no longer used in the tree.
* leechcraft.eclass: fix comment about supported EAPI versionsSergey Popov2017-11-301-1/+1
|
* git-r3.eclass: Support more flexible EGIT_OVERRIDE_* APIs for userMichał Górny2017-11-281-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new, more flexible override API in git-r3, in replacement of the LIVE_* API that was pretty much a legacy of git-2. This means to solve the two major limitations of the old API: 1. The variables were based on package names without categories. Therefore, they weren't suitable whenever two packages had the same category. This is quite common when dealing with various programming language bindings/reimplementations, and we can't really rely on every new programming language inventing its own VCS. 2. The overrides weren't suitable for packages checking out multiple repositories (LLVM, wine, glibc). The new mode for overrides uses the repository name (as guessed by git-r3) transformed into correct variable name. The specifically defined variables are: - EGIT_OVERRIDE_REPO_${NAME} -- to override the repository URI, - EGIT_OVERRIDE_BRANCH_${NAME} -- to override the branch, - EGIT_OVERRIDE_COMMIT_${NAME} -- to override the commit id or tag, - EGIT_OVERRIDE_COMMIT_DATE_${NAME} -- to request last commit older than the specified date.
* git-r3.eclass: Support checking out specific subdirectoriesMichał Górny2017-11-281-3/+17
| | | | | | | | | Support limiting the git checkout to specific subdirectories of the git tree, using 'git checkout ... -- <paths>...' The main use case for this is doing partial checkouts of very large repositories where only a small subset of files is necessary. Doing partial checkouts can save both time and disk space which can be important in large intertwined projects such as LLVM+Clang.
* php-ext-pecl-r3.eclass: Enable HTTPS by defaultBrian Evans2017-11-271-4/+4
|
* qt5-build.eclass: improve eclassdocDavide Pesavento2017-11-271-1/+4
| | | | Closes: https://bugs.gentoo.org/637856
* qt5-build.eclass: drop support for Qt 5.6Davide Pesavento2017-11-271-28/+7
|
* db.eclass: support PrefixBenda Xu2017-11-261-13/+19
| | | | ROOT and D are replaced with EROOT and ED.
* user.eclass: gracefully return when unprivilegedBenda Xu2017-11-261-1/+9
| | | | | enewgroup and enewuser does not apply when executed as a normal user, e.g. under Gentoo Prefix.
* ruby-fakegem.eclass: fix RUBY_FAKEGEM_EXTRAINSTALLHans de Graaff2017-11-251-1/+1
| | | | Remove wrong default value and fix documentation accordingly.
* mozconfig-*.eclass: fix eclassdoc warningsIan Stakenvicius2017-11-208-0/+39
| | | | | | | | | | | Bug: http://bugs.gentoo.org/637790 Bug: http://bugs.gentoo.org/637792 Bug: http://bugs.gentoo.org/637794 Bug: http://bugs.gentoo.org/637796 Bug: http://bugs.gentoo.org/637798 Bug: http://bugs.gentoo.org/637800 Bug: http://bugs.gentoo.org/637802 Bug: http://bugs.gentoo.org/637804
* out-of-source.eclass: A new eclass to help with out-of-source buildsMichał Górny2017-11-201-0/+124
| | | | | | | | | | | | | | | | | | | | | The out-of-source.eclass is a simple multilib-minimal-style wrapper to perform out of source builds of autotools (and other) packages. It is mostly derived from the function served in the past by autotools-utils since a number of developers found it useful. However, in order to avoid the mistakes of autotools-utils, it is meant to be focused on a single feature and have a better API. This eclass has two use cases: 1. Ensuring that packages are tested with out-of-source builds. 2. Improving consistency between multilib and non-multilib packages. In the most basic form, it just redefines the phases from src_configure() to src_install() with out-of-source wrappers. However, each phase can be overriden using my_src_*() sub-phase that is run inside build dir (alike multilib_src_*() in multilib-minimal). There is also my_src_install_all() for the trailing source-dir actions.
* ruby-fakegem.eclass: Fix eclass doc warningsHans de Graaff2017-11-191-25/+15
| | | | | | | Move eclass variable definitions to the right place just behind their documentation or declare them as default unset. Closes: https://bugs.gentoo.org/637866
* toolchain.eclass: Add -no-pie to stage1 LDFLAGS when building <gcc-6 with ↵Magnus Granberg2017-11-181-0/+8
| | | | | | >=gcc6, bug 618908 Closes: https://bugs.gentoo.org/618908
* sgml-catalog.eclass: Drop sgml herd, set maintainer-neededJonas Stein2017-11-181-2/+2
| | | | | There is no sgml herd (now project) anymore. Set to maintainer-needed now.
* ruby-ng.eclass: Fix eclass doc warningsHans de Graaff2017-11-181-0/+1
| | | | Closes: https://bugs.gentoo.org/637868
* ruby-single.eclass: Fix eclass doc warningsHans de Graaff2017-11-181-1/+2
| | | | Closes: https://bugs.gentoo.org/637870
* ruby-utils.eclass: Fix eclass doc warningsHans de Graaff2017-11-181-1/+2
| | | | Closes: https://bugs.gentoo.org/637872
* php-pear-r2.eclass: Fix documentation wrt bug 637846Brian Evans2017-11-171-1/+4
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637846
* php-pear-r1.eclass: Fix documentation wrt bug 637844Brian Evans2017-11-171-2/+3
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637844
* php-lib-r1.eclass: Fix documentation and mark DEAD wrt bug 637842Brian Evans2017-11-171-1/+3
| | | | | | Removal pending final consumer last rite. Closes: https://bugs.gentoo.org/show_bug.cgi?id=637842
* mysql-multilib-r1.eclass: Fix documentation wrt bug 637820Brian Evans2017-11-171-0/+4
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637820
* mysql-v2.eclass: Fix documention wrt bug 637822Brian Evans2017-11-171-0/+1
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637822
* mysql_fx.eclass: Fix documentation wrt bug 637818Brian Evans2017-11-171-13/+28
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637818
* flag-o-matic.eclass: add ADA to flags for proper filteringStephen L Arnold2017-11-161-1/+1
| | | | * this is needed for some Ada packages using system gcc
* base.eclass: Fix variable documentation.Ulrich Müller2017-11-171-1/+4
| | | | Closes: https://bugs.gentoo.org/637712
* mysql-multilib.eclass: Mark dead and die with message to schedule removalBrian Evans2017-11-151-0/+3
|
* www-client/firefox: bump to 57.0Ian Stakenvicius2017-11-141-0/+394
| | | | | | Also committed supporting eclass: mozconfig-v6.57.eclass Package-Manager: Portage-2.3.13, Repoman-2.3.3
* kde5.eclass: Add icons as runtime dependencyJohannes Huber2017-11-141-0/+5
| | | | | | | Most applications use icons at runtime, so add them when KDE_AUTODEPS is enabled. Bug: https://bugs.gentoo.org/564838
* php-ext-pecl-r2.eclass: die earlier, and link to migration guideZac Medico2017-11-101-2/+1
|
* mozextension.eclass: Prepare for usage with palemoon.Lars Wendler2017-11-101-1/+1
|
* php-ext-pecl-r2.eclass: add die statement to prepare for removalBrian Evans2017-11-081-1/+2
| | | | | | | This will alert any 3rd-party repositories to update before it really breaks. Signed-off-by: Brian Evans <grknight@gentoo.org>
* meson.eclass: set system=windows for mingw cross-compilesMike Gilbert2017-11-051-6/+7
| | | | Closes: https://bugs.gentoo.org/636654