Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is this the most up to date OOo 2 ebuild?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
omnicloud
Guru
Guru


Joined: 10 Mar 2005
Posts: 550
Location: California

PostPosted: Sat May 14, 2005 10:14 am    Post subject: Is this the most up to date OOo 2 ebuild? Reply with quote

If someone has a more up to date one, please let me know before I start emerging.

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $

inherit rpm versionator

IUSE="java"

INSTDIR="/opt/OpenOffice.org1.9"

S="${WORKDIR}/RPMS"
DESCRIPTION="OpenOffice productivity suite"

SNV="$(get_version_component_range 3)"
# SRC_URI="mirror://openoffice/developer/680_m${SNV}/OOo_1.9.m${SNV}_native_LinuxIntel_install.tar.gz"
SRC_URI="mirror://openoffice/stable/2.0beta/OOo_2.0beta_LinuxIntel_install.tar.gz"
HOMEPAGE="http://www.openoffice.org/"

LICENSE="|| ( LGPL-2 SISSL-1.1 )"
SLOT="0"
KEYWORDS="~x86 ~amd64"

RDEPEND="!app-office/openoffice2
virtual/x11
virtual/libc
>=dev-lang/perl-5.0
app-arch/zip
app-arch/unzip
java? ( >=virtual/jre-1.4.1 )
amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )"

DEPEND="${RDEPEND}
sys-apps/findutils"

PROVIDE="virtual/ooo"

src_unpack() {
unpack ${A}
for i in ${S}/*.rpm
do
rpm_unpack ${i}
done
}

src_install () {
# Sandbox issues; bug #8587
addpredict "/user"
addpredict "/share"
addpredict "/dev/dri"
addpredict "/usr/bin/soffice"
addpredict "/pspfontcache"
addpredict "/root/.gconfd"
addpredict "/opt/OpenOffice.org/foo.tmp"
addpredict "/opt/OpenOffice.org/delme"

einfo "Installing OpenOffice.org into build root..."
dodir ${INSTDIR}
mv ${WORKDIR}/opt/openoffice.org1.9.${SNV}/* ${D}${INSTDIR}

einfo "Removing build root from registry..."
# Install wrapper script
newbin ${FILESDIR}/1.9/ooffice-wrapper-1.9 ooffice

# Component symlinks
for app in calc draw impress math writer web setup padmin; do
dosym ooffice /usr/bin/oo${app}
done
}

pkg_postinst() {
einfo "Running post installation scripts"
cd ${INSTDIR}
./program/pkgchk --shared --quiet
./program/configimport --spool

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"
}
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat May 14, 2005 4:34 pm    Post subject: Reply with quote

Which version is this? Where is the ebuild from?
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 215
Location: Europe/Prague

PostPosted: Sat May 14, 2005 5:23 pm    Post subject: Reply with quote

I don't much understand ebuilds, but according to these lines
Code:
# SRC_URI="mirror://openoffice/developer/680_m${SNV}/OOo_1.9.m${SNV}_native_LinuxIntel_install.tar.gz"
SRC_URI="mirror://openoffice/stable/2.0beta/OOo_2.0beta_LinuxIntel_install.tar.gz"

it will probably try to get the 2.0beta version which is obsolete. the newest version is 1.9.m100 from the developer tree (see here) so i think you want to change at least those two lines to get that snapshot.
Back to top
View user's profile Send private message
omnicloud
Guru
Guru


Joined: 10 Mar 2005
Posts: 550
Location: California

PostPosted: Sat May 14, 2005 10:39 pm    Post subject: Reply with quote

Ahhh, I found the OpenOffice 1.9 m100 topic.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum