Commit graph

6 commits

Author SHA1 Message Date
Liliana Marie Prikler
5421e4a748
gnu: emacs: Allow ‘dnd-open-file’ to be unbound in integrity check.
This fixes the build of emacsen that don't have drag and drop support, such as
emacs-no-x.

* gnu/packages/aux-files/emacs/comp-integrity.el: Use ‘expect-native-if-bound’
rather than ‘expect-native’ to check for ‘dnd-open-file’.
2025-06-15 16:56:45 +02:00
Morgan Smith
4aff08d29d
gnu: emacs: Update to 30.1.
* gnu/packages/emacs.scm (emacs-minimal): Update to 30.1.
(guile-emacs): Remove now unneeded phase.
* gnu/packages/aux-files/emacs/comp-integrity.el: Replace with…
* gnu/packages/aux-files/emacs/comp-integrity-next.el: … this.
Delete file.
* Makefile.am: Unregister it.
* gnu/packages/patches/emacs-exec-path.patch: Replace with…
* gnu/packages/patches/emacs-next-exec-path.patch: … this.
* gnu/packages/patches/emacs-native-comp-driver-options.patch: Replace with…
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: … this.
* gnu/packages/patches/emacs-native-comp-fix-filenames.patch: Replace with…
* gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: … this.

Change-Id: Ic144329bfe5a126a5d7e86dd0fdb726cf92de175
2025-06-15 16:56:43 +02:00
Liliana Marie Prikler
9e22ef64ad
gnu: emacs: Only verify integrity of bound symbols.
Some variants, like emacs-no-x, come with a reduced set of preloaded symbols,
so don't expect them to always be native.

* gnu/packages/aux-files/emacs/comp-integrity.el (expect-native-if-bound): New
function.
(x-setup-function-keys, dynamic-setting-handle-config-changed-event)
(fontset-plain-name, fringe-mode, image-type, regexp-opt, scroll-bar-scale):
Use ‘expect-native-if-bound’.
(x-handle-no-bitmap-icon): Likewise, was already conditional.
2024-03-22 22:45:13 +01:00
Liliana Marie Prikler
19fc252ab7
aux-files: comp-integrity: Adjust for emacs-pgtk.
* gnu/packages/aux-files/emacs/comp-integrity.el (x-dnd-init-frame): Require
x-dnd.
(x-handle-no-bitmap-icon): Only test this if it's bound.
2024-03-04 20:54:49 +01:00
Liliana Marie Prikler
84e125eb27
gnu: emacs-next-minimal: Update to 30.0.50-2.170c655.
* gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.50-2.170c655.
* gnu/packages/aux-files/emacs/comp-integrity.el: Adjust accordingly.
2024-03-02 18:04:22 +01:00
Liliana Marie Prikler
35fc3027f3
gnu: emacs: Check integrity of native-compiled files.
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’.
2024-02-24 08:08:17 +01:00