[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile fi
From: |
Hilton Chain |
Subject: |
[bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode. |
Date: |
Thu, 24 Aug 2023 02:00:14 +0800 |
* gnu/packages/emacs-xyz.scm (emacs-flim-lb)[#:phases]: Replace 'build phase
to byte compile files explicitly.
---
gnu/packages/emacs-xyz.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 412ace373e..ecdfa235c7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -37655,6 +37655,24 @@ (define-public emacs-flim-lb
(base32
"1wsnipyl3blldcl8ynmpj1mxfvl7kjmxd8gapl83vqd3r0l9cr6q"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; FIXME: Following error occurs when native compiled:
+ ;; condition-case: Eager macro-expansion failure: (void-variable
+ ;; eof-block-branches).
+ (replace 'build
+ ;; Copied from emacs-build-system's build phase, with
+ ;; `emacs-compile-directory' replaced to
+ ;; `emacs-byte-compile-directory'.
+ (lambda* (#:key outputs inputs #:allow-other-keys)
+ (for-each delete-file (find-files "." "\\.el[cn]$"))
+ (let* ((emacs (search-input-file inputs "/bin/emacs"))
+ (out (assoc-ref outputs "out")))
+ (setenv "SHELL" "sh")
+ (parameterize ((%emacs emacs))
+ (emacs-byte-compile-directory (elpa-directory out)))))))))
(propagated-inputs (list emacs-apel-lb emacs-oauth2))
(home-page "https://www.emacswiki.org/emacs/WanderLust")
(synopsis
@@ -37694,9 +37712,6 @@ (define-public emacs-semi-epg
(define-public emacs-wanderlust
;; No release since Jan 15, 2010.
- ;; FIXME: Building with emacs-next-pgtk would yield a void variable related
- ;; macro-expansion failure at runtime, so don't rewrite emacs input of this
- ;; package.
(let ((version "2.15.9")
(revision "791")
(commit "8369b2d5170a174652294835dd9a18ed21a38cb2"))
base-commit: d58c6e25ff3d1e70fd9b0e07bdad1b335de8a979
--
2.41.0
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode.,
Hilton Chain <=
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Liliana Marie Prikler, 2023/08/27
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Hilton Chain, 2023/08/27
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Liliana Marie Prikler, 2023/08/27
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Hilton Chain, 2023/08/27
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Liliana Marie Prikler, 2023/08/27
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Hilton Chain, 2023/08/28
- [bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode., Liliana Marie Prikler, 2023/08/28
[bug#65478] [PATCH emacs-team v2] build: emacs-utils: Adjust `emacs-compile-directory' for Emacs 29., Hilton Chain, 2023/08/28