diff options
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-x | desktop/scripts/basis-link | 1 | ||||
-rw-r--r-- | desktop/scripts/gdbtrace | 12 | ||||
-rwxr-xr-x | desktop/scripts/makefile.mk | 68 | ||||
-rwxr-xr-x | desktop/scripts/mozwrapper.sh | 8 | ||||
-rwxr-xr-x | desktop/scripts/odf-basis-link | 1 | ||||
-rwxr-xr-x | desktop/scripts/sbase.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/scalc.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/sdraw.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/simpress.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/smaster.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/smath.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/so-basis-link | 1 | ||||
-rwxr-xr-x | desktop/scripts/soffice.sh | 183 | ||||
-rwxr-xr-x | desktop/scripts/sweb.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/swriter.sh | 4 | ||||
-rwxr-xr-x | desktop/scripts/unoinfo.sh | 55 | ||||
-rwxr-xr-x | desktop/scripts/unopkg.sh | 115 | ||||
-rwxr-xr-x | desktop/scripts/ure-link | 1 |
18 files changed, 0 insertions, 477 deletions
diff --git a/desktop/scripts/basis-link b/desktop/scripts/basis-link deleted file mode 100755 index 3af84201e0..0000000000 --- a/desktop/scripts/basis-link +++ /dev/null @@ -1 +0,0 @@ -Basis
\ No newline at end of file diff --git a/desktop/scripts/gdbtrace b/desktop/scripts/gdbtrace deleted file mode 100644 index 548ffe6512..0000000000 --- a/desktop/scripts/gdbtrace +++ /dev/null @@ -1,12 +0,0 @@ -set pagination off -echo log will be saved as gdbtrace.log, this will take some time, patience...\n -set logging redirect on -set logging file gdbtrace.log -set logging on -set logging overwrite on -run -bt -thread apply all bt -quit -set logging off -echo log is saved as gdbtrace.log\n diff --git a/desktop/scripts/makefile.mk b/desktop/scripts/makefile.mk deleted file mode 100755 index ce0c9b8ed2..0000000000 --- a/desktop/scripts/makefile.mk +++ /dev/null @@ -1,68 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=.. - -PRJNAME=desktop -TARGET=scripts - -# --- Settings ----------------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Targets ------------------------------------------------------------- - -UNIXTEXT= \ - $(MISC)$/sbase.sh \ - $(MISC)$/scalc.sh \ - $(MISC)$/sdraw.sh \ - $(MISC)$/simpress.sh \ - $(MISC)$/smaster.sh \ - $(MISC)$/smath.sh \ - $(MISC)$/sweb.sh \ - $(MISC)$/swriter.sh \ - $(MISC)$/mozwrapper.sh \ - $(MISC)$/unoinfo.sh \ - $(MISC)$/unopkg.sh \ - $(MISC)$/gdbtrace - -.IF "$(OS)" != "MACOSX" - -ALLTAR: $(MISC)$/soffice.sh-expanded - -$(MISC)/soffice.sh-expanded: $(MISC)/soffice.sh -.IF "$(OS)" == "LINUX" && "$(CPUNAME)" == "POWERPC" - $(SED) 's/^#@# //' $< > $@ -.ELSE - $(COPY) $< $@ -.ENDIF - -UNIXTEXT+= $(MISC)$/soffice.sh - -.ENDIF - -.INCLUDE : target.mk diff --git a/desktop/scripts/mozwrapper.sh b/desktop/scripts/mozwrapper.sh deleted file mode 100755 index 89b6415358..0000000000 --- a/desktop/scripts/mozwrapper.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# if mozilla is not found, specify full path here -MOZILLA=mozilla - -if ${MOZILLA} -remote "openURL($1,new-window)" 2>&1 | egrep -si "not running on display"; then - ${MOZILLA} $1 -fi diff --git a/desktop/scripts/odf-basis-link b/desktop/scripts/odf-basis-link deleted file mode 100755 index 3af84201e0..0000000000 --- a/desktop/scripts/odf-basis-link +++ /dev/null @@ -1 +0,0 @@ -Basis
\ No newline at end of file diff --git a/desktop/scripts/sbase.sh b/desktop/scripts/sbase.sh deleted file mode 100755 index e3a8ed07d5..0000000000 --- a/desktop/scripts/sbase.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --base "$@" diff --git a/desktop/scripts/scalc.sh b/desktop/scripts/scalc.sh deleted file mode 100755 index c9c3cde39e..0000000000 --- a/desktop/scripts/scalc.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --calc "$@" diff --git a/desktop/scripts/sdraw.sh b/desktop/scripts/sdraw.sh deleted file mode 100755 index 4131a2505f..0000000000 --- a/desktop/scripts/sdraw.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --draw "$@" diff --git a/desktop/scripts/simpress.sh b/desktop/scripts/simpress.sh deleted file mode 100755 index d78ea14207..0000000000 --- a/desktop/scripts/simpress.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --impress "$@" diff --git a/desktop/scripts/smaster.sh b/desktop/scripts/smaster.sh deleted file mode 100755 index ed9b09d512..0000000000 --- a/desktop/scripts/smaster.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --global "$@" diff --git a/desktop/scripts/smath.sh b/desktop/scripts/smath.sh deleted file mode 100755 index 454fa135ff..0000000000 --- a/desktop/scripts/smath.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --math "$@" diff --git a/desktop/scripts/so-basis-link b/desktop/scripts/so-basis-link deleted file mode 100755 index 3af84201e0..0000000000 --- a/desktop/scripts/so-basis-link +++ /dev/null @@ -1 +0,0 @@ -Basis
\ No newline at end of file diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh deleted file mode 100755 index caed192e6b..0000000000 --- a/desktop/scripts/soffice.sh +++ /dev/null @@ -1,183 +0,0 @@ -#!/bin/sh -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -# -# STAR_PROFILE_LOCKING_DISABLED=1 -# export STAR_PROFILE_LOCKING_DISABLED -# - -# file locking now enabled by default -SAL_ENABLE_FILE_LOCKING=1 -export SAL_ENABLE_FILE_LOCKING - -# Uncomment the line below if you suspect that OpenGL is not -# working on your system. -# SAL_NOOPENGL=true; export SAL_NOOPENGL - -# uncomment line below to disable anti aliasing of fonts -# SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE - -# uncomment line below if you encounter problems starting soffice on your system -# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS - -# read database entries for Adabas D -if [ -f /etc/adabasrc ]; then - . /etc/adabasrc -fi - -# The following is needed on Linux PPC with IBM j2sdk142: -#@# export JITC_PROCESSOR_TYPE=6 - -# resolve installation directory -sd_cwd=`pwd` -sd_res=$0 -while [ -h "$sd_res" ] ; do - cd "`dirname "$sd_res"`" - sd_basename=`basename "$sd_res"` - sd_res=`ls -l "$sd_basename" | sed "s/.*$sd_basename -> //g"` -done -cd "`dirname "$sd_res"`" -sd_prog=`pwd` -cd "$sd_cwd" - -# linked build needs additional settings -if [ -e $sd_prog/ooenv ] ; then - . $sd_prog/ooenv -fi - -# try to get some debug output? -GDBTRACECHECK= -STRACECHECK= -VALGRINDCHECK= - -# count number of selected checks; only one is allowed -checks= -# force the --valgrind option if the VALGRIND variable is set -test -n "$VALGRIND" && VALGRINDOPT="--valgrind" || VALGRINDOPT= - -for arg in $@ $VALGRINDOPT ; do - case "$arg" in - --backtrace) - if which gdb >/dev/null 2>&1 ; then - GDBTRACECHECK="gdb -nx --command=$sd_prog/gdbtrace --args" - checks="c$checks" - else - echo "Error: Can't find the tool \"gdb\", --backtrace option will be ignored." - exit 1 - fi - ;; - --strace) - if which strace >/dev/null 2>&1 ; then - STRACECHECK="strace -o strace.log -f -tt -s 256" - checks="c$checks" - else - echo "Error: Can't find the tool \"strace\", --strace option will be ignored." - exit 1; - fi - ;; - --valgrind) - test -n "$VALGRINDCHECK" && continue; - if which valgrind >/dev/null 2>&1 ; then - # another valgrind tool might be forced via the environment variable - test -z "$VALGRIND" && VALGRIND="memcheck" - # --trace-children-skip is pretty useful but supported only with valgrind >= 3.6.0 - valgrind_ver=`valgrind --version | sed -e "s/valgrind-//"` - valgrind_ver_maj=`echo $valgrind_ver | awk -F. '{ print \$1 }'` - valgrind_ver_min=`echo $valgrind_ver | awk -F. '{ print \$2 }'` - valgrind_skip= - if [ "$valgrind_ver_maj" -gt 3 -o \( "$valgrind_ver_maj" -eq 3 -a "$valgrind_ver_min" -ge 6 \) ] ; then - valgrind_skip='--trace-children-skip=*/java' - fi - # finally set the valgrind check - VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes $valgrind_skip --num-callers=50 --error-exitcode=101" - checks="c$checks" - if [ "$VALGRIND" = "memcheck" ] ; then - export G_SLICE=always-malloc - export GLIBCXX_FORCE_NEW=1 - fi - else - echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored" - exit 1 - fi - ;; - esac -done - -if echo "$checks" | grep -q "cc" ; then - echo "Error: The debug options --backtrace, --strace, and --valgrind cannot be used together." - echo " Please, use them one by one." - exit 1; -fi - -case "`uname -s`" in -NetBSD|OpenBSD|FreeBSD|DragonFly) -# this is a temporary hack until we can live with the default search paths - sd_prog1="$sd_prog/../basis-link/program" - sd_prog2="$sd_prog/../basis-link/ure-link/lib" - LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} - JAVA_HOME=$(javaPathHelper -h libreoffice-java 2> /dev/null) - export LD_LIBRARY_PATH - if [ -n "${JAVA_HOME}" ]; then - export JAVA_HOME - fi - ;; -AIX) - LIBPATH=$sd_prog:$sd_prog/../basis-link/program:$sd_prog/../basis-link/ure-link/lib${LIBPATH:+:$LIBPATH} - export LIBPATH - ;; -esac - -# run soffice.bin directly when you want to get the backtrace -if [ -n "$GDBTRACECHECK" ] ; then - exec $GDBTRACECHECK "$sd_prog/soffice.bin" "$@" -fi - -# valgrind --log-file=valgrind.log does not work well with --trace-children=yes -if [ -n "$VALGRINDCHECK" ] ; then - echo "redirecting the standard and the error output to valgrind.log" - exec &>valgrind.log -fi - -# do not pass the request for command line help to oosplash -if test "$#" -eq 1; then - case "$1" in - -h | --h | --he | --hel | --help) - "$sd_prog/soffice.bin" -h - exit 0 - ;; - -V | --v | --ve | --ver | --vers | --versi | --versio | --version) - "$sd_prog/soffice.bin" -h | head -1 - exit 0 - ;; - *) - ;; - esac -fi - -# oosplash does the rest: forcing pages in, javaldx etc. are -exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash.bin" "$@" diff --git a/desktop/scripts/sweb.sh b/desktop/scripts/sweb.sh deleted file mode 100755 index a365392584..0000000000 --- a/desktop/scripts/sweb.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --web "$@" diff --git a/desktop/scripts/swriter.sh b/desktop/scripts/swriter.sh deleted file mode 100755 index 3fa48c0d3e..0000000000 --- a/desktop/scripts/swriter.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -cmd=`dirname "$0"`/soffice -exec "$cmd" --writer "$@" diff --git a/desktop/scripts/unoinfo.sh b/desktop/scripts/unoinfo.sh deleted file mode 100755 index 9fc80b5f32..0000000000 --- a/desktop/scripts/unoinfo.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -set -e - -# resolve installation directory -sd_res=$0 -while [ -h "$sd_res" ] ; do - cd "`dirname "$sd_res"`" - sd_basename=`basename "$sd_res"` - sd_res=`ls -l "$sd_basename" | sed "s/.*$sd_basename -> //g"` -done -cd "`dirname "$sd_res"`" -sd_prog=`pwd` - -case $1 in -c++) - printf '%s' "$sd_prog/../basis-link/ure-link/lib" - ;; -java) - printf '0%s\0%s\0%s\0%s\0%s' \ - "$sd_prog/../basis-link/ure-link/share/java/ridl.jar" \ - "$sd_prog/../basis-link/ure-link/share/java/jurt.jar" \ - "$sd_prog/../basis-link/ure-link/share/java/juh.jar" \ - "$sd_prog/../basis-link/program/classes/unoil.jar" "$sd_prog" - ;; -*) - exit 1 - ;; -esac diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh deleted file mode 100755 index 07811c5a5e..0000000000 --- a/desktop/scripts/unopkg.sh +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/sh -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -# enable file locking -SAL_ENABLE_FILE_LOCKING=1 -export SAL_ENABLE_FILE_LOCKING - -# resolve installation directory -sd_cwd=`pwd` -sd_res=$0 -while [ -h "$sd_res" ] ; do - cd "`dirname "$sd_res"`" - sd_basename=`basename "$sd_res"` - sd_res=`ls -l "$sd_basename" | sed "s/.*$sd_basename -> //g"` -done -cd "`dirname "$sd_res"`" -sd_prog=`pwd` -cd "$sd_cwd" - -# this is a temporary hack until we can live with the default search paths -case "`uname -s`" in -NetBSD|OpenBSD|FreeBSD|DragonFly) - sd_prog1="$sd_prog/../basis-link/program" - sd_prog2="$sd_prog/../basis-link/ure-link/lib" - LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} - JAVA_HOME=$(javaPathHelper -h libreoffice-java 2> /dev/null) - export LD_LIBRARY_PATH - if [ -n "${JAVA_HOME}" ]; then - export JAVA_HOME - fi - ;; -AIX) - sd_prog1="$sd_prog/../basis-link/program" - sd_prog2="$sd_prog/../basis-link/ure-link/lib" - LIBPATH=$sd_prog1:$sd_prog2${LIBPATH:+:${LIBPATH}} - export LIBPATH - ;; -esac - -#collect all bootstrap variables specified on the command line -#so that they can be passed as arguments to javaldx later on -#Recognize the "sync" option. sync must be applied without any other -#options except bootstrap variables or the verbose option -for arg in $@ -do - case "$arg" in - -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";; - sync) OPTSYNC=true;; - -v) VERBOSE=true;; - --verbose) VERBOSE=true;; - *) OPTOTHER=$arg;; - esac -done - -if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ] -then - JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1' -fi - -# 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" $BOOTSTRAPVARS $JVMFWKPARAMS \ - "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"` - if [ -n "$my_path" ] ; then - sd_platform=`uname -s` - case $sd_platform in - AIX) - LIBPATH=$my_path${LIBPATH:+:$LIBPATH} - export LIBPATH - ;; - *) - LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} - export LD_LIBRARY_PATH - ;; - esac - fi -fi - -unset XENVIRONMENT - -# uncomment line below to disable anti aliasing of fonts -# SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE - -# uncomment line below if you encounter problems starting soffice on your system -# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS - -# execute binary -exec "$sd_prog/unopkg.bin" "$@" "$JVMFWKPARAMS" \ - "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc" - diff --git a/desktop/scripts/ure-link b/desktop/scripts/ure-link deleted file mode 100755 index dd0ecb6115..0000000000 --- a/desktop/scripts/ure-link +++ /dev/null @@ -1 +0,0 @@ -..\URE
\ No newline at end of file |