guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-esxml: Limit packaged files.


From: guix-commits
Subject: branch master updated: gnu: emacs-esxml: Limit packaged files.
Date: Sat, 29 May 2021 13:26:13 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7de36f7  gnu: emacs-esxml: Limit packaged files.
7de36f7 is described below

commit 7de36f7575330e9ede02728f601a468728e0d0ee
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 29 19:25:08 2021 +0200

    gnu: emacs-esxml: Limit packaged files.
    
    * gnu/packages/emacs-xyz.scm (emacs-esxml)[arguments]: Use full emacs.  Only
    package two files.  Remove unnecessary phases.
---
 gnu/packages/emacs-xyz.scm | 23 ++++-------------------
 1 file changed, 4 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a70c596..cf66dc6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15310,25 +15310,10 @@ Lisp.")
                 "1xzxmgsg0j72sf1vjh9gjswz3c29js0kqhm7r3jrqrh3a5agdnml"))))
     (build-system emacs-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-sources
-           (lambda _
-             ;; See: https://github.com/tali713/esxml/pull/28.
-             (substitute* "css-lite.el"
-               ((";;; main interface")
-                (string-append ";;; main interface\n"
-                               "(require 'cl-lib)"))
-               (("mapcan")
-                "cl-mapcan")
-               (("',\\(cl-mapcan #'process-css-rule rules\\)")
-                "(cl-mapcan #'process-css-rule ',rules)"))
-             (substitute* "esxml-form.el"
-               ((",esxml-form-field-defn")
-                "#'esxml-form-field-defn"))
-             ;; See: https://github.com/tali713/esxml/issues/25
-             (delete-file "esxpath.el")
-             #t)))))
+     `(#:emacs ,emacs                   ;need libxml
+       ;; XXX: Only the two following files are meant to be packaged.
+       ;; Byte-compiling the others Elisp files leads to build errors anyway.
+       #:include (list "esxml.el" "esxml-query.el")))
     (propagated-inputs
      `(("emacs-kv" ,emacs-kv)))
     (home-page "https://github.com/tali713/esxml/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]