| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
| |
EAPI 6 has eapply_user which should be used instead.
|
|
|
|
| |
#517752
|
|
|
|
|
| |
Disable in_iuse and einstalldocs in EAPIs other than {0..5} since they
are now part of EAPI.
|
|
|
|
|
| |
This should make the log a bit more clear as to the exact flags that are
used when calling patch when people review the log after the fact.
|
|
|
|
|
|
|
|
|
| |
This is particularly useful for people who run alternative
package managers and want to control their configuration.
Reviewed-By: SpanKY <vapier@gentoo.org>
Gentoo-Bug: 559698
Github-PR: https://github.com/gentoo/gentoo/pull/69
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
|