| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Sven Wegener <swegener@gentoo.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Closes: https://bugs.gentoo.org/630874
|
|
|
|
| |
Bug: https://bugs.gentoo.org/630626
|
|
|
|
| |
Bug: https://bugs.gentoo.org/630626
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Gentoo-Bug: https://bugs.gentoo.org/469414
|
|
|
|
|
| |
Credit: Martin Mokrejš
Bug: 608234
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
bug 630428)
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/5651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
also apply the pattern substitution to beginning of lines.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Simply inline the 2 (two!) header lines instead.
Bug: 416739
|
| |
|
| |
|
|
|
|
| |
global scope. Closes bug 629106.
|
|
|
|
| |
All EAPI0 gnustep ebuilds were updated or dropped
|
|
|
|
| |
Bug: http://bugs.gentoo.org/591438
|
|
|
|
| |
variable
|
| |
|
|
|
|
|
|
|
| |
-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>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Gentoo-bug: 620766
Closes: #5470
|