summaryrefslogtreecommitdiff
path: root/app-text/docx2txt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/docx2txt
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/docx2txt')
-rw-r--r--app-text/docx2txt/Manifest10
-rw-r--r--app-text/docx2txt/docx2txt-1.2.ebuild29
-rw-r--r--app-text/docx2txt/docx2txt-1.3.ebuild28
-rw-r--r--app-text/docx2txt/docx2txt-1.4.ebuild28
-rw-r--r--app-text/docx2txt/files/docx2txt-1.1-paragraph-newline.patch11
-rw-r--r--app-text/docx2txt/metadata.xml11
6 files changed, 117 insertions, 0 deletions
diff --git a/app-text/docx2txt/Manifest b/app-text/docx2txt/Manifest
new file mode 100644
index 000000000000..9c59b1aa0b33
--- /dev/null
+++ b/app-text/docx2txt/Manifest
@@ -0,0 +1,10 @@
+AUX docx2txt-1.1-paragraph-newline.patch 220 SHA256 b48b287c296dd1ad66a8ecbf76ee9507773864ce63a7515804d2a9b94a59f605 SHA512 07d8686e1bd1f5ad1b18a5a3559667243dd9e580dff52711090843d5814736a371c382c2ad12d2dd01bbd827acc9a6f420d34f3ff4d02f9fb5864c07e86ec39f WHIRLPOOL dc934195322ed1b8d4d93e9ab8552a8ab506a35a53b6f8fc8fb948e0c0c25514b694ed16883923196a907eb7271b6386418d1ce38d2e932109edfd50573d6ffd
+DIST docx2txt-1.2.tgz 28483 SHA256 33649d1e8c4f86df897d478376cf76bd9f2aed27a952aaa96c615bce976488cf SHA512 ba5884c4d85e23aad26f74727b40e2d9d43cdf2e63f270486cbbfed5ef431f44f8f40a2583d3185fa3c16a97d9cd78e84feaf8f1f7be78ae9e1662e04a2013d6 WHIRLPOOL 8bf767eee6ec4768fddefc0c480bf6f5c41f21c7e5128771ff465de2884654ef462c6b226f4c01f0ff244c8f73f5edade184240d3854f942c2102b53c00a3cdb
+DIST docx2txt-1.3.tgz 29953 SHA256 ece1689e204c961a962bb339b87ecd9fb009cdc01a87a4d658819a3313a90ece SHA512 9ad74558074cd3e72b0d2e6541dc56d7b74d59d6313fb0cde1b2f02a0e1cdb05d705a650c0dde02e5b3a683f8ee6ab2fb5b865301f4213cd3e8770cd9e4d0d97 WHIRLPOOL 3580c0caa69f5d35963daf17f637452e02d748eb7eb02579049f087d35a202c5f611bbee9dc8cbd53a98776f77870379f83316c1840ab2105cd98600009abc4e
+DIST docx2txt-1.4.tgz 31302 SHA256 b297752910a404c1435e703d5aedb4571222bd759fa316c86ad8c8bbe58c6d1b SHA512 5e59cd4065f409c20e17b29d3935a2637147392e86a325b28b78748d3b3867ce91f14f3349621b3c95b2ce6a8e38e33cf0816d1f9dccbebfdde9ba29fbd7f5b3 WHIRLPOOL 7f9f53c4aaa45a60ffa4a4e19b727e0898c9d39dabf3685317ee664a8723ed75fe8da4711ce06b8b06132ce304e29613fef331b53d0e54551e79fb1ea67fdf76
+EBUILD docx2txt-1.2.ebuild 575 SHA256 506734c56358efee819e2972145bee8b75aadb66fe1e219bae33229ba5516082 SHA512 4bdfb666d79f5ebc7931dba558e51d856475b7dd2b7ba5880432cf6092c093e2292c24c2a0bb76009e4435b189beaf1c5a55e22edfb6c9df2835bebd562d9385 WHIRLPOOL 569e79e23a0a11dc2199805960f56d2d9cf601a9ace92f92294f827e26327703c6022ee56814c7a09649191071a72d0f72a6093cd9d5dcac79c85aa2d84d3cd1
+EBUILD docx2txt-1.3.ebuild 567 SHA256 8d59c31def4aaf1ecd54f627129ff1b7330bfd41c3a845bdab850a50f7c0e5dd SHA512 ac564249b0c17e504c0ddf1c1c08ae08cf3efce67cda334b98bf12bff6e5ac43607dc070319bb074aae7567c4d69dee8819d4d414732a0df1ccfbb28f5dfdad0 WHIRLPOOL 7a1b17aab6eaf59f3c634c543e9f7dde7cc36dc1fe5c8c91f42e0d421fdeffb35142dd5d012dbd2453085373f3e357dedc537619649f695f645fc9cde109393d
+EBUILD docx2txt-1.4.ebuild 567 SHA256 8d59c31def4aaf1ecd54f627129ff1b7330bfd41c3a845bdab850a50f7c0e5dd SHA512 ac564249b0c17e504c0ddf1c1c08ae08cf3efce67cda334b98bf12bff6e5ac43607dc070319bb074aae7567c4d69dee8819d4d414732a0df1ccfbb28f5dfdad0 WHIRLPOOL 7a1b17aab6eaf59f3c634c543e9f7dde7cc36dc1fe5c8c91f42e0d421fdeffb35142dd5d012dbd2453085373f3e357dedc537619649f695f645fc9cde109393d
+MISC ChangeLog 2322 SHA256 b7b64bead6d886bdbb7ae676c45d01477ac8d8cb76ddea6c85b20da6fa4573bd SHA512 e30e33cce4c2968008a42f72334d21d51dd417b43a11e64b6b22707924624b2b49aaa25d2cb21028343e85e3f56948f462524c6bbf883387fe72d014279f2258 WHIRLPOOL e56b4da8a32d8306762f7110fef9a2eb81059eb9a1186d2d98fcd5fd024df1ad5be078ceeda6a1efc205f5128467d9527785452f73d86516cedbb06c31f8d347
+MISC ChangeLog-2015 1168 SHA256 5c2b17276b8add248c6d2f63521460f82d2284ede348010c3a2b4fea73f6c880 SHA512 e78f7f6a55577b4691c919431ae7e05905ce87f201a053cc5b2cc27acae9cbed254d6d2b7c563319c785ccb5bb2c4f696bfa68975dec1c74061b76772b32c82c WHIRLPOOL 52a3770f80a76ee5094b5a004431495bf21edc5f00d0d8cc4364fdfc16976a4ecacf63b90d7acc0d26811f77bf826f546f6aa1717348809c5238edddbf815c66
+MISC metadata.xml 324 SHA256 80498274d6d9fec638018ef70ee3aaa54faeb0fc9793d22ce7a3413005345df5 SHA512 f350709b5ea69be8bf2912b0bac7d26d3cc0828f5674d4c4d0b19fc79e1d1a65a636a25165bcfdd93f998cc4fd0a27cc3f15ab3b8c5b9bdb7ab201ad639a32c4 WHIRLPOOL b94a79485a6cfb8ee53c5b58fde92d38a86d2a20a64afd168e0626c540f164cb4ac2061c7a25c519d69f145fd1e306dc769a38b1e88e4225919e40ce7686b932
diff --git a/app-text/docx2txt/docx2txt-1.2.ebuild b/app-text/docx2txt/docx2txt-1.2.ebuild
new file mode 100644
index 000000000000..e69c82daabf5
--- /dev/null
+++ b/app-text/docx2txt/docx2txt-1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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}"/${PN}-1.1-paragraph-newline.patch
+}
+
+src_compile() { :; }
+
+src_install() {
+ newbin docx2txt.pl docx2txt
+ dodoc docx2txt.config README ChangeLog ToDo AUTHORS
+}
diff --git a/app-text/docx2txt/docx2txt-1.3.ebuild b/app-text/docx2txt/docx2txt-1.3.ebuild
new file mode 100644
index 000000000000..322943c0bd9e
--- /dev/null
+++ b/app-text/docx2txt/docx2txt-1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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"
+
+RDEPEND="app-arch/unzip
+ dev-lang/perl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1-paragraph-newline.patch
+}
+
+src_compile() { :; }
+
+src_install() {
+ newbin docx2txt.pl docx2txt
+ dodoc docx2txt.config README ChangeLog ToDo AUTHORS
+}
diff --git a/app-text/docx2txt/docx2txt-1.4.ebuild b/app-text/docx2txt/docx2txt-1.4.ebuild
new file mode 100644
index 000000000000..322943c0bd9e
--- /dev/null
+++ b/app-text/docx2txt/docx2txt-1.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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"
+
+RDEPEND="app-arch/unzip
+ dev-lang/perl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1-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;
+ }
+
+
diff --git a/app-text/docx2txt/metadata.xml b/app-text/docx2txt/metadata.xml
new file mode 100644
index 000000000000..53a9f8521314
--- /dev/null
+++ b/app-text/docx2txt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">docx2txt</remote-id>
+ </upstream>
+</pkgmetadata>