summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
AgeCommit message (Collapse)Author
2022-05-15gnu: emacs-wide-int: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-wide-int)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
2022-05-15gnu: emacs-no-x-toolkit: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
2022-05-15gnu: emacs-no-x: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-no-x)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
2022-05-15gnu: emacs-xwidgets: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-xwidgets)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
2022-05-15gnu: emacs-next-pgtk: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-pgtk)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
2022-05-15gnu: emacs-minimal: Tidy up coding style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-minimal)[inputs, native-inputs]: Reduce to a single line. [#:configure-flags]: Use G-Expression rather than double quoting.
2022-05-15gnu: emacs-minimal: Drop meaningless input.Liliana Marie Prikler
The search for guix-emacs.el has already been inlined into a phase shared by all emacs variants. * gnu/packages/emacs.scm (emacs-minimal)[inputs]: Remove "emacs/guix-emacs.el".
2022-05-14gnu: emacs-minimal: Fix inputs.Liliana Marie Prikler
This is a follow-up to 5f315e1d5f46721c757f5259835d84d6a037f9b9. The addition of autoconf wasn't reflected in emacs-minimal, causing builds to break. Also drop labels while we're at it. * gnu/packages/emacs.scm (emacs-minimal)[inputs]: Drop labels. [native-inputs]: Drop labels. Add autoconf.
2022-05-14gnu: emacs: Don't error on missing commands.Liliana Marie Prikler
This is a follow-up to commit 64557bc695f074af3fcf1eeed8f6696921ef18c5. Inputs lacking from emacs proper may not be present in emacs-minimal, thus throwing an error on lookup. This error is already anticipated in the handling code. * gnu/packages/emacs.scm (emacs)[patch-program-file-names]: Wrap search-input-file in false-if-exception.
2022-05-14gnu: emacs-minimal: Use G-Expressions in arguments.Liliana Marie Prikler
This is a follow-up to commit 64557bc695f074af3fcf1eeed8f6696921ef18c5. The use of G-Expressions in emacs' arguments wasn't reflected in emacs-minimal, causing builds to fail as reported in <https://issues.guix.gnu.org/issue/55415>. * gnu/packages/emacs.scm (emacs-minimal)[arguments]: Convert to list of G-Expessions.
2022-05-14gnu: emacs-next-pgtk: Define in terms of emacs-next.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-pgtk)[version,source]: Drop fields, inheriting from emacs-next instead.
2022-05-14gnu: emacs-next: Update to 38d87c43c2ad727406dcfe316aac5e24e202c251.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next): Update to 38d87c43c2ad727406dcfe316aac5e24e202c251.
2022-05-14gnu: emacs: Add support for socket activation.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘enable-elogind’. [inputs]: Add elogind. [native-inputs]: Add autoconf.
2022-05-14gnu: emacs: Use new package style.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs)[source]<snippet>: Drop trailing ‘#t’. [arguments]: Convert to list of G-Expressions. Use ‘search-input-file’ where possible. Inline references to auxiliary files. Drop trailing ‘#t’s. [inputs, native-inputs]: Drop labels.
2022-05-14gnu: emacs: Update to 28.1.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs): Update to 28.1 * gnu/packages/patches/emacs-exec-path.patch: Adjust accordingly. * gnu/packages/patches/emacs-ignore-empty-xim-styles.patch: Delete file. * gnu/local.mk: Remove it here.
2022-01-10gnu: emacs: Remove obsolete phase.Sarah Morgensen
* gnu/packages/emacs.scm (emacs)[arguments]<#:phases>: Remove 'make-compressed-files-writable phase. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-12-12gnu: Use librsvg-bootstrap.Efraim Flashner
* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap. * gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
2021-12-05gnu: emacs: Use 'librsvg-for-system'.Ludovic Courtès
* gnu/packages/emacs.scm (emacs)[inputs]: Use 'librsvg-for-system' unconditionally.
2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus
2021-12-03gnu: emacs: Load package descriptors from packages referenced by subdirs.elLiliana Marie Prikler
* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs--non-core-load-path): New procedure. (guix-emacs-autoload-packages): Use it here. (guix-emacs-load-package-descriptors): New procedure. * gnu/packages/emacs.scm (emacs)[install-site-start]: Install advice to run ‘guix-emacs-load-package-descriptors’.
2021-12-03gnu: emacs: Make DocView PDF work out of the box.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs)[patch-program-file-names]: Add patches for the programs “gs”, “dvipdf”, “ps2pdf” and “pdftotext”. [inputs]: Add ghostscript and poppler.
2021-12-03gnu: emacs: Find real GVFS processes.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs)[#:phases]<patch-program-file-names>: Expand calls to “tramp-compat-process-running-p” so that Guix wrappers are also matched.
2021-11-21gnu: emacs-xwidgets{,-next-pgtk}: Use webkitgtk-with-libsoup2.John Kehayias
* gnu/packages/emacs.scm (emacs-xwidgets, emacs-next-pgtk)[inputs]: Replace webkitgtk with webkitgtk-with-libsoup2. * gnu/packages/webkit.scm (webkitgtk-with-libsoup2): Add further information about where this package is used and upstream tracker for libsoup3.
2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner
2021-10-24gnu: emacs: Handle pdump filenames that contain a fingerprint.Morgan Smith
* gnu/packages/emacs.scm (emacs) [restore-emacs-pdmp]: Use lax regular expressions to match files by the “.pdmp” file ending only. Adjust comment accordingly. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-09-25Update copyright assignments for Liliana Marie Prikler.Liliana Marie Prikler
* doc/guix.texi: Update copyright name for Liliana Marie Prikler. * gnu/packages/build-tools.scm: Update copyright name and email for Liliana Marie Prikler. * gnu/packages/convmv.scm: Likewise. * gnu/packages/emacs-xyz.scm: Likewise. * gnu/packages/emacs.scm: Likewise. * gnu/packages/esolangs.scm: Likewise. * gnu/packages/game-development.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gnome-xyz.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/gstreamer.scm: Likewise. * gnu/packages/guile-xyz.scm: Likewise. * gnu/packages/minetest.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/patches/minetest-add-MINETEST_MOD_PATH.patch: Likewise. * gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch: Likewise. * gnu/packages/patches/webkitgtk-bind-all-fonts.patch: Likewise. * gnu/packages/python-xyz.scm: Likewise. * gnu/packages/unicode.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/services/sound.scm: Likewise. * guix/build-system/renpy.scm: Likewise. * guix/build/emacs-utils.scm: Likewise. * guix/build/renpy-build-system.scm: Likewise.
2021-06-06Merge branch 'master' into core-updatesMarius Bakke
Conflicts: gnu/local.mk gnu/packages/algebra.scm gnu/packages/bioinformatics.scm gnu/packages/curl.scm gnu/packages/docbook.scm gnu/packages/emacs-xyz.scm gnu/packages/maths.scm gnu/packages/plotutils.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/radio.scm gnu/packages/readline.scm gnu/packages/tls.scm gnu/packages/xml.scm gnu/packages/xorg.scm
2021-05-29gnu: emacs: Support console mice.Tobias Geerinckx-Rice
* gnu/packages/emacs.scm (emacs)[inputs]: Add gpm.
2021-05-23gnu: Fix erroneous uses of 'package/inherit'.Marius Bakke
These packages use a different source/version from the inherited package, and thus should not inherit replacements. * gnu/packages/check.scm (googletest-1.8, python-pytest-runner-2): Use record inheritance instead of PACKAGE/INHERIT. * gnu/packages/crates-io.scm (rust-bindgen-0.49, rust-bytes-0.4, rust-colored-1.9.1, rust-difference-1, rust-docopt-0.8, rust-html5ever-0.23, rust-http-0.1, rust-http-body-0.1, rust-loom-0.2, rust-loom-0.1, rust-pulldown-cmark-0.0.8, rust-ring-0.13, rust-rustls-0.12, rust-sct-0.3, rust-term-0.2, rust-untrusted-0.6, rust-webpki-0.18, rust-webpki-roots-0.17, rust-webpki-roots-0.14): Likewise. * gnu/packages/emacs.scm (emacs-next, emacs-next-pgtk, guile-emacs): Likewise. * gnu/packages/guile.scm (guile-2.2.4): Likewise. * gnu/packages/maths.scm (hdf5-1.10, hdf5-1.12): Likewise. * gnu/packages/protobuf.scm (protobuf-3.6, protobuf-3.5, python-protobuf-3.6): Likewise. * gnu/packages/python-web.scm (python2-html2text): Likewise. * gnu/packages/python-xyz.scm (python-pygments/fixed, python2-numpy, python2-urwid, python2-markdown, python2-fonttools): Likewise. * gnu/packages/racket.scm (racket): Likewise. * gnu/packages/sequoia.scm (sequoia4pEp): Likewise.
2021-05-09Merge branch 'master' into core-updatesMarius Bakke
Conflicts: gnu/local.mk gnu/packages/bioinformatics.scm gnu/packages/django.scm gnu/packages/gtk.scm gnu/packages/llvm.scm gnu/packages/python-web.scm gnu/packages/python.scm gnu/packages/tex.scm guix/build-system/asdf.scm guix/build/emacs-build-system.scm guix/profiles.scm
2021-05-01gnu: emacs: Add coreutils and gzip to PATH.Leo Prikler
Some parts of Emacs (dired, compression handling, Tramp) shell out to commands and patching them all is a daunting task. Also, w.r.t. Tramp, we need those commands to be portable across multiple machines, which need not only be Guix machines (and even if they are, store items can be different). This patch ensures a ‘sane’ setup FSVO ‘sane’. * gnu/packages/emacs.scm (emacs)[wrap-load-path]: Rename to... [wrap-emacs-paths] ... this. Also patch PATH.
2021-05-01gnu: emacs: Wrap EMACSLOADPATH.Leo Prikler
With this, the search path specification of EMACSLOADPATH does no longer depend on the version of Emacs, which should make upgrading major versions less painful. See also: - <https://bugs.gnu.org/43627> - <https://bugs.gnu.org/47458> * gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘wrap-load-path’. [native-search-path]<EMACSLOADPATH>: Do not search for builtin libraries. (emacs-next)[native-search-path]: Inherit from emacs.
2021-04-16Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: gnu/local.mk gnu/packages/boost.scm gnu/packages/chez.scm gnu/packages/compression.scm gnu/packages/crates-io.scm gnu/packages/docbook.scm gnu/packages/engineering.scm gnu/packages/gcc.scm gnu/packages/gl.scm gnu/packages/gtk.scm gnu/packages/nettle.scm gnu/packages/python-check.scm gnu/packages/python-xyz.scm gnu/packages/radio.scm gnu/packages/rust.scm gnu/packages/sqlite.scm guix/build-system/node.scm
2021-03-25gnu: emacs: Update to 27.2.Tobias Geerinckx-Rice
* gnu/packages/emacs.scm (emacs): Update to 27.2.
2021-03-10gnu: Restore emacs' supported systems.Chris Marusich
Recently, librsvg was updated to depend upon rust. That change inadvertently restricted the "supported" systems of emacs (among other packages) to x86_64-linux only, since that is the only system declared in the rust package's list of supported systems. This unintentionally made emacs unavailable on all other systems. This change fixes that by removing the rust dependency from some packages. The packages remain unchanged from the perspective of an x86_64-linux system, but from the perspective of other systems, the packages are now supported again (albeit without certain optional SVG features). * gnu/packages/gtk.scm (gtk+, gtk+-2)[propagated-inputs]: If compiling for x86_64, use gdk-pixbuf+svg as the "gdk-pixbuf" input, as usual. Otherwise, use gdk-pixbuf, which avoids adding librsvg (thus rust) to the closure of inputs. Note that both gtk+ and gtk+-2 are in the transitive closure of inputs of emacs, so these two changes are necessary. * gnu/packages/emacs (emacs)[inputs]: If compiling for x86_64, add librsvg to the inputs, as usual. Otherwise, do not add it, which avoids adding rust to the closure of inputs.
2021-02-01gnu: emacs-next-pgtk: Update to 28.0.50-1.ae18c8e.Léo Le Bouter
* gnu/packages/emacs.scm (emacs-next-pgtk): Update to 28.0.50-1.ae18c8e. Signed-off-by: Leo Famulari <leo@famulari.name>
2021-01-31gnu: emacs: Make strip-double-wrap more robustMorgan Smith
* gnu/packages/emacs.scm (emacs) [strip-double-wrap]: Use regex to find emacs executable. This works even when the version is changed by package transformations (ex: version=git.master) Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-01gnu: emacs-next-pgtk: Update to savannah feature/pgtk branch.Ryan Prior
* gnu/packages/emacs.scm (emacs-next-pgtk): Update to savannah feature/pgtk branch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-26gnu: Add emacs-next-pgtk.Andrew Tropin
* gnu/packages/emacs.scm (emacs-next-pgtk): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-11-11gnu: emacs.scm: Remove unused module import.Marius Bakke
* gnu/packages/emacs.scm: Don't import (gnu packages imagemagick).
2020-11-03Revert "gnu: emacs: Make strip-double-wrap more robust."Nicolas Goaziou
This reverts commit b107a19ffb6a6abb7bde3436f3fa359071bd1f5c. It causes too many rebuilds related to emacs-minimal, and fails with "No code for module (guix build glib-or-gtk-build-system)".
2020-11-03gnu: emacs: Make strip-double-wrap more robust.Morgan Smith
* gnu/packages/emacs.scm (emacs) [strip-double-wrap]: Use regex to find emacs executable. This works even when the version is changed by package transformations (e.g., version=git.master). Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-01gnu: emacs-next: Fix load path and version.Morgan Smith
Fixes <http://issues.guix.info/43277>. * gnu/packages/emacs.scm (emacs)[strip-double-wrap]: Modify to work with emacs-next. (emacs-next)[version]: Use git-version to produce the version string. [arguments]: Remove field. [native-search-paths]: Add field. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2020-09-02gnu: Add emacs-next.Morgan Smith
* gnu/packages/emacs.scm (emacs-next): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-08-31gnu: emacs: Strip double wrap.Leo Prikler
* gnu/packages/emacs.scm (emacs)[#:phases]: Add 'strip-double-wrap. (emacs-minimal emacs-xwidgets emacs-no-x) (emacs-no-x-toolkit guile-emacs)[#:phases]: Delete 'strip-double-wrap. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-29Revert "gnu: emacs: Strip double wrap."Mathieu Othacehe
This reverts commit 0ec6b8afd7e7a6c288fbf48c5779f2e0bdaffb55 that prevents the load of Emacs packages.
2020-08-29gnu: emacs: Strip double wrap.Leo Prikler
* gnu/packages/emacs.scm (emacs)[#:phases]: Add 'strip-double-wrap. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-28gnu: emacs: Update to 27.1.Mark H Weaver
* gnu/packages/emacs.scm (emacs): Update to 27.1. [source]: In snippet, use 'find-files' to find 'eshell/esh-groups.el' if it exists, but gracefully handle its absence. [arguments]: Add "--with-cairo" to configure-flags. Add 'restore-emacs-pdmp' and 'make-compressed-files-writable' phases. Explicitly return #t from 'install-site-start' phase. [inputs]: Add cairo, pango, harfbuzz, jansson, and gmp. Remove imagemagick. (emacs-next): Remove variable. (emacs-minimal, emacs-xwidgets): Use 'package/inherit'. [arguments]: Remove 'restore-emacs-pdmp' phase. (emacs-no-x): Use 'package/inherit'. [arguments]: Remove "--with-cairo" from configure-flags. Remove 'restore-emacs-pdmp' phase. [inputs]: Remove cairo, pango, and harfbuzz. (emacs-no-x-toolkit): Use 'package/inherit'. [arguments]: Remove 'restore-emacs-pdmp' phase. Remove superfluous quasiquote+unquote-splicing pair. (emacs-wide-int): Use 'package/inherit'. (guile-emacs): Use 'package/inherit'. [arguments]: Remove "--with-cairo" from configure-flags. Remove 'restore-emacs-pdmp' phase. * gnu/packages/patches/emacs-ignore-empty-xim-styles.patch, gnu/packages/patches/emacs-source-date-epoch.patch: Adapt to apply cleanly to emacs-27.1. * gnu/packages/patches/emacs-exec-path.patch: Replace with the previous contents of 'emacs27-exec-path.patch', but remove the superfluous comment about it being "like emacs-exec-path.patch, but for Emacs 27". * gnu/packages/patches/emacs27-exec-path.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove 'emacs27-exec-path.patch'.