* gnu/packages/emacs.scm (emacs-no-x-toolkit): [inputs] Add the the
inputs of the emacs package
Like the comment in the package definition states, emacs-no-x-toolkit
needs the inputs of emacs for "all the graphical stuff". Without them,
it runs only in the terminal, like emacs-no-x.
This reverts the change made by 1ae20f03f4 for this package.
Change-Id: I51ffc6d9b98f8bdda19f7ec1971ded96ebfda6f8
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit was made by running this command:
sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm
… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).
Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
This commit was made by running this command:
sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm
… and then:
1. reverting changes from ‘gnu/packages/rust.scm’ and
‘gnu/packages/java.scm’ since they would incur derivation changes and/or
breakage;
2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
which use ‘substitute-keyword-arguments’ for arguments that are not
inherited (and thus ‘arguments’ would be unbound);
4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
which make bogus assumptions about inherited arguments.
Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
* gnu/packages/emacs.scm (%selector): Rename to ...
(%emacs-selector): Remove a few tests that actually pass and exclude the
benchmark test.
(emacs-minimal): Use %emacs-selector instead of %selector.
Change-Id: I0dddd390586be170f24e13ee7873a875fd12d6e2
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/emacs.scm (%emacs-next-selector): New variable.
(emacs-next-minimal): Update to 31.0.50-2.509228f. Remove now unessecary
patch "emacs-zoom-image-test-fix.patch". Use %emacs-next-selector.
(emacs->emacs-next): Use %emacs-next-selector.
Change-Id: I4618ee38a72e210c60c069704eed69b08af70072
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/emacs.scm (emacs-ert-selector): Surround test names with
beginning of line and end of line regex characters as emacs expects a regex.
Sort the list of tests so that rearranging the excluded tests does not result
in a rebuild.
Change-Id: I7002fa48122d8409f383f85f515a1a6ac9cdd957
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
The function name got changed in upstream commit d3ead375092, dated
2020-01-31.
* gnu/packages/emacs.scm (emacs-minimal): Replace 'tramp-process-running-p',
not the now non-existant function 'tramp-compat-process-running-p'.
Change-Id: If2adff095b968b804729533fcdd188f5035f9eed
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/emacs.scm (emacs-minimal):[arguments]<#:phases>: Patch include
path to C header files for ffap.
Change-Id: If703f78eecb8a8bfc1b39a6c2e052b1920b39475
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
The issue this patch solves got fixed in GTK 3.23.37.
* gnu/packages/patches/emacs-pgtk-super-key-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/emacs.scm (emacs-minimal, emacs-next-minimal): Do not use the
super-key patch.
Change-Id: I5a1098ce0a4709aa8f05a5a82e2b78866b48a87f
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/patches/emacs-native-comp-fix-filenames.patch: Use correct
function for datatype.
* gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: Use correct
function for datatype.
* gnu/packages/emacs.scm (emacs-minimal): Remove now unnecessary flags.
Change-Id: Id362deef83f28653f5bc3babb4a07726c1443ebf
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Trying to run "M-x disassemble" in emacs on a native compiled function would
fail because it could not find objdump.
* gnu/packages/emacs.scm (emacs-no-x): Patch path to objdump.
Change-Id: Ia0994fce88142189cd8fdeeceb0532e5132bce37
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
The snippets are inherited by emacs-next and friends so this shouldn't change
any of guix packages but this will allow user source transformations to also
benifit from these snippets.
* gnu/packages/emacs.scm (emacs-minimal): Move some snippets to build phases.
Change-Id: Ia9af1ee90335189092a6eb36d7b1d8592167782d
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This shaves ~18 MiB on the closure of ‘emacs’ and ‘emacs-no-x’.
* gnu/packages/emacs.scm (emacs-no-x)[arguments]: In
‘patch-compilation-driver’, use ‘search-input-file’ instead of
‘this-package-input’.
[inputs]: Remove ‘ld-wrapper’, ‘binutils’, and ‘libc-for-target’.
Closes: guix/guix#5029Fixes: guix/guix#5028
Change-Id: Ib71641cf37f8ae3590b0db97c14fcd45d21080f1
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.
Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
This patch represents a commit which should already be in emacs-next; to be
investigated.
* gnu/packages/emacs.scm (emacs-next-minimal)[source]: Add patch.
Change-Id: I884c9082cf53478411f01ccb5deab0e5c239fba1
The included patch is already done upstream, just after the 30.2 release.
* gnu/packages/emacs.scm (emacs-minimal)[source]: Add patch.
* gnu/packages/patches/emacs-zoom-image-test-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I0134ec90a03f8757b4247b5aea0853752b67daef
* gnu/packages/guile.scm (guile-for-guile-emacs)[arguments]: Replace
emacs-minimal's CFLAGS in #:configure-flags with specific and extra flags to
relax gcc-14's strictness.
Change-Id: I6b3f871695eb25fbf84a2334525e1d0e15e36b92
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
Backport this patch in emacs@30 to fix compilation issues.
* gnu/packages/patches/emacs-30-fix-compilation-errors.patch: Add patch.
* gnu/packages/emacs.scm (emacs-minimal)[source]: Record patch.
* gnu/local.mk: Record patch.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/emacs.scm (emacs-minimal)[source]: Add "/run/privileged/bin"
and Guix Home paths to ‘tramp-remote-path’.
Add Guix Home path to ‘Man-header-file-path’.
Change-Id: I20536ae93c74e06eafa5fd26a1b421680c177102
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Due to inheritance this enables tests on most of the Emacs packages.
* gnu/packages/emacs.scm:
(emacs-ert-selector): New function.
(%selector): New variable.
(emacs-minimal): Run tests.
Change-Id: Ib5ffeae9b7f49b5f1a56d348c15ce4c4fb28f5ec
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
guile-emacs appears to be unmaintained, and the website that was hosting its
git repository is no longer active.
* gnu/packages/emacs.scm (guile-emacs): Delete variable.
Change-Id: I949762074acf7d9b8a3b219b26b3848db8220946
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* gnu/packages/patches/emacs-next-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.
After a question by lilyp via IRC.
* gnu/packages/emacs.scm (guile-emacs): Add "upstream-version" to outer let.
[native-search-paths]: Use that for EMACSLOADPATH and add a comment.
Change-Id: Ie2c222a53a5bd79b1a8a0b8424a90e6e06b77fb9
* gnu/packages/patches/guile-emacs-build-fixes.patch: New file.
* gnu/packages/patches/guile-emacs-fix-configure.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/emacs.scm (guile-emacs): Update to
8f87cbc1dae6a9e77368afc5736df8c342e9153d and use new patch.
[arguments]: Allow parallel-build. Do not strip-binaries.
Use recommended #:configure-flags and #:make-flags.
Add stages "help-patch-progam-file-names" and "touch-lisp/finder-inf.el".
No longer delete non-existent stage "strip-double-wrap". Delete stages
"patch-compilation-driver", "set-libgccjit-path", "validate-comp-integrity",
"restore-emacs-pdmp", "build-trampolines", and "install-site-start".
[native-search-paths]: New field.
Change-Id: I8153a55ef0061720ffd3c4833eff3ae6df3eccfc
* gnu/packages/emacs.scm (emacs-minimal)[#:phases]: Add
‘disable-native-compilation’ to turn off native-compilation
for the file lisp/transient.el.
Change-Id: I27c9d660cbad46be66df641816e4596346969dfc
Fixes: transient-prefix-object is void <https://issues.guix.gnu.org/72333>.
Reported-by: Daniel Szmulewicz <daniel.szmulewicz@gmail.com>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
The current graft breaks native compilation and would do so even if reduced to
an ABI hash. Thus remove it, and rebuild all Emacsen.
* gnu/packages/emacs.scm (emacs-minimal): Update to 29.4.
[replacement]: Remove. Add note for future replacements.
(emacs-minimal/fixed): Remove variable.
Fixes: Emacs native compilation across grafts <https://bugs.gnu.org/72045>