[Libreoffice] [PATCH] [PUSHED] po2oo --skipsource support
Cedric Bosdonnat
cedric.bosdonnat.ooo at free.fr
Fri Apr 22 02:39:09 PDT 2011
Hi KAMI,
I just pushed your patch in the repos. Thanks for it.
Regards,
On Tue, 2011-04-19 at 10:06 +0200, KAMI911 KAMI911 wrote:
>
> Hi Andras,
>
> I tried to use internal toolkit:
> "
> checking which translate-toolkit to use... internal
> "
> But when I try to build translations I got this error:
> "
> =============
> Building module translations
> =============
> Entering /home/kami/git/libreoffice-3-4/bootstrap/translations
>
> : &&
> LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo --skipsource -i ./source/de -t ./unxlngi6.pro/misc/sdf-template/en-US.sdf -o ./unxlngi6.pro/misc/sdf-l10n/de.sdf -l de
> Traceback (most recent call last):
> File
> "/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo", line 27, in <module>
> from translate.convert import po2oo
> ImportError: No module named translate.convert
> dmake: Error code 1, while making
> './unxlngi6.pro/misc/sdf-l10n/de.sdf'
> Retrying /home/kami/git/libreoffice-3-4/bootstrap/translations
>
> : &&
> LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo --skipsource -i ./source/de -t ./unxlngi6.pro/misc/sdf-template/en-US.sdf -o ./unxlngi6.pro/misc/sdf-l10n/de.sdf -l de
> Traceback (most recent call last):
> File
> "/home/kami/git/libreoffice-3-4/bootstrap/solver/300/unxlngi6.pro/bin/po2oo", line 27, in <module>
> from translate.convert import po2oo
> ImportError: No module named translate.convert
> dmake: Error code 1, while making
> './unxlngi6.pro/misc/sdf-l10n/de.sdf'
> "
>
> If I install system provided translation-toolkit (version 1.7 on
> Ubuntu 11.04) it tries to use that but the build fails because of
> missing --skipsource in 1.7 however I am using internal translation
> toolkit. I think it can be a path problem where the a system installed
> translation-toolkit masks the version comes form the build system.
>
> I provide the attached patch to fix this problem. I simply move
> translate-toolkit python modules to bin. I hope this will solve the
> problem. Please commit it to master and 3-4 if you agree.
>
> Not tested other platform than Linux.
>
> Regards,
> KAMI
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr
More information about the LibreOffice
mailing list