diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-06-06 21:21:51 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-06-06 21:21:51 +0000 |
commit | 895f8879f86a9568f78496678891f1dff1b4690d (patch) | |
tree | 8ab116a16ac285b3d46cfd53455c0f8308ea2afa /app-office/gnumeric | |
parent | New package. (diff) | |
download | historical-895f8879f86a9568f78496678891f1dff1b4690d.tar.gz historical-895f8879f86a9568f78496678891f1dff1b4690d.tar.bz2 historical-895f8879f86a9568f78496678891f1dff1b4690d.zip |
new version
Diffstat (limited to 'app-office/gnumeric')
-rw-r--r-- | app-office/gnumeric/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/gnumeric/files/digest-gnumeric-1.0.7 | 1 | ||||
-rw-r--r-- | app-office/gnumeric/files/gnumeric-1.0.7-docbuild.patch | 13 | ||||
-rw-r--r-- | app-office/gnumeric/gnumeric-1.0.7.ebuild | 121 |
4 files changed, 140 insertions, 1 deletions
diff --git a/app-office/gnumeric/ChangeLog b/app-office/gnumeric/ChangeLog index 963d7abbc802..16033ed50462 100644 --- a/app-office/gnumeric/ChangeLog +++ b/app-office/gnumeric/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/gnumeric # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/ChangeLog,v 1.10 2002/05/30 04:13:01 spider Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/ChangeLog,v 1.11 2002/06/06 21:21:50 azarah Exp $ + +*gnumeric-1.0.7 (6 Jun 2002) + 7 Jun 2002; Martin Schlemmer <azarah@gentoo.org> : + Bump version. *gnumeric-1.1.5.ebuild (29 May 2002) 29 May 2002; Spider <spider@gentoo.org> gnumeric-1.1.5.ebuild : diff --git a/app-office/gnumeric/files/digest-gnumeric-1.0.7 b/app-office/gnumeric/files/digest-gnumeric-1.0.7 new file mode 100644 index 000000000000..9cb375edda32 --- /dev/null +++ b/app-office/gnumeric/files/digest-gnumeric-1.0.7 @@ -0,0 +1 @@ +MD5 dd807029289a9bdaf898c2c89e235462 gnumeric-1.0.7.tar.bz2 10324254 diff --git a/app-office/gnumeric/files/gnumeric-1.0.7-docbuild.patch b/app-office/gnumeric/files/gnumeric-1.0.7-docbuild.patch new file mode 100644 index 000000000000..d13c4176b72c --- /dev/null +++ b/app-office/gnumeric/files/gnumeric-1.0.7-docbuild.patch @@ -0,0 +1,13 @@ +--- gnumeric-doc.make.orig Sun Mar 10 04:13:46 2002 ++++ gnumeric-doc.make Sun Mar 17 22:42:58 2002 +@@ -18,8 +18,8 @@ + + include $(gnumeric_docdir)/sgmldocs.make + +-$(srcdir)/functions.sgml: $(srcdir)/func-list.sgml $(srcdir)/func-header.sgml $(srcdir)/func-footer.sgml +- cd $(srcdir) && cat func-header.sgml func-list.sgml func-footer.sgml > $@ ++$(srcdir)/functions.sgml: $(srcdir)/func-list.sgml $(srcdir)/../C/func-header.sgml $(srcdir)/../C/func-footer.sgml ++ cd $(srcdir) && cat $(srcdir)/../C/func-header.sgml func-list.sgml $(srcdir)/../C/func-footer.sgml > $@ + + $(srcdir)/func-list.sgml: $(srcdir)/func.defs $(gnumeric_docdir)/make-func-list.pl + cd $(srcdir) && perl $(gnumeric_docdir)/make-func-list.pl func.defs > $@ diff --git a/app-office/gnumeric/gnumeric-1.0.7.ebuild b/app-office/gnumeric/gnumeric-1.0.7.ebuild new file mode 100644 index 000000000000..c2c2f9017c0e --- /dev/null +++ b/app-office/gnumeric/gnumeric-1.0.7.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Martin Schlemmer <azarah@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/gnumeric-1.0.7.ebuild,v 1.1 2002/06/06 21:21:50 azarah Exp $ + +#provide Xmake and Xemake + +inherit virtualx + +S=${WORKDIR}/${P} +DESCRIPTION="Gnumeric, the GNOME Spreadsheet" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnumeric/${P}.tar.bz2" +HOMEPAGE="http://www.gnome.org/gnome-office/gnumeric.shtml" + +#Eye Of Gnome (media-gfx/eog) is for image support. +RDEPEND="=x11-libs/gtk+-1.2* + >=gnome-base/gnome-libs-1.4.1.2-r1 + >=gnome-base/oaf-0.6.7 + >=gnome-base/ORBit-0.5.12-r1 + >=gnome-base/libglade-0.17 + >=gnome-base/gnome-print-0.31 + >=gnome-extra/gal-0.18 + >=dev-libs/libole2-0.2.4 + >=media-gfx/eog-0.6 + =dev-libs/libxml-1.8* + =media-libs/freetype-1.3* + bonobo? ( >=gnome-base/bonobo-1.0.17 ) + perl? ( >=sys-devel/perl-5.6 ) + python? ( >=dev-lang/python-2.0 ) + gb? ( ~gnome-extra/gb-0.0.17 ) + libgda? ( >=gnome-extra/libgda-0.2.91 + >=gnome-base/bonobo-1.0.17 ) + evo? ( >=net-mail/evolution-0.13 )" + +#will only work once everybody has decided that they should support +#the latest versions of programs, or if we live in a perfect world, +#and subsequent versions do not break compatibility. +# guile? ( >=dev-util/guile-1.5 )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext + >=dev-util/intltool-0.11 )" + + +src_unpack() { + unpack ${A} + + #patch 'gnumeric-doc.make' to look for files in the correct place. +# cd ${S}/doc +# patch -p0 <${FILESDIR}/${P}-docbuild.patch || die +# cd ${S} +} + +src_compile() { + + # fix the relink bug, and invalid paths in .ls files. + libtoolize --copy --force + + local myconf + if [ -z "`use nls`" ] ; then + myconf="--disable-nls" + fi + if [ -n "`use gb`" ]; then + myconf="${myconf} --with-gb" + else + myconf="${myconf} --without-gb" + fi + #broken as we cannot use guile-1.5 (break gnucash) + if [ -n "`use guile`" ]; then + myconf="${myconf} --without-guile" + else + myconf="${myconf} --without-guile" + fi + if [ -n "`use perl`" ]; then + myconf="${myconf} --with-perl" + else + myconf="${myconf} --without-perl" + fi + if [ -n "`use python`" ]; then + myconf="${myconf} --with-python" + else + myconf="${myconf} --without-python" + fi + if [ -n "`use libgda`" ]; then + myconf="${myconf} --with-gda --with-bonobo" + else + myconf="${myconf} --without-gda" + fi + if [ -n "`use evo`" ]; then + myconf="${myconf} --with-evolution" + fi + if [ -n "`use bonobo`" ]; then + myconf="${myconf} --with-bonobo" + elif [ -z "`use libgda`" ]; then + myconf="${myconf} --without-bonobo" + fi + + CFLAGS="$CFLAGS `gdk-pixbuf-config --cflags`" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + ${myconf} || die + + #'gnumeric --dump-func-defs' needs to write to ${HOME}/.gnome/, or + #else the build fails. + addwrite "${HOME}/.gnome" + + #the build process have to be able to connect to X + Xemake || Xmake || die +} + +src_install() { + + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + install || die + + dodoc AUTHORS COPYING *ChangeLog HACKING NEWS README TODO +} + |