Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds.
Date: Sun, 23 Sep 2012 10:35:19
Message-Id: 1348396438.2085.77.camel@belkin4
In Reply to: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds. by "Michał Górny"
1 El dom, 23-09-2012 a las 11:56 +0200, Michał Górny escribió:
2 > On Sun, 23 Sep 2012 11:07:30 +0200
3 > Thomas Sachau <tommy@g.o> wrote:
4 >
5 > > Matt Turner schrieb:
6 > > > On Sat, Sep 22, 2012 at 2:24 PM, Michał Górny <mgorny@g.o> wrote:
7 > > >> It is a simple eclass using autotools out-of-source builds to build
8 > > >> packages for multiple ABIs when multilib is supported.
9 > > >
10 > > > Thanks a lot, Michał! This looks good to me.
11 > > >
12 > > >> Use case: xorg packages, ask Matt.
13 > > >
14 > > > So the idea is that users want up-to-date 32-bit drivers for games and
15 > > > WINE. The emul- packages aren't a very good solution for a number of
16 > > > reasons.
17 > > >
18 > > > I'd like to add multilib USE flags to Mesa and thus its dependencies.
19 > > > I realized that almost everything in x11-libs/ could be converted very
20 > > > easily, which would allow us to get rid of emul-linux-x86-xlibs in
21 > > > addition to emul-linux-x86-opengl.
22 > > >
23 > > >
24 > >
25 > > This looks like a shortened duplication of a subset of multilib-portage
26 > > features. While this wont hurt multilib-portage (since it does exclude
27 > > most actions on ebuilds with USE=multilib), it will mean a rewrite for
28 > > many ebuilds, which then again need another rewrite (or more likely
29 > > revert), when multilib-portage is accepted in a future EAPI.
30 >
31 > s/when/if/
32 >
33 > > So i would prefer some help/support with multilib-portage to get it
34 > > accepted sooner, instead of this additional workaround for a subset of
35 > > packages.
36 >
37 > I prefer the simpler solution.
38 >
39 > > P.S.: I know, that users, who want up-to-date 32bit drivers for games
40 > > and wine do use multilib-portage, so we already have a working solution
41 > > for this issue.
42 >
43 > They will no longer have to do that.
44 >
45
46 I would prefer if eclass way could be extended to packages not using
47 autotools too, otherwise, we will still need emul packages for, for
48 example, qt libs. If that would be possible via eclass, maybe
49 multilib-portage wouldn't be needed but, if not, we will still need it
50 and, then, would be nice if this inclussion for autotools packages
51 wouldn't cause more problems to get the "strong" solution land in the
52 "near" future :/
53
54 The simpler solution (eclass) looks fine to me, but it would need to be
55 extended to more packages than autotools based ones to let it replace
56 portage-multilib/emul packages

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies