aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/unrtf.scm
blob: 3a15171a57332f5dcc1ffee3318b4bbf21cbd9f0 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages unrtf)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix gexp)
  #:use-module (gnu packages)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages m4)
  #:use-module (gnu packages base))

(define-public unrtf
  (package
    (name "unrtf")
    (version "0.21.9")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/unrtf/unrtf-"
                                 version ".tar.gz"))
             (patches (search-patches "unrtf-CVE-2016-10091.patch"))
             (sha256
              (base32
               "1pcdzf2h1prn393dkvg93v80vh38q0v817xnbwrlwxbdz4k7i8r2"))
             (modules '((guix build utils)))
             (snippet
              #~(begin
                  ;; The tarball includes site-specific generated files.
                  ;; Remove them.
                  (for-each delete-file '("config.log" "config.h"))
                  (for-each delete-file
                            (find-files "." "^Makefile$"))

                  ;; The config/ directory contains dangling symlinks to
                  ;; /usr/share/automake.
                  (for-each delete-file (find-files "config"))

                  ;; Regenerate the whole thing.
                  (setenv "PATH"
                          (string-append #$autoconf "/bin:"
                                         #$automake "/bin:"
                                         #$m4 "/bin:"
                                         #$grep "/bin:" #$sed "/bin:"
                                         #$coreutils "/bin:"
                                         (getenv "PATH")))
                  (zero? (system* "autoreconf" "-vfi"))))))
    (build-system gnu-build-system)
    (home-page "https://www.gnu.org/software/unrtf/")
    (synopsis "Convert Rich Text Format documents to other formats")
    (description
     "GNU UnRTF converts text documents from RTF to HTML, LaTeX, or troff.
It supports changes in font characteristics, underlines and strikethroughs,
superscripts and subscripts, and more.")
    (license gpl2+)))
, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> nikita 2020-04-24gnu: font-gnu-freefont: Build with an older version of FontForge....Fixes <https://bugs.gnu.org/40819>. Reported by Jack Hill <jackhill@jackhill.us>. * gnu/packages/fontutils.scm (fontforge-20190801): New public variable. * gnu/packages/fonts.scm (font-gnu-freefont)[native-inputs]: Change from inherited FontForge variant to FONTFORGE-20190801. Marius Bakke 2020-04-23gnu: GNU FreeFont: Add a deprecated alias for "font-gnu-freefont-ttf"....This is a followup to commit 5483a2d0a913fe533744699e9ef5757c6e3f6983. * gnu/packages/fonts.scm (font-gnu-freefont-ttf): New variable. Leo Famulari 2020-04-22gnu: font-gnu-freefont: Add otf and woff font types....* gnu/packages/fonts.scm (font-gnu-freefont): Add otf and woff font types. * gnu/packages/genealogy.scm (gramps)[inputs]: Replace font-gnu-freefont-tff with font-gnu-freefont. * doc/guix.texi: Adjust a reference to the package. Signed-off-by: Leo Famulari <leo@famulari.name> Raghav Gururajan 2020-04-22gnu: Add font-meera-inimai....* gnu/packages/fonts.scm (font-meera-inimai): New variable. Arun Isaac 2020-04-02gnu: Add font-iosevka-term....* gnu/packages/fonts.scm (font-iosevka-term): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> John Soo 2020-04-02gnu: Add font-iosevka-term-slab....* gnu/packages/fonts.scm (font-iosevka-term-slab): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> John Soo 2020-04-01gnu: font-gnu-unifont: Update to 13.0.01....* ngu/packages/fonts.scm (font-gnu-unifont): Update to 13.0.01. [home-page]: Follow redirect. Efraim Flashner 2020-03-31gnu: font-rachana: Don't use unstable tarball....* gnu/packages/fonts.scm (font-rachana)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2020-03-31gnu: font-rachana: Update to 7.0.3....* gnu/packages/fonts.scm (font-rachana): Update to 7.0.3. Tobias Geerinckx-Rice 2020-03-29gnu: font-jetbrains-mono: Update to 1.0.3....* gnu/packages/fonts.scm (font-jetbrains-mono): update to 1.0.3 Signed-off-by: Marius Bakke <mbakke@fastmail.com> Michael Rohleder 2020-03-28Update email address and Savannah handle for Amin Bandali....* .mailmap, gnu/local.mk, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/fonts.scm, gnu/packages/fpga.scm, gnu/packages/lean.scm, gnu/packages/maths.scm, gnu/packages/pulseaudio.scm: Update my email address. * build-aux/git-authenticate.scm: Update my Savannah handle. Amin Bandali 2020-03-10gnu: font-dosis: Use archive.org'd URIs....* gnu/packages/fonts.scm (font-dosis)[source, home-page]: Use snapshots. Tobias Geerinckx-Rice 2020-03-08gnu: Add font-opendyslexic....* gnu/packages/fonts.scm (font-opendyslexic): New variable. (font-open-dyslexic): Mark as deprecated package. Efraim Flashner 2020-02-25gnu: font-fantasque-sans: Update to 1.8.0....* gnu/packages/fonts.scm (font-fantasque-sans): Update to 1.8.0. [native-inputs]: Remove ttf2eot. [arguments]: Rename the ‘xrange->range’ phase to ‘support-python@3’. Patch another Python twoism. Tobias Geerinckx-Rice 2020-02-23gnu: font-google-material-design-icons: Use HTTPS home page....* gnu/packages/fonts.scm (font-google-material-design-icons)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-02-21gnu: Add font-vazir....* gnu/packages/fonts.scm (font-vazir): New variable. Amin Bandali 2020-02-10gnu: Add copyright line....Add missing copyright line for commit 200514cd8fe1797d7653386a7b1ed1106c61164e. Nicolas Goaziou 2020-02-10gnu: Add font-jetbrains-mono....* gnu/packages/fonts.scm (font-jetbrains-mono): New variable. Damien Cassou 2020-01-23gnu: font-adobe-source-serif-pro: Don't use unstable tarball....* gnu/packages/fonts.scm (font-adobe-source-serif-pro)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2020-01-23gnu: font-adobe-source-sans-pro: Don't use unstable tarball....* gnu/packages/fonts.scm (font-adobe-source-sans-pro)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2020-01-23gnu: font-adobe-source-code-pro: Don't use unstable tarball....* gnu/packages/fonts.scm (font-adobe-source-code-pro)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2020-01-22gnu: font-public-sans: Update to 1.008....* gnu/packages/fonts.scm (font-public-sans): Update to 1.008. Tobias Geerinckx-Rice 2020-01-19gnu: font-wqy-zenhei: Use HTTP home page....* gnu/packages/fonts.scm (font-wqy-zenhei)[home-page]: Use HTTP. Tobias Geerinckx-Rice 2020-01-10gnu: font-iosevka-slab: Update source hash....* gnu/packages/fonts.scm (font-iosevka-slab)[source]: Update sha256. Tobias Geerinckx-Rice 2020-01-09gnu: font-iosevka: Update to 2.3.3....* gnu/packages/fonts.scm (font-iosevka): Update to 2.3.3. Tobias Geerinckx-Rice 2020-01-09gnu: font-comic-neue: Add a note about versions....* gnu/packages/fonts.scm (font-comic-neue): Add a comment about the ‘v2.4’ tag. Tobias Geerinckx-Rice 2020-01-09gnu: font-inconsolata: Use HTTPS home page....* gnu/packages/fonts.scm (font-inconsolata)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-01-09gnu: font-inconsolata: Update to 3.000....* gnu/packages/fonts.scm (font-inconsolata): Update to 3.000. [source]: Fetch from the author's new repository. Tobias Geerinckx-Rice 2020-01-09gnu: font-ibm-plex: Update to 4.0.2....* gnu/packages/fonts.scm (font-ibm-plex): Update to 4.0.2. Tobias Geerinckx-Rice 2020-01-09gnu: font-gnu-unifont: Update to 12.1.04....* gnu/packages/fonts.scm (font-gnu-unifont): Update to 12.1.04. Tobias Geerinckx-Rice 2020-01-09gnu: font-terminus: Update to 4.48....* gnu/packages/fonts.scm (font-terminus): Update to 4.48. Tobias Geerinckx-Rice 2020-01-09gnu: font-lato: Update version number to 2.015....Both the README and the Web site identify this as version 2.015. * gnu/packages/fonts.scm (font-lato)[version]: Correct. Tobias Geerinckx-Rice 2019-11-19gnu: Add font-dseg....* gnu/packages/fonts.scm (font-dseg): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Alexandros Theodotou 2019-10-22gnu: font-awesome: Download using git-fetch....The official link on the website has a regularly changing hash. * gnu/packages/fonts.scm (font-awesome)[source]: Use 'git-fetch'. [arguments]: Replace 'install phase. [home-page]: Use new upstream home-page. Efraim Flashner 2019-08-22Merge branch 'master' into core-updatesMark H Weaver 2019-08-16gnu: font-ibm-plex: Update to 2.0.0....* gnu/packages/fonts.scm (font-ibm-plex): Update to 2.0.0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Alva 2019-08-13Merge branch 'master' into core-updatesMarius Bakke 2019-08-12gnu: font-gnu-unifont: Update to 12.1.03....* gnu/packages/fonts.scm (font-gnu-unifont): Update to 12.1.03. Efraim Flashner