From f3179949b26699272b3a88073a82c41b1da5f155 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sun, 24 Apr 2011 13:11:32 +0000 Subject: Add fedora patch to support libwpd-0.9, bug 363691 (Portage version: 2.1.9.46/cvs/Linux x86_64) --- app-office/kword/ChangeLog | 8 ++++- app-office/kword/kword-2.3.3-r1.ebuild | 56 ++++++++++++++++++++++++++++++++++ app-office/kword/metadata.xml | 1 - 3 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 app-office/kword/kword-2.3.3-r1.ebuild (limited to 'app-office/kword') 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 + +kword-2.3.3-r1.ebuild: + Add fedora patch to support libwpd-0.9, bug 363691 13 Mar 2011; Andreas K. Huettel 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 @@ dilfridge@gentoo.org Build wordperfect document support. - Build MS-Word .doc support. -- cgit v1.2.3-65-gdbad