Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Caolán McNamara píše v Po 22. 08. 2011 v 11:00 +0100:
On Mon, 2011-08-22 at 11:36 +0200, Tomáš Chvátal wrote:
Should apply to master, worth backporting to 3.4.

I've hacked around this with...

echo "import sys, os" > uno.py
echo "sys.path.append('%{basisinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:
%{baseinstdir}/program/fundamentalrc')" >> uno.py
cat $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py >> uno.py

in our own spec for a while, so integrating the fix would be good.

However....

a) do we need the PYTHONPATH hack in soffice.sh, I seem to be able to
get away without it ?

I guess that PYTHONPATH hack in soffice.sh is not needed when you
install uno.py and unohelper.py into %{python_sitearch}. It might be
needed when you keep it in libreoffice/basis dir.

Hmm, the strange thing is that I did not apply this patch, did not
move .py stuff and the mail merge stuff works in the openSUSE packages.

Is the hack with uno.py needed at all?
Do I test the python stuff a wrong way?


Best Regards,
Petr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.