all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26938: [PATCH] gnu: Add catdoc.
@ 2017-05-15  9:44 Hartmut Goebel
  2017-05-15  9:47 ` bug#26938: required for updating KDE Frameworks to 5.32 Hartmut Goebel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-05-15  9:44 UTC (permalink / raw)
  To: 26938

* gnu/packages/textutils.scm (catdoc): New variable.
---
 gnu/packages/textutils.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index dbd71c2..7945df3 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
+;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -368,6 +369,44 @@ to everybody, because they believe that everybody runs Windows and therefore
 runs Word\".")
     (license license:gpl2+)))
 
+(define-public catdoc
+  (package
+    (name "catdoc")
+    (version "0.95")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://ftp.wagner.pp.ru/pub/catdoc/"
+                                  "catdoc-" version ".tar.gz"))
+              (sha256
+               (base32
+                "15h7v3bmwfk4z8r78xs5ih6vd0pskn0rj90xghvbzdjj0cc88jji"))))
+    (build-system gnu-build-system)
+    ;; TODO: Also build `wordview` which requires `tk` – make a separate
+    ;; package for this.
+    (arguments
+     '(#:tests? #f ; There are no tests
+       #:configure-flags '("--disable-wordview")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'fix-install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (mkdir-p (string-append out "/share/man/man1"))))))))
+    (home-page "http://www.wagner.pp.ru/~vitus/software/catdoc/")
+    (synopsis "MS-Word to TeX or plain text converter")
+    (description "@command{catdoc} extracts text from MS-Word files, trying to
+preserve as many special printable characters as possible.  catdoc supports
+everything up to Word-97. Also supported are MS Write documents and RTF files.
+
+It doesn't even try to preserve fancy Word formatting, because Word users
+usually don't care about document structure, and it is this very thing which
+is important to LaTeX users.
+
+This package also provides @command{xls2csv}, which extracts data from Excel
+spreadsheets and outputs it in comma-separated-value format, and
+@command{catppt}, which extracts data from PowerPoint presentations.")
+    (license license:gpl2+)))
+
 (define-public utfcpp
   (package
     (name "utfcpp")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26938: required for updating KDE Frameworks to 5.32
  2017-05-15  9:44 bug#26938: [PATCH] gnu: Add catdoc Hartmut Goebel
@ 2017-05-15  9:47 ` Hartmut Goebel
  2017-05-15 10:03 ` bug#26938: [PATCH] gnu: Add catdoc Ludovic Courtès
  2017-06-04  9:47 ` bug#26938: pushed Hartmut Goebel
  2 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-05-15  9:47 UTC (permalink / raw)
  To: 26938

This package is required for updating KDE Frameworks to 5.32.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26938: [PATCH] gnu: Add catdoc.
  2017-05-15  9:44 bug#26938: [PATCH] gnu: Add catdoc Hartmut Goebel
  2017-05-15  9:47 ` bug#26938: required for updating KDE Frameworks to 5.32 Hartmut Goebel
@ 2017-05-15 10:03 ` Ludovic Courtès
  2017-06-04  9:47 ` bug#26938: pushed Hartmut Goebel
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-15 10:03 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 26938

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> * gnu/packages/textutils.scm (catdoc): New variable.

LGTM, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26938: pushed
  2017-05-15  9:44 bug#26938: [PATCH] gnu: Add catdoc Hartmut Goebel
  2017-05-15  9:47 ` bug#26938: required for updating KDE Frameworks to 5.32 Hartmut Goebel
  2017-05-15 10:03 ` bug#26938: [PATCH] gnu: Add catdoc Ludovic Courtès
@ 2017-06-04  9:47 ` Hartmut Goebel
  2 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-06-04  9:47 UTC (permalink / raw)
  To: 26938-close

pushed as 9eb0f43031c76afcb678f4473861456c3dd32633
tree weeks ago already

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-04  9:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-15  9:44 bug#26938: [PATCH] gnu: Add catdoc Hartmut Goebel
2017-05-15  9:47 ` bug#26938: required for updating KDE Frameworks to 5.32 Hartmut Goebel
2017-05-15 10:03 ` bug#26938: [PATCH] gnu: Add catdoc Ludovic Courtès
2017-06-04  9:47 ` bug#26938: pushed Hartmut Goebel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.