[GERRIT][PATCH] gbuild migration: pyuno module

David Ostrovsky david.ostrovsky at gmx.de
Wed Jun 13 15:30:32 PDT 2012


On 13.06.2012 12:36, Stephan Bergmann wrote:
> On 06/12/2012 03:07 PM, Stephan Bergmann wrote:
>> On 06/11/2012 12:17 AM, David Ostrovsky wrote:
>>> Still have to test it on Windows and ask somebody to test it in MacosX.
>>
>> Quick update: Attached windows.patch allowed me to at least build
>> <https://gerrit.libreoffice.org/#/c/179/11> on Windows (on top of recent
>> master). "Tools - Macros - Organize Macros - Python... - LOdev Macros -
>> HelloWord - HelloWOrdPython - Run" within Writer works, but executing
>> ...\program\python.exe does nothing.
>
> ...and with the attached additional windows2.patch, now also 
> .../program/python -c 'import uno' works.
>
Thanks!

I cleaned it and pushed a new gerrit change set [1] and created a patch 
that cleanly applies to the current master.

Test matrix:
==========================
All platforms: compiles with --disable-python
Mingw32: not considering (pyuno bridge is broken prior to gbuild'ification)
Windows: compiles and works with only supported option: 
--enable-python=internal
Linux: compiles and works with: --enable-python=internal && 
--enable-python=system
MacOSX: compiles and works with: --enable-python=internal && 
--enable-python=system
(actually not sure here, have you tried both options? ;-)

I assume it can be pushed now?

@Stephan, really big thank once time again forexplaining how 
LibO,pyuno,wrappers and python match together.
And for your tests (on Linux, Windows and MacOSX) and patches. I 
*especially* loved your involved
scp2 hack: with on-the-fly simulation of not materialised 
python-core-2.6.1-tree with
lib and bin subdirectories.
I also want to thank my gerrit reviewer: David Tardon and Michael Stahl.

Regards
David

[1] https://gerrit.libreoffice.org/#/c/179/13/



More information about the LibreOffice mailing list