aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authoruser <user@clank>2026-09-02 16:40:32 +0200
committeruser <user@clank>2026-09-02 16:40:32 +0200
commitabc2ee66fac8112c204e1f10df6741b4af25c416 (patch)
tree98c82058b03c1d76dfaf420ee9e1ba4e91206d59 /contrib
parentwebdemo: generate terminfo.h -- pty.c includes it now (diff)
downloadslosh-abc2ee66fac8112c204e1f10df6741b4af25c416.tar.gz
slosh-abc2ee66fac8112c204e1f10df6741b4af25c416.tar.xz
slosh-abc2ee66fac8112c204e1f10df6741b4af25c416.zip
arch: point at ghostty-terminfo, the pacman spelling of the entry
optdepends says it at install time, the README and the install tab say it before. Our package deliberately does not ship the file: extra/ghostty-terminfo owns that path, and two packages must not. Without either, slosh's own ~/.terminfo copy covers it. pkgrel=2, both architectures rebuilt and republished.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/arch/PKGBUILD7
-rw-r--r--contrib/arch/README.md9
2 files changed, 14 insertions, 2 deletions
diff --git a/contrib/arch/PKGBUILD b/contrib/arch/PKGBUILD
index 8dcdcda..60421b8 100644
--- a/contrib/arch/PKGBUILD
+++ b/contrib/arch/PKGBUILD
@@ -15,12 +15,17 @@
pkgname=slosh
pkgver=0.1.5
-pkgrel=1
+pkgrel=2
pkgdesc="Terminal multiplexer: panes, tabs, and sessions you can detach from, on libghostty-vt"
arch=('x86_64' 'aarch64')
url="https://slosh.foo"
license=('MIT')
depends=('glibc')
+# Not a hard dependency: without it, slosh writes its own embedded copy of
+# the entry into ~/.terminfo the first time a pane needs it. The package is
+# the system-wide, pacman-managed spelling of the same thing -- and we do
+# not ship the file ourselves precisely because this package owns that path.
+optdepends=('ghostty-terminfo: xterm-ghostty terminfo system-wide, instead of the automatic ~/.terminfo copy')
# One package, no -debug split: this builds for a repo we host ourselves,
# and the stripped binary is the artifact. !strip because the aarch64 package
# is cross-built on the x86_64 release box and native strip cannot read
diff --git a/contrib/arch/README.md b/contrib/arch/README.md
index c0b718e..729dfd3 100644
--- a/contrib/arch/README.md
+++ b/contrib/arch/README.md
@@ -27,7 +27,14 @@ would both have to lie. Then, in `/etc/pacman.conf`:
Server = https://slosh.foo/arch/$arch
```
-and `pacman -Sy slosh`. No `SigLevel` override: pacman's default demands
+and `pacman -Sy slosh`. Optionally add `extra/ghostty-terminfo`: panes
+advertise `TERM=xterm-ghostty`, and while slosh installs its own embedded
+copy of the entry into `~/.terminfo` when it is missing everywhere, the
+package is the system-wide, pacman-managed spelling, and the reason our
+package does not ship the file itself (two packages must not own one path).
+The optdepends line says the same thing at install time.
+
+No `SigLevel` override: pacman's default demands
package signatures, and now gets them. The database is signed too, so
`SigLevel = Required DatabaseRequired` also works, if that is your
temperament. (x86_64 and aarch64 both, and both built on the same x86_64