foot: 1.12.0 -> 1.12.1

This commit is contained in:
Tim Biermann 2022-04-27 23:18:24 +02:00
parent 9faad6a9c2
commit 30fbb99968
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 6 additions and 50 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39soCXiNM31YJ1QVqk+800DblRPFwoqBl/q5yCqeInwLuxoQOdaEMP/WHfaWfjXyeYmn3HOyB++mmnBDMSWkog8=
SHA256 (Pkgfile) = 7e48e6c71755d70f30ce75081ab3511a27ea907ead4576044942218455171c37
RWSagIOpLGJF38hcqsOw0erirUY/59YWR1vb+OFxmRTW0ZkuNhXnTkm04Gqntmi3sXE030e9i7HAwE++jW4ZEKY7mk0WAvZE4wk=
SHA256 (Pkgfile) = 2f8f2307a9424081074b6bcc09c00bfb6d715ff88578940c08aee7f8a5f33c70
SHA256 (.footprint) = 2c57774d616b5817277becd41a9e358aeae1841bb3b20f259188ec9db2ca8cdc
SHA256 (1.12.0.tar.gz) = d8c27f735d2f361ee627cce282bee2462545f4df9532ee6ac28fd86a193404fa
SHA256 (pgo.patch) = 822c0ea023751a5bf2a14f81e51c8e4529f54702d11b83651c22ccf4b8970249
SHA256 (1.12.1.tar.gz) = 14e307ac89454b682bb9f1bc644043779f4462df656034fcc4c1e72b18fbffdd

View File

@ -5,14 +5,13 @@
# Optional: utf8proc
name=foot
version=1.12.0
release=2
source=(https://codeberg.org/dnkl/foot/archive/$version.tar.gz pgo.patch)
version=1.12.1
release=1
source=(https://codeberg.org/dnkl/foot/archive/$version.tar.gz)
build() {
prt-get isinst utf8proc && PKGMK_FOOT+=' -D grapheme-clustering=enabled'
patch -Np1 -d $name -i $SRC/pgo.patch
# doing the lto dance
export CFLAGS='-march=x86-64 -O3 -Wno-missing-profile -Wno-error'
meson setup $name build $PKGMK_FOOT \

View File

@ -1,42 +0,0 @@
From 8ceb6e45a49ea414bf779adf1ba484c1dd5b5e7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <daniel@ekloef.se>
Date: Sat, 23 Apr 2022 00:44:46 +0200
Subject: [PATCH] pgo: add missing stubs for key-binding functions
* key_binding_new_for_term()
* key_binding_unref_term()
---
pgo/pgo.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/pgo/pgo.c b/pgo/pgo.c
index 26e0c10e..92d97dbf 100644
--- a/pgo/pgo.c
+++ b/pgo/pgo.c
@@ -178,6 +178,13 @@ struct key_binding_set *
key_binding_for(
struct key_binding_manager *mgr, const struct terminal *term,
const struct seat *seat)
+{
+ return &kbd;
+}
+
+void
+key_binding_new_for_term(
+ struct key_binding_manager *mgr, const struct terminal *term)
{
if (!kbd_initialized) {
kbd_initialized = true;
@@ -189,8 +196,11 @@ key_binding_for(
.selection_overrides = 0,
};
}
+}
- return &kbd;
+void
+key_binding_unref_term(struct key_binding_manager *mgr, const struct terminal *term)
+{
}
int