| 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 | (define-module (gnu packages abiword)
|
| 26 | #:use-module ((guix licenses) #:prefix license:)
|
| 27 | #:use-module (guix packages)
|
| 28 | #:use-module (guix build-system glib-or-gtk)
|
| 29 | #:use-module (guix gexp)
|
| 30 | #:use-module (guix git-download)
|
| 31 | #:use-module (gnu packages)
|
| 32 | #:use-module (gnu packages aspell)
|
| 33 | #:use-module (gnu packages bash)
|
| 34 | #:use-module (gnu packages gnupg)
|
| 35 | #:use-module (gnu packages autogen)
|
| 36 | #:use-module (gnu packages autotools)
|
| 37 | #:use-module (gnu packages base)
|
| 38 | #:use-module (gnu packages boost)
|
| 39 | #:use-module (gnu packages compression)
|
| 40 | #:use-module (gnu packages enchant)
|
| 41 | #:use-module (gnu packages fribidi)
|
| 42 | #:use-module (gnu packages fontutils)
|
| 43 | #:use-module (gnu packages glib)
|
| 44 | #:use-module (gnu packages gnome)
|
| 45 | #:use-module (gnu packages gtk)
|
| 46 | #:use-module (gnu packages image)
|
| 47 | #:use-module (gnu packages ots)
|
| 48 | #:use-module (gnu packages perl)
|
| 49 | #:use-module (gnu packages popt)
|
| 50 | #:use-module (gnu packages pkg-config)
|
| 51 | #:use-module (gnu packages python)
|
| 52 | #:use-module (gnu packages readline)
|
| 53 | #:use-module (gnu packages xorg)
|
| 54 | #:use-module (gnu packages wv)
|
| 55 | #:use-module (gnu packages xml))
|
| 56 |
|
| 57 | (define-public abiword
|
| 58 | (package
|
| 59 | (name "abiword")
|
| 60 | (version "3.0.7")
|
| 61 | (source
|
| 62 | (origin
|
| 63 | (method git-fetch)
|
| 64 | (uri (git-reference
|
| 65 | (url "https://gitlab.gnome.org/World/AbiWord/")
|
| 66 | (commit (string-append "release-" version))))
|
| 67 | (file-name (git-file-name name version))
|
| 68 | (sha256
|
| 69 | (base32
|
| 70 | "0hp11vdfm70n840ib19szxkibfs0v1hhklslz4xipfwrdvpwk1km"))
|
| 71 | (patches
|
| 72 | (search-patches "abiword-explictly-cast-bools.patch"))))
|
| 73 | (build-system glib-or-gtk-build-system)
|
| 74 | (arguments |
| 75 | (list #:configure-flags |
| 76 | #~(list |
| 77 | "--enable-clipart" |
| 78 | "--enable-templates" |
| 79 | (string-append |
| 80 | "--enable-plugins="
|
| 81 | "applix " "babelfish " "bmp " "clarisworks " "collab " "command "
|
| 82 | "docbook " "eml " "epub " "freetranslation " "garble " "gdict "
|
| 83 | "gimp " "goffice " "google " "hancom " "hrtext " "iscii " "kword "
|
| 84 | "latex " "loadbindings " "mht " "mif " "mswrite " "opendocument "
|
| 85 | "openwriter " "openxml " "opml " "ots " "paint " "passepartout "
|
| 86 | "pdb " "pdf " "presentation " "s5 " "sdw " "t602 " "urldict "
|
| 87 | "wikipedia " "wml " "xslfo")
|
| 88 | "--enable-introspection"
|
| 89 | "--enable-scripting"
|
| 90 | (string-append "--with-gir-dir="
|
| 91 | #$output
|
| 92 | "/share/gir-1.0")
|
| 93 | (string-append "--with-typelib-dir="
|
| 94 | #$output
|
| 95 | "/lib/girepository-1.0"))
|
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | #:tests? #f
|
| 103 | #:phases
|
| 104 | #~(modify-phases %standard-phases
|
| 105 | |
| 106 | (add-before 'bootstrap 'bootstrap-common
|
| 107 | (lambda _
|
| 108 | (substitute* "autogen-common.sh"
|
| 109 | (("/bin/sh")
|
| 110 | (string-append
|
| 111 | #$(this-package-native-input "bash-minimal")
|
| 112 | "/bin/sh"))))))
|
| 113 | #:make-flags
|
| 114 | #~(list "gtk_update_icon_cache=true")))
|
| 115 | (inputs
|
| 116 | (list aspell
|
| 117 | boost
|
| 118 | enchant
|
| 119 | fontconfig
|
| 120 | fribidi
|
| 121 | goffice
|
| 122 | gtk+
|
| 123 | libgcrypt
|
| 124 | libchamplain
|
| 125 | libglade
|
| 126 | libgsf
|
| 127 | libjpeg-turbo
|
| 128 | libpng
|
| 129 | (librsvg-for-system)
|
| 130 | libxft
|
| 131 | libxml2
|
| 132 | libxslt
|
| 133 | ots
|
| 134 | popt
|
| 135 | readline
|
| 136 | telepathy-glib
|
| 137 | wv
|
| 138 | zlib))
|
| 139 | (native-inputs
|
| 140 | (list `(,glib "bin")
|
| 141 | autoconf
|
| 142 | autoconf-archive
|
| 143 | autogen
|
| 144 | automake
|
| 145 | bash-minimal
|
| 146 | findutils
|
| 147 | grep
|
| 148 | intltool
|
| 149 | libtool
|
| 150 | perl
|
| 151 | pkg-config
|
| 152 | python-wrapper
|
| 153 | sed
|
| 154 | gobject-introspection))
|
| 155 | (home-page "https://gitlab.gnome.org/World/AbiWord/")
|
| 156 | (synopsis "Word processing program")
|
| 157 |
|
| 158 | |
| 159 | |
| 160 |
|
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | (description "AbiWord is a word processing program. It is rapidly
|
| 166 | becoming a state of the art word processor, with lots of features useful for
|
| 167 | your daily work, personal needs, or for just some good old typing fun.")
|
| 168 | (license license:gpl2+)))
|