diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-emacs/treemacs | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emacs/treemacs')
-rw-r--r-- | app-emacs/treemacs/Manifest | 7 | ||||
-rw-r--r-- | app-emacs/treemacs/files/50treemacs-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/treemacs/files/treemacs-icons-icon-directory.patch | 12 | ||||
-rw-r--r-- | app-emacs/treemacs/metadata.xml | 13 | ||||
-rw-r--r-- | app-emacs/treemacs/treemacs-2.10-r1.ebuild | 61 | ||||
-rw-r--r-- | app-emacs/treemacs/treemacs-2.9.5-r1.ebuild | 61 |
6 files changed, 157 insertions, 0 deletions
diff --git a/app-emacs/treemacs/Manifest b/app-emacs/treemacs/Manifest new file mode 100644 index 000000000000..644e5b299e46 --- /dev/null +++ b/app-emacs/treemacs/Manifest @@ -0,0 +1,7 @@ +AUX 50treemacs-gentoo.el 107 BLAKE2B 8f0b4ae5390e6552c14ab55dbd71ac7e93477d0ab111cd5ae921f33800a15606606b96246e6a3fa1dc1e0aa42df0b3cc50f29602f72685fec47520e53db18c04 SHA512 5098445176a1b4730439e1d3f55d2dd2a27ec095f721b40318fe181f5a89276f0e2b6269505db4248160ca3769981ccecdd2fa0ea89667579faa920ea8d40bf0 +AUX treemacs-icons-icon-directory.patch 415 BLAKE2B d53b7bfcca7ab85953e1d98a71d58d273f625e095c72417d0c3e1bcfa65d4e5b9a34a60f1295f68a22f663643a6460adddfd2b03c38f7a10a0c3edfae232fb61 SHA512 c76ead6a99de0494769f35af8e3a5154fed728736e41d9cfe08c04f947959a972488e9d6e871e05b10763551fdcbda8e31e9b1bc308a043b5b315ea0a6e475f9 +DIST treemacs-2.10.tar.gz 4137468 BLAKE2B 0f832d02f8b0f96f7000c57b1842319155face5cb50c44ff4286f7f28dd74b38739079de9c387dbddbf93af37a5c750c45a598100ed5053674a565b4ec34f0c6 SHA512 9326a3f66c1b38eb7ef39e90900c2ef71d20c6c3478213f61c144ca4face562dccf00d6d400315c264627468a0c3319a24f0ec6cddb795b54e1b7f3c235d1c71 +DIST treemacs-2.9.5.tar.gz 4134227 BLAKE2B 1fbdb278e9524fdb14cbc7699bc787ab694b00d37a91ec3e91e106079bc02f6b8b39207608873d45c70fd6355a22553bf1a0636a948b79df77adfe0b4a3f799f SHA512 adc026d7ad459418fae531c5a1a7df7f9308e63dec82240c1c5e278eb00fdf8d6dff1ee2112ea73d5a05c4266efe24623bb84f8819a6f07fbb4fde6e644ca9ad +EBUILD treemacs-2.10-r1.ebuild 1183 BLAKE2B ee2b86534058b02c39baebfa771e23dfc41292cf4f2a7020c697cdc353b361b74d33cce3c51dbce61fb53bf97bf4b031699682aaef3c8f60c977a4f9b3b51517 SHA512 42511cfe992fbd4e5b00962ef4c2851e884f871b3b9ca14b4ed0ecc7db67b8a595eb12edf4426b5c0c8075392eb172055ba0d50c3a9c8716b9e9d62f82ea719c +EBUILD treemacs-2.9.5-r1.ebuild 1183 BLAKE2B ee2b86534058b02c39baebfa771e23dfc41292cf4f2a7020c697cdc353b361b74d33cce3c51dbce61fb53bf97bf4b031699682aaef3c8f60c977a4f9b3b51517 SHA512 42511cfe992fbd4e5b00962ef4c2851e884f871b3b9ca14b4ed0ecc7db67b8a595eb12edf4426b5c0c8075392eb172055ba0d50c3a9c8716b9e9d62f82ea719c +MISC metadata.xml 439 BLAKE2B a5536ef58177b5a4802017b81c68951ff5585a745ebc38f036bf2ee98bf6f51b0586ff5022cd1da55dbca13430b1811d8ac60e5b920caec7ea15f83f62ed3cad SHA512 cb6043bf4aa0e741f19630393ec1a25ab74e4ac2f17a41d932fce8d6f95663534cf28c277912c1800b252a98f1dc5ba13d6623f12251486e93dc33df1b77f443 diff --git a/app-emacs/treemacs/files/50treemacs-gentoo.el b/app-emacs/treemacs/files/50treemacs-gentoo.el new file mode 100644 index 000000000000..296e01d5b8b4 --- /dev/null +++ b/app-emacs/treemacs/files/50treemacs-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'treemacs "treemacs" + "Initialise or toggle treemacs." t) diff --git a/app-emacs/treemacs/files/treemacs-icons-icon-directory.patch b/app-emacs/treemacs/files/treemacs-icons-icon-directory.patch new file mode 100644 index 000000000000..d1ac5022064a --- /dev/null +++ b/app-emacs/treemacs/files/treemacs-icons-icon-directory.patch @@ -0,0 +1,12 @@ +index 2cd9baf..e6ea521 100644 +--- a/src/elisp/treemacs-icons.el ++++ b/src/elisp/treemacs-icons.el +@@ -273,7 +273,7 @@ Necessary since root icons are not rectangular." + (ht-set! tui-icons it tui-icon)))) + + (treemacs-create-theme "Default" +- :icon-directory (treemacs-join-path treemacs-dir "icons/default") ++ :icon-directory "@SITEETC@/icons/default" + :config + (progn + ;; directory and other icons diff --git a/app-emacs/treemacs/metadata.xml b/app-emacs/treemacs/metadata.xml new file mode 100644 index 000000000000..2b59c18813b9 --- /dev/null +++ b/app-emacs/treemacs/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Alexander-Miller/treemacs/issues/</bugs-to> + <remote-id type="github">Alexander-Miller/treemacs</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/treemacs/treemacs-2.10-r1.ebuild b/app-emacs/treemacs/treemacs-2.10-r1.ebuild new file mode 100644 index 000000000000..ea3b8ab8544a --- /dev/null +++ b/app-emacs/treemacs/treemacs-2.10-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=26.1 + +inherit elisp + +DESCRIPTION="Tree style project file explorer" +HOMEPAGE="https://github.com/Alexander-Miller/treemacs/" +SRC_URI="https://github.com/Alexander-Miller/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-emacs/ace-window + app-emacs/cfrs + app-emacs/dash + app-emacs/ht + app-emacs/hydra + app-emacs/pfuture + app-emacs/s +" +BDEPEND=" + ${RDEPEND} + test? ( app-emacs/buttercup ) +" + +DOCS=( Changelog.org Extensions.org README.org screenshots ) +PATCHES=( "${FILESDIR}"/${PN}-icons-icon-directory.patch ) + +BYTECOMPFLAGS="-L . -L src/elisp" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${SITEETC}/${PN}|" -i src/elisp/${PN}-icons.el || die +} + +src_compile() { + elisp-compile src/elisp/*.el +} + +src_test() { + buttercup ${BYTECOMPFLAGS} -L test --traceback full || die +} + +src_install() { + elisp-install ${PN} src/elisp/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + insinto ${SITEETC}/${PN} + doins -r icons +} diff --git a/app-emacs/treemacs/treemacs-2.9.5-r1.ebuild b/app-emacs/treemacs/treemacs-2.9.5-r1.ebuild new file mode 100644 index 000000000000..ea3b8ab8544a --- /dev/null +++ b/app-emacs/treemacs/treemacs-2.9.5-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=26.1 + +inherit elisp + +DESCRIPTION="Tree style project file explorer" +HOMEPAGE="https://github.com/Alexander-Miller/treemacs/" +SRC_URI="https://github.com/Alexander-Miller/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-emacs/ace-window + app-emacs/cfrs + app-emacs/dash + app-emacs/ht + app-emacs/hydra + app-emacs/pfuture + app-emacs/s +" +BDEPEND=" + ${RDEPEND} + test? ( app-emacs/buttercup ) +" + +DOCS=( Changelog.org Extensions.org README.org screenshots ) +PATCHES=( "${FILESDIR}"/${PN}-icons-icon-directory.patch ) + +BYTECOMPFLAGS="-L . -L src/elisp" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${SITEETC}/${PN}|" -i src/elisp/${PN}-icons.el || die +} + +src_compile() { + elisp-compile src/elisp/*.el +} + +src_test() { + buttercup ${BYTECOMPFLAGS} -L test --traceback full || die +} + +src_install() { + elisp-install ${PN} src/elisp/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + insinto ${SITEETC}/${PN} + doins -r icons +} |