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

Attachments

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

Replies