Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2003 02:50:26 +1200
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        freebsd-openoffice@freebsd.org
Subject:   KDE menu items for 644_1 -> wrapper scripts not working
Message-ID:  <3EAE9132.5080304@chillt.de>

next in thread | raw e-mail | index | archive | help
With the newest 644_1 port, when I click on any one of the 
OpenOffice.org programs in the KDE start menu, I still get the infamous 
splashscreen not found message. I'm sorry if I'm re-reporting an old 
bug, but I was under the impression that the recent changes to the 
Makefile supposedly fixed this by making KDE use the proper wrappers. I 
deleted my workstation installation and the port and reinstalled. The 
newly created menu entries point to e.g.:

/usr/local/OpenOffice.org-644/program/smath

I'd expect this to be the wrapper script. Its contents is:

#!/bin/sh

cmd=`dirname "$0"`/soffice
exec "$cmd" -math "$@"

Clearly, there is no "cd to program directory" here and this is why the 
splashscreen problem appears. Everythign works fine if I modify the 
wrapper as such:

#!/bin/sh

cd `dirname "$0"`
exec ./soffice -math "$@"




- Bartosz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EAE9132.5080304>