Re: How to build the Aiksaurus plugin?


Subject: Re: How to build the Aiksaurus plugin?
From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Tue Oct 23 2001 - 03:54:53 CDT


On Mon, 22 Oct 2001, Hubert Figuiere wrote:
> According to F J Franklin <F.J.Franklin@sheffield.ac.uk>:
> > As you will, but I'll hang on to it for a while. I've been finding it
> > tremendously useful. I've finally managed to arrange AbiWord/XDarwin into
> > a MacOSX bundle that is fully relocatable, drag'n'drop install & everything.
> > Very cool. I just have to work out a Mac-friendly way of installing
> > plugins.
>
> Did you do this from scratch or did you copy over what I made for MacOS X
> (even though I did not include data files).

Sorry, I didn't mean to take credit for your work.
I have used AbiWord.icns, Info.plist and PkgInfo from
abi/src/wp/main/mac/bundle

Originally I was putting the AbiSuite subdirectories in
XAbiword.app/Contents/Resources, but after yesterday's talk on plugins I
have decided to have an AbiSuite folder which contains the AbiSuite
subdirectories and the XAbiWord.app bundle - which makes it a lot simpler
to add plugins, dictionaries, etc. Then it's just a case of copying the
folder to /Applications (or wherever) and dragging Abi the Ant to the
Launcher...

The tricky bit is in the wrapper scripts. I have a binary executable which
does a chdir () to /.../XAbiWord.app/Contents and then calls a modified
version of the usual AbiWord wrapper via execve (), and the AbiWord
wrapper sets ABISUITE_HOME=../.. etc.

Fun, fun, fun!
Frank

Francis James Franklin
F.J.Franklin@shef.ac.uk

Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
          --- from `The Sayings of Muad'dib' by the Princess Irulan



This archive was generated by hypermail 2b25 : Tue Oct 23 2001 - 03:55:03 CDT