From owner-svn-ports-all@freebsd.org Fri Nov 13 00:09:38 2020 Return-Path: Delivered-To: svn-ports-all@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 92F8246901F; Fri, 13 Nov 2020 00:09:38 +0000 (UTC) (envelope-from jhb@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CXJkB3r9tz4vvk; Fri, 13 Nov 2020 00:09:38 +0000 (UTC) (envelope-from jhb@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 6C1ED7338; Fri, 13 Nov 2020 00:09:38 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AD09c0s032561; Fri, 13 Nov 2020 00:09:38 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AD09bwb032555; Fri, 13 Nov 2020 00:09:37 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <202011130009.0AD09bwb032555@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Fri, 13 Nov 2020 00:09:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554996 - in head/devel: . cscope xcscope.el X-SVN-Group: ports-head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: in head/devel: . cscope xcscope.el X-SVN-Commit-Revision: 554996 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 00:09:38 -0000 Author: jhb (src,doc committer) Date: Fri Nov 13 00:09:36 2020 New Revision: 554996 URL: https://svnweb.freebsd.org/changeset/ports/554996 Log: Switch xcscope.el to a separately-maintained version. The version of xcscope.el bundled with cscope does not work with emacs 27 as it uses a deprecated function. Switch to using a newer fork of xcscope.el which works with emacs 27 and includes several other fixes such as working over tramp-mode. Since the newer fork is hosted independently, add it as a new port which depends on cscope. PR: 251029 Reviewed by: maintainer (devel/cscope) Approved by: swills Differential Revision: https://reviews.freebsd.org/D27172 Added: head/devel/xcscope.el/ head/devel/xcscope.el/Makefile (contents, props changed) head/devel/xcscope.el/distinfo (contents, props changed) head/devel/xcscope.el/pkg-descr (contents, props changed) Modified: head/devel/Makefile head/devel/cscope/Makefile head/devel/cscope/pkg-plist Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Nov 12 23:16:53 2020 (r554995) +++ head/devel/Makefile Fri Nov 13 00:09:36 2020 (r554996) @@ -6831,6 +6831,7 @@ SUBDIR += xa65 SUBDIR += xbyak SUBDIR += xc3sprog + SUBDIR += xcscope.el SUBDIR += xdg-user-dirs SUBDIR += xdg-utils SUBDIR += xdgpaths Modified: head/devel/cscope/Makefile ============================================================================== --- head/devel/cscope/Makefile Thu Nov 12 23:16:53 2020 (r554995) +++ head/devel/cscope/Makefile Fri Nov 13 00:09:36 2020 (r554996) @@ -14,16 +14,4 @@ USES= ncurses GNU_CONFIGURE= yes -OPTIONS_DEFINE= XCSCOPE -OPTIONS_SUB= yes - -XCSCOPE_DESC= Install Emacs package - -EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp - -post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${EMACSLISPDIR} - ${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${STAGEDIR}${EMACSLISPDIR} - .include Modified: head/devel/cscope/pkg-plist ============================================================================== --- head/devel/cscope/pkg-plist Thu Nov 12 23:16:53 2020 (r554995) +++ head/devel/cscope/pkg-plist Fri Nov 13 00:09:36 2020 (r554996) @@ -1,5 +1,3 @@ bin/cscope bin/ocs man/man1/cscope.1.gz -%%XCSCOPE%%bin/cscope-indexer -%%XCSCOPE%%share/emacs/site-lisp/xcscope.el Added: head/devel/xcscope.el/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/xcscope.el/Makefile Fri Nov 13 00:09:36 2020 (r554996) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= xcscope.el +DISTVERSIONPREFIX= v +DISTVERSION= 1.5 +CATEGORIES= devel + +MAINTAINER= jhb@FreeBSD.org +COMMENT= Emacs minor mode for using cscope + +LICENSE= GPLv2+ + +RUN_DEPENDS= cscope:devel/cscope + +USES= emacs +EMACS_NO_DEPENDS= yes + +USE_GITHUB= yes +GH_ACCOUNT= dkogan + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= ${EMACS_SITE_LISPDIR}/xcscope.el + +do-install: + ${INSTALL_DATA} ${WRKSRC}/xcscope.el \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +.include Added: head/devel/xcscope.el/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/xcscope.el/distinfo Fri Nov 13 00:09:36 2020 (r554996) @@ -0,0 +1,3 @@ +TIMESTAMP = 1605054294 +SHA256 (dkogan-xcscope.el-v1.5_GH0.tar.gz) = 463c100e6291a698d262962ac69b1de53d58cb5bc67bab73d958eda926a6803d +SIZE (dkogan-xcscope.el-v1.5_GH0.tar.gz) = 30161 Added: head/devel/xcscope.el/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/xcscope.el/pkg-descr Fri Nov 13 00:09:36 2020 (r554996) @@ -0,0 +1,4 @@ +xcscope is a wrapper around cscope that can be used to navigate source +files in GNU Emacs. + +WWW: https://github.com/dkogan/xcscope.el