Hi Stephan,
Stephan Schaefer wrote:
Eric Hoch wrote:
Hi Oliver, Am Tue, 25 Oct 2005 08:25:08 +0200, schrieb Oliver Braun:
Hi,
after raising my hand for working on the OS X packaging process, I
found myself uncertain how the installation of a language pack on
Mac OS X should look like.
The problem I see is that the files need to get placed inside the
OpenOffice.org 2.0.app/Contents/openoffice.org folder.
Any ideas ?
Use OS X Package Manager and let it place them into this directory.
This of course will only work if OOo is in /Applications/etc but we
can easily place a warning inside during installation that points the
user to this fact.
I also played with this approach (i.e. using Package Maker) but made
the package relocatable and used '/Applications' as the default
folder. This allows for installation into arbitrary locations, but of
course some kind of a check would be useful. This could be done by a
preinstall script in the package.
To automate the process I changed the create-package script to call
packagemaker when languagepacks have to be created (packagemaker has a
commandline interface) and provided a customized Info.plist and
Description.plist. But I'm not sure if the whole process is the
correct way to go. I'm still considering a full package (i.e. no
drag-and-drop) installation for OOo itself which would make some
things simpler (eg, enabling pre- and post-install scripts).
Languagepacks would then be installed in the same way.
Actually I like the drag-and-drop approach. I also think that
applications should not need to run scripts for other purposes than
desktop integration - I have already found a way to eliminate the last
post-install script (for pyuno), which was necessary due to a limitation
in scp2.
What I would like to do is to define a new file type "OpenOffice.org
language pack" and let the OOo launch wrapper install it on double click
or drop - however I don't have a clue yet whether this is possible at all.
Anyway, I can attach my experimental scripts to the corresponding issue.
Please do so.
Thanks,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]