This wrapper script is still broken:

Revision 1.2, Fri Mar 1 10:27:26 2002 UTC (48 minutes, 9 seconds ago) by 
mandrake
Branch: MAIN
CVS Tags: r6_0_41-2mdk, HEAD
Changes since 1.1: +13 -1 lines

#!/bin/sh
## ---------------------------------
## Wrapper script for OpenOffice.org
## ---------------------------------

# Issue a workstation-type installation for the user, if necessary
if [ ! -d "$HOME/.openoffice" ]; then
   /usr/lib/openoffice/program/setup -R:/etc/openoffice/autoresponse.conf
fi

# Expand TrueType and Type1 font paths
ttf_fontpath="/usr/X11R6/lib/X11/fonts/TTF;/usr/X11R6/lib/X11/fonts/drakfont/ttf"
for fontdir in /usr/share/fonts/ttf/*; do
   ttf_fontpath="$ttf_fontpath;$fontdir"
done
type1_fontpath="/usr/X11R6/lib/X11/fonts/Type1;/usr/share/fonts/default/Type1"
export SAL_FONTPATH_USER="$ttf_fontpath;$type1_fontpath;$SAL_FONTPATH_USER"

exec $HOME/.openoffice/soffice "$@"




It won't work if the user had previously used OO.o641 and has a 
.sversionrc, but installed to something else than ~/.openoffice.

(just ensuring you are aware of this, maybe you are working on it, but I 
must leave now and will only be able to check again over the weekend).

Gwenole Beauchesne wrote:
> On Fri, 1 Mar 2002, Buchan Milne wrote:
> 
> 
>>According to the OO.o mailing list, OO.o is supposed to check font paths
>>using the output of /usr/sbin/chkfontpath or chkfontpath (which
>>apparently gives all the xfs font paths under Redhat). This appears not
>>to work. (I haven't been able to test this myself)
>>
> 
> What doesn't work? Here, /usr/sbin/chkfontpath actually lists me the
> available font paths.
> 
> 
>>A work-around is to modify the /usr/lib/openoffice/soffice startup
>>script to tell it about more font paths (obviously the chkfontpath
>>solution would be preferred). See the attached patch for how to get the
>>drakfont ttfs working.
>>
> 
> I used another approach by defining SAL_FONTPATH_USER variable for -2mdk.
> Probably should it be expanded to the result of chkfontpath in -3mdk.
> 
> 
>>2)Spell checking is broken
>>OO.o should support spell-cheching in en_US out the box. Attempting
>>spell checking results in all words being marked as incorrectly spelt,
>>and the following error message:
>>
> 
> Yes, known issue. Will probably be addressed in -3mdk.
> 
> 
>>I believe the files should be copied from
>>/usr/lib/openoffice/share/wordbook/english/ to
>>~/.openoffice/user/wordbook during setup, but in the rpm, the only files
>>supplied are:
>>
> 
> This is an OOo /net setup bug. Dictionaries are under
> /usr/lib/openoffice/user/wordbook/* whereas they should be in
> ~/.openoffice/user/wordbook/.
> 
> 
>>Otherwise, it works very well. Some issues introduced with the official
>>OO.o build with gcc-3.0.3 have been solved (probably due to using
>>gcc-3.0.4), such as the Insert->Frame problem.
>>
> 
> Yes, that works here. What were the other issues? I still don't see the
> templates and I am wondering if they are supposed to be in OOo actually...
> 
> Thank you for testing the package.
> 
> Bye,
> Gwenole.
> 
> 


-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                       http://ranger.dnsalias.com/gpg.key


Reply via email to