bug-gnu-utils
[Top][All Lists]
Advanced

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

some questions


From: Thomas Vander Stichele
Subject: some questions
Date: Fri, 09 Jan 2004 16:48:52 +0100

Hi,

I'm moving GStreamer over to use gettext (I hope).  To properly learn
everything I need I started creating test tarballs, which maybe could at
one point serve as examples for other projects.  These tests use
autoconf, automake, and gettext.

As I understand, at this point I could either
a) use gettextize ONCE, commit the result to CVS, and not run anything
special from autogen.sh
b) use autopoint from autogen.sh, just like all the other autotools.

I would prefer to go with b) as a first try.  I set up a complete
skeleton tarball with a simple source app that contains strings.

I have two problems with this skeleton tarball:
a) There is no mechanism for me to put values substituted by
config.status (Ie, AC_SUBST's) in Makevars.  Makevars gets included when
going from Makefile.in -> Makefile, I would like it if this could be
moved in the first transition from .in.in to .in
What do you think ?
For now, in the attached patch, I patch the .in.in file to include my
variable.  Clearly this is not optimal because autopoint doesn't like
this file being touched.

b) distchecking the tarball fails in the intl/ dir.  The nonsrcdir build
fails to find the source files needed to build the objects.
The second part of the attached patch changes the .o compilation rule so
it looks for the source in the srcdir.  Again, autopoint complains about
this.

c) for both complaints, I worked around it by generating the patch, and
doing this in autogen.sh :
patch -p0 -R < gettext.patch && \
autopoint && \
patch -p0 < gettext.patch && \

This is a fairly clean mechanism I can use for now.

However, I'd like your opinion on the first two problems.  Also, I'd
like an opinion on whether I should use autopoint, or stick with
gettextize and commit huge chunks of generated code to CVS.  Since for
the other tools we like using the autotools, I personally would prefer
the first, and am willing to help out in sanity-checking gettext in this
regard in the future.

Thanks
Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
If I could be who you wanted
all the time
then I would
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]