diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2004-08-20 20:36:11 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2004-08-20 20:36:11 +0000 |
commit | e9007cb6f7a1761059f8109d5a413cb5a8033564 (patch) | |
tree | 4ef7bc77f2be0371865b07940a65dd10b240b695 /app-office | |
parent | Marked stable x86 (diff) | |
download | historical-e9007cb6f7a1761059f8109d5a413cb5a8033564.tar.gz historical-e9007cb6f7a1761059f8109d5a413cb5a8033564.tar.bz2 historical-e9007cb6f7a1761059f8109d5a413cb5a8033564.zip |
remove old versions
Diffstat (limited to 'app-office')
7 files changed, 0 insertions, 946 deletions
diff --git a/app-office/openoffice-bin/Manifest b/app-office/openoffice-bin/Manifest index b84494a9e982..30883a026272 100644 --- a/app-office/openoffice-bin/Manifest +++ b/app-office/openoffice-bin/Manifest @@ -1,14 +1,8 @@ -MD5 59a28fc64aef4bc22cd180aaa6f8eaf1 openoffice-bin-1.0.3.1.ebuild 6303 -MD5 9c290c17221e3ab0fea4fc10ace288a2 openoffice-bin-1.1.0.ebuild 5759 MD5 104f44541fb3698d35341d8f601100fb openoffice-bin-1.1.2.ebuild 5939 MD5 61c9d68dd5c2abd03641acb0e05190d5 openoffice-bin-1.1.1.ebuild 6250 MD5 a705cae3556b698182c1dd83b675e2aa ChangeLog 8342 MD5 7134ec08f56019fc5db7f3e84acea4df metadata.xml 460 -MD5 948e1466408e108685d2fd09eb1c3324 files/digest-openoffice-bin-1.1.0 82 MD5 2b70af485f57d1db6983b006f16a0587 files/digest-openoffice-bin-1.1.1 171 MD5 7ee6a71b816defa008addeb3aa4d90b0 files/digest-openoffice-bin-1.1.2 82 -MD5 94e303d234eb28b21c53aefdc9f8f19f files/digest-openoffice-bin-1.0.3.1 145 -MD5 46080de39ef5acd7488ce1e76ac10cbe files/1.0.3/ooffice-wrapper-1.3 8362 -MD5 ea579df37ecea73bc37977db44c7bba4 files/1.1.0/ooffice-wrapper-1.3 8972 MD5 4b2f3102e273ff72e281ed0d481b1526 files/1.1.1/ooffice-wrapper-1.3 9166 MD5 04f76dc323b7b7b9600ef1ccffd1d04a files/1.1.2/ooffice-wrapper-1.3 9471 diff --git a/app-office/openoffice-bin/files/1.0.3/ooffice-wrapper-1.3 b/app-office/openoffice-bin/files/1.0.3/ooffice-wrapper-1.3 deleted file mode 100644 index e3cb9e58f2b8..000000000000 --- a/app-office/openoffice-bin/files/1.0.3/ooffice-wrapper-1.3 +++ /dev/null @@ -1,245 +0,0 @@ -#!/bin/sh -# -# Wrapper script for openoffice -# -# (C) Peter 'Nidd' Novodvorsky, 2001,2002 -# (C) Martin 'empty' Quinson, 2002. -# Modifications by Chris Halls -# Modifications by Lucien Saviot - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# this string should be exactly as in ~/.sversionrc -OOVERSION="OpenOffice.org 1.0.3" - -## -## Source system configuration file -## -[ -r /etc/openoffice/openoffice.conf ] && . /etc/openoffice/openoffice.conf - -### -### Get user settings directory from ~/.sversionrc and echo directory name to stdout -### get_settings_dir <Version> -### return: 0 - directory found, -### 1 - ~/.sversionrc non existent -### 2 - entry exists in ~/.sversionrc but directory not found -### 3 - ~/.sversionrc exists but no entry found -get_settings_dir() -{ - [ -r ~/.sversionrc ] || exit 1 - # warning, .sversionrc is DOS encoded so strip ^M - settings_dir="`tr -d '\r' < ~/.sversionrc | sed -n "/^$1=/s%^$1=file://\(.*\)$%\1%p"`" - echo "$settings_dir" - [ -n "$settings_dir" ] || exit 3 - [ -d "$settings_dir" ] || exit 2 -} - -## -## where does OO live for this user ? -## -OOHOME="`get_settings_dir "$OOVERSION"`" -if [ $? -eq 2 ] ; then - # .sversionrc contains a version yet the directory does not exist - echo "I'm confused because I can't find OpenOffice's user files." - echo "Your ~/.sversionrc file tells they should be under $OOHOME," - echo "but they are not. Please fix the situation manually." - echo "You may want to edit ~/.sversionrc to indicate where is OO" - echo "installed, or remove it if you did remove your installation" - echo "directory manually (you bad one)." - exit 1 -fi - -## -## Unset SESSION_MANAGER if gnome-session is the session manager -## See http://www.openoffice.org/issues/show_bug.cgi?id=4494 -## -SMPID=`echo $SESSION_MANAGER | sed --quiet "s,local.*/,,p"` -if [ -n "$SMPID" ] && [ -L /proc/"$SMPID"/exe ]; then - - SESMGR="`readlink -f /proc/$SMPID/exe`" - case "$SESMGR" in - /usr/bin/gnome-session*) - echo "Gnome session manager detected - session management disabled" - unset SESSION_MANAGER - ;; - esac -fi - -## -## Add known Debian fonts locations to search path -## -## Please report if you have problems with fonts, or know of non-defoma integrated packages that place fonts in other -## paths. -## - -# Default font path. This is used if SAL_FONTPATH_USER is not defined. -DEBOO_FONTPATH="/usr/lib/X11/fonts/misc/;/usr/lib/X11/fonts/cyrillic/;\ -/usr/lib/X11/fonts/100dpi/:unscaled;/usr/lib/X11/fonts/75dpi/:unscaled;\ -/usr/lib/X11/fonts/Type1/;/usr/lib/X11/fonts/CID;/usr/lib/X11/fonts/Speedo/;\ -/usr/lib/X11/fonts/100dpi/;/usr/lib/X11/fonts/75dpi/;\ -/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType;\ -/usr/lib/X11/fonts/TrueType;\ -/usr/share/fonts/truetype/kochi;\ -/usr/lib/X11/fonts/TrueType/larabie-straight;\ -/usr/lib/X11/fonts/TrueType/larabie-uncommon" - -SAL_FONTPATH_USER=${SAL_FONTPATH_USER:-"$DEBOO_FONTPATH"} -export SAL_FONTPATH_USER - -## search LOCALE -if [ -n "$LC_ALL" ]; then - LOCALE="$LC_ALL" - # OOo doesn't understand LC_ALL, so set LANG - LANG="$LC_ALL" -elif [ -n "$LANG" ]; then - LOCALE="$LANG" -elif [ -n "$LC_MESSAGES" ]; then - LOCALE="$LC_MESSAGES" - LANG="$LC_MESSAGES" -else - LOCALE="en_US" -fi - -# Set locale to en_US if locale is C -if [ "x$LOCALE" = "xC" ] ; then LOCALE="en_US"; fi - -LOCALEOO=`echo $LOCALE | sed 's/_/-/'` - -## -## install OO for this user if needed -## -if [ -z "$OOHOME" ] ; then - if [ -e /etc/openoffice/autoresponse.conf ] && \ - grep -q DESTINATIONPATH /etc/openoffice/autoresponse.conf ; then - if oldhome="`get_settings_dir "OpenOffice.org 1.0.2"`" ; then - OOHOME="$oldhome" - echo "Using settings from 1.0.2" - /bin/echo -e "OpenOffice.org 1.0.3=file://$oldhome\r" >> ~/.sversionrc - else - # first install - OOHOME=`grep DESTINATIONPATH /etc/openoffice/autoresponse.conf | \ - sed -e 's/DESTINATIONPATH=//' -e "s|<home>|$HOME|"` - - if [ -d "$OOHOME" ]; then - echo "openoffice.org: You have no entry for $OOVERSION in ~/.sversionrc, " - echo "yet the directory $OOHOME exists." - echo "Please remove $OOHOME and try again." - exit 1 - fi - - echo "running openoffice.org setup..." - if ! /opt/OpenOffice.org<pv>/program/setup -R:/etc/openoffice/autoresponse.conf >& /dev/null; then - echo "setup failed.. abort" - exit 1 - fi - - - fi - - echo "Setup complete. Running openoffice.org..." - -else - echo "openoffice.org: Damnit! I can't find OpenOffice's user files. Did you break" - echo "the /etc/openoffice/autoresponse.conf file manually ?" - echo "This file should contain DESTINATIONPATH" - exit 1 - fi -fi - -## -## If no file is specified on the command line, which application to start? -## The wrapper can be called from several links in /usr/bin -## -if [ $# = 0 ]; then - case `basename $0` in - oocalc) set -- private:factory/scalc;; - oodraw) set -- private:factory/sdraw;; - ooimpress) set -- private:factory/simpress;; - oomath) set -- private:factory/smath;; - oowriter) set -- private:factory/swriter;; - oohtml) set -- private:factory/swriter/web;; - oomaster) set -- private:factory/swriter/Global;; - esac -fi - -## Previous dead installation? -[ -d $HOME/.openoffice/user ] && echo "Warning: you have a user settings directory from 1.0.0 in ~/.openoffice/user - this is no longer used" - -SETUPFILE="$OOHOME/user/config/registry/instance/org/openoffice/Setup.xml" -mv $SETUPFILE $SETUPFILE.tmp - -if ! grep -q "\<ooLocale" $SETUPFILE.tmp ; then - # Set ooLocale to nothing in $SETUPFILE. The UI language is handled by LANG. - # A good value for ooLocale will be set before starting. - cat $SETUPFILE.tmp | \ - perl -e "while (<>) { /<Office>/ && print \" <L10N>\n <ooLocale cfg:type=\\\"string\\\"/>\n </L10N>\n\";print \$_;}" > \ - $SETUPFILE - rm -f $SETUPFILE.tmp - mv $SETUPFILE $SETUPFILE.tmp -fi - -## Change the ooLocale key in SETUPFILE acording to LOCALE -cat $SETUPFILE.tmp | \ - sed 's#<ooLocale\>[^/]*/[^>]*>#<ooLocale cfg:type="string">'$LOCALEOO'</ooLocale>#'\ - > $SETUPFILE -rm -f $SETUPFILE.tmp - -## -## That's it. Launch the beast (with the given args) -## -LANG=$LOCALE -export LANG -case `basename $0` in - oosetup) exec "$OOHOME/setup" - ;; - oopadmin) exec "$OOHOME/spadmin" - ;; - *) exec "$OOHOME/soffice" "$@" - ;; -esac -## Changelog -# 2003/04/01 halls -# * Version 1.0.3 -# 2003/02/03 halls -# * Check for nonexistent ooLocale every run -# 2003/01/09 halls -# * Version 1.0.2 -# 12/15 saviot -# * Change ooLocale at startup in Setup.xml -# <ooLocale cfg:type="string"/> doesn't work for help. -# 12/03 challs -# * Add Debian font paths to user font path -# 11/14 saviot -# * correct handling of UI language -# * don't change Linguistic.xml after first startup(#168780) -# * TODO: provide better defaults on first startup -# 10/03 challs -# * Fix use with LC_ALL -# 07/10 challs -# * use 1.0.1 directory and improve error checking -# 07/02 challs -# * use readlink in /proc/PID/exe to get -# real session manager name -# 06/12 challs -# * merge into main package -# * change $@ to "$@" -# * source configuration file: -# /etc/openoffice/openoffice.conf -# 06/12 mquinson -# * strace only when DEBUG is set to yes -# * readd the $@ to pass the args to soffice -# 06/06 mquinson -# * Make sure the OLDLOCALE is never empty -# * handle the case where the locale is C diff --git a/app-office/openoffice-bin/files/1.1.0/ooffice-wrapper-1.3 b/app-office/openoffice-bin/files/1.1.0/ooffice-wrapper-1.3 deleted file mode 100644 index c168e6eb803c..000000000000 --- a/app-office/openoffice-bin/files/1.1.0/ooffice-wrapper-1.3 +++ /dev/null @@ -1,266 +0,0 @@ -#!/bin/sh -# -# Wrapper script for openoffice -# -# (C) Peter 'Nidd' Novodvorsky, 2001,2002 -# (C) Martin 'empty' Quinson, 2002. -# Modifications by Chris Halls -# Modifications by Lucien Saviot - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# this string should be exactly as in ~/.sversionrc -PV=<pv> -OOVERSION="OpenOffice.org ${PV}" - -## -## Source system configuration file -## -[ -r /etc/openoffice/openoffice.conf ] && . /etc/openoffice/openoffice.conf - -### -### Get user settings directory from ~/.sversionrc and echo directory name to stdout -### get_settings_dir <Version> -### return: 0 - directory found, -### 1 - ~/.sversionrc non existent -### 2 - entry exists in ~/.sversionrc but directory not found -### 3 - ~/.sversionrc exists but no entry found -get_settings_dir() -{ - [ -r ${HOME}/.sversionrc ] || exit 1 - # warning, .sversionrc is DOS encoded so strip ^M - settings_dir="`tr -d '\r' < ~/.sversionrc | sed -n "/^$1=/s%^$1=file://\(.*\)$%\1%p"`" - echo "$settings_dir" - [ -n "$settings_dir" ] || exit 3 - [ -d "$settings_dir" ] || exit 2 -} - -## -## where does OO live for this user ? -## -OOHOME="`get_settings_dir "$OOVERSION"`" -if [ $? -eq 2 ] ; then - # .sversionrc contains a version yet the directory does not exist - echo "I'm confused because I can't find OpenOffice's user files." - echo "Your ~/.sversionrc file tells they should be under $OOHOME," - echo "but they are not. Please fix the situation manually." - echo "You may want to edit ~/.sversionrc to indicate where is OO" - echo "installed, or remove it if you did remove your installation" - echo "directory manually (you bad one)." - exit 1 -fi - -## -## Unset SESSION_MANAGER if gnome-session is the session manager -## See http://www.openoffice.org/issues/show_bug.cgi?id=4494 -## -SMPID=`echo $SESSION_MANAGER | sed --quiet "s,local.*/,,p"` -if [ -n "$SMPID" ] && [ -L /proc/"$SMPID"/exe ]; then - - SESMGR="`readlink -f /proc/$SMPID/exe`" - case "$SESMGR" in - /usr/bin/gnome-session*) - echo "Gnome session manager detected - session management disabled" - unset SESSION_MANAGER - ;; - esac -fi - -## -## Add known Debian fonts locations to search path -## -## Please report if you have problems with fonts, or know of non-defoma integrated packages that place fonts in other -## paths. -## - -# Default font path. This is used if SAL_FONTPATH_USER is not defined. -DEBOO_FONTPATH="/usr/lib/X11/fonts/misc/;/usr/lib/X11/fonts/cyrillic/;\ -/usr/lib/X11/fonts/100dpi/:unscaled;/usr/lib/X11/fonts/75dpi/:unscaled;\ -/usr/lib/X11/fonts/Type1/;/usr/lib/X11/fonts/CID;/usr/lib/X11/fonts/Speedo/;\ -/usr/lib/X11/fonts/100dpi/;/usr/lib/X11/fonts/75dpi/;\ -/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType;\ -/usr/lib/X11/fonts/TrueType;\ -/usr/share/fonts/truetype/kochi;\ -/usr/lib/X11/fonts/TrueType/larabie-straight;\ -/usr/lib/X11/fonts/TrueType/larabie-uncommon" - -SAL_FONTPATH_USER=${SAL_FONTPATH_USER:-"$DEBOO_FONTPATH"} -export SAL_FONTPATH_USER - -## search LOCALE -if [ -n "$LC_ALL" ]; then - LOCALE="$LC_ALL" - # OOo doesn't understand LC_ALL, so set LANG - LANG="$LC_ALL" -elif [ -n "$LANG" ]; then - LOCALE="$LANG" -elif [ -n "$LC_MESSAGES" ]; then - LOCALE="$LC_MESSAGES" - LANG="$LC_MESSAGES" -else - LOCALE="en_US" -fi - -# Set locale to en_US if locale is C -if [ "x$LOCALE" = "xC" ] ; then LOCALE="en_US"; fi - -LOCALEOO=`echo $LOCALE | sed 's/_/-/'` - -## -## install OO for this user if needed -## -if [ -z "$OOHOME" ] ; then - if [ -e /etc/openoffice/autoresponse-<pv>.conf ] && \ - grep -q DESTINATIONPATH /etc/openoffice/autoresponse-<pv>.conf ; then - -# Do not take old settings as migration results in broken behaviour -# -# UPDATEFLAG="" -# if oldhome="`get_settings_dir "OpenOffice.org 1.0.3"`" ; then -# OOHOME="$oldhome" -# echo "Using settings from 1.0.3: /${oldhome}" -# /bin/echo -e "OpenOffice.org <pv>=file://$oldhome\r" >> ~/.sversionrc -# UPDATEFLAG="-update:/$oldhome" -# fi - # first install - OOHOME=`grep DESTINATIONPATH /etc/openoffice/autoresponse-<pv>.conf | \ - sed -e 's/DESTINATIONPATH=//' -e "s|<home>|$HOME|"` - - if [ -d "$OOHOME" ]; then - echo "openoffice.org: You have no entry for $OOVERSION in ~/.sversionrc, " - echo "yet the directory $OOHOME exists." - echo "Please remove $OOHOME and try again." - exit 1 - fi - - echo "running openoffice.org setup..." - if ! /opt/OpenOffice.org${PV}/program/setup ${UPDATEFLAG} -R:/etc/openoffice/autoresponse-<pv>.conf >& /dev/null; then - echo "setup failed.. abort" - exit 1 - fi - - -# fi - - echo "Setup complete. Running openoffice.org..." - -else - echo "openoffice.org: Damnit! I can't find OpenOffice's user files. Did you break" - echo "the /etc/openoffice/autoresponse-<pv>.conf file manually ?" - echo "This file should contain DESTINATIONPATH" - exit 1 - fi -fi - -## -## If no file is specified on the command line, which application to start? -## The wrapper can be called from several links in /usr/bin -## -if [ $# = 0 ]; then - case `basename $0` in - oocalc) set -- private:factory/scalc;; - oodraw) set -- private:factory/sdraw;; - ooimpress) set -- private:factory/simpress;; - oomath) set -- private:factory/smath;; - oowriter) set -- private:factory/swriter;; - oohtml) set -- private:factory/swriter/web;; - oomaster) set -- private:factory/swriter/Global;; - esac -fi - -## Previous dead installation? -[ -d $HOME/.openoffice/user ] && echo "Warning: you have a user settings directory from 1.0.0 in ~/.openoffice/user - this is no longer used" - -# There is no locale import file -## Change the ooLocale key in SETUPFILE acording to LOCALE -#TMPFILE=`mktemp -t oooLocale.XXXXXXXXXX` && { -# cat >${TMPFILE} <<EOF -#<?xml version="1.0" encoding="UTF-8"?> -#<oor:node xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup" oor:package="org.openoffice"> -# <node oor:name="L10N"> -# <prop oor:name="ooLocale" oor:type="xs:string"> -# <value>$LOCALEOO</value> -# </prop> -# </node> -#</oor:node> -#EOF -# ooconfigimport $TMPFILE >/dev/null -# rm -f ${TMPFILE} -#} - -# Check whether the programs actually link to anything, or are from an old -# version. - -if [ ! -s $OOHOME/setup ]; then - echo "${OOHOME}/setup links to nothing, resetting link" - ln -sf /opt/OpenOffice.org${PV}/program/setup ${OOHOME}/setup -fi -if [ ! -s $OOHOME/soffice ]; then - echo "${OOHOME}/soffice links to nothing, resetting link" - ln -sf /opt/OpenOffice.org${PV}/program/soffice ${OOHOME}/soffice -fi -if [ ! -s $OOHOME/spadmin ]; then - echo "${OOHOME}/spadmin links to nothing, resetting link" - ln -sf /opt/OpenOffice.org${PV}/program/soffice ${OOHOME}/spadmin -fi - - -## -## That's it. Launch the beast (with the given args) -## -LANG=$LOCALE -export LANG -case `basename $0` in - oosetup) exec "$OOHOME/setup" - ;; - oopadmin) exec "$OOHOME/spadmin" - ;; - *) exec "$OOHOME/soffice" "$@" - ;; -esac -## Changelog -# 2003/04/01 halls -# * Version 1.1beta -# 2003/02/03 halls -# * Check for nonexistent ooLocale every run -# 2003/01/09 halls -# * Version 1.0.2 -# 12/15 saviot -# * Change ooLocale at startup in Setup.xml -# <ooLocale cfg:type="string"/> doesn't work for help. -# 12/03 challs -# * Add Debian font paths to user font path -# 11/14 saviot -# * correct handling of UI language -# * don't change Linguistic.xml after first startup(#168780) -# * TODO: provide better defaults on first startup -# 10/03 challs -# * Fix use with LC_ALL -# 07/10 challs -# * use 1.0.1 directory and improve error checking -# 07/02 challs -# * use readlink in /proc/PID/exe to get -# real session manager name -# 06/12 challs -# * merge into main package -# * change $@ to "$@" -# * source configuration file: -# /etc/openoffice/openoffice.conf -# 06/12 mquinson -# * strace only when DEBUG is set to yes -# * readd the $@ to pass the args to soffice -# 06/06 mquinson -# * Make sure the OLDLOCALE is never empty -# * handle the case where the locale is C diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.3.1 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.3.1 deleted file mode 100644 index bba108656522..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.3.1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 f6432789caaff728924f46ee65f86822 OOo_1.0.3_LinuxIntel_install.tar.gz 72429466 -MD5 404abdc6d5778956ce7f79dd1dc60d31 libvcl641li.so.gz 1480647 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1.0 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.1.0 deleted file mode 100644 index 5f2e17f6453b..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 8465e58cddd71474c20386a62b8cd43b OOo_1.1.0_LinuxIntel_install.tar.gz 78347712 diff --git a/app-office/openoffice-bin/openoffice-bin-1.0.3.1.ebuild b/app-office/openoffice-bin/openoffice-bin-1.0.3.1.ebuild deleted file mode 100644 index e9e01bb709c3..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.0.3.1.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.3.1.ebuild,v 1.8 2004/06/28 14:19:23 vapier Exp $ - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV//.1/}" -MY_PV="`echo ${PV//.1/} | gawk '{ print toupper($1) }'`" - -if use ppc; then - MY_P="OOo_${MY_PV}_LinuxPowerPC_installer" - S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/install" -fi; - -DESCRIPTION="OpenOffice productivity suite" -HOMEPAGE="http://www.openoffice.org/" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/stable/${PV//.1/}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/stable/${PV//.1/}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://vlaai.snt.utwente.nl/pub/software/openoffice/stable/${PV//.1/}/libvcl641li.so.gz ) - ppc? ( ftp://ftp.yellowdoglinux.com/pub/yellowdog/software/openoffice/OOo_${MY_PV}_LinuxPowerPC_installer.tar.gz )" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc" -IUSE="kde gnome" - -DEPEND="virtual/libc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -src_install() { - - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - #fix the libstdc++.so symlink - cd ${D}/${INSTDIR}/program - ln -sf libstdc++.so.3.0.4 libstdc++.so.3 - ln -sf libstdc++.so.3.0.4 libstdc++ - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV//.1/}|g" ${T}/rsfile-local > ${T}/autoresponse.conf - doins ${T}/autoresponse.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV//.1/}|g" \ - ${FILESDIR}/${PV//.1/}/ooffice-wrapper-1.3 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if use gnome - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if use kde - then - local kdeloc="${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org${PV//.1/}" - - # Portage do not work with the space .. - mv ${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org\ ${PV//.1/} ${kdeloc} - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -a ${D}${INSTDIR}/share/kde/net/mimelnk/share/* ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... - rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - - for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do - echo 'Categories=Application;Office;' >> ${f} - done - - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} - - #Apply printing patch. - cp ${DISTDIR}/libvcl641li.so.gz ${D}${INSTDIR}/program - gunzip -f ${D}/${INSTDIR}/program/libvcl641li.so.gz -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo " If the fonts appear garbled in the user interface refer to " - einfo " Bug 8539, or http://www.openoffice.org/FAQs/fontguide.html#8" - einfo - einfo "******************************************************************" -} diff --git a/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild deleted file mode 100644 index ceaaf0ac3264..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild,v 1.11 2004/06/28 14:19:23 vapier Exp $ - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -MY_PV="${PV}" -MY_P="OOo_${MY_PV}_LinuxIntel_install" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="OpenOffice productivity suite" -HOMEPAGE="http://www.openoffice.org/" -SRC_URI="ftp://ftp.ussg.iu.edu/pub/openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install.tar.gz" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="x86 -ppc -sparc ~amd64" -IUSE="kde gnome" - -DEPEND="sys-apps/findutils - virtual/libc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice - amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )" -RDEPEND="virtual/libc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice - amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )" - -src_install() { - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - addpredict "/pspfontcache" - addpredict "/usr/bin/soffice" - addpredict "/root/.gconfd" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user installation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - ./setup -nogui -v -r:${T}/autoresponse || die "The setup program failed" - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV}|g" ${T}/rsfile-local > ${T}/autoresponse-${PV}.conf - doins ${T}/autoresponse-${PV}.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.3 > ${T}/ooffice - doexe ${T}/ooffice - - # Component symlinks - for app in calc draw impress math writer web setup padmin; do - dosym ooffice /usr/bin/oo${app} - done - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if use gnome - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - # Change this to ooo*.desktop from *.desktop for now, since - # otherwise two sets of icons will appear in the GNOME menu. - # <brad@gentoo.org> (04 Aug 2003) - for x in ${D}${INSTDIR}/share/gnome/net/ooo*.desktop - do - # We have to handle soffice and setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - perl -pi -e "s:${INSTDIR}/program/soffice:/usr/bin/ooffice:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if use kde - then - local kdeloc="${D}${INSTDIR}/share/kde/net/" - - insinto /usr/share/applnk/OpenOffice.org\ 1.1 - # Install the files needed for the catagory - doins ${kdeloc}/.directory - dodir /usr/share - # Install the icons and mime info - cp -a ${D}${INSTDIR}/share/kde/net/share/mimelnk ${D}${INSTDIR}/share/kde/net/share/icons ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle soffice and setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - perl -pi -e "s:${INSTDIR}/program/soffice:/usr/bin/ooffice:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - - # Remove unneeded stuff - rm -rf ${D}${INSTDIR}/share/cde - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/registry/res/en-us/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} - - #touch files to make portage uninstalling happy (#22593) - find ${D} -type f -exec touch {} \; -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath, ooweb or oowriter" - einfo - einfo "******************************************************************" -} - |