summaryrefslogtreecommitdiff
path: root/app-emacs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
commit7f3fecbb5b871825fe9632f46659869cab6a3769 (patch)
treedd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /app-emacs
parenta98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff)
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/Manifest.gzbin75634 -> 75807 bytes
-rw-r--r--app-emacs/gap-mode/Manifest5
-rw-r--r--app-emacs/gap-mode/files/50gap-mode-gentoo.el7
-rw-r--r--app-emacs/gap-mode/files/gap-mode-2.2.2-warnings.patch119
-rw-r--r--app-emacs/gap-mode/gap-mode-2.2.2.ebuild60
-rw-r--r--app-emacs/gap-mode/metadata.xml32
-rw-r--r--app-emacs/nxml-libvirt-schemas/Manifest2
-rw-r--r--app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.3.0.ebuild45
8 files changed, 270 insertions, 0 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz
index 45dc8a3dae24..af6f94630cae 100644
--- a/app-emacs/Manifest.gz
+++ b/app-emacs/Manifest.gz
Binary files differ
diff --git a/app-emacs/gap-mode/Manifest b/app-emacs/gap-mode/Manifest
new file mode 100644
index 000000000000..f08688766649
--- /dev/null
+++ b/app-emacs/gap-mode/Manifest
@@ -0,0 +1,5 @@
+AUX 50gap-mode-gentoo.el 373 BLAKE2B 4067e609871ac3f96a8a1aaeb43647f9aeb495465013133c4f54e2330ceaf242b0ceb8533fa59467ac981f9459e3e1fc61b0afed21a2a68d382e74ba59661868 SHA512 84cf4406e09a82c1983215728af6b05b0d17e5d1e214e81ee33123d51e373367d0bb2485944386e80790943d6ec9a91a602d178985824a8938b394642d20f499
+AUX gap-mode-2.2.2-warnings.patch 3670 BLAKE2B da52997b1dedd63241bb42a00a04cd7413058fedee0b79a3a3294738c4e935ce7b948b5f442a67b954cfa16000f051b21d7059716d9567e29fd531d796013f22 SHA512 f7c099b51a3009c4250976fed05f21397d822a665b8f1575d526b71d4450247509716105af78948a70dc0fc2748caec0d1effc474d558d8e15ebd2a655561dcb
+DIST gap-mode-8439c3622e1f9e2ec1a8ef21020eb55e917f4416.tar.bz2 28804 BLAKE2B e8f9bbeaea5903f25e2101b874a397f556a9cf039077e5bb2afb9dfadaef339ac7258065fc9ae943a09a26165bbff34667d5e8045a615584ad22e3c1b004464b SHA512 1c1409d0a00e2e36c271a6e8d390d01fa02e60a6431cfbc7c8a592abf2276cc37e2b7f4cb7b7c31f640b3a38bde2907c85148c2a512a897457ce9db7735bdc75
+EBUILD gap-mode-2.2.2.ebuild 1515 BLAKE2B 4617f2cd980e08bb1e9298fab92bf1dc780f9232019939533fafdb9fecc4daa887094337e54cf81dbe7a208b4136f3afc1abef13fe3868b9cc7bcfa4da89c495 SHA512 e6f40c943ebd377d629149c0a19a1229d59e144819efa2a6851312576faea6b8f7304f15eb68c9ef62d822621133c99525ce1bbdc93aa71bd9951d752668f400
+MISC metadata.xml 765 BLAKE2B bf6ee70c34b0265af577f09f9c11fda29e90d0116e5622abe31af68e51f8ed4517890abd6cebb4907fc80b6f4e157a35cb32331c15470fdffa3410a44e7eb006 SHA512 93bdd8f4fb05c8ea95d1b2d3c81a09f19ed89f31ae73521f16dc4e2e274221be2a705795277d48edd2a495511ba13396cf385cbf1b051330c39b9c576fdef6b1
diff --git a/app-emacs/gap-mode/files/50gap-mode-gentoo.el b/app-emacs/gap-mode/files/50gap-mode-gentoo.el
new file mode 100644
index 000000000000..d242a99ab3b5
--- /dev/null
+++ b/app-emacs/gap-mode/files/50gap-mode-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'gap-mode "gap-mode" "GAP editing mode" t)
+(autoload 'gap "gap-process" "Run GAP in emacs buffer" t)
+(add-to-list 'auto-mode-alist '("\\.g\\'" . gap-mode))
+(add-to-list 'auto-mode-alist '("\\.gap\\'" . gap-mode))
+(add-to-list 'auto-mode-alist '("\\.gd\\'" . gap-mode))
+(add-to-list 'auto-mode-alist '("\\.gi\\'" . gap-mode))
diff --git a/app-emacs/gap-mode/files/gap-mode-2.2.2-warnings.patch b/app-emacs/gap-mode/files/gap-mode-2.2.2-warnings.patch
new file mode 100644
index 000000000000..3122fefdcdda
--- /dev/null
+++ b/app-emacs/gap-mode/files/gap-mode-2.2.2-warnings.patch
@@ -0,0 +1,119 @@
+From 8238a8eaa6a11e9e0d8e10bb84ae87021b78ea2a Mon Sep 17 00:00:00 2001
+From: Ivan Andrus <iandrus@adobe.com>
+Date: Wed, 13 Mar 2024 10:12:10 -0600
+Subject: [PATCH] Fix unknown definitions warning
+
+---
+ gap-mode.el | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gap-mode.el b/gap-mode.el
+index 148664c..655519a 100644
+--- a/gap-mode.el
++++ b/gap-mode.el
+@@ -590,6 +590,7 @@ end;"
+ (when gap-using-smie
+ (defvar gap-smie-grammar)
+ (declare-function gap-smie-rules "gap-smie")
++ (declare-function smie-setup "smie")
+ (smie-setup gap-smie-grammar #'gap-smie-rules)))
+
+ ;;}}}
+--
+GitLab
+
+From f8c95d793b1e90e65ca758d10b780592fc9ee2dd Mon Sep 17 00:00:00 2001
+From: Ivan Andrus <iandrus@adobe.com>
+Date: Mon, 29 Apr 2024 19:57:02 -0600
+Subject: [PATCH] Fix unknown definitions warnings
+
+---
+ gap-process.el | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/gap-process.el b/gap-process.el
+index 8fa3062..1161161 100644
+--- a/gap-process.el
++++ b/gap-process.el
+@@ -260,6 +260,8 @@ which is much like GAP's C-l (\\[recenter] can be used to recenter)."
+ (set (make-local-variable 'paragraph-separate) "\\'")
+ (set (make-local-variable 'paragraph-start) comint-prompt-regexp)
+ (require 'gap-mode) ;; for gap-syntax-table and gap-font-lock-keywords
++ (eval-when-compile
++ (defvar gap-syntax-table))
+ (set-syntax-table gap-syntax-table)
+ (set (make-local-variable 'font-lock-defaults) '(gap-font-lock-keywords))
+ (use-local-map gap-process-map)
+@@ -548,6 +550,7 @@ With FULL, send two TABs to GAP to get a full list of completions."
+ (if (not (looking-at "\\_>"))
+ (if (not (re-search-forward "\\_>" nil t))
+ (error "Complete what?")))
++ (declare-function gap-ident-around-point "gap-mode")
+ (setq gap-completion-ident (gap-ident-around-point))
+ (if (not full)
+ (progn
+@@ -613,6 +616,7 @@ With FULL, send two TABs to GAP to get a full list of completions."
+ (setq gap-send-state 'normal))))
+
+ (defun gap-completion-at-point-function ()
++ (declare-function gap-ident-around-point-pos "gap-mode")
+ (let ((region (gap-ident-around-point-pos)))
+ (when region
+ (list (car region)
+--
+GitLab
+
+From 9722c596b7cb8fe003bac0332bac23c1d98bbe67 Mon Sep 17 00:00:00 2001
+From: Ivan Andrus <iandrus@adobe.com>
+Date: Mon, 29 Apr 2024 18:55:15 -0600
+Subject: [PATCH] Fix reference to free variable warning
+
+---
+ gap-smie.el | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/gap-smie.el b/gap-smie.el
+index 0bc444a..05e64e7 100644
+--- a/gap-smie.el
++++ b/gap-smie.el
+@@ -76,6 +76,12 @@
+ (defun gap-smie-rules (kind token)
+ "SMIE indentation rules for the GAP language.
+ See `smie-rules-function' for meaning of KIND and TOKEN."
++ (require 'gap-mode)
++ (eval-when-compile
++ ;; These are defined in gap-mode which depends on this file
++ (defvar gap-debug-indent)
++ (defvar gap-indent-list)
++ (defvar gap-indent-step))
+ (when (and gap-debug-indent
+ (not (use-region-p)))
+ (message "%s %s" kind token))
+--
+GitLab
+
+From 09b4082b6e28141537696bb832c8ecc975ec57d8 Mon Sep 17 00:00:00 2001
+From: Ivan Andrus <iandrus@adobe.com>
+Date: Mon, 29 Apr 2024 19:11:34 -0600
+Subject: [PATCH] Fix unused lexical variable warning
+
+---
+ gap-company.el | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gap-company.el b/gap-company.el
+index abdcd98..725ef15 100644
+--- a/gap-company.el
++++ b/gap-company.el
+@@ -22,7 +22,7 @@
+
+ (defun company-gap-backend (command &optional arg &rest ignored)
+ (interactive (list 'interactive))
+-
++ (ignore ignored)
+ (cl-case command
+ (interactive (company-begin-backend 'company-gap-backend))
+
+--
+GitLab
+
diff --git a/app-emacs/gap-mode/gap-mode-2.2.2.ebuild b/app-emacs/gap-mode/gap-mode-2.2.2.ebuild
new file mode 100644
index 000000000000..7956482529f1
--- /dev/null
+++ b/app-emacs/gap-mode/gap-mode-2.2.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+# There are no proper releases, so we have to track down the commit
+# that last bumped the version.
+COMMIT=8439c3622e1f9e2ec1a8ef21020eb55e917f4416
+
+DESCRIPTION="Major mode for editing and running GAP programs"
+HOMEPAGE="https://gitlab.com/gvol/gap-mode"
+SRC_URI="https://gitlab.com/gvol/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="completion lint"
+
+# Both company-mode and flycheck are needed to byte-compile the source.
+BDEPEND="
+ completion? ( app-emacs/company-mode )
+ lint? ( app-emacs/flycheck )
+"
+
+# You could argue that company-mode and flycheck are not hard runtime
+# dependencies because gap-company.el and gap-flycheck.el will typically
+# only be loaded in company-mode or flycheck-mode, but if we want to
+# support (say) `M-x load-library gap-company.el` without being crashy,
+# then we'll need the corresponding company.el installed.
+RDEPEND="
+ ${BDEPEND}
+ lint? ( dev-gap/gaplint )
+"
+
+PATCHES=( "${FILESDIR}/${P}-warnings.patch" )
+
+SITEFILE="50${PN}-gentoo.el"
+
+DOCS=( README.md emacs.gaprc )
+
+src_prepare(){
+ default
+
+ if ! use completion; then
+ rm gap-company.el || die
+ fi
+
+ if ! use lint; then
+ rm gap-flycheck.el || die
+ fi
+
+ # This defaults to a /usr/local path and expects
+ # the user to configure it.
+ sed -e 's~/usr/local/algebra/bin/gap~gap~' \
+ -i gap-process.el || die
+}
diff --git a/app-emacs/gap-mode/metadata.xml b/app-emacs/gap-mode/metadata.xml
new file mode 100644
index 000000000000..f5396d3da99a
--- /dev/null
+++ b/app-emacs/gap-mode/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+
+ <stabilize-allarches/>
+
+ <use>
+ <flag name="completion">
+ Install GAP backend for <pkg>app-emacs/company-mode</pkg> to
+ "complete anything."
+ </flag>
+
+ <flag name="lint">
+ Support automatically linting GAP code via
+ <pkg>app-emacs/flycheck</pkg> and <pkg>dev-gap/gaplint</pkg>.
+ </flag>
+ </use>
+
+ <upstream>
+ <remote-id type="gitlab">gvol/gap-mode</remote-id>
+ </upstream>
+
+</pkgmetadata>
diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest
index 8bfb44913b88..57c1d76a1717 100644
--- a/app-emacs/nxml-libvirt-schemas/Manifest
+++ b/app-emacs/nxml-libvirt-schemas/Manifest
@@ -3,11 +3,13 @@ AUX schemas.xml 560 BLAKE2B 32f01d2dd047aa7109112b47155a21825686385845fae2af0f6d
DIST libvirt-10.0.0.tar.xz 9395076 BLAKE2B bfbea7805a949999481293a31e52a5511bcf86db2c96486cbc3b9cb776719ec973b1208cfcb4a8ae2c9220d1d68053980eaf68893f7919c3ef354efbd1abf642 SHA512 4ab28539ff0e9a78ac231b11b4ec88b91d76ff2607cabd0226f04aaece73b05cab4aa9cfcf05073cd257ea270a377cd5d2cb915971583dbec04dadf2cf7ad252
DIST libvirt-10.1.0.tar.xz 9444244 BLAKE2B bfdce9d067e3a319b81d867d27f1a6b4e724ab6aaa25d19d7383c9be26ad7dc92b3c0aaa92894b772f09e20c3c2eb0ea0a8707feee4c63be58578fa22854305f SHA512 08e73ae15de5681430b62db85ec9901242dca5e9a4ca9685614f4a67092c6e28f27f9187144b3ceb18ad6b40e6eb1a90b1a4b056b0888724d04a62002ee2bc48
DIST libvirt-10.2.0.tar.xz 9466588 BLAKE2B 7ee6f4bdbb6a22f1b3c5c0326d41e269e8a5a07e41bc4f9a17fd023f3e33e46735066656dffa3004e1f36d46324270351593c89f60106933042e8a19a2aa64e6 SHA512 65faf2346e66bdba606ba99b9e4da2be8bd94ef42ac49c2801f9e9253ceea10f5fe772d5c7ada59f48aa34ff528726719b690c3acfd3e63a5c3580db17b023ae
+DIST libvirt-10.3.0.tar.xz 9476852 BLAKE2B 8c47840113904d72aeb1e9bf900a99a8b0e3d41391c9a8fee4277f2793f18fefc50d113e8cbea52dedfd03b93f430416bcd25fe90ee6820c95ac6f468b84212f SHA512 dd2b151a19877e57e11b582b1c11542319f8b7b7cd3d7d51304442aa7d5eb1a8490d2887d340191c3ecc561320ea453773763083364579de0a40ada9c244fc59
DIST libvirt-9.8.0.tar.xz 9307064 BLAKE2B aae47e8d4eeaf97532a0356de23ed5a9eea71b369d025eda95b5fd74576779eb4b843d05df6c87b79a14f218c341953749e319ee7244846a2db410a74a746880 SHA512 0118725073de33eec3fa3e4616d3154707f9828fdb9ec973f503fe68f18eab72b9704da660f281152630ddc95e605c786673af9d23dc9bdfc0108422e0efbd41
DIST libvirt-9.9.0.tar.xz 9321556 BLAKE2B 21eae5a95feaf7f5c6ba8dd48732c08212904882a11c48eccfa827d85ddc3df7e064503f21710dbe1b678670e02f003674de915a43a7403fbf85685c4832e21d SHA512 77cea28acf4f3e8c92fbd5bd72ad084be183c07f14e3a9ce35d6d9d62d36ee97a30cef55fb204b3e43f282890ecd7d5827a784a517e7f4ed8b22ee502c3f09d7
EBUILD nxml-libvirt-schemas-10.0.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
EBUILD nxml-libvirt-schemas-10.1.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
EBUILD nxml-libvirt-schemas-10.2.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
+EBUILD nxml-libvirt-schemas-10.3.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
EBUILD nxml-libvirt-schemas-9.8.0.ebuild 1124 BLAKE2B a8d91d66d5b01d499e1aaef716cfa67a3f8b2aa419b9dfa408137f8e5ac39ba0670d451ee9d481427ce872983931913be7f97b25e33c74a811992a29a575d108 SHA512 4569a431b324be94ffa10258e7dff17fcdc24571bc810c25cc1810e7c690a672786d66a7947c0bc4b8ca9a0801e7aa132ae266fab241f08ced5072faa477403b
EBUILD nxml-libvirt-schemas-9.9.0.ebuild 1124 BLAKE2B a8d91d66d5b01d499e1aaef716cfa67a3f8b2aa419b9dfa408137f8e5ac39ba0670d451ee9d481427ce872983931913be7f97b25e33c74a811992a29a575d108 SHA512 4569a431b324be94ffa10258e7dff17fcdc24571bc810c25cc1810e7c690a672786d66a7947c0bc4b8ca9a0801e7aa132ae266fab241f08ced5072faa477403b
MISC metadata.xml 390 BLAKE2B 05bd110c71244cf02d22bcf823d3285e73bdb03f3bb06b8c9e2c13cd346f2367380345747d5eb0861f37983be970dc6c9fe5e7d93b422205a7b447dc3330852e SHA512 bb803aed730418caf43baf132b989963e84f5e0e0d8db915a48cae407f20fb52e27c147725cac88fc94303db070f300a7ce3bf6c18e7dc66dec37bf9ccea5f5b
diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.3.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.3.0.ebuild
new file mode 100644
index 000000000000..16945cb9e2ff
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Packages which get releases together:
+# app-emacs/nxml-libvirt-schemas
+# dev-python/libvirt-python
+# dev-perl/Sys-Virt
+# app-emulation/libvirt
+# Please bump them together!
+
+inherit elisp
+
+MY_P="libvirt-${PV}"
+DESCRIPTION="Extension for nxml-mode with libvirt schemas"
+HOMEPAGE="https://www.libvirt.org/"
+SRC_URI="https://libvirt.org/sources/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas"
+
+# This is the license of the package, but the schema files are
+# provided without license, maybe it's bad.
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Yes this requires Java, but I'd rather not repackage this, if you
+# know something better in C, I'll be glad to use that.
+BDEPEND="app-text/trang"
+
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() {
+ emake -f - <<'EOF'
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+%.rnc: %.rng
+ trang -I rng -O rnc $< $@
+EOF
+}
+
+src_install() {
+ insinto "${SITEETC}/${PN}"
+ doins "${FILESDIR}"/schemas.xml *.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}