[gentoo-dev] [PATCH 8/8] distutils-r1.eclass: Support cross-compiling with PyO3

2024-07-25 Thread James Le Cuirot
Only one variable needs to be set. For details, see https://pyo3.rs/latest/building-and-distribution.html#cross-compiling. Signed-off-by: James Le Cuirot --- eclass/distutils-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 7/8] distutils-r1.eclass: Add python_get_stdlib helper function

2024-07-25 Thread James Le Cuirot
This is just like python_get_sitedir, but it returns the stdlib directory such as /usr/lib/python3.12. This is useful for locating the sysconfigdata file. Signed-off-by: James Le Cuirot --- eclass/python-utils-r1.eclass | 23 +++ 1 file changed, 23 insertions(+) diff --git

[gentoo-dev] [PATCH 6/6] distutils-r1.eclass: Use cargo_env when appropriate for flag handling

2024-07-25 Thread James Le Cuirot
cargo_env handles linker flags and enables cross-compiling. It also handles LTO filtering, so we can remove that from this eclass. Signed-off-by: James Le Cuirot --- eclass/distutils-r1.eclass | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/eclass/distutils

[gentoo-dev] [PATCH 5/6] cargo.eclass: Shadow flag variables so that LTO filtering remains local

2024-07-25 Thread James Le Cuirot
This is currently done for Cargo by distutils-r1.eclass. The next commit will remove that code, leaving cargo_env responsible for it. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass

[gentoo-dev] [PATCH 4/6] cargo.eclass: Explicitly tell rustc not to strip binaries

2024-07-25 Thread James Le Cuirot
Most projects don't strip binaries in release mode by default, but there are exceptions like app-misc/broot. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH 3/6] cargo.eclass: Handle LDFLAGS and RUSTFLAGS better

2024-07-25 Thread James Le Cuirot
host. It should not be necessary for ebuilds to figure out which Rust ABI is applicable in order to set flags only for the target host, so the helper reads from a simple CARGO_TARGET_RUSTFLAGS variable without the triple for convenience. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 65

[gentoo-dev] [PATCH 2/6] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-25 Thread James Le Cuirot
are now kept local to each invocation of this helper, preventing leakage. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index aab28dbbac167

[gentoo-dev] [PATCH 1/6] cargo.eclass: Use newer Cargo config file name

2024-07-25 Thread James Le Cuirot
"config" is deprecated and "config.toml" has been valid for ages. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 7db34efb4e174..aab28dbbac167

[gentoo-dev] [PATCH v4 0/6] cargo.eclass: Handle LDFLAGS and RUSTFLAGS better

2024-07-25 Thread James Le Cuirot
Sorry for yet another iteration of this. I noticed that the build host flags were not being applied to rustc when cross-compiling. Upon investigation, I found that this isn't actually possible right now. I have reworked it to be close to what we need when it does become possible. James Le Cuirot

Re: [gentoo-dev] [PATCH 4/5 v3] cargo.eclass: Shadow flag variables so that LTO filtering remains local

2024-07-25 Thread Sam James
James Le Cuirot writes: > Signed-off-by: James Le Cuirot > --- > eclass/cargo.eclass | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass > index 44d3f7ee31f59..9f0bffee0e048 100644 > --- a/eclass/cargo.eclass >

Re: [gentoo-dev] [PATCH 1/5 v3] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-25 Thread Sam James
James Le Cuirot writes: > Rust packages have a tendency to rebuild parts during test and install. > It is not clear whether this can be addressed. We were therefore relying > on some environment variables set during the compile phase for > cross-compiling to work in the

[gentoo-dev] [PATCH 5/5 v3] distutils-r1.eclass: Use cargo_env when appropriate for flag handling

2024-07-25 Thread James Le Cuirot
cargo_env handles linker flags and enables cross-compiling. It also handles LTO filtering, so we can remove that from this eclass. Signed-off-by: James Le Cuirot --- eclass/distutils-r1.eclass | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/eclass/distutils

[gentoo-dev] [PATCH 4/5 v3] cargo.eclass: Shadow flag variables so that LTO filtering remains local

2024-07-25 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 44d3f7ee31f59..9f0bffee0e048 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -532,7 +532,16 @@ cargo_src_configure

[gentoo-dev] [PATCH 3/5 v3] cargo.eclass: Explicitly tell rustc not to strip binaries

2024-07-25 Thread James Le Cuirot
Most projects don't strip binaries in release mode by default, but there are exceptions like app-misc/broot. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH 2/5 v3] cargo.eclass: Handle LDFLAGS and RUSTFLAGS better

2024-07-25 Thread James Le Cuirot
use of CARGO_BUILD_RUSTFLAGS while cross-compiling, but as far as I can tell, it should work. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 47 +++-- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/eclass/cargo.eclass b/eclass

[gentoo-dev] [PATCH 1/5 v3] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-25 Thread James Le Cuirot
are now kept local to each invocation of this helper, preventing leakage. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 7db34efb4e174

Re: [gentoo-dev] [PATCH 1/3] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-25 Thread James Le Cuirot
On Wed, 2024-07-24 at 18:14 -0400, Eli Schwartz wrote: > On 7/24/24 6:07 PM, James Le Cuirot wrote: > > Rust packages have a tendency to rebuild parts during test and install. > > It is not clear whether this can be addressed. We were therefore relying > > on some environment

Re: [gentoo-dev] [PATCH] savedconfig.eclass: Drop support for EAPI 6

2024-07-25 Thread James Le Cuirot
On Thu, 2024-07-25 at 07:35 +0200, Ulrich Müller wrote: > Signed-off-by: Ulrich Müller > --- > eclass/savedconfig.eclass | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass > index cc5748543078..65a1f3bfd800

[gentoo-dev] [PATCH 3/3 v2] cargo.eclass: Explicitly tell rustc not to strip binaries

2024-07-24 Thread James Le Cuirot
Most projects don't strip binaries in release mode by default, but there are exceptions like app-misc/broot. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH 2/3 v2] cargo.eclass: Handle LDFLAGS and RUSTFLAGS better

2024-07-24 Thread James Le Cuirot
use of CARGO_BUILD_RUSTFLAGS while cross-compiling, but as far as I can tell, it should work. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 45 - 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/eclass/cargo.eclass b/eclass

[gentoo-dev] [PATCH 1/3 v2] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-24 Thread James Le Cuirot
are now kept local to each invocation of this helper, preventing leakage. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 7db34efb4e174

[gentoo-dev] [PATCH 3/3] cargo.eclass: Explicitly tell rustc not to strip binaries

2024-07-24 Thread James Le Cuirot
Most projects don't strip binaries in release mode by default, but there are exceptions like app-misc/broot. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH 2/3] cargo.eclass: Handle LDFLAGS and RUSTFLAGS better

2024-07-24 Thread James Le Cuirot
use of CARGO_BUILD_RUSTFLAGS while cross-compiling, but as far as I can tell, it should work. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 47 - 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/eclass/cargo.eclass b/eclass

[gentoo-dev] [PATCH 1/3] cargo.eclass: Add cargo_env helper and use it in compile, test, install

2024-07-24 Thread James Le Cuirot
are now kept local to each invocation of this helper, preventing leakage. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 7db34efb4e174

[gentoo-dev] Last rites: app-accessibility/epos

2024-07-24 Thread Sam James
# Sam James (2024-07-24) # Fails to build with GCC 15, several open bugs # including test failures. Unpackaged by others. # Removal on 2024-08-23. Bug #936581. app-accessibility/epos signature.asc Description: PGP signature

[gentoo-dev] [PATCH 8/8] dev-lang/go: Use go-env.eclass in 1.22.5 and 9999

2024-07-09 Thread James Le Cuirot
This deduplicates some helper functions. Signed-off-by: James Le Cuirot --- dev-lang/go/go-1.22.5.ebuild | 65 +--- dev-lang/go/go-.ebuild | 65 +--- 2 files changed, 18 insertions(+), 112 deletions(-) diff --git a/dev-lang

[gentoo-dev] [PATCH 7/8] go-env.eclass: Add the go-env_goos() helper function

2024-07-09 Thread James Le Cuirot
This code is taken from dev-lang/go. No other packages have code like this, but some erroneously call `go env GOOS`, which is bad for cross-compiling. They should use this function instead. Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 18 ++ 1 file changed, 18

[gentoo-dev] [PATCH 6/8] go-env.eclass: Rewrite the go-env_goarch() logic

2024-07-09 Thread James Le Cuirot
The previous logic was flawed, incomplete, and needlessly made use of USE flags. We can rely on the tuple instead. Tested against all the tuples we have in our profiles. Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 32 +--- 1 file changed, 17 insertions

[gentoo-dev] [PATCH 5/8] go-env.eclass: Establish EAPI 7 and 8 as supported

2024-07-09 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/eclass/go-env.eclass b/eclass/go-env.eclass index 1a2c9787a146b..c34c634bb6003 100644 --- a/eclass/go-env.eclass +++ b/eclass/go-env.eclass @@ -6,11 +6,17

[gentoo-dev] [PATCH 4/8] golang-base.eclass: Drop support for EAPI 5 and 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-base.eclass | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index 4bba00200cfc9..a2996e3b06836 100644 --- a/eclass/golang-base.eclass

[gentoo-dev] [PATCH 3/8] golang-build.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-build.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass index 235313bd70f5d..b5218ce36572f 100644 --- a/eclass/golang-build.eclass

[gentoo-dev] [PATCH 2/8] golang-vcs-snapshot.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-vcs-snapshot.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-vcs-snapshot.eclass b/eclass/golang-vcs-snapshot.eclass index d34b8a6e913da..a91ddbbe36150 100644 --- a/eclass

[gentoo-dev] [PATCH 1/8] golang-vcs.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-vcs.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass index 6f7a837bc15fd..dee040505d237 100644 --- a/eclass/golang-vcs.eclass +++ b

Re: [gentoo-dev] Last rites: games-arcade/{spacerider,tuxdash,xsfcave}

2024-07-02 Thread James Le Cuirot
On Tue, 2024-07-02 at 14:39 +0400, Vitaly Zdanevich wrote: > > On 7/2/24 14:12, Sam James wrote: > > > > Vitaly Zdanevich writes: > > > > > > > > Ancient > > > > > > Oh, ancient games are sooo bad, no ray tracing, no soul. > &

Re: [gentoo-dev] Last rites: games-arcade/{spacerider,tuxdash,xsfcave}

2024-07-02 Thread Sam James
Vitaly Zdanevich writes: >> Ancient > > Oh, ancient games are sooo bad, no ray tracing, no soul. Please see https://wiki.gentoo.org/wiki/Project:Council/Code_of_conduct.

[gentoo-dev] Last rites: games-arcade/{spacerider,tuxdash,xsfcave}

2024-07-01 Thread James Le Cuirot
# James Le Cuirot (2024-07-01) # Ancient, dead upstream, generally awful. # Removal on 2024-08-01. Bugs #935307, #935308, #935309. games-arcade/spacerider games-arcade/tuxdash games-arcade/xsfcave signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] unpacker.eclass: Drop support for EAPI 6

2024-07-01 Thread James Le Cuirot
On Mon, 2024-07-01 at 23:36 +0200, Ulrich Müller wrote: > Signed-off-by: Ulrich Müller > --- > eclass/unpacker.eclass | 11 --- > 1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass > index 2957ca02d3f4..91520a36d16a 100644 >

[gentoo-dev] Reviewing ebuilds with git

2024-06-30 Thread Sam James
.1872437-1-...@gentoo.org From 2b9b8903fcc3815415f0d22a4646794757fc001a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 16 Feb 2024 22:07:54 + Subject: [PATCH 1/2] diff: implement config.diff.renames=copies-harder This patch adds a config value for 'diff.renames' called 'copies-harder' which make

Re: [gentoo-dev] Re: Notion of stable depgraph vs stable keywords (Re: Arch Status and Future Plans)

2024-06-27 Thread Sam James
Duncan <1i5t5.dun...@cox.net> writes: > Sam James posted on Wed, 26 Jun 2024 01:06:12 +0100 as excerpted: > >> Arthur Zamarin writes: >> >>> As you all know, Gentoo supports many various arches, in various >>> degrees (stable, dev, exp). Let me expla

Re: [gentoo-dev] [PATCH 1/5] gui-libs/gtk: add a "poison" macro support to disable X/wayland

2024-06-26 Thread Sam James
Eli Schwartz writes: > On 6/26/24 5:03 AM, Sam James wrote: >> Eli Schwartz writes: >> >>> Many packages perform automagic dependencies on gdk's backend >>> implementations by checking if the macro is defined and then using the >>> code it unlock

Re: [gentoo-dev] [PATCH 1/5] gui-libs/gtk: add a "poison" macro support to disable X/wayland

2024-06-26 Thread Sam James
Eli Schwartz writes: > Many packages perform automagic dependencies on gdk's backend > implementations by checking if the macro is defined and then using the > code it unlocks, rather than having a buildsystem option such as > -Dwayland=true. > Doesn't gtk3 need this too? Also, could we have an

Re: [gentoo-dev] [PATCH 0/5] Fixing automagic dependencies on gtk[wayland,X],

2024-06-26 Thread Sam James
Eli Schwartz writes: > There is a bug in how gtk 3 and gtk 4 are built against by other > packages. GTK supports optionally enabling X and wayland support -- when > you do so, the ABI of GTK changes. The series looks good to me, but I'd like leio to ack it before we merge it. It's not ideal,

x86 FP issues (Re: [gentoo-dev] Arch Status and Future Plans)

2024-06-25 Thread Sam James
Arthur Zamarin writes: > Hi all, this will be a long mail, and might be confusing, I'll try to > organize it, but this is a mess, so bear with me. > [...] > 32-bit arches > > This includes stable arches x86, arm, ppc, sparc32, dev arches s390, and > maybe more. Those are in

time64 & LFS for 32-bit arches (Re: [gentoo-dev] Arch Status and Future Plans)

2024-06-25 Thread Sam James
Arthur Zamarin writes: > Hi all, this will be a long mail, and might be confusing, I'll try to > organize it, but this is a mess, so bear with me. > > 32-bit arches > > This includes stable arches x86, arm, ppc, sparc32, dev arches s390, and > maybe more. Those are in much

On the value (or not?) of stable keywords (Re: [gentoo-dev] Arch Status and Future Plans)

2024-06-25 Thread Sam James
Arthur Zamarin writes: > Hi all, this will be a long mail, and might be confusing, I'll try to > organize it, but this is a mess, so bear with me. > > [...] > 32-bit arches > > This includes stable arches x86, arm, ppc, sparc32, dev arches s390, and > maybe more. Those are in

Misc arch plans (Re: [gentoo-dev] Arch Status and Future Plans)

2024-06-25 Thread Sam James
Arthur Zamarin writes: > Hi all, this will be a long mail, and might be confusing, I'll try to > organize it, but this is a mess, so bear with me. > > [...] > > 32-bit arches > > This includes stable arches x86, arm, ppc, sparc32, dev arches s390, and > maybe more. Those are in

Notion of stable depgraph vs stable keywords (Re: [gentoo-dev] Arch Status and Future Plans)

2024-06-25 Thread Sam James
Arthur Zamarin writes: > Hi all, this will be a long mail, and might be confusing, I'll try to > organize it, but this is a mess, so bear with me. Absolutely - thanks for doing this. I'm going to split my replies with alt subject to help keep it organised. > > As you all know, Gentoo supports

Re: [gentoo-dev] Arch Status and Future Plans

2024-06-25 Thread James Le Cuirot
On Tue, 2024-06-25 at 20:33 +0300, Arthur Zamarin wrote: > x86 > > Stable 32-bit arch. I'll be honest, I don't believe at all this should > be stable arch anymore. I propose making it dev arch, and mass-dekeyword > stuff we got because of inertia. This arch is close to HW die.

Re: [gentoo-dev] [PATCH 0/5] Fixing automagic dependencies on gtk[wayland,X],

2024-06-23 Thread James Le Cuirot
On Sun, 2024-06-23 at 13:35 -0400, Eli Schwartz wrote: > There is a bug in how gtk 3 and gtk 4 are built against by other > packages. GTK supports optionally enabling X and wayland support -- when > you do so, the ABI of GTK changes. > > It is historically common for X11 packages to check for a

[gentoo-dev] Last rites: games-util/xgame and games-util/xgame-gtk2

2024-06-20 Thread James Le Cuirot
# James Le Cuirot (2024-06-20) # Ancient, dead upstream, X11-based, probably doesn't work any more, and there # are better ways of running games in different sessions now. # Removal on 2024-07-20. Bug #934640. games-util/xgame games-util/xgame-gtk2 signature.asc Description

[gentoo-dev] Last rites: games-strategy/majesty-demo

2024-06-20 Thread James Le Cuirot
# James Le Cuirot (2024-06-20) # Apparently a good game, but you cannot buy the full Linux version any more. # Get the HD version from Steam or the Windows original from GOG instead. # Removal on 2024-07-20. Bug #934637. games-strategy/majesty-demo signature.asc Description

Re: [gentoo-dev] [PATCH] cargo.eclass: Add cargo_target_dir helper function

2024-06-15 Thread James Le Cuirot
On Sat, 2024-06-15 at 17:56 -0400, Ionen Wolkens wrote: > On Sat, Jun 15, 2024 at 08:14:34PM +0200, Florian Schmaus wrote: > > On 13/06/2024 17.03, James Le Cuirot wrote: > > > Several Cargo-based ebuilds cannot use cargo_src_install for various > > > reasons and man

[gentoo-dev] [PATCH v2] cargo.eclass: Add cargo_target_dir helper function

2024-06-15 Thread James Le Cuirot
. There are some multilib Cargo-based ebuilds that always set the target ABI, even when not cross-compiling. It would be simpler to do this in general, so once ebuilds have been updated to use this new helper, I might change the eclass again accordingly. Signed-off-by: James Le Cuirot --- eclass

Re: [gentoo-dev] [PATCH] cargo.eclass: Add cargo_target_dir helper function

2024-06-14 Thread James Le Cuirot
On Thu, 2024-06-13 at 21:32 +, Lucio Sauer wrote: > On Thu, Jun 13, 2024 at 04:03:44PM +0100, James Le Cuirot wrote: > > Several Cargo-based ebuilds cannot use cargo_src_install for various > > reasons and manually install binaries from within the target directory > >

[gentoo-dev] [PATCH] cargo.eclass: Add cargo_target_dir helper function

2024-06-13 Thread James Le Cuirot
. There are some multilib Cargo-based ebuilds that always set the target ABI, even when not cross-compiling. It would be simpler to do this in general, so once ebuilds have been updated to use this new helper, I might change the eclass again accordingly. Signed-off-by: James Le Cuirot --- eclass

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Add tc-has-64bit-time_t

2024-06-13 Thread James Le Cuirot
On Thu, 2024-06-13 at 17:23 +0200, Michał Górny wrote: > Add a helper function to check whether time_t is 64-bit. This could > be used e.g. to deselect tests that rely on timestamps exceeding Y2k38. > It is meant to be more future-proof than hardcoding a list of 32-bit > architectures, given the

[gentoo-dev] Up for grabs: dev-libs/protobuf, dev-python/protobuf-python, dev-java/protobuf-java

2024-06-12 Thread Sam James
Hi, The following packages are up for grabs because of proxied maintainer inactivity: * dev-libs/protobuf * dev-python/protobuf-python * dev-java/protobuf-java (technically still has java@) Please be aware that there's a rat's nest to be disentangled here. protobuf is tightly coupled with

[gentoo-dev] [PATCH v2 2/2] cargo.eclass: Enable cross-compiling by setting environment variables

2024-06-11 Thread James Le Cuirot
, which is often used to build non-Rust code. It uses the usual variables (CC, CFLAGS, etc) for the target. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH v2 1/2] cargo.eclass: Drop EAPI 7 support

2024-06-11 Thread James Le Cuirot
It is going to inherit rust-toolchain, which is EAPI 8 only. Closes: https://bugs.gentoo.org/715890 Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] Last rites: games-emulation/gcube

2024-06-09 Thread James Le Cuirot
# James Le Cuirot (2024-06-09) # Long dead upstream. Probably broken. Use games-emulation/dolphin instead. # Removal on 2024-07-09. Bug #739140. games-emulation/gcube signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: games-fps/wolfgl

2024-06-09 Thread James Le Cuirot
# James Le Cuirot (2024-06-09) # Super ancient and broken 32-bit only port. Package ECWolf instead. # Removal on 2024-07-09. Bug #926467. games-fps/wolfgl signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: games-strategy/darwinia-demo

2024-06-09 Thread James Le Cuirot
# James Le Cuirot (2024-06-09) # Download no longer available, license prevents mirroring. # Removal on 2024-07-09. Bug #791115. games-strategy/darwinia-demo signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 2/2] cargo.eclass: Enable cross-compiling by setting environment variables

2024-06-07 Thread James Le Cuirot
, which is often used to build non-Rust code. It uses the usual variables (CC, CFLAGS, etc) for the target. Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index

[gentoo-dev] [PATCH 1/2] cargo.eclass: Drop EAPI 7 support

2024-06-07 Thread James Le Cuirot
It is going to inherit rust-toolchain, which is EAPI 8 only. Signed-off-by: James Le Cuirot --- There are still some EAPI 7 ebuilds left right now, but I'm working on that! eclass/cargo.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cargo.eclass b/eclass

Re: [gentoo-dev] Imminent Python 3.12 switch reminder

2024-05-30 Thread Sam James
Martin Dummer writes: > Am 28.05.24 um 08:24 schrieb Michał Górny: >> If you're up for some more quick porting, right now's the time! > https://github.com/gentoo/gentoo/pull/36502 laying around for ~ 1 Month I see Flow's reviewed your PR (as has mgorny before now) but I plan on going over any

Re: [gentoo-dev] Last rites: sec-keys/openpgp-keys-jiatan

2024-05-30 Thread Sam James
Ulrich Mueller writes: >>>>>> On Wed, 29 May 2024, Sam James wrote: > >> # Sam James (2024-05-29) >> # OpenPGP key of malicious xz co-maintainer. This key is no longer used >> # by any ebuilds in tree. Removal on 2024-06-29. >> # Bug #928134.

Re: [gentoo-dev] Re: Last rites: sec-keys/openpgp-keys-jiatan

2024-05-30 Thread Sam James
Duncan <1i5t5.dun...@cox.net> writes: > Sam James posted on Wed, 29 May 2024 19:37:47 +0100 as excerpted: > >> # Sam James (2024-05-29) >> # OpenPGP key of malicious xz co-maintainer. This key is no longer used >> # by any ebuilds in tree. Removal on 2024-06-29.

[gentoo-dev] Last rites: sec-keys/openpgp-keys-jiatan

2024-05-29 Thread Sam James
# Sam James (2024-05-29) # OpenPGP key of malicious xz co-maintainer. This key is no longer used # by any ebuilds in tree. Removal on 2024-06-29. # Bug #928134. sec-keys/openpgp-keys-jiatan signature.asc Description: PGP signature

Re: [gentoo-dev] GCC 14 unleashed

2024-05-19 Thread Sam James
Sam James writes: Oh, and: > * The code was broken before (badly) [...] ... and therefore you should be revbumping for fixes. signature.asc Description: PGP signature

[gentoo-dev] GCC 14 unleashed

2024-05-19 Thread Sam James
Hi, As we discussed a bunch in #gentoo-toolchain over the last few weeks, GCC 14 is now in ~arch. We've spent the last > 2 years working on this and fixing lots of packages, but kind of reached the limit of how much a handful of people can do. This is kind of the analogue of the Clang post I

[gentoo-dev] Last rites: sci-libs/beagle

2024-05-16 Thread Sam James
# Eli Schwartz (2024-05-17) # Last updated in 2007, has no reverse dependencies, is unmaintained upstream # (in 2010 a version 4 alpha was released using cmake, the project has seen no # other activity upstream). Fails to build with dash, lto. # Bug #862669, #890423. # Removal on

Re: [gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands

2024-05-13 Thread Sam James
Florian Schmaus writes: > The motivation for this change is to allow edob to be used with noisy > commands, i.e., commands that produce a lot of output, in cases where > the output is in general not of interest. However, if the command > fails, the output should be shown and appear in build.log.

Re: [gentoo-portage-dev] [PATCH 0/2] Minor documentation fixups

2024-05-12 Thread Sam James
Bryan Gardiner writes: > Just fixes for a couple of small documentation issues I found. Applied - thanks! > > Bryan Gardiner (2): > depgraph.py: Fix the URL for the changed-deps wiki page > ebuild.5: Escape carats which are special to groff > > lib/_emerge/depgraph.py | 2 +- >

Re: [gentoo-dev] [PATCH] cargo.eclass: Optimize crate unpacking

2024-05-11 Thread Sam James
Michał Górny writes: > Unpack crates in parallel using xargs to utilize multicore systems > better. Perform checksumming via a single sha256sum invocation. > > For dev-python/watchfiles, this speeds up unpacking on my machine > from 2.6 s to 0.75 s (warm cache). > > Signed-off-by: Michał Górny

Re: [gentoo-dev] [PATCH] vdr-plugin-2.eclass: make qa warning conditional

2024-05-09 Thread Sam James
Martin Dummer writes: > Am 09.05.24 um 14:13 schrieb Sam James: > > Martin Dummer writes: > > > Maybe we can agree that the qa-warnings in vdr-eclass make more sense if i > change them to "eawarn" or "einfo"? > > > Sure, make them eqawa

Re: [gentoo-dev] [PATCH] vdr-plugin-2.eclass: make qa warning conditional

2024-05-09 Thread Sam James
Martin Dummer writes: > Am 03.05.24 um 06:39 schrieb Sam James: > > > What we really need is: > a) https://bugs.gentoo.org/162450 to avoid scaring users; > b) possibly some level of QA notice to distinguish between "check this > out" (think e.g. qa-vdb

[gentoo-dev] Last rites: net-irc/ninja

2024-05-08 Thread Sam James
# Eli Schwartz (2024-05-08) # Fails to configure with GCC 14, fails to install with older # gcc, unmaintained, upstream website vanished. # Bug #731180, #861461, #888577, #889930. # Removal on 2024-06-08. net-irc/ninja signature.asc Description: PGP signature

[gentoo-dev] Last rites: dev-perl/Net-Twitter

2024-05-06 Thread Sam James
# Sam James (2024-05-06) # Long-deprecated upstream, replaced by (unpackaged) Twitter::API. # Twitter's API has changed at least once since the last release of Net::Twitter. # Removal on 2024-06-05. Bug #931295. dev-perl/Net-Twitter signature.asc Description: PGP signature

[gentoo-dev] Last rites: media-libs/lastfmlib

2024-05-06 Thread Sam James
# Sam James (2024-05-06) # Incompatible with latest last.fm APIs, hence useless. # Removal on 2024-06-05. Bug #928115. media-libs/lastfmlib signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH v2] 2024-05-03-wireplumber-0_5-bump: add news item

2024-05-03 Thread James Calligeros
On Sat, May 4, 2024 at 1:30 PM Sam James wrote: > If you feel it'd be useful to commit pw+wp masked before then, we can, > but my gut is that it isn't. I see no reason to do so either. > Thanks again for working on this. No worries at all :) > best, > sam Regards, James

Re: [gentoo-dev] [PATCH v2] 2024-05-03-wireplumber-0_5-bump: add news item

2024-05-03 Thread Sam James
James Calligeros writes: > Signed-off-by: James Calligeros > --- > .../2024-05-03-wireplumber-0_5-bump.en.txt| 25 +++ > 1 file changed, 25 insertions(+) > create mode 100644 > 2024-05-03-wireplumber-0_5-bump/2024-05-03-wireplumber-0_5-bump.en.txt > &

[gentoo-dev] [PATCH v2] 2024-05-03-wireplumber-0_5-bump: add news item

2024-05-03 Thread James Calligeros
Signed-off-by: James Calligeros --- .../2024-05-03-wireplumber-0_5-bump.en.txt| 25 +++ 1 file changed, 25 insertions(+) create mode 100644 2024-05-03-wireplumber-0_5-bump/2024-05-03-wireplumber-0_5-bump.en.txt diff --git a/2024-05-03-wireplumber-0_5-bump/2024-05-03

Re: [gentoo-dev] [PATCH 1/2] gnuconfig.eclass: add GNUCONFIG_DEPEND

2024-05-03 Thread Sam James
Arsen Arsenović writes: > Sam James writes: > >> The motivation here is to allow autotools.eclass consumers setting >> AUTOTOOLS_AUTO_DEPEND=no to not have a useless gnuconfig dependency. > > series looks ok to me thanks!

Re: [gentoo-dev] [PATCH 1/2] gnuconfig.eclass: add GNUCONFIG_DEPEND

2024-05-03 Thread Sam James
Ulrich Mueller writes: >>>>>> On Fri, 03 May 2024, Sam James wrote: > >> +case ${EAPI} in >> +5|6) DEPEND=${GNUCONFIG_DEPEND} ;; >> +*) BDEPEND=${GNUCONFIG_DEPEND} ;; >> +esac > > Drop EAPI 5 while at it? Good point, done & pushed, thanks.

[gentoo-dev] [PATCH v2 3/3] gnuconfig.eclass: drop EAPI 5 support

2024-05-03 Thread Sam James
autotools.eclass hasn't had EAPI 5 support for ~2 years since 50710f3d0e8f19fab5571d9596c336314e96b5cf so this wasn't being used anyway (non-autotools.eclass use of gnuconfig.eclass is very niche). Signed-off-by: Sam James --- eclass/gnuconfig.eclass | 8 1 file changed, 4 insertions

[gentoo-dev] [PATCH v2 2/3] autotools.eclass: conditionalize gnuconfig dependency

2024-05-03 Thread Sam James
Use newly-added GNUCONFIG_DEPEND so that AUTOTOOLS_AUTO_DEPEND=no doesn't result in a useless dependency on gnuconfig. Signed-off-by: Sam James --- eclass/autotools.eclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/autotools.eclass b/eclass

[gentoo-dev] [PATCH v2 1/3] gnuconfig.eclass: add GNUCONFIG_DEPEND

2024-05-03 Thread Sam James
The motivation here is to allow autotools.eclass consumers setting AUTOTOOLS_AUTO_DEPEND=no to not have a useless gnuconfig dependency. Signed-off-by: Sam James --- eclass/gnuconfig.eclass | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/eclass

[gentoo-dev] [PATCH] 2024-05-03-wireplumber-0_5-bump: add news item

2024-05-03 Thread James Calligeros
Signed-off-by: James Calligeros --- .../2024-05-03-wireplumber-0_5-bump.en.txt| 23 +++ 1 file changed, 23 insertions(+) create mode 100644 2024-05-03-wireplumber-0_5-bump/2024-05-03-wireplumber-0_5-bump.en.txt diff --git a/2024-05-03-wireplumber-0_5-bump/2024-05-03

[gentoo-dev] [PATCH 2/2] autotools.eclass: conditionalize gnuconfig dependency

2024-05-03 Thread Sam James
Use newly-added GNUCONFIG_DEPEND so that AUTOTOOLS_AUTO_DEPEND=no doesn't result in a useless dependency on gnuconfig. Signed-off-by: Sam James --- eclass/autotools.eclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/autotools.eclass b/eclass

[gentoo-dev] [PATCH 1/2] gnuconfig.eclass: add GNUCONFIG_DEPEND

2024-05-03 Thread Sam James
The motivation here is to allow autotools.eclass consumers setting AUTOTOOLS_AUTO_DEPEND=no to not have a useless gnuconfig dependency. Signed-off-by: Sam James --- eclass/gnuconfig.eclass | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/eclass

Re: [gentoo-dev] [PATCH] .github: Add pull request template

2024-05-02 Thread Sam James
Ionen Wolkens writes: > On Wed, May 01, 2024 at 03:32:21PM +0200, Michał Górny wrote: >> The idea is to increase awareness of the AI policy, as well as other >> rules, and to inform users before they submit a PR. > > Bit mixed feelings about this given checkboxes feel like unnecessary > churn

Re: [gentoo-dev] [PATCH] .github: Add pull request template

2024-05-02 Thread Sam James
Michał Górny writes: > Signed-off-by: Michał Górny > --- > .github/pull_request_template.md | 12 > 1 file changed, 12 insertions(+) > create mode 100644 .github/pull_request_template.md > > The idea is to increase awareness of the AI policy, as well as other > rules, and to

Re: [gentoo-dev] [PATCH] vdr-plugin-2.eclass: make qa warning conditional

2024-05-02 Thread Sam James
Eli Schwartz writes: > On 5/1/24 10:10 AM, Martin Dummer wrote: >> Since Agostino's tinderbox tests now report qa warning, the group >> v...@gentoo.org has 101 open bugs assigned, most of them caused by qa >> warnings from vdr-plugin-2.eclass. >> >> Many vdr plugins need small adjustments

Re: [gentoo-dev] time64 ABI fix coming to upstream glibc

2024-05-02 Thread Sam James
Florian Weimer writes: > The and headers had a bug that the on-disk structures > defined there could change size on some targets when _TIME_BITS was set > to 64. This is obviously wrong because the files are not going to > magically change their layout because the application accessing them

Re: [gentoo-dev] Re: [PATCH 2/3] To build ada we need a c++ compiler too

2024-04-30 Thread Sam James
Alfredo Tupone writes: > On Fri, 26 Apr 2024 10:29:43 +0200 > Arsen Arsenović wrote: > >> > is_ada() { >> >gcc-lang-supported ada || return 1 >> > - _tc_use_if_iuse ada >> > + _tc_use_if_iuse cxx && _tc_use_if_iuse ada >> >> Is this redundant? Would gcc-lang-supported c++ (called

Re: [gentoo-dev] Subject: [PATCH] toolchain.eclass: ada related changes

2024-04-25 Thread Sam James
Alfredo Tupone writes: > Having received no comments, I would like to add this changes to > toolchain.eclass > > This is less intrusive. > > The compiler check that was in place in the original email maybe is > distruptive. It was checking that the used compiler is ada and version > is less or

Re: [gentoo-dev] Up for grabs: Raspberry Pi stack

2024-04-20 Thread James Le Cuirot
On Sat, 2024-04-20 at 04:24 +0100, Sam James wrote: > I don't have the hardware set up at the moment (and haven't for a while) > to test this properly. > > The following packages are up for grabs: > * media-libs/raspberrypi-userland-bin > * sys-kernel/raspberrypi-image >

[gentoo-dev] Up for grabs: Raspberry Pi stack

2024-04-19 Thread Sam James
I don't have the hardware set up at the moment (and haven't for a while) to test this properly. The following packages are up for grabs: * media-libs/raspberrypi-userland-bin * sys-kernel/raspberrypi-image I dropped myself as a co-maintainer on the following: *

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: tc-env_build: override (E)SYSROOT

2024-04-19 Thread James Le Cuirot
On Fri, 2024-04-19 at 12:14 -0400, Mike Gilbert wrote: > When using the CBUILD toolchain, it makes no sense to look for headers > and libraries in the CHOST-based SYSROOT. > > Signed-off-by: Mike Gilbert > --- > eclass/toolchain-funcs.eclass | 8 +++- > 1 file changed, 7 insertions(+), 1

Re: [gentoo-dev] Current unavoidable use of xz utils in Gentoo

2024-04-06 Thread Sam James
Eddie Chapman writes: > On 04/04/2024 15:24, Eddie Chapman wrote: >> Since there appears to be some interest I'll put together a single email >> to the list later today detailing everything, as I needed to do more >> things overall in addition to replacing /usr/bin/xz. > > Below is a guide I've

  1   2   3   4   5   6   7   8   9   10   >