Commit | Line | Data |
---|---|---|
9ffbe2b7 MB |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2014 Marek Benc <merkur32@gmail.com> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages wv) | |
20 | #:use-module (gnu packages) | |
21 | #:use-module (gnu packages compression) | |
22 | #:use-module (gnu packages glib) | |
23 | #:use-module (gnu packages gnome) | |
24 | #:use-module (gnu packages image) | |
25 | #:use-module (gnu packages pkg-config) | |
26 | #:use-module (guix packages) | |
27 | #:use-module (guix download) | |
28 | #:use-module (guix build-system gnu) | |
29 | #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))) | |
30 | ||
31 | (define-public wv | |
32 | (package | |
33 | (name "wv") | |
34 | (version "1.2.4") | |
6bb08d05 LC |
35 | (source (origin |
36 | (method url-fetch) | |
37 | (uri (string-append "mirror://sourceforge/wvware/wv/" version | |
38 | "/wv-" version ".tar.gz")) | |
39 | (sha256 | |
40 | (base32 | |
41 | "1mn2ax6qjy3pvixlnvbkn6ymy6y4l2wxrr4brjaczm121s8hjcb7")))) | |
9ffbe2b7 MB |
42 | |
43 | (build-system gnu-build-system) | |
44 | (arguments | |
45 | `(#:configure-flags '("--with-libwmf"))) | |
46 | (inputs | |
47 | `(("glib" ,glib) | |
48 | ("libgsf" ,libgsf) | |
49 | ("libjpeg" ,libjpeg) | |
50 | ("libpng" ,libpng) | |
51 | ("libwmf" ,libwmf) | |
52 | ("zlib" ,zlib))) | |
53 | (native-inputs | |
54 | `(("glib" ,glib "bin") | |
55 | ("pkg-config" ,pkg-config))) | |
56 | (synopsis "Microsoft Word conversion library and utilities") | |
57 | (description | |
58 | "wv converts Word 2,6,7,8,9 files to HTML and LaTeX. The Word 2 | |
59 | conversion is still incomplete (no formatting), but it will do a passable job | |
60 | extracting the text, which is what you probably want anyway. | |
61 | ||
62 | libwv can be used as a library by third party programs, AbiWord uses it as its | |
63 | word importer, and KWord may use it in the future.") | |
64 | (home-page "http://wvware.sourceforge.net/") | |
65 | (license license:gpl2+))) |