[gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-08 Thread Ionen Wolkens
Sending this to dev ML in advance given it's simple and "probably" won't need to change the code further. If interested in the whole deal, see the PR instead: https://github.com/gentoo/gentoo/pull/40942 --- (actual commit message below) Both the slotting method and eclass are meant to be as simp

[gentoo-dev] Last rites: app-portage/pgo

2025-03-08 Thread Arthur Zamarin
# Arthur Zamarin (2025-03-08) # EAPI=7. Broken CLI for packages.g.o. # Removal on 2025-04-07. app-portage/pgo OpenPGP_signature.asc Description: OpenPGP digital signature

Re: [gentoo-dev] [PATCH 4/5] cargo.eclass: Enable dynamic linking by default

2025-03-08 Thread James Le Cuirot
On Sat, 2025-03-08 at 15:59 +0200, Arthur Zamarin wrote: > From: Michal Rostecki > > Rust defaults to static linking (`-C target-feature=+crt-static`) on > musl targets. We already patch dev-lang/rust to always prefer dynamic > linking, but to ensure that behavior with dev-lang/rust-bin, set the

[gentoo-dev] [PATCH] profiles: force llvm USE-flag for Zig on unsupported targets

2025-03-08 Thread Eric Joldasov
Add an allowlist of targets where Zig can bootstrap itself without LLVM, and allow disabling `llvm` USE-flag only on that targets. Saves users from cryptic errors when they unknowingly try to use it on ARM or other architecture, and help a little bit with future keywording. Signed-off-by: Eric Jo

[gentoo-dev] Last rites: sys-apps/openrc-navi

2025-03-08 Thread Sam James
# Anna (navi) Figueiredo Gomes (2025-03-08) # User services is merged and released in openrc-0.60, this fork # is now unmaintained and superseded. # Removal on 2025-04-08. Bug #950367 sys-apps/openrc-navi

[gentoo-dev] [PATCH 5/5] cargo.eclass: use static.crates.io cdn

2025-03-08 Thread Arthur Zamarin
From: swomf Starting from 2024-03-12, cargo began to download crates directly from static.crates.io CDN servers worldwide. See https://blog.rust-lang.org/2024/03/11/crates-io-download-changes.html Signed-off-by: swomf Closes: https://github.com/gentoo/gentoo/pull/40944 Signed-off-by: Arthur Zam

[gentoo-dev] [PATCH 4/5] cargo.eclass: Enable dynamic linking by default

2025-03-08 Thread Arthur Zamarin
From: Michal Rostecki Rust defaults to static linking (`-C target-feature=+crt-static`) on musl targets. We already patch dev-lang/rust to always prefer dynamic linking, but to ensure that behavior with dev-lang/rust-bin, set the opposite option (`-C target-feature=-crt-static`) in RUSTFLAGS. Bu

[gentoo-dev] [PATCH 3/5] rust.eclass: add documentation for RUST_{SLOT,TYPE}

2025-03-08 Thread Arthur Zamarin
Signed-off-by: Arthur Zamarin --- eclass/rust.eclass | 12 1 file changed, 12 insertions(+) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index f69ea466f50..41197ce4e3a 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -144,6 +144,18 @@ declare -a -g -r _RUST_SLOTS_

[gentoo-dev] [PATCH 2/5] rust.eclass: fix typos

2025-03-08 Thread Arthur Zamarin
Signed-off-by: Arthur Zamarin --- eclass/rust.eclass | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index 9ead9d00570..f69ea466f50 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -12,12 +12,12 @@

[gentoo-dev] [PATCH 1/5] cargo.eclass: fix typos

2025-03-08 Thread Arthur Zamarin
Signed-off-by: Arthur Zamarin --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 25a2127f639..909321c355b 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -181,7 +181,7 @@ ECARGO_VENDOR="${EC

[gentoo-dev] [PATCH 0/5] Various rust/cargo eclass improvements

2025-03-08 Thread Arthur Zamarin
This patchset contains various improvements to the rust and cargo eclasses, including typo fixes and documentation improvements. Main changes are: * use dynamic linking by default in cargo.eclass (important for rust-bin on musl where it was previous broken) * use static.crates.io CDN in cargo.e