summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-12 23:02:39 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-12 23:02:39 +0000
commit14b3892f872194143e40919f599eaf75104bc226 (patch)
tree697dbfa6e09bf7d9f14de9e234bba19b26abbb62 /app-text/docx2txt
parentVersion bump. Fix some infinite loop, crashes and memory leaks. Translation u... (diff)
downloadhistorical-14b3892f872194143e40919f599eaf75104bc226.tar.gz
historical-14b3892f872194143e40919f599eaf75104bc226.tar.bz2
historical-14b3892f872194143e40919f599eaf75104bc226.zip
Version bump.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'app-text/docx2txt')
-rw-r--r--app-text/docx2txt/ChangeLog8
-rw-r--r--app-text/docx2txt/Manifest19
-rw-r--r--app-text/docx2txt/docx2txt-1.1.ebuild30
-rw-r--r--app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch11
4 files changed, 60 insertions, 8 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/Manifest b/app-text/docx2txt/Manifest
index 0e59e0317957..3ec4d99cb9b0 100644
--- a/app-text/docx2txt/Manifest
+++ b/app-text/docx2txt/Manifest
@@ -1,17 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX docx2txt-1.0-paragraph-newline.patch 213 RMD160 2d84ce463b679c17f74454f0ed68d9186a0356bd SHA1 d31d590d59a56a1a0e5e89444162ac8961d57304 SHA256 d5cf13d129d6119aad5b63e4602ea55a9f8e61653d0003b78cc21c4bf9e303ec
+AUX docx2txt-1.1-paragraph-newline.patch 220 RMD160 1fd26346557883fc13862fa3e7c3e953274806b1 SHA1 34c5f170493e0295504fa52d47516d3ef7fb41cc SHA256 b48b287c296dd1ad66a8ecbf76ee9507773864ce63a7515804d2a9b94a59f605
DIST docx2txt-1.0.tgz 24795 RMD160 fe7743b0d5fd2a9c6394f694ae271591e6c3bdfd SHA1 109ec659769089779c352cb28a89cf400840791c SHA256 f48f69736fa73059d9dde1f2f518c9affa8174515f106ddb39d6a45e2fa233db
+DIST docx2txt-1.1.tgz 25391 RMD160 a15b5f6bf8b973f92ffac2bf9dddb127d4452273 SHA1 56af3989d22521fda9ea0c75b775eb296ea0948c SHA256 4e1ec50b47b5e5764a9fc47721eab3caa79e08c1377736eae71c064a450ed242
EBUILD docx2txt-1.0.ebuild 679 RMD160 8bd4944c44e6671376884f856de73d319cbb03d7 SHA1 f11e476f7747d480e2a9d6256294ded2b3a3c0b0 SHA256 a715d3b670006ef94e9dbcb05b070631fa9b63045d7ec9570538b88903590fb1
-MISC ChangeLog 391 RMD160 4668b4bce6dc77704695a19b90390bed259a5e78 SHA1 e051125d7530cf6296f407df52ebc3d84c266648 SHA256 bb3b3589c5f7c18ef19300558b79e4438f7ac2d96eb5228ad7daaf89438fff08
+EBUILD docx2txt-1.1.ebuild 685 RMD160 8f624b70c1fb36ea094959a5d0e97161f6e19f73 SHA1 7a22db0abdedef8ba1cc38548f560aa1aa941b25 SHA256 906edb5af747b64d3cf2ec8ef03536073dedda881059eb32fed28d9d09dad11b
+MISC ChangeLog 555 RMD160 d04b3dfcf6473d9473990ac1764bf379cd159943 SHA1 ce34fed93ae8eb79a4d456caae3cf18ea3bb43e4 SHA256 8fc1b1cfb1d8fee9ff7824a091b021c6466a8f371a43c7c4527431149ce2e04e
MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk5/GKsACgkQfXuS5UK5QB3/AAQAqrJU08Tr/LE8cokVEYudEX69
-d0jon4mMx3H5FGkHDiybMh+kbMjk1S9bSGd8uDrRzIXtCPewCkSE9nSTw7UmG77H
-dPU2AyHm4aAeb1gCijuKa+WI5ud655AUynhH+CaXFJXh9jseKecWKLVUi5SGGVv1
-8QZ8CRuYTmgkGp6yWLc=
-=C24C
+iQEcBAEBCgAGBQJO5ogUAAoJEEqz6FtPBkyjOOYH/3l6+LxsypTMcb1Uuy4CYIkq
+qyoLZHfWdwLeQ2TT0bgnVejImO9wJR3l9Vz3x3zGJ8r7ayIpXR0ayQ6eQ9cBEQ8r
+W51EraVQFZLYnlUJRWXZCXxuxlAlCq54bj+xFfVidCYkwI5buQqUUV0JYzk8f7ci
+5EWBT2g5QYIVdaEn6zK0rzlN3Ac8K+accJRqMfT+wK8Ysjvmcd7e1ySCL2+Fk5CA
+wJhEupRL3/m29UILLmYkCsUb4Z4uCRVizuW74FWGr6xeHj+pNtSnlGwQiF1O2Lel
+YI9ahyyE0UCON0b5xyQqkAQgnGZydYrdZ5vyfPQPuihvC99epTTsLq/7DBupTSY=
+=jkOp
-----END PGP SIGNATURE-----
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;
+ }
+
+