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.
Anyway, I can attach my experimental scripts to the corresponding issue.
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]