mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Patch the example config file to use /bin/ksh instead of bash.
Remove RDEP on shells/bash. Set default background so that the terminal cursor is visible.
This commit is contained in:
@@ -3,6 +3,7 @@ COMMENT = minimal terminal emulator for wayland
|
||||
GH_ACCOUNT = ii8
|
||||
GH_PROJECT = havoc
|
||||
GH_TAGNAME = 0.4.0
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = wayland
|
||||
HOMEPAGE = https://github.com/ii8/havoc
|
||||
@@ -21,8 +22,6 @@ LIB_DEPENDS = devel/epoll-shim \
|
||||
wayland/wayland \
|
||||
x11/xkbcommon
|
||||
|
||||
RUN_DEPENDS = shells/bash
|
||||
|
||||
ALL_TARGET =
|
||||
|
||||
post-install:
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
Index: havoc.cfg
|
||||
--- havoc.cfg.orig
|
||||
+++ havoc.cfg
|
||||
@@ -1,6 +1,6 @@
|
||||
[child]
|
||||
# program to run in child process
|
||||
-program=bash
|
||||
+program=/bin/ksh
|
||||
|
||||
[window]
|
||||
# opacity of background from 0 (fully transparent) to 255 (fully opaque)
|
||||
@@ -11,7 +11,7 @@ margin=no
|
||||
|
||||
[terminal]
|
||||
|
||||
@@ -15,6 +15,15 @@ Index: main.c
|
||||
|
||||
#include <xkbcommon/xkbcommon-compose.h>
|
||||
#include <wayland-client-core.h>
|
||||
@@ -182,7 +188,7 @@ static struct {
|
||||
[TSM_COLOR_LIGHT_CYAN] = { 0, 255, 255 },
|
||||
[TSM_COLOR_WHITE] = { 255, 255, 255 },
|
||||
[TSM_COLOR_FOREGROUND] = { 229, 229, 229 },
|
||||
- [TSM_COLOR_BACKGROUND] = { 0, 0, 0 },
|
||||
+ [TSM_COLOR_BACKGROUND] = { 0, 0, 1 },
|
||||
},
|
||||
.opt.app_id = "havoc"
|
||||
};
|
||||
@@ -191,7 +197,7 @@ static void wcb(struct tsm_vte *vte, const char *u8, s
|
||||
{
|
||||
assert(len <= PIPE_BUF);
|
||||
|
||||
Reference in New Issue
Block a user