Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] New eclass for x11 packages
Date: Mon, 22 Feb 2010 11:08:00
Message-Id: 4B826172.4010102@gentoo.org
In Reply to: [gentoo-dev] [RFC] New eclass for x11 packages by "Tomáš Chvátal"
1 Tomáš Chvátal wrote:
2 > Hi,
3 > we prepared new eclass for x11 packages that should be used as
4 > replacement for x-modular.eclass.
5
6 > Prefix support done.
7
8 There's one thing I don't find addressed yet:
9
10 When some patch[1] necessary for some (prefix-) platform has to touch
11 configure.ac or Makefile.am, rendering eautoreconf mandatory on
12 *each* platform, there's no way to tell xorg-2_reconf_source() to
13 do the eautoreconf instead of elibtoolize *unconditionally*.
14
15 We had to have libXaw.ebuild do the eautoreconf unconditionally[2] after
16 x-modular_src_unpack() - which just did elibtoolize on some platforms,
17 causing elibtoolize to get run twice, resulting in bug#232820 [3].
18
19 Even if libXaw doesn't need those patches any more it seems,
20 there's no reason such patches won't become necessary again.
21
22 [1] http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/x11-libs/libXaw/files/libXaw-1.0.5-darwin.patch?rev=37037
23 [2] http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/x11-libs/libXaw/libXaw-1.0.6.ebuild?rev=49677#L43
24 [3] http://bugs.gentoo.org/show_bug.cgi?id=232820
25
26 /haubi/
27
28 PS: Just a suggestion what an ebuild could do in this case:
29 src_prepare() {
30 xorg-2_src_prepare --force-eautoreconf
31 }
32 --
33 Michael Haubenwallner
34 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-dev] [RFC] New eclass for x11 packages "Tomáš Chvátal" <scarabeus@g.o>