summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eutils.eclass: Document optfeature suggests packages not installed.Chris Mayo2017-09-301-2/+2
| | | | Acked-by: Michał Górny <mgorny@gentoo.org>
* eclass: add mozconfig-v6.56.eclass to support new firefox seriesIan Stakenvicius2017-09-291-0/+392
|
* mysql*.eclass: Tighten up creation of directoriesBrian Evans2017-09-284-53/+33
|
* eapi7-ver.eclass: Use lexicographic rather than arithmetic comparison.Ulrich Müller2017-09-262-11/+27
| | | | This removes the 2**63-1 limit for integer components.
* eapi7-ver.eclass: New algorithm for ver_test().Ulrich Müller2017-09-261-207/+82
| | | | | | | Use a regular expression for version validation and splitting, which turns out to be even faster than the previous "ultra-fast" approach. Thanks to Michał Górny for several optimisations.
* eapi7-ver.eclass: Ultra-fast algo for comparisonMichał Górny2017-09-261-107/+218
|
* eapi7-ver.eclass: Initial implementation of ver_test().Ulrich Müller2017-09-263-3/+269
| | | | | This should strictly follow Algorithms 3.1 to 3.7 specified in PMS: https://projects.gentoo.org/pms/6/pms.html#x1-310003.3
* toolchain-binutils.eclass: add PATCH_BINUTILS_VER handlingSergei Trofimovich2017-09-261-2/+3
| | | | | | | | | | PATCH_BINUTILS_VER is handy when one wants to apply patchset from a different binutils version. For example to apply a 2.29 patchset on top of 2.29.1 version ebuild will refer to it as: PATCH_BINUTILS_VER="2.29" Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-devel/gcc: add a USE for building GCC with PGOShane Peelar2017-09-241-1/+6
| | | | | Package-Manager: Portage-2.3.10, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5741
* cmake-utils.eclass: Add QA check for broken buildsystemsDavid Seifert2017-09-241-0/+11
| | | | Closes: https://github.com/gentoo/gentoo/pull/4757
* cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was runDavid Seifert2017-09-241-0/+6
| | | | Closes: https://github.com/gentoo/gentoo/pull/4757
* eapi7-ver.eclass: Documentation fix.Ulrich Müller2017-09-191-3/+2
|
* eclass/tests/eapi7-ver_benchmark: More readable averageMichał Górny2017-09-191-1/+1
|
* eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manipMichał Górny2017-09-193-0/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EAPI 7 is introducing new version manipulation and comparison functions that aim to replace versionator.eclass. This eclass provides an 'early adopter' versions of those routines. It serves two goals: a. getting wider review and some real-life testing before the specification is set in stone, b. making it possible to adapt ebuilds to the new routines early, reducing the future work of EAPI 7 porting, c. improving cache generation speed (the rountines are roughly 15-20 times than versionator.eclass). For more details on the new logic, please see the eclass documentation. Long story short, we are introducing three functions: 1. ver_cut -- to get substrings of the version string, 2. ver_rs -- to replace version separators via indices, 3. ver_test -- to compare two version numbers. The third function is not implemented in the eclass. It's meant to reuse the algorithms from the package manager, and the final implementation will most likely reuse the code from the package manager (e.g. via IPC). The code has been initially written by Ulrich Müller.
* git-r3.eclass: Copy packed-refs during manual cloneSven Wegener2017-09-181-0/+3
| | | | Signed-off-by: Sven Wegener <swegener@gentoo.org>
* kde5*.eclass: KDEBASE=kdel10n cleanupAndreas Sturmlechner2017-09-172-113/+0
|
* toolchain.eclass: drop GCC_FILESDIR override, bug #629776Sergei Trofimovich2017-09-161-7/+5
| | | | | | | | | | | | | | | GCC_FILESDIR support was broken by portage-2.3.6 commit: https://github.com/gentoo/portage/commit/0637c95545ab7dc0bb5d091de221b9e99e2cf5b2 ("portage.package.ebuild: Use a fake FILESDIR to catch invalid accesses") Unfortunately it was applied to older EAPIs without fixing all the users first. The change yanks GCC_FILESDIR override support and hardcodes FILESDIR usage (as all the ebuilds except 'gcc' are broken anyway). Bug: https://bugs.gentoo.org/629776 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* gnome2.eclass: Fix accidental reverse of schema update conditionalMichał Górny2017-09-151-2/+2
| | | | Closes: https://bugs.gentoo.org/630874
* multiprocessing.eclass: add tests for float valuesMike Gilbert2017-09-141-1/+3
| | | | Bug: https://bugs.gentoo.org/630626
* multiprocessing.eclass: make loadavg regex work for float valuesMike Gilbert2017-09-141-1/+1
| | | | Bug: https://bugs.gentoo.org/630626
* cargo.eclass: localize variables so they don't leak into the saved envTim Harder2017-09-141-1/+1
|
* kde5-functions.eclass: Raise PLASMA_MINIMAL=5.10.5Andreas Sturmlechner2017-09-131-1/+1
|
* kde5-functions.eclass: Raise FRAMEWORKS_MINIMAL to 5.37.0Johannes Huber2017-09-131-4/+1
|
* kde5-functions.eclass: Raise QT_MINIMAL to 5.7.1Johannes Huber2017-09-131-5/+1
|
* vim-spell.eclass: do not DEPEND on app-editors/{,g}vim.Patrice Clement2017-09-121-4/+0
| | | | Gentoo-Bug: https://bugs.gentoo.org/469414
* eclass/toolchain-glibc.eclass: prefixify etc/init.d/nscdBenda Xu2017-09-121-1/+1
| | | | | Credit: Martin Mokrejš Bug: 608234
* eclass/mozconfig-v6.52 - disable sandboxing on esr buildsJory A. Pratt2017-09-101-4/+0
|
* glibc: disable stack protector on ARCH=ppcSergei Trofimovich2017-09-101-1/+13
| | | | | | | | | | Currently gcc on powerpc32 generates invalid code for __builtin_return_address(0) calls. Normally programs don't do that but malloc() hooks in glibc do: Bug: https://gcc.gnu.org/PR81996 Bug: https://bugs.gentoo.org/629054 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-glibc.eclass: Do not export any phases in EAPI=6. Well. Nearly.Andreas K. Hüttel2017-09-091-1/+8
|
* 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
|