| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Originally strip-linguas() was part of eutils.eclass. It was moved
to l10n.eclass in late 2020, but there are few (if any) ebuilds using
strip-linguas and the other functions from l10n.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
A message like "eutils is banned in EAPI 4" may be confusing.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Revert multiple meaningless eclass documentation changes, notably adding
a lot of placeholders and documenting implementation details. These
changes were aimed at silencing (valid) documentation warnings without
actually providing valuable documentation to the end users. While some
of these changes were beneficial, it would take a lot of effort to
review them all and the author is unwilling to fix his mistakes.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Aaron Bauman <bman@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
The function is not called from any ebuilds in the gentoo repository.
Inline it as "in_iuse foo && use foo" in other eclasses, or define it
as a local function when it is called multiple times.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Proactively deprecate in future EAPIs, as requested by soap.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* optfeature() is now defined in optfeature.eclass since
e9caee95d9c7ec69a8b8a12be2ae9bcd98c46e2d.
Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
No ebuilds calling these functions in EAPIs 0 to 2 are left in the tree.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/9517
|
|
|
|
|
| |
The eqawarn command is part of EAPI 7, therefore the eclass should not
override it. Also we cannot rely on its being a shell function.
|
|
|
|
|
| |
Reorder the generated wrapper, and add '&&' after the 'cd' call so that
the wrapper will not try to execute the program if 'cd' command fails.
|
|
|
|
|
| |
Sanitize exeopts when calling newexe, in order to avoid prior insopts
calls accidentally affecting make_wrapper.
|
|
|
|
|
|
|
|
| |
Split off functions ecvs_clean, esvn_clean, and egit_clean into
a dedicated vcs-clean.eclass. No code changes.
For backwards compatibility, eutils inherits the new eclass in
existing EAPIs.
|
|
|
|
|
|
|
|
| |
In ecvs_clean, combine the two find commands into one, so that the
exit status of the first one won't be ignored.
Also use find -exec rather then find | xargs, so we don't have to
check the exit status of all commands in the pipeline.
|
|
|
|
|
|
|
| |
Mention that einstalldocs() and in_iuse() are provided by the package
manager in EAPI 6.
in_iuse "must not" (rather than "should not") be used in global scope.
|
|
|
|
|
|
|
| |
The function was deprecated in 2010 and is no longer used in the tree.
Use EAPI 2 use deps and has_version as replacement.
Closes: https://bugs.gentoo.org/261562
|
|
|
|
|
| |
Inline the remaining two uses of the function. This shortens the code,
and also allows to declare the variables as local.
|
|
|
|
|
|
|
|
|
|
|
| |
Split off functions preserve_old_lib and preserve_old_lib_notify from
eutils.eclass into a dedicated preserve-libs.eclass. These functions
are rarely used and are independent of the rest of eutils, therefore
moving them into their own eclass will help clarifying eclass
inheritance in ebuilds.
For backwards compatibility, eutils inherits the new eclass in
existing EAPIs.
|
|
|
|
|
|
|
|
|
|
|
| |
Split off functions make_desktop_entry, make_session_desktop, domenu,
newmenu, doicon, and newicon from eutils.eclass into a dedicated
desktop.eclass. These functions are independent of the rest of eutils,
therefore moving them into their own eclass will help clarifying
eclass inheritance in ebuilds.
For backwards compatibility, eutils inherits the new eclass in
existing EAPIs.
|
|
|
|
|
| |
This function is no longer used in the tree. It was deprecated more
than 8 months ago in commit 650a1ebe8f63d3750908142e2117b24a8efc9403.
|
|
|
|
| |
This is an inoperative stub since 2011, and no longer used in the tree.
|
|
|
|
| |
Acked-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Split the epunt_cxx (plus internal code) to a dedicated eclass. This is
rarely needed, usually indicates a dead upstream and requires
the ELT-patches framework. The patches are going to be split to
a separate package, and the new eclass will therefore need to DEPEND
on it. We do not want the dependency to apply to all eutils users
though.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the prune_libtool_files into a dedicated ltprune.eclass.
The function is quite complex and depends on toolchain-funcs. It has
a separate maintainer, is not useful to non-autotools ebuilds, and even
there it is frequently replaced by the simpler 'find ... -delete' call.
The new eclass is implicitly inherited by eutils in EAPI 6 and older
in order to preserve compatibility with existing ebuilds. However, all
ebuilds should switch to inheriting it directly.
The split has been suggested by Ulrich Müller.
|
|
|
|
|
| |
Make the substitution errors in prune_libtool_files logic fatal to avoid
the dependency of eqawarn. They're extremely unlikely to happen anyway.
|
|
|
|
|
|
|
|
| |
Remove the unnecessary Prefix logic from prune_libtool_files(). There is
no functional difference between starting a find in ${D} and ${ED}
(since ${D} is not supposed to contain other directories on a Prefix
system), and using the latter implies unnecessary hackery for older
EAPIs.
|
|
|
|
|
|
|
| |
The multilib.eclass seems not to be used by any eutils function.
Therefore, disable the inherit for EAPI 7. It is being preserved for
older EAPIs not to break ebuilds inheriting this eclass and using
multilib.eclass functions implicitly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move epatch and epatch_user (along with the descriptions for all their
variables) into a dedicated epatch.eclass. This function is very
complex, therefore it benefits from separate eclass and a dedicated
maintainer. Furthermore, it is mostly obsoleted by eapply* in EAPI 6.
The new eclass is implicitly inherited by eutils to preserve
compatibility. However, the inherit will be removed in EAPI 7,
and the ebuilds should switch to inheriting epatch directly or using
eapply*.
Thanks to Ulrich Müller for doing the necessary research.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split the estack_* and related functions from eutils into a dedicated
estack.eclass. Those functions have significant complexity and are not
used frequently, therefore they benefit from having a separate file
and an explicit dedicated maintainer.
The new eclass is implicitly inherited by eutils to preserve
compatibility. However, the inherit will be removed in EAPI 7,
and the ebuilds should switch to using estack directly.
Thanks to Ulrich Müller for doing the research on this.
|
|
|
|
|
|
| |
The validate_desktop_entries function is redundant to the built-in
.desktop file checks done by Portage directly. It is used in total by
two packages for both of which bugs have been filed.
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
|
|
|
| |
protection check
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/3298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As part of the user requested feature from [Gentoo-Bug #543878]
eutils.eclass shows a warning regarding user applied patches in case of an
error [Link 1].
However this warning will always be shown even if no user patch were
applied at all (example: empty /etc/portage/<cat>/<pkg> directory).
This commit adds a new global variable "EPATCH_N_APPLIED_PATCHES" which
tracks the number of applied user patches. This allows us to only show the
notice when user patches were really applied.
Link: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.443&r2=1.444
Gentoo-Bug: https://bugs.gentoo.org/543878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Excluding xorg.freedesktop.org
* Excluding tango.freedesktop.org
The following modified ebuilds were found to have problems after modification
but the problems were determined to not be a regression.
Upstream tarball has a new hash:
* app-misc/evtest-1.29
* app-misc/evtest-1.30
* dev-embedded/scratchbox2-2.0-r1
* dev-ml/cairo-ocaml-1.2.0
* net-libs/libqmi-1.0.0
* sys-auth/libfprint-0.4.0
* sys-auth/libfprint-0.5.0
* sys-auth/libfprint-0.5.1
Upstream tarball has been deleted:
* dev-libs/liblazy-0.2
* dev-util/pkgconfig-openbsd-20130507-r1
* x11-libs/xvba-video-0.8.0-r3
* x11-misc/driconf-0.9.1-r1
* x11-misc/xdg-utils-1.1.0_rc2-r1
|
|
|
|
|
|
| |
/etc/portage/patches/$CAT/$PN:$SLOT. Bug #574966.
This makes it similar to what portage does with eapply_user.
|
|
|
|
|
| |
-z $* tests whether any args are non-empty, not whether any where
specified. Check $# instead for accurate results.
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
| |
|