summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-01 17:44:52 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-01 17:46:53 +0200
commit8d28b1309823626678b67a19f50d77c405600ee5 (patch)
tree371088823cc3dc618810683df0f403a74444e13c /app-doc
parentapp-doc/elisp-manual: Determine SLOT from ${PV} (diff)
downloadgentoo-8d28b1309823626678b67a19f50d77c405600ee5.tar.gz
gentoo-8d28b1309823626678b67a19f50d77c405600ee5.tar.bz2
gentoo-8d28b1309823626678b67a19f50d77c405600ee5.zip
app-doc/elisp-manual: add 28.2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/elisp-manual/Manifest1
-rw-r--r--app-doc/elisp-manual/elisp-manual-28.2.ebuild27
-rw-r--r--app-doc/elisp-manual/files/elisp-manual-28.2-direntry.patch22
3 files changed, 50 insertions, 0 deletions
diff --git a/app-doc/elisp-manual/Manifest b/app-doc/elisp-manual/Manifest
index fe9df7b34f6a..4ba056d3ebe4 100644
--- a/app-doc/elisp-manual/Manifest
+++ b/app-doc/elisp-manual/Manifest
@@ -13,3 +13,4 @@ DIST elisp-manual-24.5.tar.xz 766300 BLAKE2B a93293646a4ddf8d9f9d3b7e1179178427c
DIST elisp-manual-25.3.tar.xz 806544 BLAKE2B 15d98b6dcc104dfeba66a3dd61489957a0339dfe43c7b09196814e48c7ff525930881805c0a6fb325ba66dc60fd5390b82d2c116ee08413b234e905c737bbe54 SHA512 85da76efef7645e13633a77fef8e775f42ebc8afad6eb5ab4bc839a12d1c1708430beaba8b89c152049700aa580abf1eaea539f2784a74486df380a59c3d6528
DIST elisp-manual-26.3.tar.xz 872288 BLAKE2B b7860ea1b7745f28cd3b391d03109239c09aef09f334db485c62756af6907d93a3ba77a92f7a105e003053aac7dca398467239af76d9feb3291bb1dd42d17af2 SHA512 94779be36b9d0e10f75def88faead6cce934f95887e9310c27413bf89f7e61a081978d6164cfe781a5c8dbde9696ac1e08046a82e77420aa07b9ffca45ccc40c
DIST elisp-manual-27.2.tar.xz 911212 BLAKE2B 97e6ebe6f54d7c70512fac2f8d5ca2a1f9e13e69683c48eb1a2a1023541d3410e319f11f5007f45f42f3e7f5bc3fd16b10bc3db86d48f582afc766f3e2d5ba2a SHA512 96d2671acd96df9fcdf371058708b92af0ee26889912134aeb90de28dc55b11889cf656eeea8ca3d214165f3b90db68ce867865ce32dfe255b52fba8a09ce2f5
+DIST elisp-manual-28.2.tar.xz 938940 BLAKE2B 3a17de66e05d6d981c202a061399937182dfac5c198f50df0c6af91db9aebee170df90d278659677b138d2f65eca7ac423c39e4d8b775faac8fd4a0922ed9ca8 SHA512 13c3c316413a4d6041b7d9b01f83017fd735b7b5eb0b9d1c6e263b836cc58c98383f45f2b3bd8e17f25f89faf8056d75ea0069533d72f08e0c4fb1558cfc6d76
diff --git a/app-doc/elisp-manual/elisp-manual-28.2.ebuild b/app-doc/elisp-manual/elisp-manual-28.2.ebuild
new file mode 100644
index 000000000000..3eb46ca490ba
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-28.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+# taken from doc/lispref/ (and some files from doc/emacs/) of emacs-${PV}
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+S="${WORKDIR}/lispref"
+
+LICENSE="FDL-1.3+"
+SLOT="${PV%%.*}"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+
+BDEPEND="sys-apps/texinfo"
+
+PATCHES=("${FILESDIR}/${P}-direntry.patch")
+
+src_compile() {
+ makeinfo -I "${WORKDIR}"/emacs elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp${SLOT}.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/files/elisp-manual-28.2-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-28.2-direntry.patch
new file mode 100644
index 000000000000..69aa78c7c7ad
--- /dev/null
+++ b/app-doc/elisp-manual/files/elisp-manual-28.2-direntry.patch
@@ -0,0 +1,22 @@
+--- lispref/elisp.texi
++++ lispref/elisp.texi
+@@ -1,6 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
+-@setfilename ../../info/elisp.info
++@setfilename elisp28.info
+
+ @ifset VOL1
+ @set volflag
+@@ -117,9 +117,9 @@
+ @end quotation
+ @end copying
+
+-@dircategory Emacs lisp
++@dircategory Emacs
+ @direntry
+-* Elisp: (elisp). The Emacs Lisp Reference Manual.
++* Elisp 28: (elisp28). The Emacs Lisp Reference Manual for Emacs 28.
+ @end direntry
+
+ @titlepage