[gentoo-commits] repo/proj/guru:dev commit in: app-emacs/vterm/, app-emacs/vterm/files/
commit: ffa5ec455b2ef58488f2e2c3a0b4641975f9dc24 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Sat Aug 22 14:36:38 2020 + Commit: Ronny Gutbrod tastytea de> CommitDate: Sat Aug 22 14:39:30 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffa5ec45 app-emacs/vterm: Remove package, it is in ::gentoo. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> app-emacs/vterm/Manifest | 1 - app-emacs/vterm/files/50vterm-gentoo.el | 2 - app-emacs/vterm/files/bashrc | 26 app-emacs/vterm/files/config.fish| 30 - app-emacs/vterm/files/zshrc | 25 --- app-emacs/vterm/metadata.xml | 26 app-emacs/vterm/vterm-20200504.544-r1.ebuild | 63 app-emacs/vterm/vterm-20200504.544.ebuild| 60 -- 8 files changed, 233 deletions(-) diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest deleted file mode 100644 index 0fa0a8c..000 --- a/app-emacs/vterm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST vterm-20200504.544.tar 184320 BLAKE2B 9a705ef3e36b8b1991e9b152b59a40f5d784631ee613056ccedffc85c690c83b0860f900d1494388047b2fec8ef7803adc7c5550b2d210e3cda95ebd8894be5c SHA512 c2971628778e9128efae5c567bd0e9453a8260032d0c220e4348e135e2d2c1af56429eebe613641bd13a148dec53e10c4604dd93a0261f2db74a1bcb8a240ff8 diff --git a/app-emacs/vterm/files/50vterm-gentoo.el b/app-emacs/vterm/files/50vterm-gentoo.el deleted file mode 100644 index a050b7a..000 --- a/app-emacs/vterm/files/50vterm-gentoo.el +++ /dev/null @@ -1,2 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") -(load "vterm-autoloads" nil t) diff --git a/app-emacs/vterm/files/bashrc b/app-emacs/vterm/files/bashrc deleted file mode 100644 index bafa9f1..000 --- a/app-emacs/vterm/files/bashrc +++ /dev/null @@ -1,26 +0,0 @@ -function vterm_printf(){ -if [ -n "$TMUX" ]; then -# Tell tmux to pass the escape sequences through -# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) -printf "\ePtmux;\e\e]%s\007\e\\" "$1" -elif [ "${TERM%%-*}" = "screen" ]; then -# GNU screen (screen, screen-256color, screen-256color-bce) -printf "\eP\e]%s\007\e\\" "$1" -else -printf "\e]%s\e\\" "$1" -fi -} - -if [[ "$INSIDE_EMACS" = 'vterm' ]]; then -function clear(){ -vterm_printf "51;Evterm-clear-scrollback"; -tput clear; -} -fi - -PROMPT_COMMAND='echo -ne "\033]0;\h:\w\007"' - -vterm_prompt_end(){ -vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" -} -PS1=$PS1'\[$(vterm_prompt_end)\]' diff --git a/app-emacs/vterm/files/config.fish b/app-emacs/vterm/files/config.fish deleted file mode 100644 index ce47d71..000 --- a/app-emacs/vterm/files/config.fish +++ /dev/null @@ -1,30 +0,0 @@ -function vterm_printf; -if [ -n "$TMUX" ] -# tell tmux to pass the escape sequences through -# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) -printf "\ePtmux;\e\e]%s\007\e\\" "$argv" -else if string match -q -- "screen*" "$TERM" -# GNU screen (screen, screen-256color, screen-256color-bce) -printf "\eP\e]%s\007\e\\" "$argv" -else -printf "\e]%s\e\\" "$argv" -end -end - -function fish_title -hostname -echo ":" -pwd -end - -function vterm_prompt_end; -vterm_printf '51;A'(whoami)'@'(hostname)':'(pwd) -end -functions -c fish_prompt vterm_old_fish_prompt -function fish_prompt --description 'Write out the prompt; do not replace this. Instead, put this at end of your file.' -# Remove the trailing newline from the original prompt. This is done -# using the string builtin from fish, but to make sure any escape codes -# are correctly interpreted, use %b for printf. -printf "%b" (string join "\n" (vterm_old_fish_prompt)) -vterm_prompt_end -end diff --git a/app-emacs/vterm/files/zshrc b/app-emacs/vterm/files/zshrc deleted file mode 100644 index eb9255a..000 --- a/app-emacs/vterm/files/zshrc +++ /dev/null @@ -1,25 +0,0 @@ -function vterm_printf(){ -if [ -n "$TMUX" ]; then -# Tell tmux to pass the escape sequences through -# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) -printf "\ePtmux;\e\e]%s\007\e\\" "$1" -elif [ "${TERM%%-*}" = "screen" ]; then -# GNU screen (screen, screen-256color, screen-256color-bce) -printf "\eP\e]%s\007\e\\" "$1" -else -printf "\e]%s\e\\" "$1" -fi -} - -if [[ "$INSIDE_EMACS" = 'vterm' ]]; then -alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' -fi - -autoload -U add-zsh-hook -add-zsh-hook -Uz chpwd (){ print -Pn "\e]2;%m:%2~\a" } - -vterm_prompt_end() { -vterm_printf "51;A$(whoami)@$(hostname):$(pwd)"; -} -setopt PROMPT_SUBST -PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' di
[gentoo-commits] repo/proj/guru:dev commit in: app-emacs/vterm/, app-emacs/vterm/files/
commit: 42d2a11c096bd01a693192aa0f17087800b8eb7f Author: Arjan Adriaanse adriaan se> AuthorDate: Sat May 9 18:48:15 2020 + Commit: Arjan Adriaanse adriaan se> CommitDate: Sat May 9 18:52:17 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42d2a11c app-emacs/vterm: clean up and make config files not executable Signed-off-by: Arjan Adriaanse adriaan.se> app-emacs/vterm/files/bashrc | 0 app-emacs/vterm/vterm-20200504.544.ebuild | 19 +-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app-emacs/vterm/files/bashrc b/app-emacs/vterm/files/bashrc old mode 100755 new mode 100644 diff --git a/app-emacs/vterm/vterm-20200504.544.ebuild b/app-emacs/vterm/vterm-20200504.544.ebuild index 6de8fb8..2fe5652 100644 --- a/app-emacs/vterm/vterm-20200504.544.ebuild +++ b/app-emacs/vterm/vterm-20200504.544.ebuild @@ -14,15 +14,16 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - app-editors/emacs[dynamic-loading] + >=app-editors/emacs-26.1[dynamic-loading] dev-libs/libvterm " ELISP_REMOVE="${PN}-pkg.el" SITEFILE="50${PN}-gentoo.el" +DOC="README.md" src_configure() { - elisp-make-autoload-file + elisp_src_configure local mycmakeargs=( "USE_SYSTEM_LIBVTERM=yes" ) cmake_src_configure @@ -37,25 +38,23 @@ src_compile() { src_install() { elisp_src_install - dodoc README.md - # install vterm module elisp-install ${PN} *.so # add shell config files if has_version app-shells/bash; then elog "Adding configuration for bash." - exeinto /etc/bash/bashrc.d/ - newexe "${FILESDIR}/bashrc" bash-emacs-vterm.sh + insinto /etc/bash/bashrc.d/ + newins "${FILESDIR}/bashrc" emacs-vterm-bash.sh fi if has_version app-shells/zsh; then elog "Adding configuration for zsh." - exeinto /etc/profile.d/ - newexe "${FILESDIR}/zshrc" zsh-emacs-vterm.sh + insinto /etc/profile.d/ + newins "${FILESDIR}/zshrc" emacs-vterm-bash.sh fi if has_version app-shells/fish; then elog "Adding configuration for fish." - exeinto /etc/fish/conf.d/ - newexe "${FILESDIR}/config.fish" emacs-vterm.fish + insinto /etc/fish/conf.d/ + newins "${FILESDIR}/config.fish" emacs-vterm.fish fi }
[gentoo-commits] repo/proj/guru:dev commit in: app-emacs/vterm/
commit: 230bb550166c8e88c5b4481fd297fa62dc199e13 Author: Alessandro Barbieri gmail com> AuthorDate: Fri May 8 00:45:30 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri May 8 00:45:30 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=230bb550 app-emacs/vterm: no executable files Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> app-emacs/vterm/vterm-20200504.544-r1.ebuild | 63 1 file changed, 63 insertions(+) diff --git a/app-emacs/vterm/vterm-20200504.544-r1.ebuild b/app-emacs/vterm/vterm-20200504.544-r1.ebuild new file mode 100644 index 000..468cada --- /dev/null +++ b/app-emacs/vterm/vterm-20200504.544-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp cmake + +DESCRIPTION="Emacs libvterm integration" +HOMEPAGE="https://github.com/akermu/emacs-libvterm"; +SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-editors/emacs[dynamic-loading] + dev-libs/libvterm +" + +ELISP_REMOVE="${PN}-pkg.el" +SITEFILE="50${PN}-gentoo.el" + +src_configure() { + elisp-make-autoload-file + + local mycmakeargs=( + "USE_SYSTEM_LIBVTERM=yes" + ) + cmake_src_configure +} + +src_compile() { + elisp_src_compile + + cmake_src_compile +} + +src_install() { + elisp_src_install + + dodoc README.md + + # install vterm module + elisp-install "${PN}" *.so + + # add shell config files + if has_version app-shells/bash; then + elog "Adding configuration for bash." + insinto /etc/bash/bashrc.d/ + newins "${FILESDIR}/bashrc" bash-emacs-vterm.sh + fi + if has_version app-shells/zsh; then + elog "Adding configuration for zsh." + insinto /etc/profile.d/ + newins "${FILESDIR}/zshrc" zsh-emacs-vterm.sh + fi + if has_version app-shells/fish; then + elog "Adding configuration for fish." + insinto /etc/fish/conf.d/ + newins "${FILESDIR}/config.fish" emacs-vterm.fish + fi +}
[gentoo-commits] repo/proj/guru:dev commit in: app-emacs/vterm/files/, app-emacs/vterm/
commit: 316d2cee8734dbc22f0a1a1e5d4debac89c8cbce Author: Arjan Adriaanse adriaan se> AuthorDate: Tue May 5 09:05:49 2020 + Commit: Arjan Adriaanse adriaan se> CommitDate: Tue May 5 09:05:49 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=316d2cee app-emacs/vterm: add new package Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Arjan Adriaanse adriaan.se> app-emacs/vterm/Manifest | 1 + app-emacs/vterm/files/50vterm-gentoo.el | 2 + app-emacs/vterm/files/bashrc | 26 + app-emacs/vterm/files/config.fish | 30 +++ app-emacs/vterm/files/zshrc | 25 + app-emacs/vterm/metadata.xml | 26 + app-emacs/vterm/vterm-20200504.544.ebuild | 61 +++ 7 files changed, 171 insertions(+) diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest new file mode 100644 index 000..0fa0a8c --- /dev/null +++ b/app-emacs/vterm/Manifest @@ -0,0 +1 @@ +DIST vterm-20200504.544.tar 184320 BLAKE2B 9a705ef3e36b8b1991e9b152b59a40f5d784631ee613056ccedffc85c690c83b0860f900d1494388047b2fec8ef7803adc7c5550b2d210e3cda95ebd8894be5c SHA512 c2971628778e9128efae5c567bd0e9453a8260032d0c220e4348e135e2d2c1af56429eebe613641bd13a148dec53e10c4604dd93a0261f2db74a1bcb8a240ff8 diff --git a/app-emacs/vterm/files/50vterm-gentoo.el b/app-emacs/vterm/files/50vterm-gentoo.el new file mode 100644 index 000..a050b7a --- /dev/null +++ b/app-emacs/vterm/files/50vterm-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "vterm-autoloads" nil t) diff --git a/app-emacs/vterm/files/bashrc b/app-emacs/vterm/files/bashrc new file mode 100755 index 000..bafa9f1 --- /dev/null +++ b/app-emacs/vterm/files/bashrc @@ -0,0 +1,26 @@ +function vterm_printf(){ +if [ -n "$TMUX" ]; then +# Tell tmux to pass the escape sequences through +# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) +printf "\ePtmux;\e\e]%s\007\e\\" "$1" +elif [ "${TERM%%-*}" = "screen" ]; then +# GNU screen (screen, screen-256color, screen-256color-bce) +printf "\eP\e]%s\007\e\\" "$1" +else +printf "\e]%s\e\\" "$1" +fi +} + +if [[ "$INSIDE_EMACS" = 'vterm' ]]; then +function clear(){ +vterm_printf "51;Evterm-clear-scrollback"; +tput clear; +} +fi + +PROMPT_COMMAND='echo -ne "\033]0;\h:\w\007"' + +vterm_prompt_end(){ +vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" +} +PS1=$PS1'\[$(vterm_prompt_end)\]' diff --git a/app-emacs/vterm/files/config.fish b/app-emacs/vterm/files/config.fish new file mode 100644 index 000..ce47d71 --- /dev/null +++ b/app-emacs/vterm/files/config.fish @@ -0,0 +1,30 @@ +function vterm_printf; +if [ -n "$TMUX" ] +# tell tmux to pass the escape sequences through +# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) +printf "\ePtmux;\e\e]%s\007\e\\" "$argv" +else if string match -q -- "screen*" "$TERM" +# GNU screen (screen, screen-256color, screen-256color-bce) +printf "\eP\e]%s\007\e\\" "$argv" +else +printf "\e]%s\e\\" "$argv" +end +end + +function fish_title +hostname +echo ":" +pwd +end + +function vterm_prompt_end; +vterm_printf '51;A'(whoami)'@'(hostname)':'(pwd) +end +functions -c fish_prompt vterm_old_fish_prompt +function fish_prompt --description 'Write out the prompt; do not replace this. Instead, put this at end of your file.' +# Remove the trailing newline from the original prompt. This is done +# using the string builtin from fish, but to make sure any escape codes +# are correctly interpreted, use %b for printf. +printf "%b" (string join "\n" (vterm_old_fish_prompt)) +vterm_prompt_end +end diff --git a/app-emacs/vterm/files/zshrc b/app-emacs/vterm/files/zshrc new file mode 100644 index 000..eb9255a --- /dev/null +++ b/app-emacs/vterm/files/zshrc @@ -0,0 +1,25 @@ +function vterm_printf(){ +if [ -n "$TMUX" ]; then +# Tell tmux to pass the escape sequences through +# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) +printf "\ePtmux;\e\e]%s\007\e\\" "$1" +elif [ "${TERM%%-*}" = "screen" ]; then +# GNU screen (screen, screen-256color, screen-256color-bce) +printf "\eP\e]%s\007\e\\" "$1" +else +printf "\e]%s\e\\" "$1" +fi +} + +if [[ "$INSIDE_EMACS" = 'vterm' ]]; then +alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' +fi + +autoload -U add-zsh-hook +add-zsh-hook -Uz chpwd (){ print -Pn "\e]2;%m:%2~\a" } + +vterm_prompt_end() { +vterm_printf "51;A$(whoami)@$(hostname):$(pwd)"; +} +setopt PROMPT_SUBST +PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' diff --git a/app-emacs/vterm/metadata.xml b/app-emacs/vterm/metadata.xml new file mode 100644 index 0