2013-01-13 17:12:22 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2019-01-16 16:03:52 +01:00
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2014-07-29 10:00:56 +02:00
|
|
|
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
|
2018-02-14 09:25:38 +01:00
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
|
2019-01-16 16:03:52 +01:00
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
|
|
|
|
;;; Copyright © 2016, 2018 Arun Isaac <arunisaac@systemreboot.net>
|
|
|
|
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
|
|
|
|
;;; Copyright © 2016 David Thompson <dthompson2@worcester.edu>
|
|
|
|
;;; Copyright © 2016 Nils Gillmann <ng0@n0.is>
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
|
|
|
;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
|
|
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
|
|
|
;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2017-05-26 12:29:04 +02:00
|
|
|
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
|
2019-01-16 16:03:52 +01:00
|
|
|
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
|
|
|
|
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
|
|
|
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2013-01-13 17:12:22 +01:00
|
|
|
;;;
|
|
|
|
;;; 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/>.
|
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
(define-module (gnu packages emacs)
|
2015-03-04 17:02:07 +01:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-13 17:12:22 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-05-10 16:29:54 +02:00
|
|
|
#:use-module (guix git-download)
|
2013-01-13 17:12:22 +01:00
|
|
|
#:use-module (guix build-system gnu)
|
2014-12-09 23:11:02 +01:00
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2013-01-18 01:06:47 +01:00
|
|
|
#:use-module (gnu packages)
|
2019-01-16 16:03:52 +01:00
|
|
|
#:use-module (gnu packages acl)
|
2014-07-24 17:38:42 +02:00
|
|
|
#:use-module (gnu packages autotools)
|
2015-08-19 21:57:08 +02:00
|
|
|
#:use-module (gnu packages base)
|
2015-03-04 17:02:07 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2019-01-16 16:03:52 +01:00
|
|
|
#:use-module (gnu packages fontutils)
|
2016-09-27 19:17:21 +02:00
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
#:use-module (gnu packages gd)
|
2019-01-16 16:03:52 +01:00
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
#:use-module (gnu packages gnome) ; for librsvg
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
#:use-module (gnu packages guile)
|
|
|
|
#:use-module (gnu packages image)
|
|
|
|
#:use-module (gnu packages imagemagick)
|
|
|
|
#:use-module (gnu packages linux) ; alsa-lib
|
|
|
|
#:use-module (gnu packages ncurses)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages texinfo)
|
|
|
|
#:use-module (gnu packages tls)
|
2019-01-18 23:29:14 +01:00
|
|
|
#:use-module (gnu packages webkit)
|
2019-01-16 16:03:52 +01:00
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
#:use-module (gnu packages xorg)
|
2014-07-29 10:00:56 +02:00
|
|
|
#:use-module (guix utils)
|
2019-01-16 16:03:52 +01:00
|
|
|
#:use-module (srfi srfi-1))
|
2013-01-13 17:12:22 +01:00
|
|
|
|
|
|
|
(define-public emacs
|
|
|
|
(package
|
|
|
|
(name "emacs")
|
2018-05-28 18:23:07 +02:00
|
|
|
(version "26.1")
|
2013-01-13 17:12:22 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/emacs/emacs-"
|
2013-03-14 17:47:26 +01:00
|
|
|
version ".tar.xz"))
|
2013-01-13 17:12:22 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-05-28 18:23:07 +02:00
|
|
|
"0b6k1wq44rc8gkvxhi1bbjxbz3cwg29qbq8mklq2az6p1hjgrx0w"))
|
2016-04-08 14:18:13 +02:00
|
|
|
(patches (search-patches "emacs-exec-path.patch"
|
2016-05-26 10:45:16 +02:00
|
|
|
"emacs-fix-scheme-indent-function.patch"
|
2017-09-21 16:46:20 +02:00
|
|
|
"emacs-source-date-epoch.patch"))
|
2016-05-19 10:01:40 +02:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Delete the bundled byte-compiled elisp files and
|
|
|
|
;; generated autoloads.
|
|
|
|
'(with-directory-excursion "lisp"
|
|
|
|
(for-each delete-file
|
|
|
|
(append (find-files "." "\\.elc$")
|
|
|
|
(find-files "." "loaddefs\\.el$")
|
|
|
|
;; This is the only "autoloads" file that
|
|
|
|
;; does not have "*loaddefs.el" name.
|
2017-02-09 23:10:49 +01:00
|
|
|
'("eshell/esh-groups.el")))
|
|
|
|
|
|
|
|
;; Make sure Tramp looks for binaries in the right places on
|
|
|
|
;; remote GuixSD machines, where 'getconf PATH' returns
|
|
|
|
;; something bogus.
|
|
|
|
(substitute* "net/tramp-sh.el"
|
|
|
|
;; Patch the line after "(defcustom tramp-remote-path".
|
|
|
|
(("\\(tramp-default-remote-path")
|
|
|
|
(format #f "(tramp-default-remote-path ~s ~s ~s ~s "
|
|
|
|
"~/.guix-profile/bin" "~/.guix-profile/sbin"
|
|
|
|
"/run/current-system/profile/bin"
|
2017-10-16 16:44:57 +02:00
|
|
|
"/run/current-system/profile/sbin")))
|
|
|
|
|
|
|
|
;; Make sure Man looks for C header files in the right
|
|
|
|
;; places.
|
|
|
|
(substitute* "man.el"
|
|
|
|
(("\"/usr/local/include\"" line)
|
|
|
|
(string-join
|
|
|
|
(list line
|
|
|
|
"\"~/.guix-profile/include\""
|
|
|
|
"\"/var/guix/profiles/system/profile/include\"")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
" ")))
|
|
|
|
#t))))
|
2014-12-09 23:11:02 +01:00
|
|
|
(build-system glib-or-gtk-build-system)
|
2013-01-13 17:12:22 +01:00
|
|
|
(arguments
|
2018-05-28 18:23:07 +02:00
|
|
|
`(#:tests? #f ; no check target
|
2019-02-07 17:43:47 +01:00
|
|
|
#:configure-flags (list "--with-modules")
|
2018-05-28 18:23:07 +02:00
|
|
|
#:phases
|
2016-01-01 15:12:40 +01:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'fix-/bin/pwd
|
|
|
|
(lambda _
|
|
|
|
;; Use `pwd', not `/bin/pwd'.
|
|
|
|
(substitute* (find-files "." "^Makefile\\.in$")
|
|
|
|
(("/bin/pwd")
|
2018-03-23 06:59:15 +01:00
|
|
|
"pwd"))
|
|
|
|
#t))
|
2016-01-01 15:12:40 +01:00
|
|
|
(add-after 'install 'install-site-start
|
2017-02-18 09:24:41 +01:00
|
|
|
;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
|
|
|
|
;; provided by Guix and installed in
|
2016-01-01 15:12:40 +01:00
|
|
|
;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
|
|
|
|
;; automatically found.
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-02-18 09:24:41 +01:00
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(lisp-dir (string-append out "/share/emacs/site-lisp")))
|
|
|
|
(copy-file (assoc-ref inputs "guix-emacs.el")
|
|
|
|
(string-append lisp-dir "/guix-emacs.el"))
|
2016-01-01 15:12:40 +01:00
|
|
|
(with-output-to-file (string-append lisp-dir "/site-start.el")
|
|
|
|
(lambda ()
|
2017-02-18 09:44:52 +01:00
|
|
|
(display
|
|
|
|
(string-append "(when (require 'guix-emacs nil t)\n"
|
|
|
|
" (guix-emacs-autoload-packages))\n"))))
|
2016-01-01 15:12:40 +01:00
|
|
|
#t))))))
|
2013-01-13 17:12:22 +01:00
|
|
|
(inputs
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
`(("gnutls" ,gnutls)
|
2013-01-13 17:12:22 +01:00
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
|
|
|
;; TODO: Add the optional dependencies.
|
2015-03-19 23:04:59 +01:00
|
|
|
("libx11" ,libx11)
|
2014-09-20 14:49:20 +02:00
|
|
|
("gtk+" ,gtk+)
|
2015-03-19 23:04:59 +01:00
|
|
|
("libxft" ,libxft)
|
2013-04-13 22:08:09 +02:00
|
|
|
("libtiff" ,libtiff)
|
2014-02-21 10:48:22 +01:00
|
|
|
("giflib" ,giflib)
|
2018-07-15 20:33:49 +02:00
|
|
|
("libjpeg" ,libjpeg)
|
2017-07-10 05:54:22 +02:00
|
|
|
("imagemagick" ,imagemagick)
|
2014-10-08 09:49:43 +02:00
|
|
|
("acl" ,acl)
|
2013-04-13 22:08:09 +02:00
|
|
|
|
|
|
|
;; When looking for libpng `configure' links with `-lpng -lz', so we
|
|
|
|
;; must also provide zlib as an input.
|
|
|
|
("libpng" ,libpng)
|
2015-03-04 17:02:07 +01:00
|
|
|
("zlib" ,zlib)
|
2013-04-13 22:08:09 +02:00
|
|
|
|
2015-04-04 09:32:04 +02:00
|
|
|
("librsvg" ,librsvg)
|
2015-03-19 23:04:59 +01:00
|
|
|
("libxpm" ,libxpm)
|
2013-04-13 22:08:09 +02:00
|
|
|
("libxml2" ,libxml2)
|
2014-02-21 10:48:22 +01:00
|
|
|
("libice" ,libice)
|
|
|
|
("libsm" ,libsm)
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2016-01-01 15:12:40 +01:00
|
|
|
("dbus" ,dbus)
|
2016-09-27 19:17:22 +02:00
|
|
|
|
|
|
|
;; multilingualization support
|
|
|
|
("libotf" ,libotf)
|
|
|
|
("m17n-lib" ,m17n-lib)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
(native-inputs
|
2017-02-18 09:24:41 +01:00
|
|
|
`(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
|
|
|
|
("pkg-config" ,pkg-config)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
("texinfo" ,texinfo)))
|
2015-10-01 11:28:19 +02:00
|
|
|
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "INFOPATH")
|
|
|
|
(files '("share/info")))))
|
|
|
|
|
2017-03-30 00:48:16 +02:00
|
|
|
(home-page "https://www.gnu.org/software/emacs/")
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
(synopsis "The extensible, customizable, self-documenting text editor")
|
2013-01-13 17:12:22 +01:00
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
"GNU Emacs is an extensible and highly customizable text editor. It is
|
|
|
|
based on an Emacs Lisp interpreter with extensions for text editing. Emacs
|
|
|
|
has been extended in essentially all areas of computing, giving rise to a
|
|
|
|
vast array of packages supporting, e.g., email, IRC and XMPP messaging,
|
|
|
|
spreadsheets, remote server editing, and much more. Emacs includes extensive
|
|
|
|
documentation on all aspects of the system, from basic editing to writing
|
|
|
|
large Lisp programs. It has full Unicode support for nearly all human
|
|
|
|
languages.")
|
2015-03-04 17:02:07 +01:00
|
|
|
(license license:gpl3+)))
|
2013-01-21 21:25:43 +01:00
|
|
|
|
2016-05-11 22:25:29 +02:00
|
|
|
(define-public emacs-minimal
|
2015-03-19 23:05:21 +01:00
|
|
|
;; This is the version that you should use as an input to packages that just
|
|
|
|
;; need to byte-compile .el files.
|
2016-05-11 22:25:29 +02:00
|
|
|
(package (inherit emacs)
|
|
|
|
(name "emacs-minimal")
|
|
|
|
(synopsis "The extensible text editor (used only for byte-compilation)")
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2019-03-04 16:35:05 +01:00
|
|
|
`(,@(substitute-keyword-arguments (package-arguments emacs)
|
2018-05-28 19:16:13 +02:00
|
|
|
((#:phases phases)
|
|
|
|
`(modify-phases ,phases
|
2019-03-04 16:35:05 +01:00
|
|
|
(delete 'install-site-start))))
|
|
|
|
#:configure-flags (list "--with-gnutls=no")))
|
2016-05-11 22:25:29 +02:00
|
|
|
(inputs
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))))
|
|
|
|
|
2019-01-18 23:29:14 +01:00
|
|
|
(define-public emacs-xwidgets
|
|
|
|
(package
|
|
|
|
(inherit emacs)
|
|
|
|
(name "emacs-xwidgets")
|
|
|
|
(synopsis "The extensible, customizable, self-documenting text
|
|
|
|
editor (with xwidgets support)")
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
'("--with-xwidgets")
|
|
|
|
,@(package-arguments emacs)))
|
|
|
|
(inputs
|
|
|
|
`(("webkitgtk" ,webkitgtk)
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
,@(package-inputs emacs)))))
|
|
|
|
|
2016-05-11 22:25:29 +02:00
|
|
|
(define-public emacs-no-x
|
2015-03-19 23:05:21 +01:00
|
|
|
(package (inherit emacs)
|
|
|
|
(name "emacs-no-x")
|
|
|
|
(synopsis "The extensible, customizable, self-documenting text
|
|
|
|
editor (console only)")
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs (fold alist-delete
|
|
|
|
(package-inputs emacs)
|
|
|
|
'("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
|
2017-08-14 19:32:54 +02:00
|
|
|
"imagemagick" "libpng" "librsvg" "libxpm" "libice"
|
|
|
|
"libsm"
|
2015-03-19 23:05:21 +01:00
|
|
|
|
2017-08-14 19:32:54 +02:00
|
|
|
;; These depend on libx11, so remove them as well.
|
|
|
|
"libotf" "m17n-lib" "dbus")))))
|
2015-03-19 23:05:21 +01:00
|
|
|
|
2014-07-29 10:00:56 +02:00
|
|
|
(define-public emacs-no-x-toolkit
|
|
|
|
(package (inherit emacs)
|
|
|
|
(name "emacs-no-x-toolkit")
|
|
|
|
(synopsis "The extensible, customizable, self-documenting text
|
|
|
|
editor (without an X toolkit)" )
|
2014-12-09 23:11:02 +01:00
|
|
|
(build-system gnu-build-system)
|
2014-10-08 09:49:43 +02:00
|
|
|
(inputs (append `(("inotify-tools" ,inotify-tools))
|
|
|
|
(alist-delete "gtk+" (package-inputs emacs))))
|
|
|
|
(arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
|
|
|
|
(package-arguments emacs)))))
|
2014-07-29 10:00:56 +02:00
|
|
|
|
2015-05-10 16:29:54 +02:00
|
|
|
(define-public guile-emacs
|
2019-02-26 00:05:18 +01:00
|
|
|
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
|
|
|
|
(revision "0"))
|
|
|
|
(package (inherit emacs)
|
|
|
|
(name "guile-emacs")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://git.hcoop.net/git/bpt/emacs.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(patches (search-patches "guile-emacs-fix-configure.patch"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("guile" ,guile-for-guile-emacs)
|
|
|
|
,@(package-native-inputs emacs)))
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments `(;; Build fails if we allow parallel build.
|
|
|
|
#:parallel-build? #f
|
|
|
|
;; Tests aren't passing for now.
|
|
|
|
#:tests? #f
|
|
|
|
,@(package-arguments emacs))
|
|
|
|
((#:phases phases)
|
|
|
|
`(modify-phases ,phases
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
(lambda _
|
|
|
|
(invoke "sh" "autogen.sh")))
|
|
|
|
;; Build sometimes fails: deps/dispnew.d: No such file or directory
|
|
|
|
(add-before 'build 'make-deps-dir
|
|
|
|
(lambda _
|
|
|
|
(invoke "mkdir" "-p" "src/deps"))))))))))
|
2015-05-10 16:29:54 +02:00
|
|
|
|
2019-01-16 16:03:52 +01:00
|
|
|
(define-public m17n-db
|
2014-08-03 04:20:23 +02:00
|
|
|
(package
|
2019-01-16 16:03:52 +01:00
|
|
|
(name "m17n-db")
|
|
|
|
(version "1.8.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://savannah/m17n/m17n-db-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5"))))
|
2014-08-03 04:20:23 +02:00
|
|
|
(build-system gnu-build-system)
|
2016-10-20 20:23:11 +02:00
|
|
|
(inputs
|
2019-01-16 16:03:52 +01:00
|
|
|
`(("gettext" ,gettext-minimal)))
|
2014-11-25 18:01:38 +01:00
|
|
|
(arguments
|
2019-01-16 16:03:52 +01:00
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-charmaps="
|
|
|
|
(assoc-ref %build-inputs "libc")
|
|
|
|
"/share/i18n/charmaps"))))
|
|
|
|
;; With `guix lint' the home-page URI returns a small page saying
|
|
|
|
;; that your browser does not handle frames. This triggers the "URI
|
|
|
|
;; returns suspiciously small file" warning.
|
|
|
|
(home-page "https://www.nongnu.org/m17n/")
|
|
|
|
(synopsis "Multilingual text processing library (database)")
|
|
|
|
(description "The m17n library realizes multilingualization of
|
|
|
|
many aspects of applications. The m17n library represents
|
|
|
|
multilingual text as an object named M-text. M-text is a string with
|
|
|
|
attributes called text properties, and designed to substitute for
|
|
|
|
string in C. Text properties carry any information required to input,
|
|
|
|
display and edit the text.
|
2014-12-09 23:20:41 +01:00
|
|
|
|
2019-01-16 16:03:52 +01:00
|
|
|
This package contains the library database.")
|
|
|
|
(license license:lgpl2.1+)))
|
2016-06-29 07:39:42 +02:00
|
|
|
|
2019-01-16 16:03:52 +01:00
|
|
|
(define-public m17n-lib
|
2016-11-17 14:02:33 +01:00
|
|
|
(package
|
2019-01-16 16:03:52 +01:00
|
|
|
(name "m17n-lib")
|
|
|
|
(version "1.8.0")
|
2016-11-17 14:02:33 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2019-01-16 16:03:52 +01:00
|
|
|
(uri (string-append "mirror://savannah/m17n/m17n-lib-"
|
|
|
|
version ".tar.gz"))
|
2016-11-17 14:02:33 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-01-16 16:03:52 +01:00
|
|
|
"0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq"))))
|
2016-12-14 22:25:52 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2019-01-16 16:03:52 +01:00
|
|
|
`(("fribidi" ,fribidi)
|
|
|
|
("gd" ,gd)
|
|
|
|
("libotf" ,libotf)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("m17n-db" ,m17n-db)))
|
2015-07-23 08:42:53 +02:00
|
|
|
(arguments
|
2019-01-16 16:03:52 +01:00
|
|
|
`(#:parallel-build? #f))
|
|
|
|
;; With `guix lint' the home-page URI returns a small page saying
|
|
|
|
;; that your browser does not handle frames. This triggers the "URI
|
|
|
|
;; returns suspiciously small file" warning.
|
|
|
|
(home-page "https://www.nongnu.org/m17n/")
|
|
|
|
(synopsis "Multilingual text processing library (runtime)")
|
|
|
|
(description "The m17n library realizes multilingualization of
|
|
|
|
many aspects of applications. The m17n library represents
|
|
|
|
multilingual text as an object named M-text. M-text is a string with
|
|
|
|
attributes called text properties, and designed to substitute for
|
|
|
|
string in C. Text properties carry any information required to input,
|
|
|
|
display and edit the text.
|
2015-07-23 10:15:36 +02:00
|
|
|
|
2019-01-16 16:03:52 +01:00
|
|
|
This package contains the library runtime.")
|
|
|
|
(license license:lgpl2.1+)))
|