gnu: spice-gtk: Add an absolute reference for libjpeg in the .la files.
[jackhill/guix/guix.git] / gnu / packages / emacs.scm
CommitLineData
468bdabb 1;;; GNU Guix --- Functional package management for GNU
4e941436 2;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
eeb883cb 3;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
4a3e602c 4;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
5069baed 5;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org>
eeb883cb
RW
6;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
7;;; Copyright © 2016, 2018 Arun Isaac <arunisaac@systemreboot.net>
8;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
9;;; Copyright © 2016 David Thompson <dthompson2@worcester.edu>
47956fa0 10;;; Copyright © 2016 ng0 <ng0@n0.is>
eeb883cb 11;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
ffaec307 12;;; Copyright © 2017, 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
eeb883cb
RW
13;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
14;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
7a0efa77 15;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
eeb883cb
RW
16;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
17;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
7ab5c4e0 18;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
5ce153b1 19;;; Copyright © 2019 Jesse John Gildersleve <jessejohngildersleve@zohomail.eu>
92d2205a
AB
20;;; Copyright © 2019 Valentin Ignatev <valentignatev@gmail.com>
21;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
c2cf286c 22;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
468bdabb
LC
23;;;
24;;; This file is part of GNU Guix.
25;;;
26;;; GNU Guix is free software; you can redistribute it and/or modify it
27;;; under the terms of the GNU General Public License as published by
28;;; the Free Software Foundation; either version 3 of the License, or (at
29;;; your option) any later version.
30;;;
31;;; GNU Guix is distributed in the hope that it will be useful, but
32;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34;;; GNU General Public License for more details.
35;;;
36;;; You should have received a copy of the GNU General Public License
37;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
38
1ffa7090 39(define-module (gnu packages emacs)
f61e0e79 40 #:use-module ((guix licenses) #:prefix license:)
468bdabb
LC
41 #:use-module (guix packages)
42 #:use-module (guix download)
f906d30c 43 #:use-module (guix git-download)
468bdabb 44 #:use-module (guix build-system gnu)
71f57158 45 #:use-module (guix build-system glib-or-gtk)
59a43334 46 #:use-module (gnu packages)
eeb883cb 47 #:use-module (gnu packages acl)
18d26210 48 #:use-module (gnu packages autotools)
be379ee7 49 #:use-module (gnu packages base)
f61e0e79 50 #:use-module (gnu packages compression)
eeb883cb 51 #:use-module (gnu packages fontutils)
a80b60f4
AI
52 #:use-module (gnu packages fribidi)
53 #:use-module (gnu packages gd)
eeb883cb
RW
54 #:use-module (gnu packages gettext)
55 #:use-module (gnu packages glib)
5ce153b1 56 #:use-module (gnu packages gnome) ; for librsvg
eeb883cb
RW
57 #:use-module (gnu packages gtk)
58 #:use-module (gnu packages guile)
59 #:use-module (gnu packages image)
60 #:use-module (gnu packages imagemagick)
5ce153b1 61 #:use-module (gnu packages linux) ; alsa-lib
62 #:use-module (gnu packages mail) ; for mailutils
eeb883cb
RW
63 #:use-module (gnu packages ncurses)
64 #:use-module (gnu packages pkg-config)
65 #:use-module (gnu packages texinfo)
66 #:use-module (gnu packages tls)
92d2205a 67 #:use-module (gnu packages web) ; for jansson
5bbb04f9 68 #:use-module (gnu packages webkit)
eeb883cb
RW
69 #:use-module (gnu packages xml)
70 #:use-module (gnu packages xorg)
4a3e602c 71 #:use-module (guix utils)
eeb883cb 72 #:use-module (srfi srfi-1))
468bdabb
LC
73
74(define-public emacs
75 (package
76 (name "emacs")
7ab5c4e0 77 (version "26.3")
468bdabb 78 (source (origin
3bd3a625
MC
79 (method url-fetch)
80 (uri (string-append "mirror://gnu/emacs/emacs-"
81 version ".tar.xz"))
82 (sha256
83 (base32
84 "119ldpk7sgn9jlpyngv5y4z3i7bb8q3xp4p0qqi7i5nq39syd42d"))
85 (patches (search-patches "emacs-exec-path.patch"
86 "emacs-fix-scheme-indent-function.patch"
87 "emacs-source-date-epoch.patch"))
88 (modules '((guix build utils)))
89 (snippet
90 '(with-directory-excursion "lisp"
91 ;; Delete the bundled byte-compiled elisp files and generated
92 ;; autoloads.
93 (for-each delete-file
94 (append (find-files "." "\\.elc$")
95 (find-files "." "loaddefs\\.el$")
96 ;; This is the only "autoloads" file that
97 ;; does not have "*loaddefs.el" name.
98 ;; TODO: Next time changing this package,
99 ;; replace the following with a call to
100 ;; `find-files', so that `delete-file'
101 ;; wouldn't error out when the file is
102 ;; missing, making the entire snippet field
103 ;; reusable as-is for `emacs-next' below.
104 '("eshell/esh-groups.el")))
dc701091 105
3bd3a625
MC
106 ;; Make sure Tramp looks for binaries in the right places on
107 ;; remote Guix System machines, where 'getconf PATH' returns
108 ;; something bogus.
109 (substitute* "net/tramp-sh.el"
110 ;; Patch the line after "(defcustom tramp-remote-path".
111 (("\\(tramp-default-remote-path")
112 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
113 "~/.guix-profile/bin" "~/.guix-profile/sbin"
114 "/run/current-system/profile/bin"
115 "/run/current-system/profile/sbin")))
d1c11418 116
3bd3a625
MC
117 ;; Make sure Man looks for C header files in the right
118 ;; places.
119 (substitute* "man.el"
120 (("\"/usr/local/include\"" line)
121 (string-join
122 (list line
123 "\"~/.guix-profile/include\""
124 "\"/var/guix/profiles/system/profile/include\"")
125 " ")))
126 #t))))
71f57158 127 (build-system glib-or-gtk-build-system)
468bdabb 128 (arguments
7ab5c4e0 129 `(#:tests? #f ; no check target
494978c4 130 #:configure-flags (list "--with-modules"
131 "--disable-build-details")
2206c7ad 132 #:phases
13fe4891 133 (modify-phases %standard-phases
4cbd6069
MC
134 (add-after 'unpack 'patch-program-file-names
135 (lambda _
136 (substitute* '("src/callproc.c"
137 "lisp/term.el"
138 "lisp/htmlfontify.el"
139 "lisp/textmodes/artist.el"
140 "lisp/progmodes/sh-script.el")
141 (("\"/bin/sh\"")
a3efa4f9 142 (format #f "~s" (which "sh"))))
4cbd6069 143 #t))
13fe4891
FB
144 (add-before 'configure 'fix-/bin/pwd
145 (lambda _
146 ;; Use `pwd', not `/bin/pwd'.
147 (substitute* (find-files "." "^Makefile\\.in$")
148 (("/bin/pwd")
e2d90ee4
MW
149 "pwd"))
150 #t))
13fe4891 151 (add-after 'install 'install-site-start
c6a91ada
MC
152 ;; Use 'guix-emacs' in "site-start.el", which is used autoload the
153 ;; Elisp packages found in EMACSLOADPATH.
13fe4891 154 (lambda* (#:key inputs outputs #:allow-other-keys)
59d04f63 155 (let* ((out (assoc-ref outputs "out"))
4714d0fc
MC
156 (lisp-dir (string-append out "/share/emacs/site-lisp"))
157 (emacs (string-append out "/bin/emacs")))
ffaec307
MC
158
159 ;; This is duplicated from emacs-utils to prevent coupling.
160 (define* (emacs-byte-compile-directory dir)
161 (let ((expr `(progn
162 (setq byte-compile-debug t)
163 (byte-recompile-directory
164 (file-name-as-directory ,dir) 0 1))))
165 (invoke emacs "--quick" "--batch"
a3efa4f9 166 (format #f "--eval=~s" expr))))
ffaec307 167
59d04f63
AK
168 (copy-file (assoc-ref inputs "guix-emacs.el")
169 (string-append lisp-dir "/guix-emacs.el"))
13fe4891
FB
170 (with-output-to-file (string-append lisp-dir "/site-start.el")
171 (lambda ()
9bd94544
AK
172 (display
173 (string-append "(when (require 'guix-emacs nil t)\n"
174 " (guix-emacs-autoload-packages))\n"))))
a7a49289
MC
175 ;; Remove the extraneous subdirs.el file, as it causes Emacs to
176 ;; add recursively all the the sub-directories of a profile's
177 ;; share/emacs/site-lisp union when added to EMACSLOADPATH,
178 ;; which leads to conflicts.
179 (delete-file (string-append lisp-dir "/subdirs.el"))
4714d0fc 180 ;; Byte compile the site-start files.
ffaec307 181 (emacs-byte-compile-directory lisp-dir)))))))
468bdabb 182 (inputs
c4c4cc05 183 `(("gnutls" ,gnutls)
468bdabb
LC
184 ("ncurses" ,ncurses)
185
5ce153b1 186 ;; Avoid Emacs's limited movemail substitute that retrieves POP3 email
187 ;; only via insecure channels. This is not needed for (modern) IMAP.
188 ("mailutils" ,mailutils)
189
468bdabb 190 ;; TODO: Add the optional dependencies.
fa275717 191 ("libx11" ,libx11)
0a9e9a63 192 ("gtk+" ,gtk+)
fa275717 193 ("libxft" ,libxft)
50efa797 194 ("libtiff" ,libtiff)
504a83af 195 ("giflib" ,giflib)
4bd428a7 196 ("libjpeg" ,libjpeg-turbo)
eb737a27 197 ("imagemagick" ,imagemagick)
388fd01b 198 ("acl" ,acl)
50efa797
LC
199
200 ;; When looking for libpng `configure' links with `-lpng -lz', so we
201 ;; must also provide zlib as an input.
202 ("libpng" ,libpng)
f61e0e79 203 ("zlib" ,zlib)
50efa797 204
8ba4dc63 205 ("librsvg" ,librsvg)
fa275717 206 ("libxpm" ,libxpm)
50efa797 207 ("libxml2" ,libxml2)
504a83af
MW
208 ("libice" ,libice)
209 ("libsm" ,libsm)
210 ("alsa-lib" ,alsa-lib)
13fe4891 211 ("dbus" ,dbus)
01c5c21a
AI
212
213 ;; multilingualization support
214 ("libotf" ,libotf)
215 ("m17n-lib" ,m17n-lib)))
c4c4cc05 216 (native-inputs
59d04f63
AK
217 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
218 ("pkg-config" ,pkg-config)
c4c4cc05 219 ("texinfo" ,texinfo)))
64c98347
LC
220
221 (native-search-paths
222 (list (search-path-specification
215a45d9 223 (variable "EMACSLOADPATH")
9aca5cea 224 ;; The versioned entry is for the Emacs' builtin libraries.
3ffdd002
MC
225 (files (list "share/emacs/site-lisp"
226 (string-append "share/emacs/" version "/lisp"))))
215a45d9 227 (search-path-specification
64c98347
LC
228 (variable "INFOPATH")
229 (files '("share/info")))))
230
6fd52309 231 (home-page "https://www.gnu.org/software/emacs/")
f50d2669 232 (synopsis "The extensible, customizable, self-documenting text editor")
468bdabb 233 (description
79c311b8
LC
234 "GNU Emacs is an extensible and highly customizable text editor. It is
235based on an Emacs Lisp interpreter with extensions for text editing. Emacs
236has been extended in essentially all areas of computing, giving rise to a
237vast array of packages supporting, e.g., email, IRC and XMPP messaging,
238spreadsheets, remote server editing, and much more. Emacs includes extensive
239documentation on all aspects of the system, from basic editing to writing
240large Lisp programs. It has full Unicode support for nearly all human
241languages.")
f61e0e79 242 (license license:gpl3+)))
4f028c8f 243
92d2205a
AB
244(define-public emacs-next
245 (let ((commit "36abf6864604b3061c2e070f8997491fa2bce44c")
246 (revision "0")
247 (emacs-version "27.0.50"))
248 (package
249 (inherit emacs)
250 (name "emacs-next")
251 (version (git-version emacs-version revision commit))
252 (source
253 (origin
254 (method git-fetch)
255 (uri (git-reference
256 (url "https://git.savannah.gnu.org/git/emacs.git")
257 (commit commit)))
258 (sha256
259 (base32 "1ckn607p0clz0dhhlizvv7l03p4nminy48h53xrpz55w4rcrcm2l"))
260 (file-name (git-file-name name version))
261 (patches (search-patches "emacs27-exec-path.patch"
262 "emacs-fix-scheme-indent-function.patch"
263 "emacs-source-date-epoch.patch"))
264 (modules (origin-modules (package-source emacs)))
265 ;; TODO: once the snippet for `emacs' is changed to not fail when
266 ;; eshell/esh-groups.el does not exist, replace this snippet with
267 ;; (snippet (origin-snippet (package-source emacs))))).
268 (snippet
269 '(with-directory-excursion "lisp"
270 ;; Make sure Tramp looks for binaries in the right places on
271 ;; remote Guix System machines, where 'getconf PATH' returns
272 ;; something bogus.
273 (substitute* "net/tramp-sh.el"
274 ;; Patch the line after "(defcustom tramp-remote-path".
275 (("\\(tramp-default-remote-path")
276 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
277 "~/.guix-profile/bin" "~/.guix-profile/sbin"
278 "/run/current-system/profile/bin"
279 "/run/current-system/profile/sbin")))
280
281 ;; Make sure Man looks for C header files in the right
282 ;; places.
283 (substitute* "man.el"
284 (("\"/usr/local/include\"" line)
285 (string-join
286 (list line
287 "\"~/.guix-profile/include\""
288 "\"/var/guix/profiles/system/profile/include\"")
289 " ")))
290 #t))))
291 (arguments
292 (substitute-keyword-arguments (package-arguments emacs)
5b8a60ff
AA
293 ((#:configure-flags flags)
294 `(cons* "--with-harfbuzz" ,flags))
92d2205a
AB
295 ((#:phases phases)
296 `(modify-phases ,phases
297 ;; The 'reset-gzip-timestamps phase will throw a
298 ;; permission error if gzip files aren't writable then
299 (add-before
300 'reset-gzip-timestamps
301 'make-compressed-files-writable
302 (lambda _
303 (for-each make-file-writable
304 (find-files %output ".*\\.t?gz$"))
305 #t))
306 ;; restore the dump file that Emacs installs somewhere in
307 ;; libexec/ to its original state
308 (add-after 'glib-or-gtk-wrap 'restore-emacs-pdmp
309 (lambda* (#:key outputs target #:allow-other-keys)
310 (let* ((libexec (string-append (assoc-ref outputs "out")
311 "/libexec"))
312 ;; each of these find-files should return one file
313 (pdmp (find-files libexec "^emacs\\.pdmp$"))
314 (pdmp-real (find-files libexec
315 "^\\.emacs\\.pdmp-real$")))
316 (for-each (lambda (wrapper real)
317 (delete-file wrapper)
318 (rename-file real wrapper))
319 pdmp pdmp-real)
320 #t)))))))
321 (inputs
322 `(("jansson" ,jansson)
5b8a60ff 323 ("harfbuzz" ,harfbuzz)
92d2205a
AB
324 ,@(package-inputs emacs)))
325 (native-inputs
326 `(("autoconf" ,autoconf) ; needed when building from trunk
327 ,@(package-native-inputs emacs)))
328
329 ;; TODO: consider changing `emacs' to use a more robust way of
330 ;; specifying version for "EMACSLOADPATH", so as to avoid having to
331 ;; duplicate native-search-paths here.
332 (native-search-paths
333 (list (search-path-specification
334 (variable "EMACSLOADPATH")
335 ;; The versioned entry is for the Emacs' builtin libraries.
336 (files
337 (list "share/emacs/site-lisp"
338 (string-append "share/emacs/" emacs-version "/lisp"))))
339 (search-path-specification
340 (variable "INFOPATH")
341 (files '("share/info"))))))))
342
b2eaf7ba 343(define-public emacs-minimal
4fd540b7
LC
344 ;; This is the version that you should use as an input to packages that just
345 ;; need to byte-compile .el files.
b2eaf7ba
AK
346 (package (inherit emacs)
347 (name "emacs-minimal")
348 (synopsis "The extensible text editor (used only for byte-compilation)")
349 (build-system gnu-build-system)
350 (arguments
4e941436 351 (substitute-keyword-arguments (package-arguments emacs)
4e941436
LC
352 ((#:configure-flags flags ''())
353 `(list "--with-gnutls=no" "--disable-build-details"))))
b2eaf7ba 354 (inputs
393c5e69
MC
355 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
356 ("ncurses" ,ncurses)))
b2eaf7ba
AK
357 (native-inputs
358 `(("pkg-config" ,pkg-config)))))
359
5bbb04f9
AB
360(define-public emacs-xwidgets
361 (package
362 (inherit emacs)
363 (name "emacs-xwidgets")
364 (synopsis "The extensible, customizable, self-documenting text
365editor (with xwidgets support)")
366 (build-system gnu-build-system)
367 (arguments
4e941436
LC
368 (substitute-keyword-arguments (package-arguments emacs)
369 ((#:configure-flags flags ''())
370 `(cons "--with-xwidgets" ,flags))))
5bbb04f9
AB
371 (inputs
372 `(("webkitgtk" ,webkitgtk)
373 ("libxcomposite" ,libxcomposite)
374 ,@(package-inputs emacs)))))
375
b2eaf7ba 376(define-public emacs-no-x
4fd540b7 377 (package (inherit emacs)
4fd540b7
LC
378 (name "emacs-no-x")
379 (synopsis "The extensible, customizable, self-documenting text
380editor (console only)")
381 (build-system gnu-build-system)
382 (inputs (fold alist-delete
383 (package-inputs emacs)
384 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
4adde2a9
MW
385 "imagemagick" "libpng" "librsvg" "libxpm" "libice"
386 "libsm"
4fd540b7 387
4adde2a9
MW
388 ;; These depend on libx11, so remove them as well.
389 "libotf" "m17n-lib" "dbus")))))
4fd540b7 390
4a3e602c
TUBK
391(define-public emacs-no-x-toolkit
392 (package (inherit emacs)
393 (name "emacs-no-x-toolkit")
394 (synopsis "The extensible, customizable, self-documenting text
395editor (without an X toolkit)" )
71f57158 396 (build-system gnu-build-system)
388fd01b
MW
397 (inputs (append `(("inotify-tools" ,inotify-tools))
398 (alist-delete "gtk+" (package-inputs emacs))))
f862697b 399 (arguments
d0a64567
MC
400 `(,@(substitute-keyword-arguments (package-arguments emacs)
401 ((#:configure-flags cf)
402 `(cons "--with-x-toolkit=no" ,cf)))))))
4a3e602c 403
f906d30c 404(define-public guile-emacs
ef5fa91c
LF
405 (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
406 (revision "0"))
407 (package (inherit emacs)
408 (name "guile-emacs")
409 (version (git-version "0.0.0" revision commit))
410 (source (origin
411 (method git-fetch)
412 (uri (git-reference
413 (url "https://git.hcoop.net/git/bpt/emacs.git")
414 (commit commit)))
415 (file-name (git-file-name name version))
416 (patches (search-patches "guile-emacs-fix-configure.patch"))
417 (sha256
418 (base32
419 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
420 (native-inputs
421 `(("autoconf" ,autoconf)
422 ("automake" ,automake)
423 ("guile" ,guile-for-guile-emacs)
424 ,@(package-native-inputs emacs)))
425 (arguments
426 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
427 #:parallel-build? #f
428 ;; Tests aren't passing for now.
429 #:tests? #f
430 ,@(package-arguments emacs))
431 ((#:phases phases)
432 `(modify-phases ,phases
433 (add-after 'unpack 'autogen
434 (lambda _
435 (invoke "sh" "autogen.sh")))
436 ;; Build sometimes fails: deps/dispnew.d: No such file or directory
437 (add-before 'build 'make-deps-dir
438 (lambda _
439 (invoke "mkdir" "-p" "src/deps"))))))))))
f906d30c 440
eeb883cb 441(define-public m17n-db
9a4c9715 442 (package
eeb883cb
RW
443 (name "m17n-db")
444 (version "1.8.0")
445 (source
446 (origin
447 (method url-fetch)
448 (uri (string-append "mirror://savannah/m17n/m17n-db-"
449 version ".tar.gz"))
450 (sha256
451 (base32
452 "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5"))))
9a4c9715 453 (build-system gnu-build-system)
08fc0d68 454 (inputs
eeb883cb 455 `(("gettext" ,gettext-minimal)))
77c9286d 456 (arguments
eeb883cb
RW
457 `(#:configure-flags
458 (list (string-append "--with-charmaps="
459 (assoc-ref %build-inputs "libc")
460 "/share/i18n/charmaps"))))
461 ;; With `guix lint' the home-page URI returns a small page saying
462 ;; that your browser does not handle frames. This triggers the "URI
463 ;; returns suspiciously small file" warning.
464 (home-page "https://www.nongnu.org/m17n/")
465 (synopsis "Multilingual text processing library (database)")
466 (description "The m17n library realizes multilingualization of
467many aspects of applications. The m17n library represents
468multilingual text as an object named M-text. M-text is a string with
469attributes called text properties, and designed to substitute for
470string in C. Text properties carry any information required to input,
471display and edit the text.
c7e553a3 472
eeb883cb
RW
473This package contains the library database.")
474 (license license:lgpl2.1+)))
1095bd1d 475
eeb883cb 476(define-public m17n-lib
2316078a 477 (package
eeb883cb
RW
478 (name "m17n-lib")
479 (version "1.8.0")
2316078a
RW
480 (source
481 (origin
482 (method url-fetch)
eeb883cb
RW
483 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
484 version ".tar.gz"))
2316078a
RW
485 (sha256
486 (base32
eeb883cb 487 "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq"))))
64e43c67 488 (build-system gnu-build-system)
64e43c67 489 (inputs
eeb883cb
RW
490 `(("fribidi" ,fribidi)
491 ("gd" ,gd)
492 ("libotf" ,libotf)
493 ("libxft" ,libxft)
494 ("libxml2" ,libxml2)
495 ("m17n-db" ,m17n-db)))
85777fe5 496 (arguments
eeb883cb
RW
497 `(#:parallel-build? #f))
498 ;; With `guix lint' the home-page URI returns a small page saying
499 ;; that your browser does not handle frames. This triggers the "URI
500 ;; returns suspiciously small file" warning.
501 (home-page "https://www.nongnu.org/m17n/")
502 (synopsis "Multilingual text processing library (runtime)")
503 (description "The m17n library realizes multilingualization of
504many aspects of applications. The m17n library represents
505multilingual text as an object named M-text. M-text is a string with
506attributes called text properties, and designed to substitute for
507string in C. Text properties carry any information required to input,
508display and edit the text.
cf9ce01f 509
eeb883cb
RW
510This package contains the library runtime.")
511 (license license:lgpl2.1+)))