Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emacs/vterm/files/, app-emacs/vterm/
Date: Mon, 24 Aug 2020 07:49:59
Message-Id: 1598107170.ffa5ec455b2ef58488f2e2c3a0b4641975f9dc24.andrewammerlaan@gentoo
1 commit: ffa5ec455b2ef58488f2e2c3a0b4641975f9dc24
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Sat Aug 22 14:36:38 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Aug 22 14:39:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffa5ec45
7
8 app-emacs/vterm: Remove package, it is in ::gentoo.
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 app-emacs/vterm/Manifest | 1 -
13 app-emacs/vterm/files/50vterm-gentoo.el | 2 -
14 app-emacs/vterm/files/bashrc | 26 ------------
15 app-emacs/vterm/files/config.fish | 30 -------------
16 app-emacs/vterm/files/zshrc | 25 -----------
17 app-emacs/vterm/metadata.xml | 26 ------------
18 app-emacs/vterm/vterm-20200504.544-r1.ebuild | 63 ----------------------------
19 app-emacs/vterm/vterm-20200504.544.ebuild | 60 --------------------------
20 8 files changed, 233 deletions(-)
21
22 diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest
23 deleted file mode 100644
24 index 0fa0a8c..0000000
25 --- a/app-emacs/vterm/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST vterm-20200504.544.tar 184320 BLAKE2B 9a705ef3e36b8b1991e9b152b59a40f5d784631ee613056ccedffc85c690c83b0860f900d1494388047b2fec8ef7803adc7c5550b2d210e3cda95ebd8894be5c SHA512 c2971628778e9128efae5c567bd0e9453a8260032d0c220e4348e135e2d2c1af56429eebe613641bd13a148dec53e10c4604dd93a0261f2db74a1bcb8a240ff8
29
30 diff --git a/app-emacs/vterm/files/50vterm-gentoo.el b/app-emacs/vterm/files/50vterm-gentoo.el
31 deleted file mode 100644
32 index a050b7a..0000000
33 --- a/app-emacs/vterm/files/50vterm-gentoo.el
34 +++ /dev/null
35 @@ -1,2 +0,0 @@
36 -(add-to-list 'load-path "@SITELISP@")
37 -(load "vterm-autoloads" nil t)
38
39 diff --git a/app-emacs/vterm/files/bashrc b/app-emacs/vterm/files/bashrc
40 deleted file mode 100644
41 index bafa9f1..0000000
42 --- a/app-emacs/vterm/files/bashrc
43 +++ /dev/null
44 @@ -1,26 +0,0 @@
45 -function vterm_printf(){
46 - if [ -n "$TMUX" ]; then
47 - # Tell tmux to pass the escape sequences through
48 - # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
49 - printf "\ePtmux;\e\e]%s\007\e\\" "$1"
50 - elif [ "${TERM%%-*}" = "screen" ]; then
51 - # GNU screen (screen, screen-256color, screen-256color-bce)
52 - printf "\eP\e]%s\007\e\\" "$1"
53 - else
54 - printf "\e]%s\e\\" "$1"
55 - fi
56 -}
57 -
58 -if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
59 - function clear(){
60 - vterm_printf "51;Evterm-clear-scrollback";
61 - tput clear;
62 - }
63 -fi
64 -
65 -PROMPT_COMMAND='echo -ne "\033]0;\h:\w\007"'
66 -
67 -vterm_prompt_end(){
68 - vterm_printf "51;A$(whoami)@$(hostname):$(pwd)"
69 -}
70 -PS1=$PS1'\[$(vterm_prompt_end)\]'
71
72 diff --git a/app-emacs/vterm/files/config.fish b/app-emacs/vterm/files/config.fish
73 deleted file mode 100644
74 index ce47d71..0000000
75 --- a/app-emacs/vterm/files/config.fish
76 +++ /dev/null
77 @@ -1,30 +0,0 @@
78 -function vterm_printf;
79 - if [ -n "$TMUX" ]
80 - # tell tmux to pass the escape sequences through
81 - # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
82 - printf "\ePtmux;\e\e]%s\007\e\\" "$argv"
83 - else if string match -q -- "screen*" "$TERM"
84 - # GNU screen (screen, screen-256color, screen-256color-bce)
85 - printf "\eP\e]%s\007\e\\" "$argv"
86 - else
87 - printf "\e]%s\e\\" "$argv"
88 - end
89 -end
90 -
91 -function fish_title
92 - hostname
93 - echo ":"
94 - pwd
95 -end
96 -
97 -function vterm_prompt_end;
98 - vterm_printf '51;A'(whoami)'@'(hostname)':'(pwd)
99 -end
100 -functions -c fish_prompt vterm_old_fish_prompt
101 -function fish_prompt --description 'Write out the prompt; do not replace this. Instead, put this at end of your file.'
102 - # Remove the trailing newline from the original prompt. This is done
103 - # using the string builtin from fish, but to make sure any escape codes
104 - # are correctly interpreted, use %b for printf.
105 - printf "%b" (string join "\n" (vterm_old_fish_prompt))
106 - vterm_prompt_end
107 -end
108
109 diff --git a/app-emacs/vterm/files/zshrc b/app-emacs/vterm/files/zshrc
110 deleted file mode 100644
111 index eb9255a..0000000
112 --- a/app-emacs/vterm/files/zshrc
113 +++ /dev/null
114 @@ -1,25 +0,0 @@
115 -function vterm_printf(){
116 - if [ -n "$TMUX" ]; then
117 - # Tell tmux to pass the escape sequences through
118 - # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
119 - printf "\ePtmux;\e\e]%s\007\e\\" "$1"
120 - elif [ "${TERM%%-*}" = "screen" ]; then
121 - # GNU screen (screen, screen-256color, screen-256color-bce)
122 - printf "\eP\e]%s\007\e\\" "$1"
123 - else
124 - printf "\e]%s\e\\" "$1"
125 - fi
126 -}
127 -
128 -if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
129 - alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear'
130 -fi
131 -
132 -autoload -U add-zsh-hook
133 -add-zsh-hook -Uz chpwd (){ print -Pn "\e]2;%m:%2~\a" }
134 -
135 -vterm_prompt_end() {
136 - vterm_printf "51;A$(whoami)@$(hostname):$(pwd)";
137 -}
138 -setopt PROMPT_SUBST
139 -PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
140
141 diff --git a/app-emacs/vterm/metadata.xml b/app-emacs/vterm/metadata.xml
142 deleted file mode 100644
143 index a9708bd..0000000
144 --- a/app-emacs/vterm/metadata.xml
145 +++ /dev/null
146 @@ -1,26 +0,0 @@
147 -<?xml version="1.0" encoding="UTF-8"?>
148 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
149 -<pkgmetadata>
150 -<maintainer type="person">
151 - <email>arjan@×××××××.se</email>
152 - <name>Arjan Adriaanse</name>
153 -</maintainer>
154 -<longdescription>
155 - Emacs-libvterm (vterm) is fully-fledged terminal emulator inside GNU
156 - Emacs based on libvterm, a C library. As a result of using compiled
157 - code (instead of elisp), emacs-libvterm is fully capable, fast, and
158 - it can seamlessly handle large outputs.
159 -
160 - This package automatically compiles the needed module and provides
161 - configurations for better integration with some shells.
162 -</longdescription>
163 -<upstream>
164 - <maintainer status="active">
165 - <email>fuermetz@×××××××.org</email>
166 - <name>Lukas Fürmetz</name>
167 - </maintainer>
168 - <doc>https://github.com/akermu/emacs-libvterm/blob/master/README.md</doc>
169 - <bugs-to>https://github.com/akermu/emacs-libvterm/issues</bugs-to>
170 - <remote-id type="github">akermu/emacs-libvterm</remote-id>
171 -</upstream>
172 -</pkgmetadata>
173
174 diff --git a/app-emacs/vterm/vterm-20200504.544-r1.ebuild b/app-emacs/vterm/vterm-20200504.544-r1.ebuild
175 deleted file mode 100644
176 index 468cada..0000000
177 --- a/app-emacs/vterm/vterm-20200504.544-r1.ebuild
178 +++ /dev/null
179 @@ -1,63 +0,0 @@
180 -# Copyright 2020 Gentoo Authors
181 -# Distributed under the terms of the GNU General Public License v2
182 -
183 -EAPI=7
184 -
185 -inherit elisp cmake
186 -
187 -DESCRIPTION="Emacs libvterm integration"
188 -HOMEPAGE="https://github.com/akermu/emacs-libvterm"
189 -SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar"
190 -
191 -LICENSE="GPL-2+"
192 -SLOT="0"
193 -KEYWORDS="~amd64 ~x86"
194 -
195 -RDEPEND="
196 - app-editors/emacs[dynamic-loading]
197 - dev-libs/libvterm
198 -"
199 -
200 -ELISP_REMOVE="${PN}-pkg.el"
201 -SITEFILE="50${PN}-gentoo.el"
202 -
203 -src_configure() {
204 - elisp-make-autoload-file
205 -
206 - local mycmakeargs=(
207 - "USE_SYSTEM_LIBVTERM=yes"
208 - )
209 - cmake_src_configure
210 -}
211 -
212 -src_compile() {
213 - elisp_src_compile
214 -
215 - cmake_src_compile
216 -}
217 -
218 -src_install() {
219 - elisp_src_install
220 -
221 - dodoc README.md
222 -
223 - # install vterm module
224 - elisp-install "${PN}" *.so
225 -
226 - # add shell config files
227 - if has_version app-shells/bash; then
228 - elog "Adding configuration for bash."
229 - insinto /etc/bash/bashrc.d/
230 - newins "${FILESDIR}/bashrc" bash-emacs-vterm.sh
231 - fi
232 - if has_version app-shells/zsh; then
233 - elog "Adding configuration for zsh."
234 - insinto /etc/profile.d/
235 - newins "${FILESDIR}/zshrc" zsh-emacs-vterm.sh
236 - fi
237 - if has_version app-shells/fish; then
238 - elog "Adding configuration for fish."
239 - insinto /etc/fish/conf.d/
240 - newins "${FILESDIR}/config.fish" emacs-vterm.fish
241 - fi
242 -}
243
244 diff --git a/app-emacs/vterm/vterm-20200504.544.ebuild b/app-emacs/vterm/vterm-20200504.544.ebuild
245 deleted file mode 100644
246 index 2fe5652..0000000
247 --- a/app-emacs/vterm/vterm-20200504.544.ebuild
248 +++ /dev/null
249 @@ -1,60 +0,0 @@
250 -# Copyright 2020 Gentoo Authors
251 -# Distributed under the terms of the GNU General Public License v2
252 -
253 -EAPI=7
254 -
255 -inherit elisp cmake
256 -
257 -DESCRIPTION="Emacs libvterm integration"
258 -HOMEPAGE="https://github.com/akermu/emacs-libvterm"
259 -SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar"
260 -
261 -LICENSE="GPL-2+"
262 -SLOT="0"
263 -KEYWORDS="~amd64 ~x86"
264 -
265 -RDEPEND="
266 - >=app-editors/emacs-26.1[dynamic-loading]
267 - dev-libs/libvterm
268 -"
269 -
270 -ELISP_REMOVE="${PN}-pkg.el"
271 -SITEFILE="50${PN}-gentoo.el"
272 -DOC="README.md"
273 -
274 -src_configure() {
275 - elisp_src_configure
276 -
277 - local mycmakeargs=( "USE_SYSTEM_LIBVTERM=yes" )
278 - cmake_src_configure
279 -}
280 -
281 -src_compile() {
282 - elisp_src_compile
283 -
284 - cmake_src_compile
285 -}
286 -
287 -src_install() {
288 - elisp_src_install
289 -
290 - # install vterm module
291 - elisp-install ${PN} *.so
292 -
293 - # add shell config files
294 - if has_version app-shells/bash; then
295 - elog "Adding configuration for bash."
296 - insinto /etc/bash/bashrc.d/
297 - newins "${FILESDIR}/bashrc" emacs-vterm-bash.sh
298 - fi
299 - if has_version app-shells/zsh; then
300 - elog "Adding configuration for zsh."
301 - insinto /etc/profile.d/
302 - newins "${FILESDIR}/zshrc" emacs-vterm-bash.sh
303 - fi
304 - if has_version app-shells/fish; then
305 - elog "Adding configuration for fish."
306 - insinto /etc/fish/conf.d/
307 - newins "${FILESDIR}/config.fish" emacs-vterm.fish
308 - fi
309 -}