summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/abiword')
-rw-r--r--app-office/abiword/ChangeLog8
-rw-r--r--app-office/abiword/Manifest21
-rw-r--r--app-office/abiword/abiword-2.0.7.ebuild113
-rw-r--r--app-office/abiword/files/abiword-2.0.7-gcc-3.4.patch12
-rw-r--r--app-office/abiword/files/digest-abiword-2.0.71
5 files changed, 145 insertions, 10 deletions
diff --git a/app-office/abiword/ChangeLog b/app-office/abiword/ChangeLog
index a3f5622cd956..6f9d30e02498 100644
--- a/app-office/abiword/ChangeLog
+++ b/app-office/abiword/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/abiword
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.77 2004/05/11 17:28:14 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.78 2004/05/24 16:58:50 lu_zero Exp $
+
+*abiword-2.0.7 (24 May 2004)
+
+ 24 May 2004; Luca Barbato <lu_zero@gentoo.org>
+ +files/abiword-2.0.7-gcc-3.4.patch, +abiword-2.0.7.ebuild:
+ New version and gcc-3.4 fix
11 May 2004; Gustavo Zacarias <gustavoz@gentoo.org> abiword-2.0.6.ebuild:
Stable on hppa
diff --git a/app-office/abiword/Manifest b/app-office/abiword/Manifest
index c4bc4e89dfe9..e494377110ea 100644
--- a/app-office/abiword/Manifest
+++ b/app-office/abiword/Manifest
@@ -1,13 +1,16 @@
-MD5 7f8957b8f863b61541edce6310594c38 ChangeLog 11411
-MD5 f8ed2f89b5cd1abf83ecd4a6f5344821 abiword-2.0.1.ebuild 2179
-MD5 b0c016c12468243998e794cd4fb22b2e abiword-2.0.2.ebuild 2253
-MD5 213baf684b261b62666d2aaae3d7d09a abiword-2.0.5.ebuild 2529
-MD5 71526a1eb5cd84bb694306f524c2fe3b abiword-2.0.6.ebuild 2385
+MD5 cfa151b9edae750298bba34b544b6a18 abiword-2.0.2.ebuild 2252
+MD5 109aa0303cfc1f1d14b8b161707f0872 abiword-2.0.1.ebuild 2178
+MD5 03ff42e90b0344172afdafacd93d97f9 ChangeLog 11580
+MD5 f487b86dff272cb6ed5d0fa303f6a762 abiword-2.0.6.ebuild 2384
+MD5 973a1daa792432e46bc2f05647c4f24a abiword-2.0.5.ebuild 2528
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 31616e14907aefda2489036cc3d1db3d files/AbiWord.desktop 901
-MD5 1ebcd22c6249c06e631c13491113d8ef files/AbiWord2.desktop 166
+MD5 51f7f365f359a83252cf71735b67a498 abiword-2.0.7.ebuild 2455
MD5 cd037c182094f6ba10b7dd9e15035efd files/abiword-2.0.3-amd64.patch 8632
-MD5 28dcae4a10f58c12a4a73346a7ab1ed0 files/digest-abiword-2.0.1 142
-MD5 20b01c6c3348c63e1b088cf107398e0c files/digest-abiword-2.0.2 68
+MD5 31616e14907aefda2489036cc3d1db3d files/AbiWord.desktop 901
MD5 de17339aaab5c0b950381a7f36cf4c58 files/digest-abiword-2.0.5 68
+MD5 662c468ce505280c4a15a351ebbd485e files/digest-abiword-2.0.7 68
+MD5 388c51460cfdcd7f6fd5b144d61f245a files/abiword-2.0.7-gcc-3.4.patch 525
+MD5 28dcae4a10f58c12a4a73346a7ab1ed0 files/digest-abiword-2.0.1 142
+MD5 1ebcd22c6249c06e631c13491113d8ef files/AbiWord2.desktop 166
MD5 98793f926bc55d7e2398a9990d36fe18 files/digest-abiword-2.0.6 68
+MD5 20b01c6c3348c63e1b088cf107398e0c files/digest-abiword-2.0.2 68
diff --git a/app-office/abiword/abiword-2.0.7.ebuild b/app-office/abiword/abiword-2.0.7.ebuild
new file mode 100644
index 000000000000..f11fa82954ce
--- /dev/null
+++ b/app-office/abiword/abiword-2.0.7.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.0.7.ebuild,v 1.1 2004/05/24 16:58:50 lu_zero Exp $
+
+inherit eutils
+
+IUSE="spell jpeg xml2 gnome doc"
+
+S_P=${S}/${PN}-plugins
+S_D=${S}/${PN}-docs
+S=${WORKDIR}/${P}/abi
+
+DESCRIPTION="Fully featured yet light and fast cross platform word processor"
+HOMEPAGE="http://www.abisource.com"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+KEYWORDS="~x86 ~sparc ~alpha ~ppc ~amd64 hppa"
+LICENSE="GPL-2"
+SLOT="2"
+
+RDEPEND="virtual/x11
+ virtual/xft
+ >=media-libs/fontconfig-2.1
+ media-libs/libpng
+ >=x11-libs/gtk+-2.2
+ >=gnome-base/libglade-2
+ >=app-text/wv-1
+ >=dev-libs/fribidi-0.10.4
+ jpeg? ( >=media-libs/jpeg-6b-r2 )
+ xml2? ( >=dev-libs/libxml2-2.4.10 )
+ !xml2? ( dev-libs/expat )
+ spell? ( >=app-text/enchant-1 )
+ gnome? ( >=gnome-base/libgnomeui-2.2
+ >=gnome-base/libgnomeprint-2.2.1
+ >=gnome-base/libgnomeprintui-2.2.1
+ >=gnome-base/libbonobo-2 )"
+
+DEPEND="${RDEPEND}
+ sys-devel/automake
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc-3.4.patch
+}
+
+src_compile() {
+
+ # this is a hack since I don't want to go hack in the gnome-vfs headerfiles.
+ # The issue is about gnome-vfs containing "long long" which makes gcc 3.3.1 balk
+ cp configure configure.old
+ cat configure.old |sed s:-pedantic::g >configure
+ rm -f configure.old
+
+ econf \
+ `use_enable gnome` \
+ `use_with xml2 libxml2` \
+ `use_enable spell enchant` \
+ --disable-debug \
+ --enable-bidi \
+ --enable-threads \
+ --without-ImageMagick \
+ --disable-scripting \
+ --disable-gucharmap \
+ --with-sys-wv || die
+
+ emake all-recursive || die
+
+ # Build plugins
+
+ cd ${S_P}
+
+ econf \
+ --disable-debug \
+ --enable-all \
+ --with-abiword=${S} \
+ --without-ImageMagick || die
+
+ emake || die
+
+}
+
+src_install() {
+
+ dodir /usr/{bin,lib}
+
+ einstall PERLDEST=${D} || die
+
+ dosed "s:Exec=abiword:Exec=abiword-2.0:" /usr/share/applications/abiword.desktop
+
+ rm -f ${D}/usr/bin/abiword-2.0
+ rm -f ${D}/usr/bin/abiword
+ dosym AbiWord-2.0 /usr/bin/abiword-2.0
+
+ dodoc COPYING *.TXT docs/build/BUILD.TXT user/wp/readme.txt
+
+ # install plugins
+
+ cd ${S_P}
+
+ make DESTDIR=${D} install || die
+
+ # install documentation
+
+ cd ${WORKDIR}/${P}/abiword-docs
+ sed -e 's:prefix = /usr/local:prefix = /usr:g' Makefile > Makefile.new
+ mv Makefile.new Makefile
+ make DESTDIR=${D} || die
+
+}
+
+USE_DESTDIR="1"
diff --git a/app-office/abiword/files/abiword-2.0.7-gcc-3.4.patch b/app-office/abiword/files/abiword-2.0.7-gcc-3.4.patch
new file mode 100644
index 000000000000..9a6d2f80082d
--- /dev/null
+++ b/app-office/abiword/files/abiword-2.0.7-gcc-3.4.patch
@@ -0,0 +1,12 @@
+diff -ruN abiword-2.0.7.orig/abi/src/text/fmt/xp/fl_DocLayout.h abiword-2.0.7/abi/src/text/fmt/xp/fl_DocLayout.h
+--- abiword-2.0.7.orig/abi/src/text/fmt/xp/fl_DocLayout.h 2004-05-24 18:08:52.250531368 +0200
++++ abiword-2.0.7/abi/src/text/fmt/xp/fl_DocLayout.h 2004-05-24 18:13:09.379441832 +0200
+@@ -249,7 +249,7 @@
+ void __dump(FILE * fp) const;
+ #endif
+
+-protected:
++//protected:
+ static void _backgroundCheck(UT_Worker * pTimer);
+ void _toggleAutoSpell(bool bSpell);
+ void _toggleAutoSmartQuotes(bool bSQ);
diff --git a/app-office/abiword/files/digest-abiword-2.0.7 b/app-office/abiword/files/digest-abiword-2.0.7
new file mode 100644
index 000000000000..946953fddd79
--- /dev/null
+++ b/app-office/abiword/files/digest-abiword-2.0.7
@@ -0,0 +1 @@
+MD5 bb1de0c969f1b93280ff7e661efb1025 abiword-2.0.7.tar.bz2 22012687