Commit Graph

1240 Commits

Author SHA1 Message Date
Liliana Marie Prikler
4c43c79e40
gnu: emacs: Update to 28.2.
* gnu/packages/emacs.scm (emacs): Update to 28.2.
2022-10-16 11:23:58 +02:00
Marius Bakke
c567a82a69
Merge branch 'staging' 2022-10-16 00:10:07 +02:00
Liliana Marie Prikler
1682aba247
gnu: emacs-next: Update to 29.0.50-2.4aeb80c.
* gnu/packages/patches/emacs-native-comp-driver-options.patch: New file.
* gnu/local.mk: Register it here.
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-2.4aeb80c.
2022-10-15 16:32:04 +02:00
Liliana Marie Prikler
407f017663
gnu: emacs-minimal: Reduce to minimal inputs.
This partly reverts dbcba75c0e.  In that commit,
emacs-minimal gained a few inputs that weren't actually used as native
compilation is disabled.
Discovered by djeis in IRC, see also
<http://logs.guix.gnu.org/guix/2022-10-02.log#170047>.

* gnu/packages/emacs.scm (emacs-minimal)[inputs]: Remove ld-wrapper, binutils,
glibc, libgccjit, and zlib.
[arguments]<#:phases>: Delete ‘set-libgccjit-path’.
2022-10-02 18:30:02 +02:00
Andrew Tropin
f7565101e4
gnu: emacs-next-pgtk: Inherit patches from emacs-next.
* gnu/packages/emacs.scm (emacs-next-pgtk)[source]: Inherit patches from
emacs-next.
2022-09-19 07:23:41 +03:00
Andrew Tropin
77e768ac4e
gnu: emacs-next-pgtk: Fix super key problem.
Recent version of emacs 29 with pgtk flag has a problem with handling super
key modifier, due to gtk bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4913
This commit workarounds it.

* gnu/packages/patches/emacs-pgtk-super-key-fix.patch: New file.
* gnu/packages/emacs.scm (emacs-next-pgtk): Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
2022-09-16 20:28:34 +03:00
Liliana Marie Prikler
dbcba75c0e
gnu: emacs: Build with native compilation.
* gnu/packages/emacs.scm (%emacs-modules): New variable.
(emacs)[arguments]<#:modules>: Use it here.
<#:configure-flags> Add “--with-native-compilation”.
<#:make-flags>: Add “NATIVE_FULL_AOT=1”.
<#:phases>: Add ‘set-libgccjit-path’ and ‘patch-compilation-driver’.
[inputs]: Add explicit ld-wrapper, binutils, glibc, and libgccjit.
[search-paths]: Add EMACSNATIVELOADPATH.
(emacs-minimal, emacs-xwidgets, emacs-no-x)
(emacs-no-x-toolkit): Adjust accordingly.
2022-09-11 15:46:32 +02:00
Zhu Zihao
e9f10f1d3b
gnu: emacs-next: Enable SQLite3 support.
[[PGP Signed Part:No public key for 66397F84F76693F9 created at 2022-07-20T06:08:56+0200 using EDDSA]]

[[End of PGP Signed Part]]
>From 068de10c98b5d29adb13963222a1ca21ef7b0a76 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Wed, 20 Jul 2022 12:07:09 +0800
Subject: [PATCH] gnu: emacs-next: Enable SQLite3 support.

* gnu/packages/emacs.scm (emacs-next)[inputs]: Add sqlite.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-05 00:14:29 +02:00
John Kehayias
4f9ac2afc7
gnu: emacs: Fix tramp-remote-path.
This variable was moved from tramp-sh.el to tramp.el, causing the substitute*
snippet which patches it to silently fail.
See also <https://issues.guix.gnu.org/55443>.

* gnu/packages/emacs.scm (emacs)[source]<snippet>: Patch tramp.el rather than tramp-sh.el.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-22 21:09:23 +02:00
Ludovic Courtès
091eb323ba
Merge branch 'master' into staging 2022-06-08 14:53:16 +02:00
Josselin Poiret
77f84500ed
gnu: emacs-next: Update to 29.0.50-1.0a5477b.
The currently used commit breaks magit, so update to a newer one.

* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-1.0a5477b.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-05 12:11:06 +02:00
Ludovic Courtès
7097e98586
Merge branch 'master' into staging 2022-05-26 17:11:20 +02:00
Ludovic Courtès
6b819f8285
gnu: guile-emacs: Remove input labels.
* gnu/packages/emacs.scm (guile-emacs)[native-inputs]: Remove labels.
2022-05-26 13:19:42 +02:00
Ludovic Courtès
5645307ffb
gnu: guile-emacs: Use gexps.
This is a followup to 64557bc695.

* gnu/packages/emacs.scm (guile-emacs)[arguments]: Use gexps.
2022-05-26 13:17:41 +02:00
wednesday
15870cc08d
gnu: emacs: Add libselinux to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add libselinux to support
  extended attributes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-21 01:01:28 -04:00
wednesday
fd5b7393a0
gnu: emacs: Add lcms to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add lcms.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-21 01:00:13 -04:00
Liliana Marie Prikler
1110479d2d
gnu: emacs-wide-int: Use new package style.
* gnu/packages/emacs.scm (emacs-wide-int)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
2022-05-15 09:17:23 +02:00
Liliana Marie Prikler
484dd71a08
gnu: emacs-no-x-toolkit: Use new package style.
* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
2022-05-15 09:17:23 +02:00
Liliana Marie Prikler
4949188d46
gnu: emacs-no-x: Use new package style.
* gnu/packages/emacs.scm (emacs-no-x)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
2022-05-15 09:17:23 +02:00
Liliana Marie Prikler
a56a3fa761
gnu: emacs-xwidgets: Use new package style.
* gnu/packages/emacs.scm (emacs-xwidgets)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
2022-05-15 09:17:22 +02:00
Liliana Marie Prikler
9a520eb203
gnu: emacs-next-pgtk: Use new package style.
* gnu/packages/emacs.scm (emacs-next-pgtk)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
2022-05-15 09:17:22 +02:00
Liliana Marie Prikler
3443cbf8dd
gnu: emacs-minimal: Tidy up coding style.
* 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-15 01:31:59 +02:00
Liliana Marie Prikler
58cb8c2f68
gnu: emacs-minimal: Drop meaningless input.
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-15 01:31:58 +02:00
Liliana Marie Prikler
3935451f63
gnu: emacs-minimal: Fix inputs.
This is a follow-up to 5f315e1d5f.
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-14 22:23:52 +02:00
Liliana Marie Prikler
775817648f
gnu: emacs: Don't error on missing commands.
This is a follow-up to commit 64557bc695.
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-14 22:23:52 +02:00
Liliana Marie Prikler
35707e5058
gnu: emacs-minimal: Use G-Expressions in arguments.
This is a follow-up to commit 64557bc695.
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-14 22:23:51 +02:00
Liliana Marie Prikler
527952945c
gnu: emacs-next-pgtk: Define in terms of emacs-next.
* gnu/packages/emacs.scm (emacs-next-pgtk)[version,source]: Drop fields,
inheriting from emacs-next instead.
2022-05-14 16:13:31 +02:00
Liliana Marie Prikler
eb02e086e9
gnu: emacs-next: Update to 38d87c43c2ad727406dcfe316aac5e24e202c251.
* gnu/packages/emacs.scm (emacs-next): Update to
38d87c43c2ad727406dcfe316aac5e24e202c251.
2022-05-14 16:13:31 +02:00
Liliana Marie Prikler
5f315e1d5f
gnu: emacs: Add support for socket activation.
* gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘enable-elogind’.
[inputs]: Add elogind.
[native-inputs]: Add autoconf.
2022-05-14 16:13:31 +02:00
Liliana Marie Prikler
64557bc695
gnu: emacs: Use new package style.
* 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-14 16:13:30 +02:00
Liliana Marie Prikler
b65a1e4a21
gnu: emacs: Update to 28.1.
* 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-05-14 16:13:30 +02:00
Sarah Morgensen
6dc8a61bb1
gnu: emacs: Remove obsolete phase.
* gnu/packages/emacs.scm (emacs)[arguments]<#:phases>: Remove
'make-compressed-files-writable phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:44:48 -05:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Efraim Flashner
c89940a43a
gnu: Use librsvg-bootstrap.
* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
2021-12-12 15:19:00 +02:00
Ludovic Courtès
3bd7ce6053
gnu: emacs: Use 'librsvg-for-system'.
* gnu/packages/emacs.scm (emacs)[inputs]: Use 'librsvg-for-system'
unconditionally.
2021-12-05 22:42:26 +01:00
Ricardo Wurmus
9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Liliana Marie Prikler
15404ff19b
gnu: emacs: Load package descriptors from packages referenced by subdirs.el
* 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-03 21:39:50 +01:00
Liliana Marie Prikler
4baeb72717
gnu: emacs: Make DocView PDF work out of the box.
* 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-03 21:39:49 +01:00
Liliana Marie Prikler
f725279cdd
gnu: emacs: Find real GVFS processes.
* 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-12-03 21:39:49 +01:00
John Kehayias
85de88f1ad
gnu: emacs-xwidgets{,-next-pgtk}: Use webkitgtk-with-libsoup2.
* 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-11-21 16:43:12 +01:00
Efraim Flashner
bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
Morgan Smith
49d19b35ce
gnu: emacs: Handle pdump filenames that contain a fingerprint.
* 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-24 10:49:45 +02:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Liliana Marie Prikler
719bbcc15e
Update copyright assignments for 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-09-25 09:34:36 +02:00
Marius Bakke
8d59c262ad
Merge branch 'master' into core-updates
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-06-06 21:16:32 +02:00
Tobias Geerinckx-Rice
947398c70a
gnu: emacs: Support console mice.
* gnu/packages/emacs.scm (emacs)[inputs]: Add gpm.
2021-05-29 16:09:48 +02:00
Marius Bakke
dbcf2b61b1
gnu: Fix erroneous uses of 'package/inherit'.
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-23 17:49:56 +02:00
Marius Bakke
f034264204
Merge branch 'master' into core-updates
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-09 21:29:46 +02:00
Leo Prikler
d13b46fae4
gnu: emacs: Add coreutils and gzip to PATH.
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-01 15:56:37 +02:00
Leo Prikler
307a2d2e2a
gnu: emacs: Wrap EMACSLOADPATH.
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-05-01 15:56:37 +02:00