# James Le Cuirot (2025-01-09)
# Obsolete and needs to be dropped along with Qt5. The GTK theme has been
# superseded by dev-qt/qtbase[gtk], which uses GTK 3 rather than GTK 2.
# Removal on 2025-02-09. See bug #947787.
dev-qt/qtstyleplugins
signature.asc
Description: This is a digitally signed
box with QEMU's -L option.
Signed-off-by: James Le Cuirot
---
eclass/toolchain.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index c605c437f355a..f5d3b83c2e03b 100644
--- a/eclass/toolchain.eclass
+++ b/e
On Thu, 2025-01-02 at 03:13 -0800, Zoltan Puskas wrote:
> >
> > So, removing Qt5 will break computers of many users, including my computer.
> > In the course of many years of existence of Qt5 a large number of useful
> > programs have been created; not all of them have been ported to Qt6. Are we
>
On Mon, 2024-12-30 at 21:31 -0500, Ionen Wolkens wrote:
> On Mon, Dec 30, 2024 at 11:35:25PM +0000, James Le Cuirot wrote:
> > dostrip limitations mean that we cannot strip the CTARGET binaries in a
> > cross-compiler. There is already a `dostrip -x` call to exclude such
&g
dostrip limitations mean that we cannot strip the CTARGET binaries in a
cross-compiler. There is already a `dostrip -x` call to exclude such
binaries from stripping, but it expects the argument to be unprefixed,
and the argument given was prefixed.
Signed-off-by: James Le Cuirot
---
eclass
On Wed, 2024-12-11 at 11:20 +0100, Michał Górny wrote:
> Hello,
>
> Right now we have three flags that do pretty much the same thing, via
> different libraries:
>
> global[mikmod] Add libmikmod support to allow playing of SoundTracker-style
> music files
>
> global[modplug] Add libmodplug suppo
On Tue, 2024-12-03 at 16:32 +0100, Michał Górny wrote:
> Hello,
>
> TL;DR: the way llvm/llvm-r1 eclasses currently mangle PATH is broken,
> and I'd like to replace that with something better (possibly in llvm-
> r2.eclass, given how fragile this thing is). So I'd like to discuss
> potential "bett
On Tue, 2024-11-26 at 07:36 +1000, Matt Jolly wrote:
> Hi,
>
> On 26/11/24 06:13, James Le Cuirot wrote:
>
> > You've lost some lines at the start of dev-lang/rust's src_configure, the
> > filter-lto line and the cross-compiler lines I added the other day. W
On Mon, 2024-11-25 at 13:35 +1000, kan...@gentoo.org wrote:
> From: Matt Jolly
>
> These are the the old ebuilds, updated to be slotted.
>
> Other changes:
>
> - `USE=rls` was dropped at some point, this is now
> hard-enabled.
> - As the LLVM is far too old for Gentoo we are using the bundled
On Wed, 2024-11-20 at 22:50 +0100, x...@gentoo.org wrote:
> From: Maciej Barć
>
> Some users asked for it. Also add a link to the Gentoo Wiki with more
> specific examples.
>
> Signed-off-by: Maciej Barć
> ---
> eclass/nuget.eclass | 18 ++
> 1 file changed, 18 insertions(+)
>
On Sat, 2024-11-09 at 17:45 +0100, Michał Górny wrote:
> Hi,
>
> Long story short, a lot of Rust upstreams are ricing in their
> Cargo.toml: enabling LTO, adjusting LTO jobs to exactly 1, and even
> weirder stuff. With C, we generally have clear policies to override
> this and respect user flags.
On Wed, 2024-09-25 at 23:46 +0100, James Le Cuirot wrote:
> On Wed, 2024-09-25 at 14:41 -0400, Ionen Wolkens wrote:
> > On Wed, Sep 25, 2024 at 02:05:10PM -0400, Eli Schwartz wrote:
> > > Chewi was also trying to see if portage can be convinced to stage the
> > > same p
On Wed, 2024-09-25 at 14:41 -0400, Ionen Wolkens wrote:
> On Wed, Sep 25, 2024 at 02:05:10PM -0400, Eli Schwartz wrote:
> > Chewi was also trying to see if portage can be convinced to stage the
> > same package twice with different USE flags in the same emerge process
> > in order to solve cyclical
On Sun, 2024-08-18 at 14:31 -0400, Mike Gilbert wrote:
> The LUA variable points to a lua binary that is likely to be executed by
> the build system. Use BROOT for this.
>
> Use ESYSROOT for the pkg-config symlink, since this is likely used for
> linking a library.
>
> Signed-off-by: Mike Gilbert
On Wed, 2024-08-07 at 19:39 +0200, Michał Górny wrote:
> On Wed, 2024-08-07 at 16:52 +0100, James Le Cuirot wrote:
> > The flags we set an a target-specific environment variable override any
> > generic [build] flags set by the project, requiring ebuilds to set these
> >
environment variable.
Signed-off-by: James Le Cuirot
---
eclass/cargo.eclass | 28 +---
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 6d4cf1b425eb..dea8c49e4585 100644
--- a/eclass/cargo.eclass
+++ b/eclass
ready being overridden by users and ebuilds setting
RUSTFLAGS themselves.
Closes: https://bugs.gentoo.org/937453
Closes: https://bugs.gentoo.org/937470
Signed-off-by: James Le Cuirot
---
eclass/cargo.eclass | 65 +++--
1 file changed, 39 insertions(+), 26 dele
is a
little controverial, using app-misc/yq's tomlq (a jq wrapper) to read flags
from the project's config files. On the plus side, it should avoid upstreams
complaining that we're not using their flags. See what you think. I've kept
it in a separate commit so that it
# James Le Cuirot (2024-07-29)
# Superseded by media-libs/libv4l[utils].
# Removal on 2024-08-29. Bug #936674.
media-tv/v4l-utils
signature.asc
Description: This is a digitally signed message part
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
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
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
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
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
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
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
"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
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 C
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
> > >
> > Please see https://wiki.gentoo.org/wiki/Project:Council/Code
# 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
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
> -
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. (l
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 ma
# 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: This
# 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: This is a
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
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
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
> > ins
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
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 n
crate, 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
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
# 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
# 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
# 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
crate, 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
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/e
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
>
> I dropped myself as a c
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 del
# James Le Cuirot (2024-04-05)
# Dead upstream and broken beyond repair. Removal on 2024-05-05. Bug #928591.
games-board/xmille
signature.asc
Description: This is a digitally signed message part
On Mon, 2024-04-01 at 20:51 +0200, Kévin GASPARD DE RENEFORT wrote:
> > Thanks for clarifying that, it wasn't clear to me when I read the
> > earlier e-mail.
> >
> > Personally I think the long term solution is to identify critical code
> > bases that have a low bus factor before the bad actors do
# James Le Cuirot (2024-03-30)
# Old, ugly, broken, and requires OSS sound. Removal on 2024-04-30.
# Bug #928066.
games-sports/gracer
signature.asc
Description: This is a digitally signed message part
python_get_includedir is prefixed with ESYSROOT, not EPREFIX, so we need
to strip off the former, not the latter.
This is currently only used for dev-python/pillow, which I have tested.
Signed-off-by: James Le Cuirot
---
eclass/python-utils-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1
On Fri, 2024-02-23 at 15:35 +0100, Agostino Sarubbo wrote:
> Dear all,
>
> TL;DR: tinderbox will skip packages with know failures
>
> it's a matter of fact that on bugzilla there are hundreds of bugs that
> tinderbox continues to reproduce.
>
> That results in a waste of resources and time.
>
On Sun, 2024-02-11 at 09:00 +0100, Ulrich Mueller wrote:
> > > > > > On Sat, 10 Feb 2024, Daniel Simionato wrote:
>
> > I'd like to start a discussion regarding setting HOME_MODE by default in
> > the /etc/login.defs file (owned by sys-apps/shadow package).
>
> > Upstream keeps HOME_MODE comment
On Tue, 2023-12-05 at 00:20 -0500, Eli Schwartz wrote:
> I've been working with Sam for a bit on this update. It's a bit of a
> fiddly one, as a lot of stuff has changed upstream. It's probably best
> described via my proposed news post. Please review. It would also be
> quite nice to get a bit of
b.com/gentoo/gentoo/pull/33539
Signed-off-by: James Le Cuirot
---
eclass/golang-vcs.eclass | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass
index 7558db4776cb..6f7a837bc15f 100644
--- a/eclass/golang-vcs.eclass
+++ b/e
igned-off-by: James Le Cuirot
---
eclass/golang-vcs-snapshot.eclass | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/golang-vcs-snapshot.eclass
b/eclass/golang-vcs-snapshot.eclass
index 9c199bbbd8c5..d34b8a6e913d 100644
--- a/eclass/golang-vcs-snapshot.eclass
+++ b/e
From: Thilo Fromm
This change calls go-env_set_compile_environment in go-module's
src_unpack to set up a sane compile environment early in the go build
process. This un-breaks cross compiling of all golang ebuilds that
inherit go-module.
Signed-off-by: Thilo Fromm
Signed-off-by: Jam
function
go-env_set_compile_environment()
intended to be called by other Go eclasses in an early build stage.
Ebuilds may also explicitly call this function.
Signed-off-by: Thilo Fromm
Signed-off-by: James Le Cuirot
---
eclass/go-env.eclass | 48
1 file changed, 48 insert
See the GitHub link for earlier discussion. This still doesn't work for
cross-prefix
builds, unless you set CGO_ENABLED=1, but fixing that involves different code
and can
be done later.
https://github.com/gentoo/gentoo/pull/33539
tc-get-ptr-size for CHOST and tc-get-build-ptr-size for CBUILD.
Closes: https://bugs.gentoo.org/328401
Signed-off-by: James Le Cuirot
---
eclass/toolchain-funcs.eclass | 14 ++
1 file changed, 14 insertions(+)
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain
of existing Go packages.
Signed-off-by: Thilo Fromm
Closes: https://github.com/gentoo/gentoo/pull/33539
Signed-off-by: James Le Cuirot
---
eclass/go-env.eclass | 48 +++
eclass/go-module.eclass | 5 +++-
eclass/golang-vcs-snapshot.eclass |
On Thu, 2023-09-28 at 02:15 +0100, Sam James wrote:
> James Le Cuirot writes:
>
> > This fixes cross-prefix installations.
>
> Do we need to crank the minimum version we depend on for gpep517 then?
Woops, yes. Got over-excited when I saw it was stabilised. Thanks.
This fixes cross-prefix installations.
Signed-off-by: James Le Cuirot
---
eclass/distutils-r1.eclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 56afcdc5bcb8..1cc91110dccf 100644
--- a/eclass/distutils-r1
This fixes cross-prefix installations.
Signed-off-by: James Le Cuirot
---
eclass/distutils-r1.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 56afcdc5bcb8..838162c6b0f8 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass
We recently supported cross-prefix by rewriting PYTHON_SITEDIR and
PYTHON_INCLUDEDIR from BROOT to EPREFIX. We now know that you can get
sysconfig to use EPREFIX in the first place, which is cleaner.
Signed-off-by: James Le Cuirot
---
eclass/python-utils-r1.eclass | 14 ++
1 file
It is okay for these to be given as an empty string.
Signed-off-by: James Le Cuirot
---
This cannot be applied until gpep517-14 is stable, but I'm just getting
it reviewed in readiness.
eclass/distutils-r1.eclass | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --
ex. We would need to take this approach for PYTHON_LIBPATH and
PYTHON_CONFIG, but these are only used by handful of packages.
${BROOT-${EPREFIX}} is needed rather than plain ${BROOT} for the same
reason we need it for PYTHON, namely that Portage <3.0.50 was buggy.
Signed-off-by: James Le Cuirot
On Wed, 2023-08-16 at 12:47 +0200, Michał Górny wrote:
> On Wed, 2023-08-16 at 07:39 +0100, James Le Cuirot wrote:
> > We dynamically determine Python's SITEDIR and INCLUDEDIR using the build
> > host's Python. This breaks down when the build host's prefix differs
>
ex. We would need to take this approach for PYTHON_LIBPATH and
PYTHON_CONFIG, but these are only used by handful of packages.
${BROOT-${EPREFIX}} is needed rather than plain ${BROOT} for the same
reason we need it for PYTHON, namely that Portage <3.0.50 was buggy.
Signed-off-by: James Le Cuirot
On Tue, 2023-08-15 at 18:25 -0400, Ionen Wolkens wrote:
> On Tue, Aug 15, 2023 at 11:02:54PM +0100, James Le Cuirot wrote:
> > We dynamically determine Python's SITEDIR and INCLUDEDIR using the build
> > host's Python. This breaks down when the build host's pref
ex. We would need to take this approach for PYTHON_LIBPATH and
PYTHON_CONFIG, but these are only used by handful of packages.
${BROOT-${EPREFIX}} is needed rather than plain ${BROOT} for the same
reason we need it for PYTHON, namely that Portage <3.0.50 was buggy.
Signed-off-by: James Le Cuirot
${PYTHON} points to BROOT's Python because it's usually used for calling
Python during the build. This value will be wrong at runtime after
building cross-prefix.
Signed-off-by: James Le Cuirot
---
eclass/python-utils-r1.eclass | 4 +---
1 file changed, 1 insertion(+), 3 deletion
This eclass is EAPI 7+ now, so we can assume that BROOT is available.
This was broken anyway because it seems that Portage doesn't set BROOT
when it's empty.
Signed-off-by: James Le Cuirot
---
eclass/python-utils-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
# James Le Cuirot (2023-06-25)
# Impossible to legally obtain the native full game now. It freezes on keyboard
# input, is incompatible with PipeWire, and requires gamescope to display under
# Wayland. In short, it's a lost cause. Removal in 30 days. Bug #436140.
games-action/descent3
built into a new SYSROOT.
ROOT=/build/amd64-host emerge sys-devel/llvm
Signed-off-by: Raul E Rangel
Closes: https://github.com/gentoo/gentoo/pull/30658
Signed-off-by: James Le Cuirot
---
eclass/cmake.eclass | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO +=
They can take precedence over our provided flags, so they need to be
blanked out. They are normally only used when the user specifies
-force-debug-info, but sometimes upstreams enable this themselves.
Signed-off-by: James Le Cuirot
---
eclass/qmake-utils.eclass | 5 -
1
On Wed, 2023-05-31 at 11:43 +, Andrey Grozin wrote:
> Hello *,
>
> wxGTK:3.2-gtk3 is now stable. But there are 98 ebuilds depending on
> wxGTK:3.0-gtk3 and only 22 ebuilds depending on wxGTK:3.2-gtk3 in the
> tree. Probably, in a vast majority of cases 3.0 can be simply replaced by
> 3.2 wi
1 - 100 of 524 matches
Mail list logo