summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-05-06 22:24:25 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-05-06 22:24:25 +0000
commit0e56b3a446ee40eb38b2e56caf496b5acfe4f064 (patch)
treea0a23d4c18fef239483f40bdd9c4809c65796ce5 /app-office/openoffice-ximian
parentStable on AMD64 (Manifest recommit) (diff)
downloadgentoo-2-0e56b3a446ee40eb38b2e56caf496b5acfe4f064.tar.gz
gentoo-2-0e56b3a446ee40eb38b2e56caf496b5acfe4f064.tar.bz2
gentoo-2-0e56b3a446ee40eb38b2e56caf496b5acfe4f064.zip
Cleanups and fixes
Diffstat (limited to 'app-office/openoffice-ximian')
-rw-r--r--app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild22
-rw-r--r--app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild22
2 files changed, 20 insertions, 24 deletions
diff --git a/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild b/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild
index d6de2afd4646..62cc17b5e3f7 100644
--- a/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild
+++ b/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild,v 1.5 2004/05/06 20:53:36 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.54.ebuild,v 1.6 2004/05/06 22:24:25 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -53,14 +53,6 @@ PATCHLEVEL=OOO_1_1_1
ICON_VER=OOO_1_1-9
KDE_ICON_VER=OOO_1_1-0.1
KDE_ICON_PATH=documents/159/1785
-if [ `use ooo-kde` ]; then
- ICON=ooo-KDE_icons-${KDE_ICON_VER}
- DISTRO=KDE
-else
- ICON=ooo-icons-${ICON_VER}
- DISTRO=Ximian
-fi
-
INSTDIR="/opt/Ximian-OpenOffice"
PATCHDIR=${WORKDIR}/ooo-build-${PV}
ICONDIR=${WORKDIR}/${ICON}
@@ -68,8 +60,8 @@ S="${WORKDIR}/oo_${OO_VER}_src"
DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite."
SRC_URI="mirror://openoffice/stable/${OO_VER}/OOo_${OO_VER}p1_source.tar.bz2
http://ooo.ximian.com/packages/${PATCHLEVEL}/ooo-build-${PV}.tar.gz
- ooo-kde? ( http://kde.openoffice.org/files/${KDE_ICON_PATH}/${ICON}.tar.gz )
- !ooo-kde? ( http://ooo.ximian.com/packages/${ICON}.tar.gz )"
+ ooo-kde? ( http://kde.openoffice.org/files/${KDE_ICON_PATH}/ooo-KDE_icons-${KDE_ICON_VER}.tar.gz )
+ !ooo-kde? ( http://ooo.ximian.com/packages/ooo-icons-${ICON_VER}.tar.gz )"
HOMEPAGE="http://ooo.ximian.com"
@@ -243,7 +235,7 @@ src_unpack() {
oo_setup
cd ${WORKDIR}
- unpack OOo_${OO_VER}p1_source.tar.bz2 ooo-build-${PV}.tar.gz ${ICON}.tar.gz
+ unpack ${A}
#Fix KDE as terminal node of distro
epatch ${FILESDIR}/${OO_VER}/distro_kde.patch
@@ -267,6 +259,12 @@ src_unpack() {
fi
einfo "Applying Ximian OO.org Patches"
+ if [ `use ooo-kde` ]; then
+ DISTRO=KDE
+ else
+ DISTRO=Ximian
+ fi
+
${PATCHDIR}/patches/apply.pl ${PATCHDIR}/patches/${PATCHLEVEL} ${S} -f --distro=${DISTRO} || die "Ximian patches failed"
einfo "Installing / Scaling Icons"
diff --git a/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild b/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild
index 25c6edcc72e4..ebb49b3bfeb0 100644
--- a/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild
+++ b/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild,v 1.1 2004/05/06 21:21:54 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.55.ebuild,v 1.2 2004/05/06 22:24:25 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -53,14 +53,6 @@ PATCHLEVEL=OOO_1_1_1
ICON_VER=OOO_1_1-9
KDE_ICON_VER=OOO_1_1-0.1
KDE_ICON_PATH=documents/159/1785
-if [ `use ooo-kde` ]; then
- ICON=ooo-KDE_icons-${KDE_ICON_VER}
- DISTRO=KDE
-else
- ICON=ooo-icons-${ICON_VER}
- DISTRO=Ximian
-fi
-
INSTDIR="/opt/Ximian-OpenOffice"
PATCHDIR=${WORKDIR}/ooo-build-${PV}
ICONDIR=${WORKDIR}/${ICON}
@@ -68,8 +60,8 @@ S="${WORKDIR}/oo_${OO_VER}_src"
DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite."
SRC_URI="mirror://openoffice/stable/${OO_VER}/OOo_${OO_VER}p1_source.tar.bz2
http://ooo.ximian.com/packages/${PATCHLEVEL}/ooo-build-${PV}.tar.gz
- ooo-kde? ( http://kde.openoffice.org/files/${KDE_ICON_PATH}/${ICON}.tar.gz )
- !ooo-kde? ( http://ooo.ximian.com/packages/${ICON}.tar.gz )"
+ ooo-kde? ( http://kde.openoffice.org/files/${KDE_ICON_PATH}/ooo-KDE_icons-${KDE_ICON_VER}.tar.gz )
+ !ooo-kde? ( http://ooo.ximian.com/packages/ooo-icons-${ICON_VER}.tar.gz )"
HOMEPAGE="http://ooo.ximian.com"
@@ -243,7 +235,7 @@ src_unpack() {
oo_setup
cd ${WORKDIR}
- unpack OOo_${OO_VER}p1_source.tar.bz2 ooo-build-${PV}.tar.gz ${ICON}.tar.gz
+ unpack ${A}
#Fix Sandbox problems with scale-icons script
cd ${PATCHDIR}
@@ -268,6 +260,12 @@ src_unpack() {
fi
einfo "Applying Ximian OO.org Patches"
+ if [ `use ooo-kde` ]; then
+ DISTRO=KDE
+ else
+ DISTRO=Ximian
+ fi
+
${PATCHDIR}/patches/apply.pl ${PATCHDIR}/patches/${PATCHLEVEL} ${S} -f --distro=${DISTRO} || die "Ximian patches failed"
einfo "Installing / Scaling Icons"