Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37915316
en ru br
ALT Linux repos
5.0: 3.0.1.3-alt3
4.1: 3.0.0.10-alt1.M41.1
4.0: 2.4.1.7-alt0.M40.1
3.0: 1.1.5-alt1

Group :: Office
RPM: openoffice.org

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh

. /etc/sysconfig/openoffice.org

export JITC_PROCESSOR_TYPE=6

sd_prog="@OOODIR@/program"
sd_binary="soffice.bin"

# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ]; then
my_path=$($sd_prog/../basis-link/ure-link/bin/javaldx -env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc)
if [ -n "$my_path" ]; then
LD_LIBRARY_PATH="$my_path":"$sd_prog/../basis-link/program:$sd_prog/../basis-link/ure-link/lib":$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
fi
fi

if [ -z "$MOZILLA_CERTIFICATE_FOLDER" ]; then
if [ -d $HOME/.mozilla ]; then
cert8=$(find $HOME/.mozilla -name cert8.db | head -1)
if [ -n "$cert8" ]; then
export MOZILLA_CERTIFICATE_FOLDER=$(dirname $cert8)
fi
fi
fi

unset XENVIRONMENT

if [ -n "$PATH" ]; then
PATH="$sd_prog":"$sd_prog/../basis-link/program:$sd_prog/../basis-link/ure-link/bin":$PATH
else
PATH="$sd_prog":"$sd_prog/../basis-link/program:$sd_prog/../basis-link/ure-link/bin"
fi
export PATH

# execute soffice binary
$sd_prog/$sd_binary "$@"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin