summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* qt5-build.eclass: update copyright yearDavide Pesavento2017-04-251-1/+1
|
* qt5-build.eclass: replace eutils inherit with estack+ltpruneDavide Pesavento2017-04-251-1/+1
|
* qt5-build.eclass: drop support for EAPI 5Davide Pesavento2017-04-251-16/+7
|
* python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIGMichał Górny2017-04-251-4/+2
| | | | | | | | | | | | | | | Use plain 'pythonX.Y-config' executable name in the python-config wrapper instead of querying the complete PYTHON_CONFIG path from python_export. Constructing full PYTHON_CONFIG path requires querying ABIFLAGS which requires the Python interpreter to be installed, which in turn unnecessarily forces every ebuild using the eclass to carry a build-time dependency on the Python interpreter. All current versions of Python correctly install 'pythonX.Y-config' symlink that points to the correct ABI-suffixed binary. It is therefore unnecessary to use the full path.
* eclass/ELT-patches: remove the remaining (nocxx) patchesMichał Górny2017-04-252-28/+0
| | | | | | Now that epunt-cxx.eclass is using the patches from app-portage/elt-patches, remove the remaining patches from the repository.
* epunt-cxx.eclass: Switch to using patches from elt-patches pkgMichał Górny2017-04-251-14/+2
| | | | | | | Switch to using the patches provided through the app-portage/elt-patches package, like libtool.eclass. Since epunt-cxx is no longer implicit eutils API but a dedicated eclass, we do not have to worry about the extra dependency.
* epunt-cxx.eclass: Inherit eutils for eqawarnMichał Górny2017-04-251-8/+2
| | | | | Now that eutils does not inherit epunt-cxx implicitly, we can reverse the inherit without having circular dependencies.
* eutils.eclass: Remove implicit epunt-cxx inheritMichał Górny2017-04-251-2/+1
| | | | | | Stop inheriting the epunt-cxx eclass in eutils implicitly. All the uses in ::gentoo are fixed already, and this lets us add extra dependencies in the eclass without affecting most of the packages out there.
* eutils.eclass: make_desktop_entry, replace unnecessary extglobMichał Górny2017-04-251-3/+1
| | | | | | | | Replace the unnecessary use of extglob to strip file suffix in make_desktop_entry with a plain ${x%.*}. This is pretty much equivalent since match to one of the pre-defined suffixes is already confirmed via the preceding conditional, and avoiding repeating the suffix list twice makes the code simpler.
* gnome2-utils.eclass: Remove GNOME2_ICONS conditional (moved to gnome2)Michał Górny2017-04-251-5/+0
|
* xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utilsMichał Górny2017-04-251-1/+3
|
* kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utilsMichał Górny2017-04-251-1/+3
|
* kde4-base.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utilsMichał Górny2017-04-251-1/+3
|
* gnome2.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utilsMichał Górny2017-04-251-1/+3
|
* gnome2-utils.eclass: Make gnome2_icon_cache_update update all themesMichał Górny2017-04-251-9/+9
| | | | | | | | Make the gnome2_icon_cache_update function update all icon themes rather than depending on gnome2_icon_savelist to select themes to update. This makes the function easier to use whenever the developer needs it explicitly (i.e. knows that themes are installed), while the overhead of regenerating multiple caches is neglible.
* kde5.eclass: Add poqm directory handlingAndreas Sturmlechner2017-04-221-19/+29
| | | | | | | Upstream directory for Qt-only translations. - Check for and remove poqm directory if USE=-nls - Filter LINGUAS in poqm as well
* perl-module.eclass: Add DEFAULT_UNSET where applicableKent Fredric2017-04-221-0/+5
|
* perl-module.eclass: fix documentation re: USAGEKent Fredric2017-04-221-8/+0
|
* perl-functions.eclass: Fix documentation re: USAGEKent Fredric2017-04-221-20/+62
| | | | | And use @CODE examples where relevant instead as per eclass-to-manpage.awk
* perl-module.eclass: Fix GENTOO_DEPEND_ON_SUBSLOT handling/errorKent Fredric2017-04-221-2/+2
| | | | | | | | Currently errors even when set to "yes" ( which is the mechanics that is implied if the option is missing ) This prematurely tells people about non-issues, and encourages them to set the wrong value.
* perl-functions.eclass: add perl_domoduleKent Fredric2017-04-221-0/+76
|
* perl-functions.eclass: add perl_get_vendorlibKent Fredric2017-04-221-1/+20
|
* perl-functions.eclass: add perl_get_raw_vendorlibKent Fredric2017-04-221-0/+18
|
* perl-functions.eclass: add perl_get_module_versionKent Fredric2017-04-221-0/+51
| | | | | | | | | | | | | | This utility provides informational data describing the given module names state of installation, either as a version, or as an error message describing the grade of failure incurred in module loading. It has the side effect that it most load the module (and its dependencies) into memory to give a report value, and can be expensive and have side-effects from Perl code execuring while the module loads, including (but not limited to) people calling POSIX::_exit This is the slowest way of inspecting state about a module, as it must load the module
* perl-functions.eclass: add perl_has_module_versionKent Fredric2017-04-221-0/+33
| | | | | | | | | | | | | | This is a utility for runtime checking if a module of a given version is installed from the perspective of Perl, whos opinion could be different than portage in the event of perl-core/* dual life effects shortly after a major Perl upgrade. Use this only if perl_has_module is insufficient, as the overheads and risk of side effects from this approach are high, given the module has to be actually loaded for the version comparison to happen. exits "true" if Perl has the given module installed at the given version ( or later ), exits "false" otherwise.
* perl-functions.eclass: Add perl_has_moduleKent Fredric2017-04-221-0/+28
| | | | | | | | | | | | | | | This is an incredibly fast way to check if Perl considers a module of the given name installed in any capacity, including broken. As long as "Foo.pm" is somewhere in @INC, `perl_has_module Foo` will return true. Even `perl_has_module threads` will return true on non-threaded perls, due to that module still being present, and the module only fataling when loaded. Whereas `perl_has_module_version threads 0` will always fail on non-threaded perls.
* kde5*eclass: KDE Applications 17.04.0 improvementsJohannes Huber2017-04-202-8/+25
| | | | Sync with kde overlay.
* mozconfig-v6.52.eclass: fix trailing whitespaceIan Stakenvicius2017-04-191-1/+1
|
* mozconfig-v6.52.eclass: remove obsolete USE=skia conditional on armIan Stakenvicius2017-04-191-4/+0
| | | | | | Thanks to Zdeněk Žamberský for the patch. Bug: http://bugs.gentoo.org/615896
* mozconfig-v6.52.eclass: fix a missed gtk3 -> force-gtk3 flag migrationIan Stakenvicius2017-04-191-2/+2
|
* ros-catkin.eclass: Fix python handlingDavid Seifert2017-04-181-2/+3
| | | | | | | | | | * Add missing REQUIRED_USE which otherwise could lead to spurious failures during the build. * Do not directly depend on dev-lang/python-exec, this is done properly via ${PYTHON_DEPS}. * python-utils-r1 never needs to be inherited explicitly. Closes: https://github.com/gentoo/gentoo/pull/4444
* chromium.eclass: removeMike Gilbert2017-04-181-264/+0
|
* multibuild.eclass: Revert "Reap stray subjobs before exiting sub-phase"Michał Górny2017-04-151-12/+0
| | | | | | | The code wrongly relies on 'bash -n' which is not available in bash 4.2. Bug: https://bugs.gentoo.org/615642 Reverts: e5e4a35151f64b423c4201a30270a236dab3bf58
* multibuild.eclass: Reap stray subjobs before exiting sub-phaseMichał Górny2017-04-141-0/+12
| | | | | | | Alike the PMS-defined phases, sub-phases do not support leaving jobs behind. To avoid leaving something accidentally, make sure to reap all jobs (i.e. wait) post running the command. Warn if any stray processes are found since that indicates a bug in ebuild.
* estack.eclass: Use 'shopt -p -o' to restore 'set' flagsMichał Górny2017-04-141-7/+2
| | | | | | Use 'shopt -p -o' to obtain the current set of 'set' flags, and to restore them on popping. Unlike $-, it is output in command form (alike 'shopt -p'), removing the need for separate logic in eshopts_pop.
* eclass/tests/estack_eshopts.sh: Add tests for 'set' variant of eshopt*Michał Górny2017-04-141-0/+23
|
* toolchain-glibc.eclass: Replace evar_* with local variablesMichał Górny2017-04-141-3/+1
| | | | | | Use local variable to limit the scope of ABI variable override. This is a builtin bash solution that is reliable and simple, unlike the complex evar_* logic that unnecessarily pollutes global variables.
* enlightenment.eclass: Replace eutils inherit w/ split eclassesMichał Górny2017-04-141-1/+1
|
* autotools-utils.eclass: Add split inherits for past eutils functionsMichał Górny2017-04-141-2/+3
|
* git-r3.eclass: Remove unused eutils inheritMichał Górny2017-04-141-7/+1
|
* mozconfig-v6.52.eclass: various fixesIan Stakenvicius2017-04-131-16/+33
| | | | | | | | | Skia support is now forced off on big-endian platforms, to avoid bug 607662 gtk+:2 is added back as a fixed dependency, as it is still needed on mozilla-52 regardless of whether or not the toolkit is cairo-gtk3, bug 601326 apulse is now an alternative dependency to pulseaudio for USE="pulseaudio"
* apache-2.eclass: EAPI-6 ready. Rename configure.in to configure.acLars Wendler2017-04-051-9/+16
|
* xemacs-packages.eclass: Support EAPI 6.Ulrich Müller2017-04-031-39/+31
| | | | | | | | | | | | - Do not export src_compile, as using the default has the same result. - Precede PKG_CAT and EXPERIMENTAL variables with XEMACS_ for proper namespace. - Explicitly assign S, because there is no fallback to WORKDIR in recent EAPIs. - Move install directory logic into src_install function. - Install into ${D}${EPREFIX} rather than ${D}. Acked by: Mats Lidell <matsl@gentoo.org>
* aspell-dict.eclass: Mark @DEAD for removalDavid Seifert2017-04-011-0/+3
|
* aspell-dict-r1.eclass: Port aspell-dict.eclass to EAPI 6, ban older EAPIsDavid Seifert2017-04-011-0/+89
| | | | Closes: https://github.com/gentoo/gentoo/pull/4237
* rebar.eclass: Disable coverage in test phaseAmadeusz Żołnowski2017-03-291-1/+20
| | | | | | This is a workaround for failing coverage. Coverage is not relevant in this context, so there's no harm to disable it, although the issue should be fixed.
* eclass/cargo: Don't fail on missing directoryEspen Henriksen2017-03-291-1/+1
| | | | | | | | | Previously the cargo_src_install step fails when using `cargo_src_install || die` and no man-directory is included with the crate. This commit corrects this behavior and ensures it does not die in those cases. Package-Manager: Portage-2.3.3
* eclass/mysql-multilib-r1: Fix quoting in initial configBrian Evans2017-03-281-2/+2
|
* sys-libs/glibc: [QA] Convert from eblits to eclass, #586422Michał Górny2017-03-241-0/+1404
|
* sys-devel/autoconf: [QA] Convert from eblits into an eclass, #586424Michał Górny2017-03-241-0/+70
| | | | | | | Convert the usage of eblits in sys-devel/autoconf into an equivalent eclass. This makes the ebuilds more readable, more predictable and fixes compliance with stricter versions of the package manager (i.e. a future release of Portage).