BSD Ports

misc/emacs-libvterm g20251119_2 FreeBSD

Emacs libvterm integration

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e561a50b04
License
GPLv3+
Categories
misc, elisp
Package size
44.7 KiB, 148.8 KiB installed

Description

Emacs-libvterm (vterm) is fully-fledged terminal emulator inside GNU Emacs based on libvterm, a C library. As a result of using compiled code (instead of elisp), emacs-libvterm is fully capable, fast, and it can seamlessly handle large outputs.

Install

Binary package:

pkg install emacs-libvterm

From the ports tree:

cd /usr/ports/misc/emacs-libvterm/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	emacs-libvterm>0:misc/emacs-libvterm

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latestg20251119_2g20251119_2--g20251119_2
FreeBSD:14:quarterlyg20251119_2g20251119_2n/a-g20251119_2
FreeBSD:15:latestg20251119_2g20251119_2n/a--
FreeBSD:15:quarterlyg20251119_2g20251119_2n/an/an/a
FreeBSD:16:latestg20251119_2g20251119_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cmake:noninja emacs
Service scripts
none
Conflicts with
emacs-libvterm-emacs_*

Message after installing

Final emacs-libvterm setup instructions:

Add (require 'vterm) to your Emacs configuration.

M-x 'vterm' to open a new terminal.

The emacs-libvterm shell-integration scripts have moved:

old:  /usr/local/share/emacs/site-lisp/etc/
new:  /usr/local/share/emacs/site-lisp/vterm/etc/

If you source emacs-vterm-bash.sh, emacs-vterm-zsh.sh, or
emacs-vterm.fish from your shell startup file (e.g. .bashrc, .zshrc, or
config.fish), update the path accordingly.

Files

pkg-plist 5
  • %%EMACS_SITE_LISPDIR%%/vterm/etc/emacs-vterm-bash.sh
  • %%EMACS_SITE_LISPDIR%%/vterm/etc/emacs-vterm-zsh.sh
  • %%EMACS_SITE_LISPDIR%%/vterm/etc/emacs-vterm.fish
  • %%EMACS_SITE_LISPDIR%%/vterm/vterm-module.so
  • %%EMACS_SITE_LISPDIR%%/vterm/vterm.el
distinfo 1
FileSizeSHA256
akermu-emacs-libvterm-g20251119-a01a2894a1c1e81a39527835a9169e35b7ec5dec_GH0.tar.gz63503b545df1e9f09cbd61ebcce2b3fef95c34a87dfa0c1553abe489fd34a27dbb08e

Commit history 1

DateCommitCreditsLog message
e561a50b04 Joseph Mingrone misc/emacs-libvterm: Install etc/ under the vterm/
Previously, the shell-integration scripts (emacs-vterm-bash.sh, emacs-vterm-zsh.sh, emacs-vterm.fish) were installed under ${EMACS_SITE_LISPDIR}/etc/, i.e. share/emacs/site-lisp/etc/. That is a shared, generically-named directory, and creating it cause problems for at least one other package [0]. Install everything under ${EMACS_SITE_LISPDIR}/vterm/ instead. This keeps the port self-contained, no longer pollutes a directory other ports probe, and matches ELPA package's layout. [0] math/ess auto-detects ess-etc-directory by probing paths relative to its own lisp directory, one of which is ../etc. With site-lisp/etc present, ESS selected it instead of the correct share/emacs/etc/ess, so M-x R failed to load ESSR with "cannot open the connection". Approved by: maintainer timeout …