summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-04-24 13:11:32 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-04-24 13:11:32 +0000
commitf3179949b26699272b3a88073a82c41b1da5f155 (patch)
tree3e16e6800e7397d48708d6f3489de5b81418748e /app-office/kword
parentBump to 0.10.8, remove old (diff)
downloadgentoo-2-f3179949b26699272b3a88073a82c41b1da5f155.tar.gz
gentoo-2-f3179949b26699272b3a88073a82c41b1da5f155.tar.bz2
gentoo-2-f3179949b26699272b3a88073a82c41b1da5f155.zip
Add fedora patch to support libwpd-0.9, bug 363691
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'app-office/kword')
-rw-r--r--app-office/kword/ChangeLog8
-rw-r--r--app-office/kword/kword-2.3.3-r1.ebuild56
-rw-r--r--app-office/kword/metadata.xml1
3 files changed, 63 insertions, 2 deletions
diff --git a/app-office/kword/ChangeLog b/app-office/kword/ChangeLog
index 96def818ef32..0eee7f758315 100644
--- a/app-office/kword/ChangeLog
+++ b/app-office/kword/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/kword
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kword/ChangeLog,v 1.161 2011/03/13 08:29:23 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/kword/ChangeLog,v 1.162 2011/04/24 13:11:32 dilfridge Exp $
+
+*kword-2.3.3-r1 (24 Apr 2011)
+
+ 24 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +kword-2.3.3-r1.ebuild:
+ Add fedora patch to support libwpd-0.9, bug 363691
13 Mar 2011; Andreas K. Huettel <dilfridge@gentoo.org> kword-2.2.2.ebuild:
koffice version 2.2.2 does not build with kde-4.6
diff --git a/app-office/kword/kword-2.3.3-r1.ebuild b/app-office/kword/kword-2.3.3-r1.ebuild
new file mode 100644
index 000000000000..8d6e5866fc6e
--- /dev/null
+++ b/app-office/kword/kword-2.3.3-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kword/kword-2.3.3-r1.ebuild,v 1.1 2011/04/24 13:11:32 dilfridge Exp $
+
+EAPI=3
+
+KMNAME="koffice"
+KMMODULE="${PN}"
+inherit kde4-meta
+
+DESCRIPTION="KOffice word processor"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="wpd"
+
+SRC_URI+=" http://dev.gentoo.org/~dilfridge/distfiles/kword-2.3.3-libwpg02.patch.bz2"
+
+DEPEND="
+ wpd? ( app-text/libwpd )
+"
+RDEPEND="${DEPEND}
+ !app-text/wv2
+"
+
+PATCHES=( "${DISTDIR}/${PN}-2.3.3-libwpg02.patch.bz2" )
+
+KMEXTRA="filters/${KMMODULE}/
+ filters/libmso/
+"
+
+KMEXTRACTONLY="
+ KoConfig.h.cmake
+ filters/
+ kspread/
+ libs/
+ plugins/
+"
+
+KMLOADLIBS="koffice-libs"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with wpd)
+ -DWITH_DCMTK=OFF
+ )
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ # this is already installed by koffice-data
+ rm -f "${D}/usr/include/config-opengl.h"
+ rm -f "${D}/usr/include/KoConfig.h"
+}
diff --git a/app-office/kword/metadata.xml b/app-office/kword/metadata.xml
index 9bc6776efca9..c4568b031f03 100644
--- a/app-office/kword/metadata.xml
+++ b/app-office/kword/metadata.xml
@@ -5,6 +5,5 @@
<maintainer><email>dilfridge@gentoo.org</email></maintainer>
<use>
<flag name="wpd">Build wordperfect document support.</flag>
- <flag name="wv2">Build MS-Word .doc support.</flag>
</use>
</pkgmetadata>