| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 |
|
| 21 | (define-module (gnu packages wv)
|
| 22 | #:use-module (gnu packages)
|
| 23 | #:use-module (gnu packages compression)
|
| 24 | #:use-module (gnu packages glib)
|
| 25 | #:use-module (gnu packages gnome)
|
| 26 | #:use-module (gnu packages image)
|
| 27 | #:use-module (gnu packages pkg-config)
|
| 28 | #:use-module (guix packages)
|
| 29 | #:use-module (guix download)
|
| 30 | #:use-module (guix build-system gnu)
|
| 31 | #:use-module ((guix licenses) #:prefix license:))
|
| 32 |
|
| 33 | (define-public wv
|
| 34 | (package
|
| 35 | (name "wv")
|
| 36 | (version "1.2.9")
|
| 37 | (source
|
| 38 | (origin
|
| 39 | (method url-fetch)
|
| 40 | (uri (string-append "https://abiword.org/downloads/wv/"
|
| 41 | version "/wv-" version ".tar.gz"))
|
| 42 | (sha256
|
| 43 | (base32 "17f16lkdv1c3amaz2hagiicih59ynpp4786k1m2qa1sw68xhswsc"))))
|
| 44 | (build-system gnu-build-system)
|
| 45 | (inputs
|
| 46 | (list glib libgsf libjpeg-turbo libpng zlib))
|
| 47 | (native-inputs
|
| 48 | (list `(,glib "bin") pkg-config))
|
| 49 | (synopsis "Microsoft Word conversion library and utilities")
|
| 50 | (description
|
| 51 | "wv converts files written by Word 2000, 97, 95, and 6 (known internally as
|
| 52 | Word 9, 8, 7, and 6) to HTML or LaTeX. Word 2 documents can still be converted
|
| 53 | to plain text but will lack formatting.
|
| 54 |
|
| 55 | Other programs can use wv as a library to convert Word documents to other
|
| 56 | formats. AbiWord uses it as its Word importer, and KWord uses concepts and
|
| 57 | code from wv in theirs.")
|
| 58 | (home-page "https://wvware.sourceforge.net/")
|
| 59 | (license license:gpl2+)))
|