summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* mercurial.eclass: add EHG_CONFIG (bug #608974)Christoph Junghans2018-05-061-2/+7
| | | | Closes: https://bugs.gentoo.org/608974
* meson.eclass: Don't mix host *FLAGS with build *FLAGSRaul E Rangel2018-05-051-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | meson gets the build flags from the environment. When cross compiling it will get the host flags from the cross file. The ebuild was not passing the correct build flags when cross compiling. By using tc-env_build the build environment flags are set when calling meson. This results in not mixing host and build flags: Example output: Native C compiler: x86_64-pc-linux-gnu-clang (clang 7.0) Appending CFLAGS from environment: '-O1 -pipe' Appending LDFLAGS from environment: ' ' Appending CPPFLAGS from environment: ' ' Cross C compiler: armv7a-cros-linux-gnueabi-clang (clang 7.0) Host machine cpu family: arm Host machine cpu: armv7a Target machine cpu family: arm Target machine cpu: armv7a Build machine cpu family: x86_64 Build machine cpu: x86_64 tc-env_build does not seem to load the actual build flags, but it's better than using host flags as build flags. See https://bugs.gentoo.org/653902 for upstream patch BUG=b:78351764 BRANCH=none TEST=emerge-grunt and verified mosys runs Change-Id: I802b58cb089b27b9253a034ac00dd183e0f1955a Signed-off-by: Raul E Rangel <rrangel@chromium.org> Closes: https://bugs.gentoo.org/653902
* tc-export_build_env: handle non-cross compile caseRaul E Rangel2018-05-051-7/+15
| | | | | | | | | | | By handling the non-cross compiler case the meson.eclass can be simplified to `tc-env_build "$@" || die`. See https://bugs.gentoo.org/654424 Change-Id: I1a90da46366c490abbf7d5660bf90482c7f22747 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Closes: https://bugs.gentoo.org/654424
* meson.eclass: style cleanupMike Gilbert2018-05-051-10/+11
|
* meson.eclass: Write *FLAGS into meson cross build fileRaul E Rangel2018-05-051-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use python's shlex to parse the flags and generate an array that is usable by meson. This will pass the flags correctly when doing a cross build. Example cross file output: [properties] c_args = ['-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax'] c_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed'] cpp_args = ['-O2', '-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax'] cpp_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed'] fortran_args = ['-O2'] objc_args = [] objcpp_args = [] See https://bugs.gentoo.org/653900 for upstream patch. BUG=b:78351764 TEST=emerge-grunt and emerge-bob and verified the flags are passed to mosys BRANCH=none Change-Id: Ic3d852232ec718141b87bc0729318699f0fad4f8 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Closes: https://bugs.gentoo.org/653900
* toolchain.eclass: disallow USE="ssp -libssp" on mingw targetsSergei Trofimovich2018-05-051-1/+11
| | | | | | | | | | | | | | | | | gcc-8 added --disable-libssp flag. It used to be gentoo-specific flag up to gcc-5.4.0 and gentoo was passing --disable-libssp on all targets except solaris. On gcc-6 gentoo stopped providing --disable-libssp flag (it became no-op). USE=ssp became the default with gcc-6. gcc-8 reintroduced --disable-libssp and that broke mingw. mingw libc does not provide stack_check_*() functions and USE=ssp forces compiler to emit those calls. This change disallows disabling libssp on mingw if USE=ssp is set. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* bzr.eclass: Update description.Ulrich Müller2018-05-041-3/+3
| | | | Functions for patching and bootstrapping are gone since some time.
* toolchain.eclass: drop IUSE=gcj from gcc-7 (removed upstream)Sergei Trofimovich2018-05-031-1/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE=cilk from gcc-8 (removed upstream)Sergei Trofimovich2018-05-031-1/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kde4-functions.eclass: Remove last-ritedAndreas Sturmlechner2018-05-031-431/+0
| | | | | | Moved to kde-sunset repository. Closes: https://bugs.gentoo.org/637772
* kde4-base.eclass: Remove last-ritedAndreas Sturmlechner2018-05-031-963/+0
| | | | | | Moved to kde-sunset repository. Closes: https://bugs.gentoo.org/637770
* elisp.eclass: Support EAPI 7.Ulrich Müller2018-05-031-2/+2
| | | | Trivial update, therefore not posted for review.
* twisted-r1.eclass: use HTTPSMichael Mair-Keimberger2018-05-011-3/+3
| | | | Closes: https://github.com/gentoo/gentoo/pull/8203
* Revert "eclass: mysql - Add net-libs/libnsl for bug 643038"Brian Evans2018-04-292-4/+2
| | | | This reverts commit 18779934c83275fa077d7f4d7a8f6ec72a4316d5.
* Revert "eclass: Add MULTILIB_USEDEP to libnsl in mysql-multilib-r1"Brian Evans2018-04-291-1/+1
| | | | This reverts commit 235ae287011539cfc256a22aac5081d4f348609c.
* eclass: Add MULTILIB_USEDEP to libnsl in mysql-multilib-r1Brian Evans2018-04-291-1/+1
|
* eclass: mysql - Add net-libs/libnsl for bug 643038Brian Evans2018-04-292-2/+4
| | | | Bug: https://bugs.gentoo.org/643038
* eclass/toolchain.eclass: disable libstdcxx-time for bare metalSergei Trofimovich2018-04-291-1/+8
| | | | | | | | | | | | | | | | | | | | | Historically Gentoo unconditionally sets --enable-libstdcxx-time=yes to avoid --enable-libstdcxx-time=rt on linux targets, bug #411681 Unfortunately this conflicts with arm-none-eabi and other bare-metal targets that don't provide enough plumbing to support for POSIX timers. This change ogerrides our default to --disable-libstdcxx-time on *-elf and *-eabi targets. Tested as: $ crossdev --stage4 arm-none-eabi Reported-by: scheer@wsoptics.de Reported-by: Thomas Schneider Bug: https://bugs.gentoo.org/411681 Bug: https://bugs.gentoo.org/589672 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* golang-base.eclass: correct eclass name in headerXiami2018-04-291-2/+2
| | | | Closes: https://github.com/gentoo/gentoo/pull/8191
* myspell-r2.eclass: correct eclass name in headerXiami2018-04-291-2/+2
|
* xorg-2.eclass: Add missing required spaceMatt Turner2018-04-271-2/+2
|
* kde4-base.eclass: Transition deps to x11-base/xorg-protoMatt Turner2018-04-271-1/+1
|
* toolchain.eclass: Transition deps to x11-base/xorg-protoMatt Turner2018-04-271-2/+1
|
* xorg-2.eclass: Fix typo'd DRI_COMMON_DEPENDMatt Turner2018-04-271-1/+1
|
* xorg-2.eclass: Transition deps to x11-base/xorg-protoMatt Turner2018-04-271-23/+2
| | | | | | DRI_DEPEND can go away since all xf86-video-* drivers now directly depend on x11-base/xorg-proto, which includes the dependencies from DRI_DEPEND.
* apache-2.eclass: Minor adjustments.Lars Wendler2018-04-271-7/+7
|
* apache-2.eclass: reflect MPM dependencies on thread useflag in REQUIRED_USERolf Eike Beer2018-04-271-14/+10
|
* apache-2.eclass: avoid multiple selected MPMs by REQUIRED_USERolf Eike Beer2018-04-271-13/+24
| | | | | Still allow that none was given so automatic selection depending on threads useflag still works as before.
* apache-2.eclass: reflect module dependencies to REQUIRED_USERolf Eike Beer2018-04-271-30/+17
| | | | | | | Portage can do all the checks automatically, with the added bonus that they can get tested with the portage API, which helps e.g. tatt finding out valid combinations of use flags. Closes: https://github.com/gentoo/gentoo/pull/7650
* eclass/ruby-ng.eclass: ignore ruby22 target in ebuildsHans de Graaff2018-04-271-2/+2
|
* eclass: php-pear-r1 mark DEADBrian Evans2018-04-251-1/+2
| | | | | | | | This eclass is problematic as it creates a dependency database which is quickly removed. Also the PHP invocation may need to addpredict for libsnmp. Superseded by php-pear-r2 eclass
* kde5-functions.eclass: Raise >=KF-5.45 QT_MINIMAL to 5.9.4Andreas Sturmlechner2018-04-241-0/+1
| | | | Closes: https://bugs.gentoo.org/654004
* versionator.eclass: Ban in EAPI 7 (in favor of built-in funcs)Michał Górny2018-04-231-0/+7
|
* ltprune.eclass: Ban discouraged eclass in EAPI 7Michał Górny2018-04-231-0/+7
|
* epatch.eclass: Ban in EAPI 7 (in favor of eapply)Michał Górny2018-04-231-1/+8
|
* eapi7-ver.eclass: Explicitly indicate that EAPI 7+ includes itMichał Górny2018-04-231-1/+1
|
* bitcoincore.eclass: Remove last-ritedAndreas Sturmlechner2018-04-221-413/+0
| | | | Closes: https://bugs.gentoo.org/633746
* apache-2.eclass: fix slot/subslot to ensure rebuilds triggerAaron Bauman2018-04-201-1/+1
|
* gstreamer.eclass: Remove emul-linux-x86-* blockersDavid Seifert2018-04-201-7/+0
|
* qt4-build-multilib.eclass: Remove emul-linux-x86-* blockersDavid Seifert2018-04-201-1/+0
|
* mysql-multilib-r1.eclass: Remove emul-linux-x86-* blockersDavid Seifert2018-04-201-1/+0
|
* xorg-2.eclass: Remove emul-linux-x86-* blockersDavid Seifert2018-04-201-4/+0
|
* kde5-functions.eclass: Raise PLASMA_MINIMAL to 5.11.5Andreas Sturmlechner2018-04-191-1/+1
|
* kde5-functions.eclass: Raise FRAMEWORKS_MINIMAL to 5.43.0Andreas Sturmlechner2018-04-191-5/+2
|
* kde5.eclass: Drop obsolete kde-apps-17.08 conditionalsAndreas Sturmlechner2018-04-191-8/+1
|
* kde5-functions.eclass: FRAMEWORKS_MINIMAL=5.44.0 for >=kde-apps-18.04Andreas Sturmlechner2018-04-191-0/+3
|
* flag-o-matic.eclass: treat "--param x" as a unit when testing flagsMike Gilbert2018-04-182-12/+25
| | | | | | | For clang and gcc, --param consumes the next argument. Testing --param and its value separately is nonsensical. Acked-by: Sergei Trofimovich <slyfox@gentoo.org>
* php-lib-r1.eclass: Remove @DEAD eclassMichał Górny2018-04-181-62/+0
|
* gnatbuild*.eclass: Last ritesMichał Górny2018-04-182-4/+10
| | | | Bug: https://bugs.gentoo.org/642702
* gnome-games.eclass: Mark @DEAD for removalMichał Górny2018-04-181-1/+4
| | | | Bug: https://bugs.gentoo.org/574644