| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As previously proposed [1, 2], this makes io-uring a global use flag.
This commit is based on the patch of Filip Kobierski [3]. However, I was
unable to "git am" the patch and hence had to re-create it.
1: https://archives.gentoo.org/gentoo-dev/VfAkSpK_AjO5266_d85GO7TcwH6VCJMISOguwDg9kRwbvbjkM9YqOqcIsaKYozvjcyQmjv8id4ExBpR2DWT3Hkhw0puC_Zumj9QRw8sZBV4=@pm.me/
2: https://archives.gentoo.org/gentoo-dev/20250101224031.15263-1-fkobi@pm.me/
3: https://archives.gentoo.org/gentoo-dev/20250101224031.15263-5-fkobi@pm.me/
Co-authored-by: Filip Kobierski <fkobi@pm.me>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Signed-off-by: Filip Kobierski <fkobi@pm.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the "vpx" flag global, as it is used semi-consistently across
a number of packages to enable VP8/VP9 decoding (and/or encoding),
using media-libs/libvpx. Remove the redundant descriptions where they
don't add helpful information.
This was originally proposed in 2010, but was not followed through:
https://archives.gentoo.org/gentoo-dev/201007311337.40902.hanno@gentoo.org/
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This comes up often enough to justify it. Some packages have been always
disabling this given there wasn't convention or wisdom on how to handle it,
but this helps to provide that.
See https://public-inbox.gentoo.org/gentoo-dev/87ttftr9ay.fsf@gentoo.org/.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Thomas Bettler <thomas.bettler@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Add a global time64 flag that is forced on time64 profiles and masked
elsewhere. This flag will be used to toggle the default _TIME_BITS
value in sys-devel/gcc, and also to toggle between different archives
in *-bin packages (e.g. dev-python/pypy*-exe-bin).
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
|
|
|
| |
Add a global http2 flag to enable HTTP/2 protocol support. It is used
consistently in 9 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34786
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Add a global `modules-compress` flag that controls installing compressed
kernel modules. The primary purpose of this flag is to make it possible
to install uncompressed modules while preserving module decompression
support in the prebuilt dist-kernel.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add a global USE=cuda. It is used semi-consistently in 39 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34348
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add a global USE=asm. It is used consistently in 16 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34330
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add a global USE=egl flag. It is used semi-consistently in 13 packages,
though some use it as "EGL only" flag (there is also one using
USE=egl-only).
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a global USE=gles2 flag, to enable GLES 2 support (as a companion
to USE=gles2-only). It seems to be used consistently in 16 packages,
though for some it also enables GLES 3).
Technically there are also `gles1` and `gles3` flags in the wild
but they are used by a few packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Add a global USE=lto flag. The flag is used semi-consistently in 31
packages, with a few adding extra information. That said, probably
many of these uses are invalid, as they are equivalent to adding
`-flto` to CFLAGS.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add a global USE=opencl flag. The flag is used consistently in 30
packages, and most of them do not provide any additional information
worth preserving.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Make USE=otf and USE=ttf global USE flags, for installing specific font
types. Both flags are used consistently in 6 packages, plus USE=otf
in one more with extra information.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Add a global USE=sid. It is used consistently in 8 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add a global USE=speech. It is used in 29 packages, the most of them
precisely matching the description. I've left local descriptions where
they provide additional useful information.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the `native-extensions` flag global. It is used in 15 Python
packages to enable building optional C extensions, though the global
description also allows for other "native" and "pure" languages.
In 9 cases, the flag description explicitly mentions "speedups", so this
is the primary case used in global description. There is one case
of the extension providing extra features, and the remaining cases
do not explain its role.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Make `lzip` a global flag. It is used consistently in 6 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Make `brotli` a global flag. It is used consistently by 17 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
Make `jpegxl` a global flag for JPEG XL image support. It is used
consistently in 12 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
Make `avif` a global flag for AV1 Image Format support. It is used
consistently in 7 packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similarly to gyakovlev's proposition for signing back in 2018 (with
a module-sign IUSE), linux-mod-r1.eclass will make use of this to
enable/disable signing and it would be inconvenient if consumers
had to define it.
An alternative could be to automagic enable when the kernel has
"sign by default" a bit like compression is handled -- albeit this
can sometime need more configuration and may be unexpected (i.e.
permissions for keys, if keys were moved to a different locations,
passphrases, and dist-kernels unsurprisingly don't install the
private key and would result in failure out-of-the-box).
Having a USE also makes it more obvious that support exists,
and attempting to enable will give bit of explanations if anything
is amiss.
Name-wise, debated between this and 'sign-modules' but fwiw former
sorts better with the already existing 'modules'.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Primarily intended for use by linux-mod-r1.eclass, which needs
a global IUSE to control stripping of kernel modules *before*
signatures and compression (alternative would be to simply never
strip, but that seem sub-optimal).
Originally meant to be USE=modules-strip or similar, but this can
have a more general use case when portage does not know how to
strip special files properly while the ebuild does.
Notable is mingw ebuilds (wine-*, dxvk, vkd3d-proton, mingw64-*).
If portage uses x86_64-pc-linux-strip on, e.g. mingw64-toolchain's
runtime libraries, then at least the 32bit toolchain ends up broken
and cannot compile anything anymore. But then dostrip -x results in
unstripped files while we can use x86_64-w64-mingw32-strip in the
ebuild potentially saving 60MB+. Currently this is done through
USE=debug, but does not feel fully fitting given this is not about
adding debugging paths (or even symbols, or anything) and is merely
"do not strip".
No USE in ::gentoo currently contain the word "strip" and defining
it should not conflict.
To be clear, this USE should /only/ be used in situations where
the alternative would be needing to not strip at all -- stripping
should be done by the package manager whenever it is possible.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
|
|
|
|
| |
Thanks to leio for this improved phrasing.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable support for freedesktop.org Secret Service API password store
Previous discussions:
https://archives.gentoo.org/gentoo-dev/message/5c127aed355ee19d15ac38e114097f74
https://archives.gentoo.org/gentoo-dev/message/6005bcbec69709b02f1ed0f678e2ae46
Closes: https://github.com/gentoo/gentoo/pull/31035
Bug: https://bugs.gentoo.org/829730
Bug: https://bugs.gentoo.org/905928
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This always has the same meaning in packages - build in annotations to help
with e.g. custom memory allocators to reduce noise and improve Valgrind's accuracy.
All invalid uses of this were already fixed (cases where it was used to control
running the testsuite under Valgrind which we don't want to do, it's too flaky
under sandbox & not reliable with diff arches.)
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Used by 20 packages.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/698922
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Introduce a test-rust flag to control important test dependencies that
require Rust. This flag is forced in regular profiles since we want
to run these tests but masked in wd40 profiles to avoid unresolved
dependencies.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/838970
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/744622
Bug: https://bugs.gentoo.org/818253
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/26408
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
| |
The "security risks" associated with the suid USE flag vary by package,
and are often a matter of opinion. Let's just stick with a message
stating what the USE flag does (generally).
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/820905
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|