From owner-svn-ports-head@freebsd.org Tue Mar 16 10:35:11 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FBB35A80E9; Tue, 16 Mar 2021 10:35:11 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F08nC1HXVz3s2B; Tue, 16 Mar 2021 10:35:11 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1ED5522213; Tue, 16 Mar 2021 10:35:11 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12GAZAvk068780; Tue, 16 Mar 2021 10:35:10 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12GAZ9nD068769; Tue, 16 Mar 2021 10:35:09 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202103161035.12GAZ9nD068769@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 16 Mar 2021 10:35:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568549 - in head/editors: . sly sly/files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/editors: . sly sly/files X-SVN-Commit-Revision: 568549 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2021 10:35:11 -0000 Author: lwhsu Date: Tue Mar 16 10:35:08 2021 New Revision: 568549 URL: https://svnweb.freebsd.org/changeset/ports/568549 Log: Add editors/sly, Common Lisp IDE for Emacs PR: 253991 Submitted by: Olivier Certner Added: head/editors/sly/ head/editors/sly/Makefile (contents, props changed) head/editors/sly/distinfo (contents, props changed) head/editors/sly/files/ head/editors/sly/files/patch-doc_Makefile (contents, props changed) head/editors/sly/files/patch-doc_sly.texi (contents, props changed) head/editors/sly/files/patch-sly.el (contents, props changed) head/editors/sly/pkg-descr (contents, props changed) head/editors/sly/pkg-message (contents, props changed) head/editors/sly/pkg-plist (contents, props changed) Modified: head/editors/Makefile Modified: head/editors/Makefile ============================================================================== --- head/editors/Makefile Tue Mar 16 09:36:07 2021 (r568548) +++ head/editors/Makefile Tue Mar 16 10:35:08 2021 (r568549) @@ -231,6 +231,7 @@ SUBDIR += setzer SUBDIR += shed SUBDIR += slime + SUBDIR += sly SUBDIR += ssed SUBDIR += sted SUBDIR += tamago Added: head/editors/sly/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/Makefile Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,67 @@ +# $FreeBSD$ + +PORTNAME= sly +DISTVERSION= 1.0.43 +CATEGORIES= editors elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= olce.freebsd.ports@certner.fr +COMMENT= Sylvester the Cat's Common Lisp IDE for Emacs + +LICENSE= PD + +USES= emacs gmake +USE_GITHUB= yes +GH_ACCOUNT= joaotavora + +NO_ARCH= yes + +INFO= sly + +ALL_TARGET= all doc-sly.info + +PLIST_THIS_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/sly +THIS_LISPDIR= ${PREFIX}/${PLIST_THIS_LISPDIR} +PLIST_SUB+= THIS_LISPDIR=${PLIST_THIS_LISPDIR} + +OPTIONS_DEFINE= DOCS DOCS_PDF +OPTIONS_DEFAULT=DOCS DOCS_PDF + +DOCS_PDF_DESC= Build PDF documentation (requires DOCS) + +ROOT_DOCS_FILES= CONTRIBUTING.md NEWS.md PROBLEMS.md README.md +GENERATED_DOCS_FILES= sly.html +DOCS_BUILD_DEPENDS= texinfo>=5.2:print/texinfo + +DOCS_PDF_IMPLIES= DOCS +DOCS_PDF_USE= tex=latex:build tex=pdftex:build tex=dvipsk:build + +.include + +.if !empty(PORT_OPTIONS:MDOCS_PDF) +GENERATED_DOCS_FILES+= sly.pdf sly-refcard.pdf +.endif + +ALL_TARGET+= ${GENERATED_DOCS_FILES:%=doc-%} + +PORTDOCS:= CONTRIBUTING.md NEWS.md PROBLEMS.md README.md \ + ${GENERATED_DOCS_FILES} + +do-install: + @${MKDIR} ${STAGEDIR}${THIS_LISPDIR} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${THIS_LISPDIR} \ + "! ( -depth 1 ( -name Makefile -o -name *\.md -o \ + -name \.[^.]* ) -o \ + -path \./doc* )") + ${INSTALL_DATA} ${WRKSRC}/doc/${INFO}.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH} + +# DOCS_PDF depends on DOCS +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${ROOT_DOCS_FILES:%=${WRKSRC}/%} \ + ${GENERATED_DOCS_FILES:%=${WRKSRC}/doc/%} \ + ${STAGEDIR}${DOCSDIR} + +.include Added: head/editors/sly/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/distinfo Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613556780 +SHA256 (joaotavora-sly-1.0.43_GH0.tar.gz) = 84b2d8326a429dcc621022d2ebbde7ed4813594d7445f264cb6ff5bf5f3bf9e9 +SIZE (joaotavora-sly-1.0.43_GH0.tar.gz) = 1835404 Added: head/editors/sly/files/patch-doc_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/files/patch-doc_Makefile Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,20 @@ +--- doc/Makefile.orig 2021-01-14 09:12:56 UTC ++++ doc/Makefile +@@ -14,7 +14,7 @@ INSTALL_CMD=install -m 644 + # Info files generated here. + infofiles=sly.info + +-TEXI = sly.texi contributors.texi ++TEXI = sly.texi + + help: + @echo -e "\ +@@ -38,7 +38,7 @@ sly.info: $(TEXI) + makeinfo $< + + sly.html: $(TEXI) +- texi2html --css-include=sly.css $< ++ makeinfo -o $@ --css-include=sly.css --html --no-split $< + + html/index.html: $(TEXI) + makeinfo -o html --css-include=sly.css --html $< Added: head/editors/sly/files/patch-doc_sly.texi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/files/patch-doc_sly.texi Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,25 @@ +--- doc/sly.texi.orig 2021-01-14 09:12:56 UTC ++++ doc/sly.texi +@@ -3157,17 +3157,13 @@ buffer you can enter Lisp expressions and evaluate the + @unnumberedsec Hackers of the good hack + + @SLY{} is a fork of SLIME which is itself an Extension +-of @acronym{SLIM} by Eric Marsden. At the time of writing, the authors +-and code-contributors of @SLY{} are: ++of @acronym{SLIM} by Eric Marsden. Please consult the Git repository ++for a list of authors and code-contributors of @SLY{}, as well as the ++bundled code from @file{hyperspec.el}, @cite{CLOCC}, and the @cite{CMU ++AI Repository}. + +-@include contributors.texi +- +-... not counting the bundled code from @file{hyperspec.el}, +-@cite{CLOCC}, and the @cite{CMU AI Repository}. +- + Many people on the @code{sly-devel} mailing list have made non-code +-contributions to @SLY{}. Life is hard though: you gotta send code to +-get your name in the manual. @code{:-)} ++contributions to @SLY{}. + + @unnumberedsec Thanks! + Added: head/editors/sly/files/patch-sly.el ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/files/patch-sly.el Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,46 @@ +--- sly.el.orig 2021-01-14 09:12:56 UTC ++++ sly.el +@@ -7463,22 +7463,30 @@ can be found." + ;;;###autoload + (add-hook 'lisp-mode-hook 'sly-editing-mode) + +-(cond +- ((or (not (memq 'slime-lisp-mode-hook lisp-mode-hook)) +- noninteractive +- (prog1 +- (y-or-n-p "[sly] SLIME detected in `lisp-mode-hook', causes keybinding conflicts. Remove it for this Emacs session?") +- (warn "To restore SLIME in this session, customize `lisp-mode-hook' +-and replace `sly-editing-mode' with `slime-lisp-mode-hook'."))) +- (remove-hook 'lisp-mode-hook 'slime-lisp-mode-hook) ++(let ((proceed-p ++ (if noninteractive ++ (lambda () t) ++ (let (asked resp) ++ (lambda () ++ (unless asked ++ (setq resp ++ (y-or-n-p ++ (eval-when-compile ++ (concat "[sly] SLIME detected. Try to disable it " ++ "for this Emacs session?"))) ++ asked t)) ++ resp))))) ++ (when (and (memq 'slime-lisp-mode-hook lisp-mode-hook) ++ (funcall proceed-p)) ++ (warn "To restore SLIME in this session, customize `lisp-mode-hook' and ++replace `sly-editing-mode' with `slime-lisp-mode-hook'.") ++ (remove-hook 'lisp-mode-hook 'slime-lisp-mode-hook)) + (dolist (buffer (buffer-list)) + (with-current-buffer buffer + (when (eq major-mode 'lisp-mode) +- (sly-editing-mode 1) +- (ignore-errors (funcall 'slime-mode -1)))))) +- (t +- (warn +- "`sly.el' loaded OK. To use SLY, customize `lisp-mode-hook' and remove `slime-lisp-mode-hook'."))) ++ (when (and (boundp 'slime-mode) slime-mode (funcall proceed-p)) ++ (ignore-errors (funcall 'slime-mode -1))) ++ (sly-editing-mode 1))))) + + (provide 'sly) + Added: head/editors/sly/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/pkg-descr Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,19 @@ +SLY is a fork of SLIME. We track its bugfixes, particularly to the +implementation backends. All SLIME's familiar features (debugger, inspector, +xref, etc...) are still available, with improved overall UX. + +SLY's highlights are: +- A full-featured REPL based on Emacs's comint.el. Everything can be copied to + the REPL. +- Stickers, or live code annotations that record values as code traverses them. +- Flex-style completion out-of-the-box, using Emacs's completion API. Company, + Helm, and other supported natively, no plugin required. +- An interactive Trace Dialog. +- Cleanly ASDF-loaded by default, including contribs, enabled out-of-the-box. +- Multiple inspectors and multiple REPLs. +- "Presentations" replaced by interactive backreferences which highlight the + object and remain stable throughout the REPL session. +- Support for NAMED-READTABLES, macrostep.el and quicklisp. +- A portable, annotation-based stepper in early but functional prototype stage. + +WWW: https://github.com/joaotavora/sly Added: head/editors/sly/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/sly/pkg-message Tue Mar 16 10:35:08 2021 (r568549) @@ -0,0 +1,27 @@ +[ +{ type: install + message: <