me
/
guix
Archived
1
0
Fork 0

gnu: emacs-sly: Update to 20210105 (fixes breaking issues).

* gnu/packages/emacs-xyz.scm (emacs-sly): Update to 20210105.
master
Pierre Neidhardt 2021-01-06 13:46:22 +01:00
parent 8480c65bb7
commit 3be86365b3
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 59 additions and 56 deletions

View File

@ -9531,61 +9531,64 @@ CIDER).")
(define-public emacs-sly (define-public emacs-sly
;; Update together with sbcl-slynk. ;; Update together with sbcl-slynk.
(package (let ((commit "dffdf3caa12e964127d6eb45ba92ac0442cc5a48"))
(name "emacs-sly") ;; Latest stable 1.0.42 is broken:
(version "1.0.42") ;; https://github.com/joaotavora/sly/issues/394.
(source (package
(origin (name "emacs-sly")
(method git-fetch) (version (git-version "1.0.42" "1" commit))
(uri (git-reference (source
(url "https://github.com/joaotavora/sly") (origin
(commit version))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/joaotavora/sly")
(base32 (commit commit)))
"10l867c4hgcpiajcfkz9g9vabp7y4bcgy51la6n9pqxrlg1fs455")))) (file-name (git-file-name name version))
(build-system emacs-build-system) (sha256
(native-inputs (base32
`(("texinfo" ,texinfo))) "0vv185gz3rkfng5y79dijfnc11p92qdz2kdza05avjbpqfs6l0zn"))))
(arguments (build-system emacs-build-system)
`(#:include (cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include) (native-inputs
#:phases `(("texinfo" ,texinfo)))
;; The package provides autoloads. (arguments
(modify-phases %standard-phases `(#:include (cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include)
(delete 'make-autoloads) #:phases
(add-before 'install 'install-doc ;; The package provides autoloads.
(lambda* (#:key outputs #:allow-other-keys) (modify-phases %standard-phases
(let* ((out (assoc-ref outputs "out")) (delete 'make-autoloads)
(info-dir (string-append out "/share/info")) (add-before 'install 'install-doc
(doc-dir (string-append out "/share/doc/" (lambda* (#:key outputs #:allow-other-keys)
,name "-" ,version)) (let* ((out (assoc-ref outputs "out"))
(doc-files '( ;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below. (info-dir (string-append out "/share/info"))
"README.md" "NEWS.md" "PROBLEMS.md" (doc-dir (string-append out "/share/doc/"
"CONTRIBUTING.md"))) ,name "-" ,version))
(with-directory-excursion "doc" (doc-files '( ;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below.
(substitute* "Makefile" "README.md" "NEWS.md" "PROBLEMS.md"
(("infodir=/usr/local/info") "CONTRIBUTING.md")))
(string-append "infodir=" info-dir)) (with-directory-excursion "doc"
;; Don't rebuild contributors.texi since we are not in (substitute* "Makefile"
;; the git repo. (("infodir=/usr/local/info")
(("contributors.texi: Makefile texinfo-tabulate.awk") (string-append "infodir=" info-dir))
"contributors.texi:")) ;; Don't rebuild contributors.texi since we are not in
(invoke "make" "html/index.html") ;; the git repo.
(invoke "make" "sly.info") (("contributors.texi: Makefile texinfo-tabulate.awk")
;; TODO: We need minimal texlive with "preprint" package "contributors.texi:"))
;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf") (invoke "make" "html/index.html")
(install-file "sly.info" info-dir) (invoke "make" "sly.info")
(copy-recursively "html" (string-append doc-dir "/html"))) ;; TODO: We need minimal texlive with "preprint" package
(for-each (lambda (f) ;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf")
(install-file f doc-dir) (install-file "sly.info" info-dir)
(delete-file f)) (copy-recursively "html" (string-append doc-dir "/html")))
doc-files) (for-each (lambda (f)
(delete-file-recursively "doc") (install-file f doc-dir)
#t)))))) (delete-file f))
(home-page "https://github.com/joaotavora/sly") doc-files)
(synopsis "Sylvester the Cat's Common Lisp IDE") (delete-file-recursively "doc")
(description #t))))))
"SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and (home-page "https://github.com/joaotavora/sly")
(synopsis "Sylvester the Cat's Common Lisp IDE")
(description
"SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and
contains the following improvements over it: contains the following improvements over it:
@enumerate @enumerate
@ -9604,7 +9607,7 @@ highlight the object and remain stable throughout the REPL session;
SLY tracks SLIME's bugfixes and all its familiar features (debugger, inspector, SLY tracks SLIME's bugfixes and all its familiar features (debugger, inspector,
xref, etc.) are still available, but with better integration.") xref, etc.) are still available, but with better integration.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-sly-quicklisp (define-public emacs-sly-quicklisp
(let ((commit "01ebe3976a244309f2e277c09206831135a0b66c") (let ((commit "01ebe3976a244309f2e277c09206831135a0b66c")