summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-autoconf.eclass: ModerniseDavid Seifert2018-01-181-5/+13
| | | | | * Add EAPI blacklist Closes: https://github.com/gentoo/gentoo/pull/6893
* apache-2.eclass: More dependency adjustments.Lars Wendler2018-01-171-5/+5
|
* apache-2.eclass: Adjusted dependencies.Lars Wendler2018-01-161-2/+2
|
* qt5-build.eclass: -qml-debug is removed from qtbase in 5.11Michael Palimaka2018-01-141-1/+1
| | | | Upstream-commit: 525f8516c2580018f910cfb99ab5e0e36bd55ab1
* qt5-build.eclass: fix respecting toolchain in 5.9 and laterMichael Palimaka2018-01-141-0/+32
| | | | Closes: https://bugs.gentoo.org/639494
* kde5.eclass: Cleanup obsolete blockerAndreas Sturmlechner2018-01-131-15/+8
|
* kde5.eclass: Add KDE_PO_DIRSAndreas Sturmlechner2018-01-131-8/+13
|
* kde5-functions.eclass: add_qt_dep qtwebkit exceptionAndreas Sturmlechner2018-01-131-2/+6
| | | | | Upstream stopped at 5.9.1 and releases are going to be independent from there on.
* eclass/toolchain-glibc.eclass: filter out rpath LDFLAGSBenda Xu2018-01-141-0/+1
| | | | glibc aborts if rpath is set.
* eutils.eclass: Inline remaining uses of _eutils_eprefix_init.Ulrich Müller2018-01-091-10/+2
| | | | | Inline the remaining two uses of the function. This shortens the code, and also allows to declare the variables as local.
* preserve-libs.eclass: Split off preserve_old_lib from eutils.Ulrich Müller2018-01-092-63/+76
| | | | | | | | | | | Split off functions preserve_old_lib and preserve_old_lib_notify from eutils.eclass into a dedicated preserve-libs.eclass. These functions are rarely used and 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.
* versionator.eclass: inherit estack rather than eutils.Ulrich Müller2018-01-091-2/+2
| | | | | | | | | | The only functions needed from eutils.eclass are eshopts_push and eshopts_pop, which have been split off to estack.eclass. See also commit 401ef96525d8c21c33bdd6e88e475e09f3a42717 (in historical.git) which added the eutils inherit. Closes: https://bugs.gentoo.org/643022
* eclass/toolchain-glibc.eclass: fix double prefix.Benda Xu2018-01-081-2/+2
| | | | alt_build_headers already has EPREFIX.
* 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>