diff options
| -rw-r--r-- | gnu/local.mk | 2 | ||||
| -rw-r--r-- | gnu/packages/emacs.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/patches/emacs-exec-path.patch | 18 | ||||
| -rw-r--r-- | gnu/packages/patches/emacs-next-exec-path.patch | 18 |
4 files changed, 3 insertions, 41 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 903bcdcf0b8..14a7854ed53 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1256,7 +1256,6 @@ dist_patch_DATA = \ | |||
| 1256 | %D%/packages/patches/emacs-disable-jit-compilation.patch \ | 1256 | %D%/packages/patches/emacs-disable-jit-compilation.patch \ |
| 1257 | %D%/packages/patches/emacs-doc-toc-shell-commands.patch \ | 1257 | %D%/packages/patches/emacs-doc-toc-shell-commands.patch \ |
| 1258 | %D%/packages/patches/emacs-elisp-autofmt-fix-region-send.patch \ | 1258 | %D%/packages/patches/emacs-elisp-autofmt-fix-region-send.patch \ |
| 1259 | %D%/packages/patches/emacs-exec-path.patch \ | ||
| 1260 | %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ | 1259 | %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ |
| 1261 | %D%/packages/patches/emacs-gnus-alias-reference-signature.patch \ | 1260 | %D%/packages/patches/emacs-gnus-alias-reference-signature.patch \ |
| 1262 | %D%/packages/patches/emacs-helpful-fix-signature.patch \ | 1261 | %D%/packages/patches/emacs-helpful-fix-signature.patch \ |
| @@ -1269,7 +1268,6 @@ dist_patch_DATA = \ | |||
| 1269 | %D%/packages/patches/emacs-native-comp-fix-filenames.patch \ | 1268 | %D%/packages/patches/emacs-native-comp-fix-filenames.patch \ |
| 1270 | %D%/packages/patches/emacs-native-comp-pin-packages.patch \ | 1269 | %D%/packages/patches/emacs-native-comp-pin-packages.patch \ |
| 1271 | %D%/packages/patches/emacs-next-disable-jit-compilation.patch \ | 1270 | %D%/packages/patches/emacs-next-disable-jit-compilation.patch \ |
| 1272 | %D%/packages/patches/emacs-next-exec-path.patch \ | ||
| 1273 | %D%/packages/patches/emacs-next-native-comp-fix-filenames.patch \ | 1271 | %D%/packages/patches/emacs-next-native-comp-fix-filenames.patch \ |
| 1274 | %D%/packages/patches/emacs-pasp-mode-quote-file-names.patch \ | 1272 | %D%/packages/patches/emacs-pasp-mode-quote-file-names.patch \ |
| 1275 | %D%/packages/patches/emacs-polymode-fix-lexical-variable-error.patch \ | 1273 | %D%/packages/patches/emacs-polymode-fix-lexical-variable-error.patch \ |
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 0a8a76aaaa7..7f36745ff51 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm | |||
| @@ -221,7 +221,6 @@ | |||
| 221 | (base32 | 221 | (base32 |
| 222 | "1nggbgnns7lvxn68gzlcsgwh3bigvrbn45kh6dqia9yxlqc6zwxk")) | 222 | "1nggbgnns7lvxn68gzlcsgwh3bigvrbn45kh6dqia9yxlqc6zwxk")) |
| 223 | (patches (search-patches "emacs-disable-jit-compilation.patch" | 223 | (patches (search-patches "emacs-disable-jit-compilation.patch" |
| 224 | "emacs-exec-path.patch" | ||
| 225 | "emacs-fix-scheme-indent-function.patch" | 224 | "emacs-fix-scheme-indent-function.patch" |
| 226 | "emacs-native-comp-driver-options.patch" | 225 | "emacs-native-comp-driver-options.patch" |
| 227 | "emacs-native-comp-fix-filenames.patch" | 226 | "emacs-native-comp-fix-filenames.patch" |
| @@ -249,7 +248,9 @@ | |||
| 249 | (string-append "RUN_TEMACS= " | 248 | (string-append "RUN_TEMACS= " |
| 250 | #$(this-package-native-input "libfaketime") | 249 | #$(this-package-native-input "libfaketime") |
| 251 | "/bin/faketime -m -f '" release-date "'" | 250 | "/bin/faketime -m -f '" release-date "'" |
| 252 | " ./temacs"))) | 251 | ;; Reduce closure size by cleaning the |
| 252 | ;; environment of the emacs dumper | ||
| 253 | " env -i ./temacs"))) | ||
| 253 | #:parallel-build? #f | 254 | #:parallel-build? #f |
| 254 | #:phases | 255 | #:phases |
| 255 | #~(modify-phases %standard-phases | 256 | #~(modify-phases %standard-phases |
| @@ -732,7 +733,6 @@ editor (with wide ints)" ) | |||
| 732 | (base32 "111cxlhdpxyvyj2mhqcx0s5s2nkdr3q2vhly1csq5d44p24c4yyy")) | 733 | (base32 "111cxlhdpxyvyj2mhqcx0s5s2nkdr3q2vhly1csq5d44p24c4yyy")) |
| 733 | (patches | 734 | (patches |
| 734 | (search-patches "emacs-next-disable-jit-compilation.patch" | 735 | (search-patches "emacs-next-disable-jit-compilation.patch" |
| 735 | "emacs-next-exec-path.patch" | ||
| 736 | "emacs-fix-scheme-indent-function.patch" | 736 | "emacs-fix-scheme-indent-function.patch" |
| 737 | "emacs-native-comp-driver-options.patch" | 737 | "emacs-native-comp-driver-options.patch" |
| 738 | "emacs-next-native-comp-fix-filenames.patch" | 738 | "emacs-next-native-comp-fix-filenames.patch" |
diff --git a/gnu/packages/patches/emacs-exec-path.patch b/gnu/packages/patches/emacs-exec-path.patch deleted file mode 100644 index 6e33e252589..00000000000 --- a/gnu/packages/patches/emacs-exec-path.patch +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | Do not capture the build-time value of $PATH in the 'emacs' executable | ||
| 2 | since this can noticeably increase the size of the closure of Emacs | ||
| 3 | with things like GCC being referenced. | ||
| 4 | |||
| 5 | Index: emacs-next/lisp/loadup.el | ||
| 6 | =================================================================== | ||
| 7 | --- emacs-next.orig/lisp/loadup.el | ||
| 8 | +++ emacs-next/lisp/loadup.el | ||
| 9 | @@ -599,7 +599,8 @@ lost after dumping"))) | ||
| 10 | ((equal dump-mode "dump") "emacs") | ||
| 11 | ((equal dump-mode "bootstrap") "emacs") | ||
| 12 | ((equal dump-mode "pbootstrap") "bootstrap-emacs.pdmp") | ||
| 13 | - (t (error "Unrecognized dump mode %s" dump-mode))))) | ||
| 14 | + (t (error "Unrecognized dump mode %s" dump-mode)))) | ||
| 15 | + (exec-path nil)) | ||
| 16 | (when (and (featurep 'native-compile) | ||
| 17 | (equal dump-mode "pdump")) | ||
| 18 | ;; Don't enable this before bootstrap is completed, as the | ||
diff --git a/gnu/packages/patches/emacs-next-exec-path.patch b/gnu/packages/patches/emacs-next-exec-path.patch deleted file mode 100644 index 54091af2627..00000000000 --- a/gnu/packages/patches/emacs-next-exec-path.patch +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | Do not capture the build-time value of $PATH in the 'emacs' executable | ||
| 2 | since this can noticeably increase the size of the closure of Emacs | ||
| 3 | with things like GCC being referenced. | ||
| 4 | |||
| 5 | Index: emacs/lisp/loadup.el | ||
| 6 | =================================================================== | ||
| 7 | --- emacs.orig/lisp/loadup.el | ||
| 8 | +++ emacs/lisp/loadup.el | ||
| 9 | @@ -603,7 +603,8 @@ directory got moved. This is set to be | ||
| 10 | (if (eq system-type 'ms-dos) | ||
| 11 | "b-emacs.pdmp" | ||
| 12 | "bootstrap-emacs.pdmp")) | ||
| 13 | - (t (error "Unrecognized dump mode %s" dump-mode))))) | ||
| 14 | + (t (error "Unrecognized dump mode %s" dump-mode)))) | ||
| 15 | + (exec-path nil)) | ||
| 16 | (when (and (featurep 'native-compile) | ||
| 17 | (equal dump-mode "pdump")) | ||
| 18 | ;; Don't enable this before bootstrap is completed, as the | ||
