mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-next: Update to 31.0.50-1.9663c95.
* gnu/packages/emacs.scm (emacs-next): Update to 31.0.50-1.9663c95. * gnu/packages/patches/emacs-next-disable-jit-compilation.patch: New file. * gnu/local.mk: Register new patch. Change-Id: I2b13ce4c2ef030d8d7911ca524576d5b81e5db73 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
2e53bea35b
commit
a2ba096675
3 changed files with 24 additions and 4 deletions
|
@ -1239,6 +1239,7 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/emacs-native-comp-driver-options.patch \
|
%D%/packages/patches/emacs-native-comp-driver-options.patch \
|
||||||
%D%/packages/patches/emacs-native-comp-fix-filenames.patch \
|
%D%/packages/patches/emacs-native-comp-fix-filenames.patch \
|
||||||
%D%/packages/patches/emacs-native-comp-pin-packages.patch \
|
%D%/packages/patches/emacs-native-comp-pin-packages.patch \
|
||||||
|
%D%/packages/patches/emacs-next-disable-jit-compilation.patch \
|
||||||
%D%/packages/patches/emacs-next-exec-path.patch \
|
%D%/packages/patches/emacs-next-exec-path.patch \
|
||||||
%D%/packages/patches/emacs-next-native-comp-fix-filenames.patch \
|
%D%/packages/patches/emacs-next-native-comp-fix-filenames.patch \
|
||||||
%D%/packages/patches/emacs-pasp-mode-quote-file-names.patch \
|
%D%/packages/patches/emacs-pasp-mode-quote-file-names.patch \
|
||||||
|
|
|
@ -573,8 +573,8 @@ editor (with wide ints)" )
|
||||||
#~(cons "--with-wide-int" #$flags))))))
|
#~(cons "--with-wide-int" #$flags))))))
|
||||||
|
|
||||||
(define-public emacs-next-minimal
|
(define-public emacs-next-minimal
|
||||||
(let ((commit "60232a30e360c00fb303cb033d4aec15a9e41342")
|
(let ((commit "9663c959c73d6cca0c56f833d80ff1d9e9708b70")
|
||||||
(revision "0"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(inherit emacs-minimal)
|
(inherit emacs-minimal)
|
||||||
(name "emacs-next-minimal")
|
(name "emacs-next-minimal")
|
||||||
|
@ -587,9 +587,9 @@ editor (with wide ints)" )
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1n1i20j92a8sqv224yzvyzk804h9x0lgyp3jlny3b6g08ka91034"))
|
(base32 "1a03j9zdn1fl181xcqsw4vg3v8a3sbv1r3d49ld6ysldvfkwiz39"))
|
||||||
(patches
|
(patches
|
||||||
(search-patches "emacs-disable-jit-compilation.patch"
|
(search-patches "emacs-next-disable-jit-compilation.patch"
|
||||||
"emacs-next-exec-path.patch"
|
"emacs-next-exec-path.patch"
|
||||||
"emacs-fix-scheme-indent-function.patch"
|
"emacs-fix-scheme-indent-function.patch"
|
||||||
"emacs-native-comp-driver-options.patch"
|
"emacs-native-comp-driver-options.patch"
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
Index: emacs-29.2/src/comp.c
|
||||||
|
===================================================================
|
||||||
|
--- emacs-29.2.orig/src/comp.c
|
||||||
|
+++ emacs-29.2/src/comp.c
|
||||||
|
@@ -5648,8 +5648,12 @@ For internal use. */);
|
||||||
|
doc: /* If non-nil, compile loaded .elc files asynchronously.
|
||||||
|
|
||||||
|
After compilation, each function definition is updated to use the
|
||||||
|
-natively compiled one. */);
|
||||||
|
- native_comp_jit_compilation = true;
|
||||||
|
+natively compiled one. This variable is enabled by default upstream,
|
||||||
|
+but disabled in Guix to better make use of precompiled packages.
|
||||||
|
+Notably, Guix removes the hashes that prevent inadvertent shadowing
|
||||||
|
+from the file names of compiled libraries in order to facilitate grafts.
|
||||||
|
+Enable at your own risk! */);
|
||||||
|
+ native_comp_jit_compilation = false;
|
||||||
|
|
||||||
|
DEFSYM (Qnative_comp_speed, "native-comp-speed");
|
||||||
|
DEFSYM (Qnative_comp_debug, "native-comp-debug");
|
Loading…
Add table
Add a link
Reference in a new issue