[Open Office] ooo-wrapper.in

Giuseppe Ghibò ghibo at mandriva.com
Tue Mar 7 02:28:33 EST 2006


I've seen recently the wrapper is changed to don't use
ooqstart if no argument is passed using:

if ($Binary eq "ooqstart" && $ENV{OOO_EXTRA_ARG} eq "") {
     $Binary = "soffice";
}

but wouldn't be better to provide a default OOO_EXTRA_ARG='' in
this case, so that ooqstart anyway used? Sort of:

     if ($0 =~ m/\/oo(calc|draw|impress|math|web|writer|base)$BinSuffix$/) {
         $arg = "-$1";
     } elsif ($0 =~ m/\/oofromtemplate$BinSuffix$/) {
         $arg = "slot:5500";
     }
     else
	$ENV{OOO_EXTRA_ARG} ||= '';

?

Also, since the wrapper can understand whether the ooqstart it's installed
or not, what about moving the qstart files to a standalone subpackage,
using this attached patch? Do you agree if I apply to current head wrapper?

Bye
Giuseppe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qstart.diff
Type: text/x-diff
Size: 832 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060307/3f2eed88/qstart.bin


More information about the Openoffice mailing list