Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] autotools.eclass:eautoreconf now runs autopoint for you
Date: Mon, 21 May 2012 08:20:03
Message-Id: 1337588342.19782.1.camel@belkin4
In Reply to: Re: [gentoo-dev] autotools.eclass:eautoreconf now runs autopoint for you by Alexandre Rostovtsev
El lun, 21-05-2012 a las 02:41 -0400, Alexandre Rostovtsev escribió:
> On Sun, 2012-05-20 at 06:32 -0400, Mike Frysinger wrote: > > i've extended eautoreconf to automatically call autopoint when the package > > uses gettext. the configure check might seem naïve, but this is how autoreconf > > itself does it. this hopefully shouldn't break any packages (at least, none > > that weren't already broken), but if you guys start seeing eautoreconf > > failures where there were none before, feel free to cc base-system. > > -mike > >
[...]
> eaclocal > - if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? ; then > + # Follow gnome2-live.eclass and gnome-autogen.sh logic; bug #416789 > + if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? && ! grep -q '^AM_GLIB_GNU_GETTEXT' configure.?? ; then > eautopoint --force > fi > + if grep -q "^AC_PROG_INTLTOOL\|^IT_PROG_INTLTOOL" configure.?? ; then > + autotools_run_tool intltoolize --force --copy --automake > + fi > _elibtoolize --install --copy --force > eautoconf > eautoheader > > >
With this change, we can start to no longer call "intltoolize --force --copy --automake" directly in ebuilds I guess, no?

Attachments

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