Commit graph

4 commits

Author SHA1 Message Date
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