aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
AgeCommit message (Collapse)Author
2023-10-08gnu: emacs-next-minimal: Apply Guix patches.Liliana Marie Prikler
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: Add file. * gnu/packages/patches/emacs-next-exec-path.patch: Add file. * gnu/local.mk (dist_patch_DATA): Register them here. * gnu/packages/emacs.scm (emacs-next-minimal)[origin](patches): Include the same patches as emacs-minimal, save for the variants specific to emacs-next introduced above. Co-Authored-By: Nicolas Graves <ngraves@ngraves.fr> Fixes: ‘emacs-next’ is almost unusable <https://bugs.gnu.org/66227>
2023-09-09gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler
This package currently exists on master, where both emacs and emacs-next are built without tree-sitter. Since most of our Emacsen now build with tree-sitter, it is no longer needed, but let's issue a warning rather than a hard error to those who rely on it. * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
2023-09-09gnu: Add emacs-next-pgtk-xwidgets.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
2023-09-09gnu: Add emacs-next-pgtk.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
2023-09-09gnu: Add emacs-next.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
2023-09-09gnu: Add emacs-next-minimal.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-minimal): New variable.
2023-09-07gnu: emacs: Reload subdirs.el files in ‘guix-emacs-autoload-packages’.Maxim Cournoyer
This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no longer be able to autoload all packages. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages): Reload subdirs.el files unless NO-RELOAD is provided. Update docstring. * doc/guix.texi (Application Setup): Document that ‘guix-emacs-autoload-packages’ can be invoked interactively to auto-reload newly installed Emacs packages. * gnu/packages/emacs.scm (emacs)[arguments]<#:phases>: Call guix-emacs-autoload-packages with an argument in the site-start.el file. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-08-02gnu: emacs: Update to 29.1.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-minimal): Update to 29.1. [source]: Use url-fetch again.
2023-08-01Merge branch 'master' into emacs-teamLiliana Marie Prikler
2023-07-18gnu: emacs: Depend on libc-for-target.Janneke Nieuwenhuizen
* gnu/packages/emacs.scm (emacs)[inputs]: Change glibc to (libc-for-target).
2023-07-13Merge branch 'master' into emacs-teamLiliana Marie Prikler
2023-07-10gnu: emacs-next: Update to 29.0.92.Hilton Chain
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.92. Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-06-09gnu: Construct Emacs packages from bottom up.Liliana Marie Prikler
This makes relationships within the Emacs variants slightly easier to reason about. In particular, it makes it so that inputs get added on top of the previous stack rather than removed (which brings the risk of not adjusting changes downwards). * gnu/packages/emacs.scm (emacs-minimal): Expand package definition. [inputs]: Reorder and add bash-minimal. (emacs-no-x): Inherit from emacs-minimal. (emacs): Inherit from emacs-no-x. (emacs-motif, emacs-no-x-toolkit): Inherit from emacs-no-x. Only inherit inputs from emacs.
2023-06-09gnu: Make emacs-next-tree-sitter the new emacs.Liliana Marie Prikler
* gnu/packages/patches/emacs-source-date-epoch.patch: Delete file * gnu/local.mk (dist_patch_DATA): Remove it from here. * gnu/packages/emacs.scm (emacs): Update to 29.0.91. [source]<patches>: Remove “emacs-source-date-epoch.patch”. Add “emacs-pgtk-super-key-fix.patch”. [arguments]: Use “--with-native-compilation=aot” instead of #:make-flags. [inputs]: Add sqlite and tree-sitter. (emacs-next-pgtk): Rename to… (emacs-pgtk): … this. (emacs-next-pgtk-xwidgets): Rename to… (emacs-pgtk-xwidgets): … this. (emacs-minimal)[native-inputs]: Add texinfo. (emacs-xwidgets): Inherit build system, configure-flags and phases normally. (emacs-next, emacs-next-tree-sitter): Remove variables.
2023-05-28gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-tree-sitter)[version, source]: Inherit fields from emacs-next.
2023-05-28gnu: emacs-next: Update to 29.0.91.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.91.
2023-05-07gnu: Add emacs-next-pgtk-xwidgets.Antero Mejr
* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-04-30gnu: emacs: Use librsvg-for-system.Efraim Flashner
* gnu/packages/emacs.scm (emacs)[inputs]: Replace librsvg input logic with librsvg-for-system.
2023-04-19gnu: emacs-next: Update to 29.0.90.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.90.
2023-03-20Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge
2023-03-17gnu: m17n-lib: Fix cross-compile.Z572
* gnu/packages/emacs.scm (m17n-lib) [source]: Add m17n-lib-1.8.0-use-pkg-config-for-freetype.patch. [native-inputs]: When cross-compile add pkg-config, libtool, gettext-minimal, autoconf, automake. [arguments]: When cross-compile, add phase to fix rpl_malloc undefined references. * gnu/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-17gnu: m17n-db: Fix cross-compile.Z572
* gnu/packages/emacs.scm (m17n-db) [inputs]: Move gettext-minimal to ... [native-inputs]: ... here. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-12gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter.Andrew Tropin
Inherit pgtk emacs from tree-sitter to have both features available for wayland users. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-pgtk): Inherit from emacs-next-tree-sitter.
2023-03-12gnu: emacs-next-tree-sitter: Inherit from emacs-next.Andrew Tropin
Make tree-sitter emacs available without pgtk. It's part of ongoing iheritance hierarchy update, tree-sitter have less implications than pgtk and thus it should be placed earlier in inheritance chain. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next.
2023-03-09gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk.Andrew Tropin
Make emacs with tree-sitter work on wayland as well. * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next-pgtk, remove uneeded native-inputs, add synopsis and description. [source]: Use inherited patches.
2023-03-09gnu: emacs-next-pgtk: Remove xwidgets support.Andrew Tropin
xwidgets is beefy and buggy, but emacs-next-pgtk is important for wayland users, so it seems a good idea to remove xwidgets from emacs-next-pgtk. Also, we have a separate emacs-xwidgets package for those who wants to experiment. * gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Remove gsettings-desktop-schemas glib-networking. [arguments]<#:configure-flags>: Remove --with-xwidgets. [inputs]: Remove webkitgtk-with-libsoup2. [home-page]: PGTK is merged to upstream emacs repository now, so inherit home-page from emacs-next.
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines
Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
2023-03-01gnu: Add emacs-motif.Andy Tai
* gnu/packages/text-editors.scm (emacs-motif): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-02-26gnu: emacs-next: Update to 29.0.60-1.f1f571e.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
2023-02-26gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support.
2023-02-12gnu: Remove tree-sitter comment from emacs.scm imports.Pierre Langlois
* gnu/packages/emacs.scm: Remove tree-sitter comment. Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-02-11gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.Andrew Tropin
gnu/packages/emacs.scm (emacs)[native-search-paths]: Add a search-path for tree-sitter grammars. gnu/packages/aux-files/emacs/guix-emacs.el: Add directories from TREE_SITTER_GRAMMAR_PATH to treesit-extra-load-path.
2023-02-09gnu: tree-sitter: Move to its own module.Pierre Langlois
* gnu/packages/text-editors.scm (tree-sitter): Move to ... * gnu/packages/tree-sitter.scm: ... here, a new module. * gnu/packages/vim.scm: Use (gnu packages tree-sitter). * gnu/packages/emacs.scm: Use (gnu packages tree-sitter). * gnu/local.mk (GNU_SYSTEM_MODULES): Register tree-sitter.scm new module. Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-02-04gnu: emacs-next: Enable tree-sitter support.Declan Tsien
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-0.ac7ec87. * gnu/packages/emacs.scm (emacs-next)[inputs]: Add tree-sitter. Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
2023-01-26gnu: emacs-next: Update to 29.0.50-4.6adc193.Fredrik Salomonsson
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-4.6adc193. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-22gnu: emacs-minimal: Do not patch compilation driver.Liliana Marie Prikler
The ‘patch-compilation-driver’ phase pulls in libgccjit even though it has been deliberately removed from emacs-minimal. * gnu/packages/emacs.scm (emacs)[#:phases]: Delete ‘patch-compilation-driver’.
2022-11-03gnu: emacs-next: Update to 29.0.50-3.22e8a77.jgart
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-3.22e8a77. Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-16gnu: emacs: Update to 28.2.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs): Update to 28.2.
2022-10-16Merge branch 'staging'Marius Bakke
2022-10-15gnu: emacs-next: Update to 29.0.50-2.4aeb80c.Liliana Marie Prikler
* 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-02gnu: emacs-minimal: Reduce to minimal inputs.Liliana Marie Prikler
This partly reverts dbcba75c0e96d8eb2b0bf9dbb3a49d15b38f80d2. 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-09-27Merge branch 'staging' into core-updatesMaxim Cournoyer
Conflicts resolved in: gnu/local.mk gnu/packages/cran.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/icu4c.scm gnu/packages/java.scm gnu/packages/machine-learning.scm gnu/packages/tex.scm
2022-09-19gnu: emacs-next-pgtk: Inherit patches from emacs-next.Andrew Tropin
* gnu/packages/emacs.scm (emacs-next-pgtk)[source]: Inherit patches from emacs-next.
2022-09-18Merge branch 'staging' into core-updatesMarius Bakke
2022-09-16gnu: emacs-next-pgtk: Fix super key problem.Andrew Tropin
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-15Merge branch 'staging' into core-updatesMaxim Cournoyer
Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process.
2022-09-11gnu: emacs: Build with native compilation.Liliana Marie Prikler
* 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-08-12gnu: Remove librsvg-bootstrap.Marius Bakke
librsvg is already a staging-level package, and the next version will no longer bundle its dependencies, so we might as well drop it early. * gnu/packages/gnome.scm (librsvg-bootstrap): Remove variable. * gnu/packages/bittorrent.scm (deluge)[native-inputs]: Replace LIBRSVG-BOOTSTRAP with LIBRSVG. * gnu/packages/emacs.scm (emacs)[inputs]: Likewise. * gnu/packages/gtk.scm (gtk+-2)[propagated-inputs]: Likewise. * gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Likewise.
2022-08-05gnu: emacs-next: Enable SQLite3 support.Zhu Zihao
[[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>