Re: [mac] Shall we ship OOo with internal python on Mac?

2010-08-30 Thread Florian Ludwig Heckl
Hi Christian,

 But yes, filed issue(s) with patches. Meta issue:
 http://qa.openoffice.org/issues/show_bug.cgi?id=111496
 
 scp2 parts are already integrated/applied to some cws, but
 unfortunately the other patches did not receive any comment yet :-(

see my comments in the issue. Patches look fine to me, at least they provide a 
working python...

Kind regards,
Florian

smime.p7s
Description: S/MIME cryptographic signature


Re: [mac] Shall we ship OOo with internal python on Mac?

2010-08-27 Thread Christian Lohmaier
Hi Stephan, *,

On Tue, Aug 24, 2010 at 10:16 AM, Stephan Bergmann
stephan.bergm...@oracle.com wrote:
 On 05/19/10 18:55, Christian Lohmaier wrote:
 [...]
 I just experienced the problem to get pyuno working on Mac OS X 10.6, too.
  At least for me (trying to run the tests in
 testtools/source/bridgetest/pyuno/), it clearly is a problem of system
 python being executed as 64 bit, while OOo's pyuno.so is 32 bit (see below).

For that, there is an environment variable:
VERSIONER_PYTHON_PREFER_32_BIT=yes (but as mentioned earlier, I didn't
manage to get it running, no matter what variables I tried - while
then the architecture matches, the python version itself makes it
fail)

 Christian, did you already file an issue to use internal python on Mac
 (which apparently is the outcome of this thread)?

Outcome of this thread is that apparently  almost nobody seems to care
:-( Just 10 People bothered to reply at all...

But yes, filed issue(s) with patches. Meta issue:
http://qa.openoffice.org/issues/show_bug.cgi?id=111496

scp2 parts are already integrated/applied to some cws, but
unfortunately the other patches did not receive any comment yet :-(

ciao
Christian

-
To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org
For additional commands, e-mail: mac-h...@porting.openoffice.org



Re: [mac] Shall we ship OOo with internal python on Mac?

2010-05-19 Thread Christian Lohmaier
Hi Florian, *,

On Wed, May 19, 2010 at 2:34 PM, Florian Ludwig Heckl
flor...@florian-heckl.de wrote:

 The questions basically are:
 Should OOo for Mac ship with internal python? Or should it still use
 system-python?

 Does a normal import uno work with the thus provided python. (Users would 
 still need to adapt their PATH or launch the provided python explicitly)

With internal python, it would then work with the OOo-provided python.
They would have to call OOo's python manually, as OOo wouldn't be in
their PATH, so they'd run
/path/to/OpenOffice.org.app/Contents/MacOS/python and they're ready to
type import uno

That script sets the needed environment variables (PYHONPATH,
URE_BOOTSTRAP, etc) and starts the internal Python, like it would be
the case on other operating systems.

If the internal python should be run as-is, i.e. without the
OOo-specific variables, then the user could also run
path/to/OpenOffice.org.app/Contents/basis-link/program/OOoPython.framework/Versions/2.6/bin/python2.6

 Anyone a python-guru/deep into Apple's Framework stuff who can tell
 how to get a import uno work on Mac OSX 10.4 from outside OOo?

Reading it again, I wasn't very clear/that statement is very misleading.
What I really meant is: In case we stick with system-python, is there
anyone willing to dig into getting it to run from outisde OOo?
I.e. does anyone know a way on how to use python from outside OOo with
the current version of OOo that uses system python. This is no problem
on 10.4, as that comes with the used 2.3 version, but doesn't work (at
least I couldn't manage) with 10.6

This won't be a problem with internal python.

 Anyone into python extensions and want to give internal python 2.6.1 a
 thorough test?
 Anyone for code-review?

 If we decide on a 'yes' for the main question, I can do so.

Thanks a lot,

ciao
Christian

-
To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org
For additional commands, e-mail: mac-h...@porting.openoffice.org