summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass: improve cargo.eclass to better handle pre-release versions (fixes ↵Dirkjan Ochtman2017-09-091-1/+6
| | | | bug 630428)
* elisp-common.eclass: avoid //path, is not /path on CygwinMichael Haubenwallner2017-09-081-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/5651
* gnome2*.eclass: Move the preinst conditional out of gnome2_schemas_updateMichał Górny2017-09-082-7/+6
| | | | | | | | | | | | | | | Move the GNOME2_ECLASS_GLIB_SCHEMAS conditional from gnome2_schemas_update straight into the implementation of gnome2.eclass postinst/postrm. This variable is set in preinst to indicate whether any files were installed. However, the updater itself does not use the list in any way and updates all the schemas anyway. Therefore, avoid requiring the ebuilds to explicitly define preinst/postinst when it is known that the package installs schemas, and instead let gnome2_schemas_update called in postinst/postrm update schemas unconditionally.
* *.eclass: Include GNOME2_ECLASS_ICONS condition in postrm as wellMichał Górny2017-09-084-4/+12
| | | | | | | The original GNOME2_ECLASS_ICONS patch has moved the condition from gnome2_icon_cache_update to postinst phases of functions using the preinst/postinst logic but accidentally omitted postrm. Include it there as well to restore the old behavior.
* fdo-mime.eclass: Mark the eclass as deprecatedMichał Górny2017-09-081-1/+3
| | | | | | | | | | | | | | The GNOME team has committed the xdg-utils.eclass serving exactly the same purpose as fdo-mime.eclass, supposedly with the goal of replacing it. However, it seems that they have never bothered to actually hint the deprecation in the fdo-mime.eclass in any way. As a result, developers are still adding references to this eclass instead of using xdg-utils or xdg, and/or not working towards replacing them. Add an explicit deprecation notice to the fdo-mime.eclass to make it clear that the eclass should not be used in new packages, and what the replacement eclasses are.
* toolchain.eclass: allow CTARGET to contain '.'Sergei Trofimovich2017-09-051-1/+2
| | | | | | | | | | | | | On CTARGET="hppa2.0-unknown-linux-gnu" the following code local VAR="CFLAGS_"${CTARGET//-/_} CXXFLAGS=${!VAR} produces incorrect substitution: CFLAGS_hppa2.0_unknown_linux_gnu which caused 'crossdev hppa2.0-unknown-linux-gnu' to fail. The change adds '.' mangling as well. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* postgres{,-multi}.eclass: Improvements and bug fixAaron W. Swenson2017-09-052-34/+59
| | | | | | | | | | | Improve documentation comments to eliminate warnings and make the resulting man pages look better. Use a simple sort instead of the external sort program because calling external commands during metadata regen is forbidden by PMS and breaks new secure cache regen. Gentoo-Bug: 629226
* prefix.eclass: extend the hprefixify to accept quotes.Benda Xu2017-09-041-8/+18
| | | | also apply the pattern substitution to beginning of lines.
* vim-spell.eclass: document variables using Gentoo documentation tags.Patrice Clement2017-09-031-27/+52
|
* vim-spell.eclass: document functions using Gentoo documentation tags.Patrice Clement2017-09-031-11/+18
|
* kde4*.eclass: Drop USE=aquaAndreas Sturmlechner2017-09-032-14/+12
|
* games-mods.eclass: [QA] Do not access PORTDIR.Ulrich Müller2017-09-031-2/+3
| | | | | | Simply inline the 2 (two!) header lines instead. Bug: 416739
* systemd.eclass: add systemd_reenable functionMike Gilbert2017-09-021-0/+21
|
* eclass/git-r3.eclass: TypoJeroen Roovers2017-09-011-1/+1
|
* eclass/kernel-2.eclass: As per PMS remove calls to external command 'tr' in ↵Mike Pagano2017-08-311-3/+8
| | | | global scope. Closes bug 629106.
* gnustep-base.eclass: drop built_with_use check, bug #623316Bernard Cafarelli2017-08-301-2/+1
| | | | All EAPI0 gnustep ebuilds were updated or dropped
* mozlinguas-v2.eclass: reduce ewarn on unsupported locale to einfoIan Stakenvicius2017-08-301-1/+1
| | | | Bug: http://bugs.gentoo.org/591438
* common-lisp-3.eclass: Adds missing lisp package names and exports CL_BINARY ↵Chema Alonso Josa2017-08-291-7/+13
| | | | variable
* selinux-policy-2.eclass: drop insecure git:// path in favour of https://Jason Zaman2017-08-271-1/+1
|
* toolchain-glibc.eclass: remove special-casing of -freorder-blocks on ARCH=ppcSergei Trofimovich2017-08-261-3/+0
| | | | | | | -freorder-blocks is enabled by default on -O and upper. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* toolchain.eclass: Update masquerades via dev-util/shadowman postinst/rmMichał Górny2017-08-261-0/+7
|
* flag-o-matic.eclass: Strip LDFLAGS unsupported by the C compiler, #621274Michał Górny2017-08-252-1/+4
| | | | | | | | Include LDFLAGS in the variables stripped by strip-unsupported-flags. The code reuses the current functions for testing CC, and so only remove LDFLAGS that are rejected by the C compiler and not the linker. This solves the case of bug #621274 where LDFLAGS contained GCC-specific -flto flag.
* flag-o-matic.eclass: test-flag-PROG, ignore unused args in clangMichał Górny2017-08-252-1/+13
| | | | | | | | | | | | | | | | | | | By default, clang considers unused arguments as error when -Werror is used. Since flag tests are performed without linking, this causes all tests for linker flags to fail inadvertently and all those flags are stripped as a result. While the correctness of passing unused flags is doubtful, silently stripping them in a few random packages is certainly not the solution to the problem, and also makes the results differ between gcc and clang. To account for that, use clang's -Qunused-arguments option to silence unused argument warnings. To avoid wasting time on testing the compiler, just try passing -Qunused-arguments every time a flag check fails. If clang is not used, the additional call will fail just the same as the previous one (either because of the original flag or because of -Qunused-arguments), so the result will be the same.
* flag-o-matic.eclass: test-flag-PROG, refactor to reduce duplicationMichał Górny2017-08-251-3/+7
|
* git-r3.eclass: Explicitly warn about unsecure protocolsMichał Górny2017-08-251-1/+11
| | | | | | | Explicitly warn about any URI that uses an unsecure protocol (git, http) even if it's a fallback URI. This is necessary because an attacker may block HTTPS connections, effectively forcing the fallback to the unsecure protocol.
* git-r3.eclass: Update docs to discourage unsafe protocolsMichał Górny2017-08-251-6/+10
|
* myspell-r2.eclass: [QA] Use relative symlink target(s)Michał Górny2017-08-221-4/+4
|
* mozcoreconf-v5.eclass: change 'eval unset' to 'unset'Lars Wendler2017-08-221-1/+1
|
* xdg-utils.eclass: fix xdg_desktop_database_update function doc typoTim Harder2017-08-211-1/+1
|
* eclass/ruby-ng.eclass: mark ruby21 as a removed targetHans de Graaff2017-08-201-1/+1
|
* xorg-2.eclass: Fix EGIT_REPO_URI, #628226Michał Górny2017-08-191-1/+1
|
* Since I now have an @gentoo.org address, use it everywhereCraig Andrews2017-08-181-1/+1
| | | | | Gentoo-bug: 620766 Closes: #5470
* kde5*.eclass: Revert KDEBASE=kdel10n cleanupAndreas Sturmlechner2017-08-172-0/+113
| | | | | | We need to wait until removal of the package. This reverts commit edca947c05c8f83ab1bfd776bf3ea5e629609972.
* kde5*.eclass: KDEBASE=kdel10n cleanupAndreas Sturmlechner2017-08-172-113/+0
|
* kde5.eclass: KDE_TEST=forceoptional-recursive reloadedAndreas Sturmlechner2017-08-171-11/+31
| | | | | | | | | | | Searches for test subdirectory pattern in CMakeLists.txt recursively, enclose it with BUILD_TESTING conditional. Creates unified diff to easily pick up for cosmetics and submission upstream. Re-order unconditional Frameworks tests disabling to produce more compatible forceoptional-recursive tests.
* kde5-functions.eclass: Raise >=KF-5.37 QT_MINIMAL to 5.7.1Andreas Sturmlechner2017-08-171-4/+3
| | | | Raise PLASMA_MINIMAL to 5.10.4.
* kde4-base.eclass: Add {QT3SUPPORT,SQL}_REQUIREDAndreas Sturmlechner2017-08-171-13/+56
| | | | This makes dev-qt/qtsql:4 and dev-qt/qt3support:4 optional.
* xdg-utils.eclass: use HTTPS for freedesktop.orgDavid Hicks2017-08-171-1/+1
| | | | Package-Manager: Portage-2.3.6, Repoman-2.3.3
* systemd.eclass: use HTTPS for freedesktop.orgDavid Hicks2017-08-171-3/+3
| | | | Package-Manager: Portage-2.3.6, Repoman-2.3.3
* xorg-2.eclass: use HTTPS for freedesktop.orgDavid Hicks2017-08-171-2/+2
| | | | Package-Manager: Portage-2.3.6, Repoman-2.3.3
* x-modular.eclass: use HTTPS for freedesktop.orgDavid Hicks2017-08-171-2/+2
| | | | Package-Manager: Portage-2.3.6, Repoman-2.3.3
* mozconfig-v6.55.eclass: Adjusted libpng dependency (bug #628088).Lars Wendler2017-08-171-1/+1
|
* vala.eclass: allow vala 0.36Gilles Dartiguelongue2017-08-151-1/+1
|
* llvm.eclass: Do not prepend /usr/bin to PATH, #622866Michał Górny2017-08-121-1/+7
|
* llvm.eclass: Support checking LLVM deps via llvm_check_deps()Michał Górny2017-08-121-15/+45
| | | | | | | | Introduce the support for llvm_check_deps() function to override the default LLVM slot acceptance test (checking whether sys-devel/llvm is installed). This can be used to match more complex dependency specifications, e.g. to find a LLVM slot that has a matching clang version, or to request USE dependencies on LLVM or clang.
* llvm.eclass: Check for installed package rather than executableMichał Górny2017-08-121-7/+6
| | | | | | | | | Ensure that a specific LLVM slot is installed via using has_version on "sys-devel/llvm:${SLOT}" rather than checking whether llvm-config is installed in expected location. While it is a bit slower, this is closer to a canonical way of testing it and will be useful when we allow testing for more specific dependency strings. Right now, it could be helpful if one has broken LLVM installation (i.e. stray files).
* kde5-meta-pkg.eclass: Block slot 4 unconditionallyAndreas Sturmlechner2017-08-121-1/+1
| | | | This eclass has always been unaware of KDE_BLOCK_SLOT4.
* Revert "kde5-meta-pkg.eclass: Block slot 4 unconditionally"Andreas Sturmlechner2017-08-121-1/+1
| | | | This reverts commit 92c7fa972f87370dea450132ac6629dc7d514871.
* kde5-functions.eclass: Raise >=KF-5.37 QT_MINIMAL to 5.7.1Andreas Sturmlechner2017-08-121-1/+3
| | | | | See also: https://mail.kde.org/pipermail/release-team/2017-August/010526.html
* kde4-base.eclass: Drop obsolete kde-base/*:4 blockerAndreas Sturmlechner2017-08-121-4/+0
| | | | No ebuilds of this type should exist at this point after pkgmoves done.