summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* golang-build.eclass: add GOCACHE setting in src_compile for Go 1.11William Hubbs2018-12-191-0/+1
| | | | | Copyright: Sony Interactive Entertainment inc. Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-base.eclass: Revert "turn off the go build cache for Go 1.11"William Hubbs2018-12-191-3/+0
| | | | | | | This reverts commit b1bf8a32c9c48758c9ec55efb99bc4d244433383. Copyright: Sony Interactive Entertainment Inc. Signed-off-by: William Hubbs <williamh@gentoo.org>
* golang-base.eclass: turn off the go build cache for Go 1.11William Hubbs2018-12-181-0/+3
| | | | | Copyright: Sony Interactive Entertainment Inc. Signed-off-by: William Hubbs <williamh@gentoo.org>
* eclass/ruby-ng-gnome2.eclass: update homepageHans de Graaff2018-12-111-2/+2
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* kde5-functions.eclass: Enable EAPI-7Andreas Sturmlechner2018-12-101-1/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Turn `eqawarn` into `die` for >= EAPI 7Andreas Sturmlechner2018-12-101-5/+20
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Enable BUILD_SHARED_LIBS by default in EAPI >= 7David Seifert2018-12-101-0/+1
| | | | | | | | | | | * Many upstreams build static libraries by default, as this is simpler for distribution. Developers can still override this variable if required. Examples: https://github.com/pezmaster31/bamtools/blob/master/CMakeLists.txt#L64 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Make ninja default backend in EAPI >= 7David Seifert2018-12-101-2/+10
| | | | | | | | | | | | * Using the ninja backend as a default is the only way to massively improve src_compile core utilization, given that it seems unlikely that CMake will ever produce non-recursive Makefiles. See also: http://www.kaizou.org/2016/09/build-benchmark-large-c-project/ Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Use BDEPENDAndreas Sturmlechner2018-12-101-3/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: enable EAPI=7Michael Palimaka2018-12-101-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* toolchain.eclass: move from versionator to eapi7-ver eclassSergei Trofimovich2018-12-091-12/+12
| | | | | | Preparation to EAPI=6+ support in gcc ebuilds. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/tests/toolchain.sh: add tests to prepare to eapi7-ver switchSergei Trofimovich2018-12-091-0/+91
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/tests/toolchain.sh: prefix test nameSergei Trofimovich2018-12-091-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/tests/toolchain.sh: add EAPI=5 to unbreak testsSergei Trofimovich2018-12-091-0/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>