summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-onlySergei Trofimovich2018-01-071-1/+1
| | | | | | | | | | | | | | | | | CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-glibc.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> ↵Sergei Trofimovich2018-01-071-1/+1
| | | | | | | | | | | | | | | | | | | USE=headers-only CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-onlySergei Trofimovich2018-01-071-2/+2
| | | | | | | | | | | | | | | | | CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* chromium-2.eclass: drop sr-ME workaround codeMike Gilbert2018-01-061-14/+2
| | | | | Closes: https://bugs.gentoo.org/583762 Closes: https://bugs.gentoo.org/643736
* eclass: Drop EAPI 2 & 3 support in virtaulx.eclassJustin Lecher2018-01-061-17/+12
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* toolchain.eclass: remove built_with_use, bug #610456Ulrich Müller2018-01-051-12/+7
| | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* l10n.eclass: Update for unexpanded LINGUAS.Ulrich Müller2018-01-051-20/+22
|
* Fix handling of multiple CDsGary Macindoe2018-01-051-3/+9
| | | | Closes: https://github.com/gentoo/gentoo/pull/5818
* multiprocesing.eclass: Remove redirect_alloc_fdMichał Górny2018-01-041-35/+0
| | | | | | | | | Remove the redirect_alloc_fd function that is no longer used since the removal of multijob* functions. The function is complex, has little potential use and an equivalent functionality is built-in in newer bash versions, making it completely unnecessary for EAPI 6. Closes: https://github.com/gentoo/gentoo/pull/6696
* multiprocessing.eclass: Remove bashpid functionMichał Górny2018-01-041-17/+0
| | | | | | Remove the bashpid function that is not used anywhere after the removal of multijob* logic. The unprefixed name can be quite confusing, and the function itself is rather unlikely to be useful.
* multiprocessing.eclass: Remove multijob_* functionsMichał Górny2018-01-042-210/+10
| | | | | | | | | | Remove the multijob functions that were used to run bash code in parallel. The code was very complex, fragile and unmaintained. It has been used scarcely, and pretty much by a single developer. It gave very little gain, usually at the cost of losing readability and violating PMS. Closes: https://bugs.gentoo.org/613322
* eclass/multilib-build: fix ABI matching for ppc-macosFabian Groffen2018-01-041-2/+2
| | | | | | On Darwin, gcc emits __ppc__ or __ppc64__, not __powerpc__. Do additionally allow the short variants to match, such that we can use the wrapped packages on ppc-macos as well.
* gkrellm-plugin.eclass: Remove built_with_use, EAPI 6 onlyDavid Seifert2018-01-041-58/+75
| | | | | Closes: https://bugs.gentoo.org/582450 Closes: https://github.com/gentoo/gentoo/pull/6713
* llvm.eclass: Support slot 7Michał Górny2018-01-041-2/+2
|
* kernel-2.eclass: Whitespace.Ulrich Müller2018-01-031-3/+3
|
* kernel-2.eclass: Specify LICENSE for firmware more precisely.Ulrich Müller2018-01-031-4/+4
| | | | Acked-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass/cmake-utils: switch Darwin to rpath mode, bug #642668Fabian Groffen2018-01-021-3/+1
| | | | | | | By Michael Weiser, relying on the other support that enables @rpath entries, supported in macOS 10.5 and up. Closes: https://bugs.gentoo.org/642668
* tmpfiles.eclass: allow EAPI 5 usageMike Gilbert2018-01-011-1/+1
|
* x-modular.eclass: Mark @DEAD for removalDavid Seifert2018-01-011-0/+3
|
* toolchain-funcs.eclass: Use host vars in tc-getBUILD* when not crossMichał Górny2018-01-011-2/+8
| | | | | | | | | | Make tc-getBUILD* functions respect host variables (CC & co.) when not cross-compiling. This removes the necessity of overriding BUILD_* along with the regular variables on the systems that are not concerned about cross-compilation, and does not change the behavior for those which are. Closes: https://bugs.gentoo.org/630282
* tmpfiles.eclass: Explicit warn on ROOT != / to avoid breakageMichał Górny2018-01-011-1/+12
| | | | Closes: https://github.com/gentoo/gentoo/pull/4526
* tmpfiles.eclass: Support using on non-Linux systemsMichał Górny2018-01-011-7/+10
| | | | | | | | | | | | | | Fix the eclass code to remove the misguided Linux conditionals. The whole purpose of the eclass was to avoid having to implement fallback logic for systems not having service manager tmpfiles.d support. Making it conditional to Linux implied that for non-Linux systems (Prefix, FreeBSD) we would have to implement explicit fallback to create the necessary directories. While systemd (and therefore systemd-tmpfilesd) is indeed Linux-specific, the opentmpfiles implementation should be pretty portable and there is no reason to restrict it to Linux only, or to prevent using it on non-Linux OpenRC (and non-OpenRC) systems.
* toolchain.eclass: update to EAPI=5 standardsAnthony G. Basile2018-01-011-33/+36
| | | | | | | | | | | This eclass is inherited by ebuilds in sys-devel/{gcc,kgcc64,gcc-apple}, each which make use of different IUSE flags. This causes problems with `use X` constructions when X is not in the IUSE flags. At EAPI=4 this simply emitted a warning, while at EAPI=5 this is an error. We update the eclass to make use of use_if_iuse and similar constructions where necessary to bring the eclass into compliance with EAPI=5. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* vmware-bundle.eclass: mark @DEADMike Gilbert2017-12-301-0/+1
|
* php-ext-pecl-r2.eclass: drop unused and last-rited eclass.Michael Orlitzky2017-12-301-105/+0
| | | | | | | The php-ext-pecl-r2.eclass has no more in-tree consumers, and it was last-rited on 2017-10-19. This commit removes it. Closes: https://bugs.gentoo.org/642708
* java-utils-2.eclass: Fix java-pkg_gen-cp regex for chained PV suffixesJames Le Cuirot2017-12-291-1/+1
|
* elisp.eclass: Inherit epatch rather than eutils.Ulrich Müller2017-12-291-3/+3
| | | | | The only function needed from eutils was epatch() which has been split off into its own eclass.
* ruby-utils.eclass: add ruby25 to preference listHans de Graaff2017-12-271-1/+1
|
* eclass: Fix eclass documentation syntax to fix manpage generationJustin Lecher2017-12-262-4/+3
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* eclass/toolchain.eclass: use CXXFLAGS=CFLAGS if CFLAGS_<CTARGET> is not setSergei Trofimovich2017-12-251-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ruby-ng.eclass: refer to ruby-utils.eclass for targets listHans de Graaff2017-12-251-6/+1
|
* ruby-utils.eclass: add ruby25 targetHans de Graaff2017-12-251-0/+4
|
* ruby-utils.eclass: remove obsolete ruby21 target from defaultsHans de Graaff2017-12-251-1/+1
|
* meson.eclass: add meson_use functionMike Gilbert2017-12-231-0/+13
|
* qt5-build.eclass: use the system-configured linkerMichael Palimaka2017-12-221-2/+2
|
* qt5-build.eclass: add support for 5.10 URIsJimi Huotari2017-12-221-2/+14
|
* 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
|