diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-12-12 23:02:39 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-12-12 23:02:39 +0000 |
commit | 1162cb6c796d1a553e4627ca4de34d6a98c20676 (patch) | |
tree | 5ca7494a1f4878be0ffbbec0ba93aa0e3c839f41 /app-text | |
parent | Version bump. Fix some infinite loop, crashes and memory leaks. Translation u... (diff) | |
download | gentoo-2-1162cb6c796d1a553e4627ca4de34d6a98c20676.tar.gz gentoo-2-1162cb6c796d1a553e4627ca4de34d6a98c20676.tar.bz2 gentoo-2-1162cb6c796d1a553e4627ca4de34d6a98c20676.zip |
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/docx2txt/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/docx2txt/docx2txt-1.1.ebuild | 30 | ||||
-rw-r--r-- | app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch | 11 |
3 files changed, 48 insertions, 1 deletions
diff --git a/app-text/docx2txt/ChangeLog b/app-text/docx2txt/ChangeLog index eb44a39b2a13..19388e0496ff 100644 --- a/app-text/docx2txt/ChangeLog +++ b/app-text/docx2txt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/docx2txt # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docx2txt/ChangeLog,v 1.1 2011/02/06 02:53:15 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docx2txt/ChangeLog,v 1.2 2011/12/12 23:02:39 radhermit Exp $ + +*docx2txt-1.1 (12 Dec 2011) + + 12 Dec 2011; Tim Harder <radhermit@gentoo.org> +docx2txt-1.1.ebuild, + +files/docx2txt-1.1-paragraph-newline.patch: + Version bump. *docx2txt-1.0 (06 Feb 2011) diff --git a/app-text/docx2txt/docx2txt-1.1.ebuild b/app-text/docx2txt/docx2txt-1.1.ebuild new file mode 100644 index 000000000000..1a2789b3af17 --- /dev/null +++ b/app-text/docx2txt/docx2txt-1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docx2txt/docx2txt-1.1.ebuild,v 1.1 2011/12/12 23:02:38 radhermit Exp $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Convert MS Office docx files to plain text" +HOMEPAGE="http://docx2txt.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="app-arch/unzip + dev-lang/perl" + +src_prepare() { + epatch "${FILESDIR}"/${P}-paragraph-newline.patch +} + +src_compile() { :; } + +src_install() { + newbin docx2txt.pl docx2txt + dodoc docx2txt.config README ChangeLog ToDo AUTHORS +} diff --git a/app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch b/app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch new file mode 100644 index 000000000000..7c55b6f1fe42 --- /dev/null +++ b/app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch @@ -0,0 +1,11 @@ +--- docx2txt-1.1/docx2txt.pl.orig ++++ docx2txt-1.1/docx2txt.pl +@@ -312,7 +312,7 @@ + $para =~ s/<.*?>//og; + return justify($align,$para) if $align; + +- return $para; ++ return $para . $config_newLine; + } + + |