1 |
commit: 16bd6124ee44489668617a319b7f008c8cdbd0af |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 13:29:37 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 13:32:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bd6124 |
7 |
|
8 |
app-emacs/demap: new package; add version 1.4.0 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/demap/Manifest | 1 + |
13 |
app-emacs/demap/demap-1.4.0.ebuild | 25 +++++++++++++++++++++++++ |
14 |
app-emacs/demap/files/50demap-gentoo.el | 3 +++ |
15 |
app-emacs/demap/metadata.xml | 24 ++++++++++++++++++++++++ |
16 |
4 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/app-emacs/demap/Manifest b/app-emacs/demap/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..cd10a00d2319 |
21 |
--- /dev/null |
22 |
+++ b/app-emacs/demap/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST demap.el-v1.4.0.tar.gz 26998 BLAKE2B 410cb79fffbe562861c2c91d3a8284303ae71edf5a3c331bd0c86b1aef7cfa18c731853c425bf208073da26815651e02e49faa2f93eeb667f53cf6c0a1920f08 SHA512 4f21e9135645df17fbb9a0d2f8031ad6ab0af23af9c8f4744c1510a534ea7c518bc6d0be4801484121b040e952f182d0b70dc3505e4e7534114f53a1e8ae1723 |
25 |
|
26 |
diff --git a/app-emacs/demap/demap-1.4.0.ebuild b/app-emacs/demap/demap-1.4.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8e23040b1ed6 |
29 |
--- /dev/null |
30 |
+++ b/app-emacs/demap/demap-1.4.0.ebuild |
31 |
@@ -0,0 +1,25 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+NEED_EMACS=25.1 |
38 |
+ |
39 |
+inherit elisp |
40 |
+ |
41 |
+DESCRIPTION="Detachable minimap for Emacs" |
42 |
+HOMEPAGE="https://gitlab.com/sawyerjgardner/demap.el/" |
43 |
+SRC_URI="https://gitlab.com/sawyerjgardner/${PN}.el/-/archive/v${PV}/${PN}.el-v${PV}.tar.gz" |
44 |
+S="${WORKDIR}"/${PN}.el-v${PV} |
45 |
+ |
46 |
+LICENSE="GPL-3+" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+# "make test" is just a practical check if "demap-open" works, maintainers of |
51 |
+# this package could check themselves if it still works after installation. |
52 |
+# Notice that we autolaod only the "demap-toggle" function (not "demap-open"). |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+DOCS=( README.md ) |
56 |
+SITEFILE="50${PN}-gentoo.el" |
57 |
|
58 |
diff --git a/app-emacs/demap/files/50demap-gentoo.el b/app-emacs/demap/files/50demap-gentoo.el |
59 |
new file mode 100644 |
60 |
index 000000000000..bcd35f5b7298 |
61 |
--- /dev/null |
62 |
+++ b/app-emacs/demap/files/50demap-gentoo.el |
63 |
@@ -0,0 +1,3 @@ |
64 |
+(add-to-list 'load-path "@SITELISP@") |
65 |
+(autoload 'demap-toggle "demap" |
66 |
+ "Toggle side window showing a minimap." t) |
67 |
|
68 |
diff --git a/app-emacs/demap/metadata.xml b/app-emacs/demap/metadata.xml |
69 |
new file mode 100644 |
70 |
index 000000000000..bf3219109fba |
71 |
--- /dev/null |
72 |
+++ b/app-emacs/demap/metadata.xml |
73 |
@@ -0,0 +1,24 @@ |
74 |
+<?xml version="1.0" encoding="UTF-8"?> |
75 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
76 |
+ |
77 |
+<pkgmetadata> |
78 |
+ <maintainer type="project"> |
79 |
+ <email>gnu-emacs@g.o</email> |
80 |
+ <name>Gentoo GNU Emacs project</name> |
81 |
+ </maintainer> |
82 |
+ <longdescription> |
83 |
+ demap.el adds a minimap that shows a zoomed out view of the active window's |
84 |
+ buffer. You can toggle showing the minimap in a side window with |
85 |
+ "demap-toggle". This package has a few advantages over other minimap |
86 |
+ packages: support for detaching minimaps and having them on a different |
87 |
+ frame then the active window; support for multiple minimap buffers, with |
88 |
+ their own buffer local definitions on what buffers it can show and how to |
89 |
+ show them; having the minimap on the side of the frame rather then on the |
90 |
+ side of the active window by default. |
91 |
+ </longdescription> |
92 |
+ <upstream> |
93 |
+ <changelog>https://gitlab.com/sawyerjgardner/demap.el/-/releases/</changelog> |
94 |
+ <bugs-to>https://gitlab.com/sawyerjgardner/demap.el/-/issues/</bugs-to> |
95 |
+ <remote-id type="gitlab">sawyerjgardner/demap.el</remote-id> |
96 |
+ </upstream> |
97 |
+</pkgmetadata> |