summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
Commit message (Collapse)AuthorAge
* Revert "gnu: emacs: Update to 29.4. (security fixes)"Liliana Marie Prikler2024-06-23
| | | | | | This reverts commit 7e15704613b67ec54df8f1269916bc72b76bb785. It causes rebuilds to all of emacs-*, whereas a graft has already been applied in 868a022cdca164941a6fe8dcf205aefc693781cb.
* gnu: emacs: Update to 29.4. (security fixes)Liliana Marie Prikler2024-06-23
| | | | | | | | This fixes an issue where org-mode would run arbitrary shell code on startup. See <https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00695.html> for the release announcement. * gnu/packages/emacs.scm (emacs-minimal): Update to 29.4.
* gnu: emacs-minimal: Graft with 29.4 [security fixes].Zheng Junjie2024-06-23
| | | | | | | | | | Arbitrary shell commands are no longer run when turning on Org mode. This is for security reasons, to avoid running malicious commands. * gnu/packages/emacs.scm (emacs-minimal/fixed): New variable. (emacs-minimal)[replacement]: Graft. Change-Id: Idb74ee0a05486bfe5052c4dd804fbdaec8921774
* gnu: emacs: Also skip integrity check for i686-linux.Liliana Marie Prikler2024-03-30
| | | | | | | The same cases fail as with armhf-linux. * gnu/packages/emacs.scm (emacs-no-x)[#:phases]<validate-comp-integrity>: Also skip check on i686-linux.
* gnu: emacs-no-x: Skip integrity test on armhf-linux.Liliana Marie Prikler2024-03-28
| | | | | * gnu/packages/emacs.scm (emacs-no-x)[#:phases]<validate-runpath>: Move checks to GExpression expansion. Add check against armhf-linux.
* gnu: emacs: Update to 29.3.Liliana Marie Prikler2024-03-26
| | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.3.
* gnu: emacs-next-minimal: Update to 30.0.50-2.170c655.Liliana Marie Prikler2024-03-02
| | | | | * gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.50-2.170c655. * gnu/packages/aux-files/emacs/comp-integrity.el: Adjust accordingly.
* gnu: emacs: Disable jit compilation.Liliana Marie Prikler2024-02-24
| | | | | | * gnu/packages/patches/emacs-disable-jit-compilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[patches]: Use it here.
* gnu: emacs: Check integrity of native-compiled files.Liliana Marie Prikler2024-02-24
| | | | | | | | | | | In the previous commit, we've added a patch that potentially messes with how built-in (especially preloaded) Lisp libraries are loaded. Thus, we might want to assert that these files still load fine, as reported when querying the builtin documentation of functions provided by them. * gnu/packages/aux-files/emacs/comp-integrity.el: New file. * gnu/Makefile.am (dist_noinst_DATA): Register it here. * gnu/packages/emacs.scm (emacs-no-x)[#:phases]: Add ‘validate-comp-integrity’.
* gnu: emacs: Don't hash file names in native compilation.Liliana Marie Prikler2024-02-24
| | | | | | | | * gnu/packages/patches/emacs-native-comp-fix-filenames.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[source]: Use it here. Change-Id: I2b7f6b45742a985760f0097bb53910f068e3d8e5
* gnu: emacs: Build trampolines.Liliana Marie Prikler2024-02-24
| | | | | | * gnu/packages/emacs.scm (emacs-no-x)[#:phases]: Add ‘build-trampolines’. Change-Id: I33303bcbaf6cbda15867a5546e793c05d1f0e67b
* gnu: emacs-minimal: Update to 29.2.Liliana Marie Prikler2024-01-21
| | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.2.
* gnu: emacs-minimal: Set upstream-name to “emacs”.Liliana Marie Prikler2024-01-21
| | | | * gnu/packages/emacs.scm (emacs-minimal)[properties]: Add ‘upstream-name’.
* gnu: emacs: Patch awk, find, sed and sh commands.Maxim Cournoyer2024-01-18
| | | | | | | | | | | | | | | | | | Before this change, using Emacs in a pure environment, e.g. 'guix shell --pure emacs', would cause problems such as: jka-compr-insert-file-contents: Uncompression program ‘sh’ not found And other problems were found requiring the other tools. * gnu/packages/emacs.scm (emacs-minimal) [arguments]: Extend the patch-program-file-names phase. [inputs]: Add findutils, gawk and sed. Series-changes: 2 - Patch references in place instead of wrapping via PATH Change-Id: Ifb4fe2fc12ddc9eae387adb3da3f7821fab78e65
* gnu: emacs-next-minimal: Apply Guix patches.Liliana Marie Prikler2023-10-08
| | | | | | | | | | | | * 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>
* gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler2023-09-09
| | | | | | | | | 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.
* gnu: Add emacs-next-pgtk-xwidgets.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
* gnu: Add emacs-next-pgtk.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
* gnu: Add emacs-next.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
* gnu: Add emacs-next-minimal.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-minimal): New variable.
* gnu: emacs: Reload subdirs.el files in ‘guix-emacs-autoload-packages’.Maxim Cournoyer2023-09-07
| | | | | | | | | | | | | | | | | 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>
* gnu: emacs: Update to 29.1.Liliana Marie Prikler2023-08-02
| | | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.1. [source]: Use url-fetch again.
* Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-08-01
|\
| * gnu: emacs: Depend on libc-for-target.Janneke Nieuwenhuizen2023-07-18
| | | | | | | | * gnu/packages/emacs.scm (emacs)[inputs]: Change glibc to (libc-for-target).
* | Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-07-13
|\|
| * gnu: emacs-next: Update to 29.0.92.Hilton Chain2023-07-10
| | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.92. Signed-off-by: Andrew Tropin <andrew@trop.in>
* | gnu: Construct Emacs packages from bottom up.Liliana Marie Prikler2023-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | gnu: Make emacs-next-tree-sitter the new emacs.Liliana Marie Prikler2023-06-09
|/ | | | | | | | | | | | | | | | | * 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.
* gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91.Liliana Marie Prikler2023-05-28
| | | | | * gnu/packages/emacs.scm (emacs-next-tree-sitter)[version, source]: Inherit fields from emacs-next.
* gnu: emacs-next: Update to 29.0.91.Liliana Marie Prikler2023-05-28
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.91.
* gnu: Add emacs-next-pgtk-xwidgets.Antero Mejr2023-05-07
| | | | | | * gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs: Use librsvg-for-system.Efraim Flashner2023-04-30
| | | | | * gnu/packages/emacs.scm (emacs)[inputs]: Replace librsvg input logic with librsvg-for-system.
* gnu: emacs-next: Update to 29.0.90.Liliana Marie Prikler2023-04-19
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.90.
* Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-03-20
|\
| * gnu: m17n-lib: Fix cross-compile.Z5722023-03-17
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * gnu: m17n-db: Fix cross-compile.Z5722023-03-17
| | | | | | | | | | | | | | | | * gnu/packages/emacs.scm (m17n-db) [inputs]: Move gettext-minimal to ... [native-inputs]: ... here. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
| * gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter.Andrew Tropin2023-03-12
| | | | | | | | | | | | | | | | | | 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.
| * gnu: emacs-next-tree-sitter: Inherit from emacs-next.Andrew Tropin2023-03-12
| | | | | | | | | | | | | | | | | | 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.
| * gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk.Andrew Tropin2023-03-09
| | | | | | | | | | | | | | | | 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.
| * gnu: emacs-next-pgtk: Remove xwidgets support.Andrew Tropin2023-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines2023-03-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: Add emacs-motif.Andy Tai2023-03-01
| | | | | | | | | | | | * gnu/packages/text-editors.scm (emacs-motif): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
| * gnu: emacs-next: Update to 29.0.60-1.f1f571e.Liliana Marie Prikler2023-02-26
| | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
| * gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler2023-02-26
| | | | | | | | | | * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support.
| * gnu: Remove tree-sitter comment from emacs.scm imports.Pierre Langlois2023-02-12
| | | | | | | | | | | | * gnu/packages/emacs.scm: Remove tree-sitter comment. Signed-off-by: Andrew Tropin <andrew@trop.in>
| * gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.Andrew Tropin2023-02-11
| | | | | | | | | | | | | | 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.
| * gnu: tree-sitter: Move to its own module.Pierre Langlois2023-02-09
| | | | | | | | | | | | | | | | | | | | * 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>
| * gnu: emacs-next: Enable tree-sitter support.Declan Tsien2023-02-04
| | | | | | | | | | | | | | * 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>
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2023-01-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: emacs-next: Update to 29.0.50-4.6adc193.Fredrik Salomonsson2023-01-26
| | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-4.6adc193. Signed-off-by: Ludovic Courtès <ludo@gnu.org>