summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2005-05-10 15:52:34 +0000
committerAndreas Proschofsky <suka@gentoo.org>2005-05-10 15:52:34 +0000
commit1de44e02e8ff098c3aa2e64a2b99cb6c5dae932b (patch)
tree54cffb3beacbc5e7d1f198fc7e16bc006cbda565 /app-office
parentMade transcode 0.6.11 depend directly on libquicktime-0.9.2, fixing bug #91061. (diff)
downloadgentoo-2-1de44e02e8ff098c3aa2e64a2b99cb6c5dae932b.tar.gz
gentoo-2-1de44e02e8ff098c3aa2e64a2b99cb6c5dae932b.tar.bz2
gentoo-2-1de44e02e8ff098c3aa2e64a2b99cb6c5dae932b.zip
remove old, vulnerable version
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.applications8
-rw-r--r--app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.keys129
-rw-r--r--app-office/openoffice-ximian-bin/files/1.1.1/xooffice-wrapper-1.3273
-rw-r--r--app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.533
-rw-r--r--app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild202
5 files changed, 0 insertions, 615 deletions
diff --git a/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.applications b/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.applications
deleted file mode 100644
index 5e56216d203a..000000000000
--- a/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.applications
+++ /dev/null
@@ -1,8 +0,0 @@
-ximian-openoffice
- command=xooffice
- name=Ximian OpenOffice.org
- can_open_multiple_files=true
- expects_uris=true
- uses_gnomevfs=true
- requires_terminal=false
- mime_types=application/vnd.lotus-1-2-3,application/vnd.ms-excel,application/rtf,application/msword,application/vnd.ms-powerpoint,application/vnd.stardivision.calc,application/vnd.stardivision.chart,application/vnd.stardivision.draw,application/vnd.stardivision.impress,application/vnd.stardivision.mail,application/vnd.stardivision.math,application/vnd.stardivision.writer,application/vnd.sun.xml.calc,application/vnd.sun.xml.calc.template,application/vnd.sun.xml.draw,application/vnd.sun.xml.draw.template,application/vnd.sun.xml.impress,application/vnd.sun.xml.impress.template,application/vnd.sun.xml.math,application/vnd.sun.xml.writer,application/vnd.sun.xml.writer.global,application/vnd.sun.xml.writer.template,image/x-emf,image/x-pcx,image/x-photo-cd,image/x-pict
diff --git a/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.keys b/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.keys
deleted file mode 100644
index a669749676f2..000000000000
--- a/app-office/openoffice-ximian-bin/files/1.1.1/ximian-openoffice.keys
+++ /dev/null
@@ -1,129 +0,0 @@
-application/vnd.lotus-1-2-3
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.ms-excel
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/rtf
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/msword
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.ms-powerpoint
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.calc
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.chart
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.draw
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.impress
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.mail
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.math
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.stardivision.writer
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.calc
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.calc.template
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.draw
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.draw.template
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.impress
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.impress.template
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.math
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.writer
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.writer.global
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-application/vnd.sun.xml.writer.template
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-image/x-emf
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-image/x-pcx
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-image/x-photo-cd
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
-
-image/x-pict
- short_list_application_ids_for_novice_user_level=ximian-openoffice
- short_list_application_ids_for_intermediate_user_level=ximian-openoffice
- short_list_application_ids_for_advanced_user_level=ximian-openoffice
diff --git a/app-office/openoffice-ximian-bin/files/1.1.1/xooffice-wrapper-1.3 b/app-office/openoffice-ximian-bin/files/1.1.1/xooffice-wrapper-1.3
deleted file mode 100644
index ae56e24e0be9..000000000000
--- a/app-office/openoffice-ximian-bin/files/1.1.1/xooffice-wrapper-1.3
+++ /dev/null
@@ -1,273 +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 ~/.xversionrc
-PV=<pv>
-OOVERSION="OpenOffice.org ${PV}"
-
-# Export the path to prevent lib breakage
-export LDPATH=/opt/Ximian-OpenOffice/program
-
-##
-## Source system configuration file
-##
-[ -r /etc/openoffice/openoffice.conf ] && . /etc/openoffice/openoffice.conf
-
-if [ ! -x "$HOME/.xopenoffice/1.1.1" ] ; then
- echo "You are starting this version of Ximian OpenOffice.org for the first time"
- echo "As the user install has changed again you will have to redo your settings"
-fi
-
-###
-### Get user settings directory from ~/.xversionrc and echo directory name to stdout
-### get_settings_dir <Version>
-### return: 0 - directory found,
-### 1 - ~/.xversionrc non existent
-### 2 - entry exists in ~/.xversionrc but directory not found
-### 3 - ~/.xversionrc exists but no entry found
-get_settings_dir()
-{
- [ -r ${HOME}/.xversionrc ] || exit 1
- # warning, .xversionrc is DOS encoded so strip ^M
- settings_dir="`tr -d '\r' < ~/.xversionrc | 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
- # .xversionrc contains a version yet the directory does not exist
- echo "I'm confused because I can't find OpenOffice's user files."
- echo "Your ~/.xversionrc file tells they should be under $OOHOME,"
- echo "but they are not. Please fix the situation manually."
- echo "You may want to edit ~/.xversionrc 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/ximian-openoffice/autoresponse-<pv>.conf ] && \
- grep -q DESTINATIONPATH /etc/ximian-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" >> ~/.xversionrc
-# UPDATEFLAG="-update:/$oldhome"
-# fi
-
- # first install
- OOHOME=`grep DESTINATIONPATH /etc/ximian-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 ~/.xversionrc, "
- echo "yet the directory $OOHOME exists."
- echo "Please remove $OOHOME and try again."
- exit 1
- fi
-
- echo "running openoffice.org setup..."
- if ! /opt/Ximian-OpenOffice/program/setup ${UPDATEFLAG} -R:/etc/ximian-openoffice/autoresponse-<pv>.conf >& /dev/null; then
- echo "setup failed.. abort"
- exit 1
- 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/ximian-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
- xoocalc) set -- private:factory/scalc;;
- xoodraw) set -- private:factory/sdraw;;
- xooimpress) set -- private:factory/simpress;;
- xoomath) set -- private:factory/smath;;
- xoowriter) set -- private:factory/swriter;;
- xoohtml) set -- private:factory/swriter/web;;
- xoomaster) set -- private:factory/swriter/Global;;
- esac
-fi
-
-## Previous dead installation?
-[ -d $HOME/.xopenoffice/user ] && echo "Warning: you have a user settings directory from 1.0.0 in ~/.xopenoffice/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/Ximian-OpenOffice/program/setup ${OOHOME}/setup
-fi
-if [ ! -s $OOHOME/soffice ]; then
- echo "${OOHOME}/soffice links to nothing, resetting link"
- ln -sf /opt/Ximian-OpenOffice/program/soffice ${OOHOME}/soffice
-fi
-if [ ! -s $OOHOME/spadmin ]; then
- echo "${OOHOME}/spadmin links to nothing, resetting link"
- ln -sf /opt/Ximian-OpenOffice/program/soffice ${OOHOME}/spadmin
-fi
-
-
-##
-## That's it. Launch the beast (with the given args)
-##
-LANG=$LOCALE
-export LANG
-case `basename $0` in
- xoosetup) exec "$OOHOME/setup"
- ;;
- xoopadmin) 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-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53 b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53
deleted file mode 100644
index 1f4ae2c7b172..000000000000
--- a/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1addfdf58f87329ace73caa004fdf6bd ooo-1.1.1-0.ximian.8.1.1.53.i586.rpm 72951800
-MD5 5415fcc3a7657daa15f6c9db5edea50b ooo-fonts-1.1.3-0.ximian.8.2.noarch.rpm 70077
-MD5 421da70507952b3a5859cee39aaee8d6 DicOOo.sxw 93503
diff --git a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild
deleted file mode 100644
index 17ecd0898daa..000000000000
--- a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild,v 1.6 2005/01/29 12:17:36 suka Exp $
-
-inherit rpm
-
-OO_VER=1.1.1
-INSTDIR="/opt/Ximian-OpenOffice"
-S="${WORKDIR}/usr"
-DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite."
-HOMEPAGE="http://ooo.ximian.com"
-SRC_URI="ftp://ftp.ximian.com/pub/xd-unstable/suse-90-i586/ooo-1.1.1-0.ximian.8.1.1.53.i586.rpm
- ftp://ftp.ximian.com/pub/xd-unstable/suse-90-i586/ooo-fonts-1.1.3-0.ximian.8.2.noarch.rpm
- mirror://openoffice/contrib/dictionaries/dicooo/DicOOo.sxw"
-
-LICENSE="|| ( LGPL-2 SISSL-1.1 )"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="gnome kde"
-
-RDEPEND="virtual/libc
- !=sys-libs/glibc-2.3.1*
- >=dev-lang/perl-5.0
- >=x11-libs/gtk+-2.0
- >=gnome-base/libgnome-2.2
- >=gnome-base/gnome-vfs-2.0
- >=net-print/libgnomecups-0.1.4
- >=net-print/gnome-cups-manager-0.16
- >=dev-libs/libxml2-2.0
- >=media-libs/libart_lgpl-2.3.13
- >=x11-libs/startup-notification-0.5
- media-fonts/ttf-bitstream-vera
- media-libs/fontconfig
- media-libs/libpng
- sys-devel/flex
- sys-devel/bison
- virtual/x11
- app-arch/zip
- app-arch/unzip
- dev-libs/expat
- net-libs/linc
- !app-office/openoffice-ximian
- virtual/lpr
- ppc? ( >=sys-devel/gcc-3.2.1 )
- >=media-libs/freetype-2.1.4"
-DEPEND="${RDEPEND}
- dev-util/intltool"
-
-PROVIDE="virtual/ooo"
-
-src_unpack() {
- rpm_src_unpack
-}
-
-src_install() {
-
- # Sandbox issues; bug #11838
- addpredict "/user"
- addpredict "/share"
- addpredict "/dev/dri"
- addpredict "/usr/bin/soffice"
- addpredict "/pspfontcache"
- addpredict "/opt/OpenOffice.org/foo.tmp"
- addpredict "/opt/OpenOffice.org/delme"
-
- # 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>/.xopenoffice/<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 Ximian-OpenOffice.org into build root..."
- dodir ${INSTDIR}
- cd ${S}/lib/ooo-1.1
- cp -R * ${D}${INSTDIR}
-
- #Fix for parallel install
- sed -i -e s/sversionrc/xversionrc/g ${D}${INSTDIR}/program/bootstraprc ${D}${INSTDIR}/program/instdb.ins
-
- 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
- find ${D}${INSTDIR}/ -type d -exec chmod a+rx {} \;
-
- # Fix symlinks
- dosym program/setup ${INSTDIR}/setup
-
- # Install user autoresponse file
- insinto /etc/ximian-openoffice
- sed -e "s|<pv>|${OO_VER}|g" ${T}/rsfile-local > ${T}/autoresponse-${OO_VER}.conf
- doins ${T}/autoresponse-${OO_VER}.conf
-
- # Install wrapper script
- exeinto /usr/bin
- sed -e "s|<pv>|${OO_VER}|g" \
- ${FILESDIR}/${OO_VER}/xooffice-wrapper-1.3 > ${T}/xooffice
- doexe ${T}/xooffice
-
- # Component symlinks
- for app in calc draw impress html math writer setup; do
- dosym xooffice /usr/bin/xoo${app}
- done
-
- # Install ximian icons
- cd ${S}/share/pixmaps
- insinto /usr/share/pixmaps
- doins *.png
-
- cd ${S}/share/gnome/ximian/applications/
- rm -f *1.1*
- sed -i -e s/'=oo'/'=xoo'/g *.desktop
-
- einfo "Installing Menu shortcuts and mime info (need \"gnome\" or \"kde\" in USE)..."
- if use gnome
- then
- insinto /usr/share/applications
- doins *.desktop
- insinto /usr/share/application-registry
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.applications
- insinto /usr/share/mime-info
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.keys
- fi
-
- if use kde
- then
- insinto /usr/share/applnk/Ximian-OpenOffice.org
- doins *.desktop
- fi
-
- # Install corrected Symbol Font
- insinto /usr/X11R6/lib/X11/fonts/truetype/
- doins ${S}/share/fonts/default/TrueType/symbol/*.ttf
-
- # Install missing Dictionary installer
- insinto ${INSTDIR}/share/dict/ooo
- doins ${DISTDIR}/DicOOo.sxw
-
- # Remove unneeded stuff
- rm -rf ${D}${INSTDIR}/share/cde
-
- # Fix instdb.ins, to *not* install local copies of these
- for entry in Kdeapplnk Kdemimetext Kdeicons Gnome_Apps Gnome_Icons Gnome2_Apps; do
- perl -pi -e "/^File gid_File_Extra_$entry/ .. /^End/ and (\
- s|^\tSize\s+\= .*|\tSize\t\t = 0;\r| or \
- s|^\tArchiveFiles\s+\= .*|\tArchiveFiles\t = 0;\r| or \
- s|^\tArchiveSize\s+\= .*|\tArchiveSize\t = 0;\r| or \
- s|^\tContains\s+\= .*|\tContains\t = ();\r| or \
- s|\t\t\t\t\t\".*|\r|g)" \
- ${D}${INSTDIR}/program/instdb.ins
- done
-
- # 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}
-}
-
-pkg_postinst() {
-
- einfo " To start Ximian-OpenOffice.org, run:"
- einfo
- einfo " $ xooffice"
- einfo
- einfo " Also, for individual components, you can use any of:"
- einfo
- einfo " xoocalc, xoodraw, xooimpress, xoomath, xooweb or xoowriter"
- einfo
- einfo " If you are upgrading from an older Ximian-OpenOffice.org"
- einfo " you will have to redo your settings."
-}