Revbump to build ssindex for beagle. bug #108177
authorDaniel Gryniewicz <dang@gentoo.org>
Wed, 5 Oct 2005 20:04:46 +0000 (20:04 +0000)
committerDaniel Gryniewicz <dang@gentoo.org>
Wed, 5 Oct 2005 20:04:46 +0000 (20:04 +0000)
Package-Manager: portage-2.0.52-r1

app-office/gnumeric/ChangeLog
app-office/gnumeric/Manifest
app-office/gnumeric/files/digest-gnumeric-1.4.3-r3 [new file with mode: 0644]
app-office/gnumeric/gnumeric-1.4.3-r3.ebuild [new file with mode: 0644]

index 72c985f3284749dff1ca650d2fa91c0df8a5e15d..6100685227742d0e2e11777e73f15bcc2ac1b61b 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-office/gnumeric
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/ChangeLog,v 1.113 2005/09/07 21:20:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/ChangeLog,v 1.114 2005/10/05 20:04:46 dang Exp $
+
+*gnumeric-1.4.3-r3 (05 Oct 2005)
+
+  05 Oct 2005; <dang@gentoo.org> +gnumeric-1.4.3-r3.ebuild:
+  Revbump to build ssindex for beagle. bug #108177
 
   07 Sep 2005; Aron Griffis <agriffis@gentoo.org> gnumeric-1.4.3-r2.ebuild:
   Mark 1.4.3-r2 stable on ia64
index 9a321bc7c2b4af21dfc4229226064f1ee947f72a..43a484ba92b15dd48851c4944bf68e086aedf453 100644 (file)
@@ -1,7 +1,19 @@
-MD5 95e60f7a3529779cf71d93009f73a293 ChangeLog 15012
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 2644f43aa2b70a69568b5fe657d03f03 gnumeric-1.4.3-r3.ebuild 2597
 MD5 05cab453a958d1d24692202747791548 gnumeric-1.4.3-r2.ebuild 2572
+MD5 2360a2262452b3e05991a0d7823f3973 ChangeLog 15154
 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 2bff8e6c3d41ceae3d04783899915363 files/digest-gnumeric-1.4.3-r2 69
+MD5 403a9f34b1159b636dec6156951e023d files/gnumeric-1.4.3-makejobs.patch 1591
 MD5 3fab812a68d5849434ba8d7ee3ef2887 files/gnumeric-1.4.3-new_gsf_api.patch 3308
+MD5 2bff8e6c3d41ceae3d04783899915363 files/digest-gnumeric-1.4.3-r2 69
+MD5 2bff8e6c3d41ceae3d04783899915363 files/digest-gnumeric-1.4.3-r3 69
 MD5 00512bbcd353d056c02b62335dfd87d1 files/gnumeric-1.4.3-pcre_int_overflow.patch 3916
-MD5 403a9f34b1159b636dec6156951e023d files/gnumeric-1.4.3-makejobs.patch 1591
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDRDIEomPajV0RnrERAk5iAJ43EOJtTVGTaSektKxAVqi/x10V8gCfT8YE
+zy1O5yUtXvLXIaBD9gZMRVE=
+=syTO
+-----END PGP SIGNATURE-----
diff --git a/app-office/gnumeric/files/digest-gnumeric-1.4.3-r3 b/app-office/gnumeric/files/digest-gnumeric-1.4.3-r3
new file mode 100644 (file)
index 0000000..b63fff8
--- /dev/null
@@ -0,0 +1 @@
+MD5 b684eec48b1696d7a8d7152d1e17741c gnumeric-1.4.3.tar.bz2 13756646
diff --git a/app-office/gnumeric/gnumeric-1.4.3-r3.ebuild b/app-office/gnumeric/gnumeric-1.4.3-r3.ebuild
new file mode 100644 (file)
index 0000000..02715dc
--- /dev/null
@@ -0,0 +1,105 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/gnumeric-1.4.3-r3.ebuild,v 1.1 2005/10/05 20:04:46 dang Exp $
+
+inherit virtualx eutils flag-o-matic gnome2
+
+DESCRIPTION="Gnumeric, the GNOME Spreadsheet"
+HOMEPAGE="http://www.gnome.org/projects/gnumeric/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="gnome libgda python static"
+# bonobo gnomedb
+
+RDEPEND=">=dev-libs/glib-2.4
+       >=gnome-extra/libgsf-1.12
+       >=dev-libs/libxml2-2.4.12
+       >=x11-libs/pango-1.4
+
+       >=x11-libs/gtk+-2.4
+       >=gnome-base/libglade-2.3.6
+       >=gnome-base/libgnomecanvas-2
+       >=gnome-base/libgnomeprint-2.5.2
+       >=gnome-base/libgnomeprintui-2.5.2
+       >=media-libs/libart_lgpl-2.3.11
+
+       gnome? (
+               >=gnome-base/gconf-2
+               >=gnome-base/libgnome-2
+               >=gnome-base/libgnomeui-2
+               >=gnome-base/libbonobo-2.2
+               >=gnome-base/libbonoboui-2.2 )
+       python? (
+               >=dev-lang/python-2
+               >=dev-python/pygtk-2 )
+       libgda? ( >=gnome-extra/libgda-1.0.1 )"
+#      gnomedb? ( >=gnome-extra/libgnomedb-0.90.2 )
+
+DEPEND="${RDEPEND}
+       >=dev-util/intltool-0.28
+       >=dev-util/pkgconfig-0.9
+       app-text/scrollkeeper"
+
+DOCS="AUTHORS COPYING* ChangeLog HACKING NEWS README TODO"
+USE_DESTDIR="1"
+
+
+pkg_setup() {
+       if use gnome && ! built_with_use gnome-extra/libgsf gnome; then
+               einfo "libgsf needs to be compiled with gnome in USE"
+               einfo "for this version of gnumeric to work. Rebuild"
+               einfo "libgsf first like this :"
+               einfo "USE=gnome emerge libgsf -vp"
+               die "libgsf was built without gnome support..."
+       fi
+}
+
+src_unpack() {
+       unpack "${A}"
+       gnome2_omf_fix
+
+       cd ${S}/plugins/corba
+       # makejobs proposed patch (#78828)
+       epatch ${FILESDIR}/${PN}-1.4.3-makejobs.patch
+       # use newer libgsf api (#96179)
+       cd ${S}/plugins/excel
+       epatch ${FILESDIR}/${P}-new_gsf_api.patch
+       cd "${S}"
+       # Backported patch to fix a potential integer overflow (bug #104010)
+       epatch ${FILESDIR}/${P}-pcre_int_overflow.patch
+
+       automake || die
+}
+
+src_compile() {
+       # building nogui is still too problematic
+       # `use_with gtk`
+       # `use_with gnomedb gda`
+       local myconf="--enable-ssindex \
+               $(use_with python) \
+               $(use_with libgda gda) \
+               $(use_with gnome)      \
+               $(use_enable static)"
+
+       # gcc bug (http://bugs.gnome.org/show_bug.cgi?id=128834)
+       replace-flags "-Os" "-O2"
+
+       econf $myconf || die "./configure failed"
+
+       # the build process has to be able to connect to X
+       Xemake || die "Compilation failed"
+}
+
+src_install() {
+
+       gnome2_src_install
+
+       # make gnumeric find it's help
+       dosym \
+               /usr/share/gnome/help/gnumeric \
+               /usr/share/${PN}/${PV}/doc
+
+}