From 16bd6124ee44489668617a319b7f008c8cdbd0af Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 25 Jun 2022 15:29:37 +0200 Subject: app-emacs/demap: new package; add version 1.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/demap/Manifest | 1 + app-emacs/demap/demap-1.4.0.ebuild | 25 +++++++++++++++++++++++++ app-emacs/demap/files/50demap-gentoo.el | 3 +++ app-emacs/demap/metadata.xml | 24 ++++++++++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 app-emacs/demap/Manifest create mode 100644 app-emacs/demap/demap-1.4.0.ebuild create mode 100644 app-emacs/demap/files/50demap-gentoo.el create mode 100644 app-emacs/demap/metadata.xml diff --git a/app-emacs/demap/Manifest b/app-emacs/demap/Manifest new file mode 100644 index 000000000000..cd10a00d2319 --- /dev/null +++ b/app-emacs/demap/Manifest @@ -0,0 +1 @@ +DIST demap.el-v1.4.0.tar.gz 26998 BLAKE2B 410cb79fffbe562861c2c91d3a8284303ae71edf5a3c331bd0c86b1aef7cfa18c731853c425bf208073da26815651e02e49faa2f93eeb667f53cf6c0a1920f08 SHA512 4f21e9135645df17fbb9a0d2f8031ad6ab0af23af9c8f4744c1510a534ea7c518bc6d0be4801484121b040e952f182d0b70dc3505e4e7534114f53a1e8ae1723 diff --git a/app-emacs/demap/demap-1.4.0.ebuild b/app-emacs/demap/demap-1.4.0.ebuild new file mode 100644 index 000000000000..8e23040b1ed6 --- /dev/null +++ b/app-emacs/demap/demap-1.4.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="Detachable minimap for Emacs" +HOMEPAGE="https://gitlab.com/sawyerjgardner/demap.el/" +SRC_URI="https://gitlab.com/sawyerjgardner/${PN}.el/-/archive/v${PV}/${PN}.el-v${PV}.tar.gz" +S="${WORKDIR}"/${PN}.el-v${PV} + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +# "make test" is just a practical check if "demap-open" works, maintainers of +# this package could check themselves if it still works after installation. +# Notice that we autolaod only the "demap-toggle" function (not "demap-open"). +RESTRICT="test" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/demap/files/50demap-gentoo.el b/app-emacs/demap/files/50demap-gentoo.el new file mode 100644 index 000000000000..bcd35f5b7298 --- /dev/null +++ b/app-emacs/demap/files/50demap-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'demap-toggle "demap" + "Toggle side window showing a minimap." t) diff --git a/app-emacs/demap/metadata.xml b/app-emacs/demap/metadata.xml new file mode 100644 index 000000000000..bf3219109fba --- /dev/null +++ b/app-emacs/demap/metadata.xml @@ -0,0 +1,24 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + demap.el adds a minimap that shows a zoomed out view of the active window's + buffer. You can toggle showing the minimap in a side window with + "demap-toggle". This package has a few advantages over other minimap + packages: support for detaching minimaps and having them on a different + frame then the active window; support for multiple minimap buffers, with + their own buffer local definitions on what buffers it can show and how to + show them; having the minimap on the side of the frame rather then on the + side of the active window by default. + + + https://gitlab.com/sawyerjgardner/demap.el/-/releases/ + https://gitlab.com/sawyerjgardner/demap.el/-/issues/ + sawyerjgardner/demap.el + + -- cgit v1.2.3-65-gdbad