[pacman-dev] [PATCH] gettext support - part 1

VMiklos vmiklos at frugalware.org
Wed May 31 08:48:47 EDT 2006


On Tue, May 30, 2006 at 11:44:40AM -0700, Judd Vinet <jvinet at zeroflux.org> wrote:
> These patches cause problems for me.   See below.
> 
> The paths generated in po/Makefile and po/POTFILES seem to be incorrect.
> Did I miss something?
> 
> 
> make[2]: Entering directory `/home/jvinet/pacman-lib/lib/libalpm'
> Making all in po
> make[3]: Entering directory `/home/jvinet/pacman-lib/lib/libalpm/po'
> make libalpm.pot-update
> make[4]: Entering directory `/home/jvinet/pacman-lib/lib/libalpm/po'
> make[4]: *** No rule to make target `../../../add.c', needed by
> `libalpm.pot-update'.  Stop.
> make[4]: Leaving directory `/home/jvinet/pacman-lib/lib/libalpm/po'
> make[3]: *** [libalpm.pot] Error 2

well, krix is the author of the automake stuff, so he's who could reply,
but unfortunatelly he won't...

automake does not support having po files in a dir != $(topsrcdir)/po

a workaround would be to have a separete configure.ac for /src/pacman
and /lib/libalpm, too. but this is ugly

a better solution is what krix did, except that this way you need to
generate the .pot file manually

after sh autoclean.sh run
"intltool-update --pot --gettext-package=pacman" in /src/pacman/po and
it should be ok

of course the same true for /lib/libalpm/po :)

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org




More information about the pacman-dev mailing list