summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
...
* toolchain.eclass: prepare to rename USE=regression-test->testSergei Trofimovich2019-02-101-5/+13
| | | | | | | Starting from gcc-8.3.0 FEATURES=test USE=test will be enough to run gcc's testsuite. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* tmpfiles.eclass: fix @SUPPORTED_EAPISWilliam Hubbs2019-02-081-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* tmpfiles.eclass: add eapi 7 supportWilliam Hubbs2019-02-081-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474Sergei Trofimovich2019-02-071-1/+1
| | | | | | | | Let's not allow users to deinstall native glibc. Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/677474 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* qt5-build.eclass: move the 's/optimize_full//' sed where it belongsDavide Pesavento2019-02-071-3/+5
| | | | | Signed-off-by: Davide Pesavento <pesa@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: remove obsolete instruction sets workaroundJimi Huotari2019-02-071-5/+0
| | | | | | | | | | | | | | This has seemingly been broken since 2017-08-02, where things were moved around [1], and now causes build failures as the directory has been removed completely [2]. 1. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f54f7d84 2. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=73b87697 Bug: https://bugs.gentoo.org/552942 Bug: https://bugs.gentoo.org/672946 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* meson.eclass: raise meson dependency to 0.48.2William Hubbs2019-02-071-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-vcs.eclass: add eapi 7 supportWilliam Hubbs2019-02-071-2/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-vcs-snapshot.eclass: add eapi 7 supportWilliam Hubbs2019-02-071-2/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-build.eclass: add eapi 7 supportWilliam Hubbs2019-02-071-2/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-base.eclass: add eapi 7 supportWilliam Hubbs2019-02-071-4/+10
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* meson.eclass: remove unnecessary eapi checksWilliam Hubbs2019-02-071-1/+1
| | | | | | | This eclass dies for all eapis other than 6 or 7, so we don't need to test for eapis other than 6 or 7 anywhere else in the eclass. Signed-off-by: William Hubbs <williamh@gentoo.org>
* meson.eclass: remove meson_auto_dependWilliam Hubbs2019-02-071-23/+4
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* kde5.eclass: Fork needed xdg.eclass functions pending EAPI-7 portingAndreas Sturmlechner2019-02-071-5/+123
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Relocate KDE_INSTALL_DOCBUNDLEDIR to /usr/share/helpAndreas Sturmlechner2019-02-071-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | These are handbook files installed by hundreds of packages to a central location, to be accessed by KDE Helpcenter application, with compressed index cache files. This leads to the following QA issues on every package w/ USE handbook: * The ebuild is installing to one or more unexpected paths * One or more compressed files were found in docompress-ed directories We'll use the EAPI-7 transition to move the location from previously /usr/share/doc/HTML to /usr/share/help [1]. Transition for khelpcenter will be seemless as kde-frameworks/kdoctools can be easily patched to accept both locations, until eventually /usr/share/doc/HTML is empty. As a side-effect, we will be able to drop the workaround for disabling auto compression of files beneath /usr/share/doc together with EAPI-6. [1] See also: https://www.freedesktop.org/wiki/Specifications/help-system/ It is also the path upstream intends to migrate to in the future. Bug: https://bugs.gentoo.org/667138 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Limit use of gnome2-utils to EAPI-6Andreas Sturmlechner2019-02-071-5/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Use BDEPENDAndreas Sturmlechner2019-02-071-4/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions: Raise FRAMEWORKS_MINIMAL to 5.54.0Andreas Sturmlechner2019-02-071-3/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Cleanup _add_category_dep slot defAndreas Sturmlechner2019-02-071-1/+1
| | | | | | There's no SLOT 4 for a long time. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Disallow add_qt_dep for discontinued qtwebkitAndreas Sturmlechner2019-02-071-3/+3
| | | | | | Drop support for it as packages are slowly being ported away from it. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: add_qt_dep: Drop obsolete qtwebkit ver checkAndreas Sturmlechner2019-02-071-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* opam.eclass: fix whitespaceGeorgy Yakovlev2019-02-051-1/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* opam.eclass: check only for known EAPI, die otherwiseGeorgy Yakovlev2019-02-051-2/+2
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* opam.eclass: unbreak on EAPI=7Georgy Yakovlev2019-02-051-7/+7
| | | | | | | | | | Since D, ED, ROOT, EROOT no longer have a trailing slash in EAPI=7 This eclass is terribly broken, installing things into imageusr/... Reported by AnAverageHuman on #gentoo-dev-help Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* java-vm-2.eclass: fix ppc64le handing in get_system_arch()Georgy Yakovlev2019-02-051-1/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* toolchain.eclass: fix comment typosSergei Trofimovich2019-02-041-2/+2
| | | | | Reported-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: never pass --enable-libsanitizer to ./configureSergei Trofimovich2019-02-031-1/+18
| | | | | | | | | | gcc treats --enable-libsanitizer as an override on top of autodetection. It it never what we want. Happens to break at least mips cross-compilers and likely many more minor targets. Bug: https://gcc.gnu.org/PR85663 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE_DEF arraySergei Trofimovich2019-02-031-8/+4
| | | | | | | | | IUSE_DEF is just an IUSE with '+' prepended. IUSE_DEF was not used consistently. Use '+' form consistently. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/unpacker.eclass: localize a couple variablesTim Harder2019-01-311-2/+2
| | | | | | To avoid exporting them to the ebuild env. Signed-off-by: Tim Harder <radhermit@gentoo.org>
* toolchain-glibc.eclass: avoid using KV_to_int and get_KVSergei Trofimovich2019-01-271-4/+50
| | | | | | | | | | | | | | | 'KV_to_int' and 'get_KV' are portage internals. This change pulls in implementation of 'KV_to_int' and 'get_KV' as-is with a rename: KV_to_int -> tc_glibc_KV_to_int get_KV -> tc_glibc_get_KV (small API change) Reported-by: Brian Harring Reported-by: Michał Górny Bug: https://bugs.gentoo.org/384041 Closes: https://bugs.gentoo.org/587320 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass: Mark mysql eclasses DEADBrian Evans2019-01-224-4/+8
| | | | | | They are no longer used and code is in each individual package Signed-off-by: Brian Evans <grknight@gentoo.org>
* java-utils-2.eclass: fix for >=dev-java/ant-core-1.9.13Miroslav Šulc2019-01-211-1/+3
| | | | | | ant does not like double quotes around classpath (bug #676002) Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* ant-tasks.eclass: cleanup and improvementMiroslav Šulc2019-01-211-41/+39
| | | | | | | | 1) removed obsolete code 2) increased default jdk/jre version to the lowest available version 1.8 3) added support for patching build.xml along with the original build.xml replacement Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* php-ext-source-r3.eclass: Add EAPI=7 supportBrian Evans2019-01-191-16/+15
| | | | Signed-off-by: Brian Evans <grknight@gentoo.org>
* mysql-multilib-r1.eclass: fix galera postinst wordingMikle Kolyada2019-01-191-3/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/9262 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* llvm.eclass: Allow slot 9Michał Górny2019-01-181-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* waf-utils.eclass: Respect PKG_CONFIGJames Le Cuirot2019-01-131-0/+1
| | | | | | Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* waf-utils.eclass: Simplify output of configure command and argumentsJames Le Cuirot2019-01-131-7/+13
| | | | | | | | We can just assign these to an array and echo before executing. Using @Q makes Bash quote the output. This only works in Bash 4.4 and later but on earlier versions, it simply doesn't quote. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* kde5.eclass: Deprecate kde-apps blockers with 18.08.3Andreas Sturmlechner2019-01-101-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Ban get_kde_version, kde_l10n2lingua in EAPI-7Andreas Sturmlechner2019-01-091-1/+3
| | | | | | | * get_kde_version was never used and is broken for Jan-Sep kde-apps releases * kde_l10n2lingua is not used since kde-l10n and kde4-l10n packages are gone Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Drop KDE_TESTPATTERNAndreas Sturmlechner2019-01-091-11/+4
| | | | | | | Never used by many ebuilds, completely unused right now. Closes: https://bugs.gentoo.org/674922 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cargo.eclass: add standard src_testGeorgy Yakovlev2019-01-081-1/+11
| | | | | | But not set IUSE=test by default Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: allow passing additional arguments to cargoGeorgy Yakovlev2019-01-081-3/+3
| | | | | | | | | | for example: src_compile() { cargo_src_compile --features pcre2 } Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* kernel-2.eclass: add linux 5.x supportThomas Deutschmann2019-01-071-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* systemd.eclass: systemd_reenable: always pass a non-blank value to --rootMike Gilbert2018-12-271-2/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/ruby-utils.eclass: add ruby26 supportHans de Graaff2018-12-261-1/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* cmake-multilib.eclass: Update SUPPORTED_EAPISAndreas Sturmlechner2018-12-251-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-multilib.eclass: Support EAPI 7Andreas Sturmlechner2018-12-251-1/+1
| | | | | | Simple follow-up to cmake-utils supporting EAPI 7, no changes. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* bazel.eclass: new eclass for bazel buildJason Zaman2018-12-241-0/+220
| | | | Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* eclass: perl-module.eclass enable https for EAPI >5Mikle Kolyada2018-12-221-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>