[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help transition to gettext 0.15



On Tue, Sep 12, 2006 at 08:02:29AM -0300, Damián Viano wrote:
> I'd like to discuss about the fixes to this bugs also...
> 
> On Sun, Sep 10, 2006 at 07:52:39PM -0300, Damián Viano wrote:
> > The bugs I've seen from this rebuilt are mostly 3:
> > - #386487: FTBFS: aclocal: macro `AM_PROG_MKDIR_P' required but not
> > 	defined
> 
> I'm not sure about this, but replacing the AC_REQUIRE([AM_PROG_MKDIR_P])
> call for AC_REQUIRE([AC_PROG_MKDIR_P]) in gettext.m4 and po.m4 seems to
> fix it, although I'm not sure if this would be the better (or even
> correct?) fix. Any comments regarding this Denis?
> 
> > - #385235: gettext 0.15 causes build failures in multiple packages
> 
> This is the plurals problem, and I think

Douh! "...that's well explained in Santiago Vila's mail to -release
http://lists.debian.org/debian-release/2006/08/msg00107.html";

> > - some about @MKINSTALLDIRS@ failures, which was previously being
> > 	defined in AM_GNU_GETTEXT and now it's not
> 
> This one is my biggest doubt, and I see 3 options:
> 
> - re-gettextize the packages (to get a newer version of the
> 	po/Makefile.in.in)
> - patch the po/Makefile.in.in
> - Add the definition of MKINSTALLDIRS in AM_GNU_GETTEXT again
> 
> I'd also like to hear comments from Denis on this, my own comments
> follow...
> 
> Re-gettextize is hard in most cases, the gettext Makefile.in.in changed
> a lot, it uses an extra file (Makevars), and the case I tested couldn't
> be represented in a diff (due to symlinks problems, although it might
> be possible to avoid those). I see all this very difficult to do in a
> rules file.
> 
> Patching the Makefile.in.in seems the easiest way, specially if it was
> already patched (or sed'ed).
> 
> Adding the definition of MKINSTALLDIRS to AM_GNU_GETTEXT seems to be
> quite easy too (my m4 foo is not strong enough to do this in a
> reasonable way to provide a patch), and would be consistent to some
> extent with other backward compatibility subts made there. The question
> of which program should be used as MKINSTALLDIRS is not trivial *to me*,
> can someone enlighten me about that? mkdir -p? install-sh -p?
> mkinstalldirs again? could this possibly be defined according to the
> required version of autotools/gettext?
> 
> -- 
> Damián Viano(Des)              ¯ ¯ - _           _ - ¯ ¯
> GPG: 0x6EB95A6F                 Debian ¯-_GNU_-¯ Linux
> Web: http://damianv.com.ar/               ¯-¯



-- 
Damián Viano(Des)              ¯ ¯ - _           _ - ¯ ¯
GPG: 0x6EB95A6F                 Debian ¯-_GNU_-¯ Linux
Web: http://damianv.com.ar/               ¯-¯

Attachment: signature.asc
Description: Digital signature


Reply to: