Skip to content
Permalink
Browse files
Initial commit
  • Loading branch information
i5o committed Apr 21, 2017
0 parents commit 893ecd0
Show file tree
Hide file tree
Showing 2,412 changed files with 1,232,966 additions and 0 deletions.
2,364 MANIFEST

Large diffs are not rendered by default.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,8 @@
[Activity]
name = OOo4Kids
bundle_id = ooo.educ.OOo4KidsActivity
icon = activity-ooo4kids
activity_version = 3
host_version = 1
show_launcher = yes
exec = sugarOOo4Kids
@@ -0,0 +1,8 @@
[Activity]
name = OOo4Kids
bundle_id = ooo.educ.OOo4KidsActivity
icon = activity-ooo4kids
activity_version = 13
host_version = 1
show_launcher = yes
exec = sugarOOo4Kids
@@ -0,0 +1,136 @@
#!/bin/sh
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: soffice.sh,v $
#
# $Revision: 1.34 $
#
# 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

if [ "`uname -s`" = "OpenBSD" ] ; then
if [ -z $SAL_USE_VCLPLUGIN ]; then
export SAL_USE_VCLPLUGIN=gtk
fi
export SAL_ENABLE_NATIVE_XFONTS=0
fi

# resolve installation directory
sd_cwd="`pwd`"
if [ -h "$0" ] ; then
sd_basename=`basename "$0"`
sd_script=`ls -l "$0" | sed "s/.*${sd_basename} -> //g"`
cd "`dirname "$0"`"
cd "`dirname "$sd_script"`"
else
cd "`dirname "$0"`"
fi
sd_prog=`pwd`
cd "$sd_cwd"

sd_binary=soffice.bin

#collect all bootstrap variables specified on the command line
#so that they can be passed as arguments to javaldx later on
for arg in $@
do
case "$arg" in
-env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
esac
done

# pagein
sd_pagein_args=@pagein-common
for sd_arg in "$@"; do
case ${sd_arg} in
-calc)
sd_pagein_args="${sd_pagein_args} @pagein-calc"
break;
;;
-draw)
sd_pagein_args="${sd_pagein_args} @pagein-draw"
break;
;;
-impress)
sd_pagein_args="${sd_pagein_args} @pagein-impress"
break;
;;
-writer)
sd_pagein_args="${sd_pagein_args} @pagein-writer"
break;
;;
esac
done
export LD_LIBRARY_PATH="$sd_prog/../ure/lib/"

"$sd_prog/../basis-link/program/pagein" -L"$sd_prog/../basis-link/program" ${sd_pagein_args}

# this is a temporary hack until we can live with the default search paths
case "`uname -s`" in
OpenBSD)
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}}
export LD_LIBRARY_PATH
;;
esac

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

# Set PATH so that crash_report is found:
PATH=$sd_prog${PATH+:$PATH}
export PATH

# execute soffice binary
"$sd_prog/$sd_binary" "$@" &
trap 'kill -9 $!' TERM
wait $!

while [ $? -eq 79 ]
do
"$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
wait $!
done

exit
@@ -0,0 +1,13 @@
#!/bin/sh
while [ -n "$2" ] ; do
case "$1" in
-b | --bundle-id) export SUGAR_BUNDLE_ID="$2" ;;
-a | --activity-id) export SUGAR_ACTIVITY_ID="$2" ;;
-o | --object-id) export SUGAR_OBJECT_ID="$2" ;;
-u | --uri) export SUGAR_URI="$2" ;;
*) echo unknown argument $1 $2 ;;
esac
shift;shift
done
export NET_WM_NAME="OOo4Kids"
exec $(dirname $0)/../resources/program/soffice

4 comments on commit 893ecd0

@aslo-v3-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build has started

@aslo-v3-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build has started

@aslo-v3-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build Failed Details: summary field missing in activity metadata

@aslo-v3-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build Failed Details: license field missing in activity metadata

Please sign in to comment.