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


On 06/15/2012 06:59 PM, Norbert Thiebaud wrote:
about your fix 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=fa2006828ff69509e1ead755af906dcd35a992bf

after your fixe:
n_th@tpamac /Volumes/TBRAM/core $file solver/unxmacxi.pro/lib/pyuno.so
solver/unxmacxi.pro/lib/pyuno.so: Mach-O dynamically linked shared library i386

on 3.-5
n_th@tpamac /Volumes/Raid0/rel $file solver/unxmacxi.pro/lib/pyuno.so
solver/unxmacxi.pro/lib/pyuno.so: Mach-O bundle i386

Is that normal/expected ?

Good catch. The hand-crafted command line to build pyuno.so ($(PYUNO_MODULE)) at the end of old pyuno/source/module/makefile.mk explicitly contained -bundle for MACOXS, while the new pyuno/Library_pyuno_wrapper.mk implicitly uses the generic -dynamiclib instead.

The old use of -bundle got introduced with <http://cgit.freedesktop.org/libreoffice/core/commit/?id=b80fd9956bb01b3224fd61140e0e6aec1a45b9ae> "INTEGRATION: CWS pj49 (1.12.2); FILE MERGED" as a fix for <https://issues.apache.org/ooo/show_bug.cgi?id=61137> "pyuno.so must be a bundle" which states: "The -bundle option is mandatory on MacOS X <= 10.3."

Unfortunately, that issue does not give a description how to reproduce the problem. But maybe it is indeed no longer relevant for Mac OS X > 10.3. At least on a Mac OS X 10.7 machine, both "Tools - Macros - Run Macro... - LibreOffice Macros - HelloWorld - HelloWorldPython - Run" from within LO Writer and ".../LibreOffice.app/Contents/MacOS/python -c 'import uno'" work fine with the new build (using --enable-python=internal).

Stephan

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.