1 |
El lun, 21-05-2012 a las 02:41 -0400, Alexandre Rostovtsev escribió: |
2 |
> On Sun, 2012-05-20 at 06:32 -0400, Mike Frysinger wrote: |
3 |
> > i've extended eautoreconf to automatically call autopoint when the package |
4 |
> > uses gettext. the configure check might seem naïve, but this is how autoreconf |
5 |
> > itself does it. this hopefully shouldn't break any packages (at least, none |
6 |
> > that weren't already broken), but if you guys start seeing eautoreconf |
7 |
> > failures where there were none before, feel free to cc base-system. |
8 |
> > -mike |
9 |
> > |
10 |
[...] |
11 |
> eaclocal |
12 |
> - if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? ; then |
13 |
> + # Follow gnome2-live.eclass and gnome-autogen.sh logic; bug #416789 |
14 |
> + if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? && ! grep -q '^AM_GLIB_GNU_GETTEXT' configure.?? ; then |
15 |
> eautopoint --force |
16 |
> fi |
17 |
> + if grep -q "^AC_PROG_INTLTOOL\|^IT_PROG_INTLTOOL" configure.?? ; then |
18 |
> + autotools_run_tool intltoolize --force --copy --automake |
19 |
> + fi |
20 |
> _elibtoolize --install --copy --force |
21 |
> eautoconf |
22 |
> eautoheader |
23 |
> |
24 |
> |
25 |
> |
26 |
|
27 |
With this change, we can start to no longer call "intltoolize --force |
28 |
--copy --automake" directly in ebuilds I guess, no? |