From ec6240867c666a37f8dd9e7d89c0eb6cd8da6321 Mon Sep 17 00:00:00 2001 From: FouzR <88454554+FouzR@users.noreply.github.com> Date: Wed, 8 Nov 2023 03:35:23 +0400 Subject: [PATCH] Update YAFT to v0.0.10 (#736) * Update YAFT to v0.0.10 --------- Co-authored-by: Nathaniel van Diepen --- package/yaft/bash-l.patch | 13 ------------- package/yaft/package | 13 ++++++------- 2 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 package/yaft/bash-l.patch diff --git a/package/yaft/bash-l.patch b/package/yaft/bash-l.patch deleted file mode 100644 index ad6d27be7..000000000 --- a/package/yaft/bash-l.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/apps/yaft/main.cpp b/apps/yaft/main.cpp -index baa1f56..1d4ee6a 100755 ---- a/apps/yaft/main.cpp -+++ b/apps/yaft/main.cpp -@@ -200,7 +200,7 @@ main(int argc, const char* argv[]) { - extern volatile sig_atomic_t need_redraw; - extern volatile sig_atomic_t child_alive; - extern struct termios termios_orig; -- static const char* shell_args[2] = { shell_cmd, NULL }; -+ static const char* shell_args[3] = { shell_cmd, "-l", NULL }; - - Keyboard keyboard; - diff --git a/package/yaft/package b/package/yaft/package index 8bc4e5154..a08ab32d0 100644 --- a/package/yaft/package +++ b/package/yaft/package @@ -5,9 +5,9 @@ pkgnames=(yaft) pkgdesc="Yet another framebuffer terminal" url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft -_tag=0.0.8 -pkgver=${_tag}-2 -timestamp=2021-05-02T09:23Z +_tag=0.0.10 +pkgver=${_tag}-1 +timestamp=2023-08-12T14:31Z maintainer="Mattéo Delabre " license=GPL-3.0 section="admin" @@ -17,18 +17,15 @@ installdepends=(display terminfo) source=( "https://github.com/timower/rM2-stuff/archive/refs/tags/v${_tag}.zip" input.patch - bash-l.patch ) sha256sums=( - 718a9fc7a8e26d587bac790fd83ad8242978b59745269b2ff213e04820bf45b8 - SKIP + 1cd4741a93cde6bd545215eb303e51219fc9901cba1c28b6206b1b5e0871a7b5 SKIP ) build() { patch -u libs/rMlib/Device.cpp -i input.patch - patch -u apps/yaft/main.cpp -i bash-l.patch mkdir build mkdir install cd build @@ -37,6 +34,8 @@ build() { cd apps/yaft make make install + cd ../../libs/libYaft + make install } package() {