From nobody Sun May 01 02:14:54 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CDF231AC4CB0; Sun, 1 May 2022 02:14:54 +0000 (UTC) (envelope-from git@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 4KrVDG5RZtz3QPh; Sun, 1 May 2022 02:14:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651371294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tRgO6EShRpmT6y1oWGp5doMoBqnsJqJaWM4UknJyZqA=; b=vTvYRt0yi6UvdnlQm31HdQErJX0EP39o9oRpgXLXYlkcDd6pCPPLsY0HP9WLTXJBrxkej5 qiC2gF+3n+7bGEwtN8IRpj1k40t5VZPdd7hlq0t4WnbUGn9ePgQHAJsbheZHjgo3kBJxhb iGt/Wvz7SEVvrkGC3y0/r7fTZBMYfO5A7JCj7nZoYVSrJoZ7/FagZGGQEbRROBnvxSOqrs rgIMaBniKUjDqZC0PyTqjlByQ69V1REPWD89IH8MUqWWih4UAyKTMNzpgbrmV7Wih9DKZa /C+yKFjH/dG+nq52Ik7jTCcjF127gZ6A9uqsO5qve/g+Kc+UoN9fbJRcOuFL+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9AFD24F50; Sun, 1 May 2022 02:14:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2412EsPO034809; Sun, 1 May 2022 02:14:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2412Esr9034808; Sun, 1 May 2022 02:14:54 GMT (envelope-from git) Date: Sun, 1 May 2022 02:14:54 GMT Message-Id: <202205010214.2412Esr9034808@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 124ba3c89de6 - main - misc/compat.el: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 124ba3c89de65ffbcccf1e1cc15aa88fc5f6f20e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651371294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tRgO6EShRpmT6y1oWGp5doMoBqnsJqJaWM4UknJyZqA=; b=fQeouV2Z3JK9rF5O3nnmoNYdBwGM+Ra+pjE07DL9jA0DyPYdLSg0BMl0bRnkkXV9aoQf2m 2bmbtutVaI9/5x4mXLntYp0x+mY4XTetMDaFJAgQDbtxfQPr8/jqUvNv7VKXof1FEq8Mus Xco98EDi2xnZCAMgpEiDwR5bsuanG0WvoDYv1S8/PBswReTnBhnhgAVSSyWDvTXh7AgnK4 gnL49oFqqFW8m8vMGxk0u3c7E6YbyRz857HpyogC4mJ9N50mLf2pqgeZm51NHyIR4fztbU 2LPSJpINNsRq6ZSCGP9BYvak6QOf2f/PKiNhBdBqnj2Mxd5cD0D805Ei48Q7lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651371294; a=rsa-sha256; cv=none; b=grZG3SXXn3Wc62UjJ4+q/KplJAuFb/wk8UGQACLBKiE42AF3hd/seNv7GD4mY2unNR0xnl nr6Ff0yTGt56UoelIJMOYDFTc7AGho/+nRj/hYtG5CydVesKV6UiAWRGhUOW/Rm87TnPH4 qdGYRFVVIDDg/k2VtGMa3AR6Qruy0Kw+mfjNGxCa2SrXNqE5SzgdbkmpHcCej3/uT6jPEK M7isDRD7F8eulYQK0xyVZj4OLLqPrNXwQFFq6KjyOFZ62jb9fMGzmO4eVLUlF0/C7qL7CC OUl1ZVrM7gvXvCpSbPMEc/RpMSpVjmQU+y4MBLmT1DCCLm110p9v29KCJcu8cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=124ba3c89de65ffbcccf1e1cc15aa88fc5f6f20e commit 124ba3c89de65ffbcccf1e1cc15aa88fc5f6f20e Author: Yasuhiro Kimura AuthorDate: 2022-04-30 08:52:17 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-05-01 02:13:56 +0000 misc/compat.el: Add new port Add compat.el, a forwards-compatibility library for (GNU) Emacs Lisp, versions 24.3 and newer. --- misc/Makefile | 1 + misc/compat.el/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ misc/compat.el/distinfo | 3 +++ misc/compat.el/pkg-descr | 20 ++++++++++++++++++++ misc/compat.el/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 83 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 7cbb2ea6ffe4..48c27615550d 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -43,6 +43,7 @@ SUBDIR += clpbar SUBDIR += colortail SUBDIR += colwide + SUBDIR += compat.el SUBDIR += compat10x SUBDIR += compat11x SUBDIR += compat12x diff --git a/misc/compat.el/Makefile b/misc/compat.el/Makefile new file mode 100644 index 000000000000..74bdb28d44b8 --- /dev/null +++ b/misc/compat.el/Makefile @@ -0,0 +1,41 @@ +PORTNAME= compat.el +DISTVERSION= 28.1.1.0 +CATEGORIES= misc elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@FreeBSD.org +COMMENT= Compatibility library for Emacs Lisp + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= emacs gmake makeinfo +USE_GITHUB= yes +GH_ACCOUNT= phikal + +ALL_TARGET= all compat.info + +NO_ARCH= yes + +INFO= compat +PORTDOCS= MANUAL NEWS.org README.md + +OPTIONS_DEFINE= DOCS + +ELISP_FILES= compat-24.el compat-24.elc compat-25.el compat-25.elc \ + compat-26.el compat-26.elc compat-27.el compat-27.elc \ + compat-28.el compat-28.elc compat-font-lock.el \ + compat-font-lock.elc compat-help.el compat-help.elc \ + compat-macs.el compat-macs.elc compat.el compat.elc + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat + ${INSTALL_DATA} ${ELISP_FILES:C/^/${WRKSRC}\//} \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat + ${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORT_DOCS:C/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/misc/compat.el/distinfo b/misc/compat.el/distinfo new file mode 100644 index 000000000000..b1d9a083e49e --- /dev/null +++ b/misc/compat.el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651309625 +SHA256 (phikal-compat.el-28.1.1.0_GH0.tar.gz) = c8309e294339c5e17e2ef5fca009d07c8c34fbf77eef36165a38b8fa16699d58 +SIZE (phikal-compat.el-28.1.1.0_GH0.tar.gz) = 70535 diff --git a/misc/compat.el/pkg-descr b/misc/compat.el/pkg-descr new file mode 100644 index 000000000000..9c20c54851ef --- /dev/null +++ b/misc/compat.el/pkg-descr @@ -0,0 +1,20 @@ +Compat.el is a forwards-compatibility library for (GNU) Emacs Lisp, +versions 24.3 and newer. + +The intended audience of this library aren't day-to-day users, but +package developers that wish to make use of newer functionality, not +provided in older versions of Emacs, without breaking compatibility +for users bound to specific Emacs releases. + +Version 24.3 is chosen as the oldest version, because this is the +newest version on CentOS 7. It is intended to preserve compatibility +for at least as the Centos 7 reaches EOL, 2024. + +Note that compat.el provides a few prefixed function, ie. functions +with a compat- prefix. These are used to provide extended +functionality for commands that are already defined (sort, assoc, +...). It might be possible to transform these into advised functions +later on, so that the modified functionality is accessible without a +prefix. Feedback on this point is appreciated. + +WWW: https://sr.ht/~pkal/compat/ diff --git a/misc/compat.el/pkg-plist b/misc/compat.el/pkg-plist new file mode 100644 index 000000000000..c18d226c49dc --- /dev/null +++ b/misc/compat.el/pkg-plist @@ -0,0 +1,18 @@ +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-24.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-24.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-25.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-25.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-26.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-26.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-27.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-27.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-28.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-28.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-font-lock.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-font-lock.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-help.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-help.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-macs.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat-macs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat.el +%%EMACS_VERSION_SITE_LISPDIR%%/compat/compat.elc