Reintroduce pyuno.so wrapper around libpyuno.so
commit51967dab002323b62f4f8f635052ab12ceb2b2ad
authorStephan Bergmann <sbergman@redhat.com>
Thu, 16 Feb 2012 15:42:58 +0000 (16 16:42 +0100)
committerStephan Bergmann <sbergman@redhat.com>
Mon, 20 Feb 2012 08:56:45 +0000 (20 09:56 +0100)
tree7a85a7a2359184185c73cd5ff4ca63f6b931e91d
parent19903d30def0a2bf63357031e56b18b5c4abea78
Reintroduce pyuno.so wrapper around libpyuno.so

...it was cleaned away by a09ce46818fd4d5e08b3af9a478501cd8ef5b4fe "Port PyUno
to support Python 3" but is still needed to make sure libpyuno.so is loaded
RTLD_GLOBAL (Python apparently loads its modules RTLD_LOCAL).  At least with
pre 4.5 GCC this can cause problems with C++ exception handling, see the mail
thread starting at
<http://lists.freedesktop.org/archives/libreoffice/2012-February/025166.html>
"LibO 3.5RC2: terminate called after throwing an instance of
'com::sun::star::registry::InvalidRegistryException'" for details.

(cherry picked from commit 0b1be1ce0e0ac7b34c4b73d53f4bf32ec5df7290)

...plus...

Adapt pyuno.so wrapper to Python 3 support

(cherry picked from commit 1bb0d979b5ac5ed0cd831c6c8c0ab55dc2621eba)

Signed-off-by: Michael Meeks <michael.meeks@suse.com>
pyuno/source/module/makefile.mk
pyuno/source/module/pyuno_dlopenwrapper.c