From 424d6ebfe8404780a573781cac3bedfcb3cacad3 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 8 Apr 2019 15:42:52 +0300 Subject: [PATCH] rxvt-unicode-cvs: replace tc termcap with rgb, also reorganize patch application --- rxvt-unicode-cvs/PKGBUILD | 15 ++++++++++----- rxvt-unicode-cvs/terminfo-truecolor.patch | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/rxvt-unicode-cvs/PKGBUILD b/rxvt-unicode-cvs/PKGBUILD index d2865aa..4d5c755 100644 --- a/rxvt-unicode-cvs/PKGBUILD +++ b/rxvt-unicode-cvs/PKGBUILD @@ -30,18 +30,23 @@ sha256sums=( ccd7c436e959bdc9ab4f15801a67c695b382565b31d8c352254362e67412afcb 686770fe4e8d6bb0ba497ad2e1f217d17515f2544d80abe76496c63ead2bfaa4 546a388d0595404a59c71c3eaeba331031032a75f96c57e9a860f27bbd7ebfcc - 4ce5ebcff0dd148e2b78efa8a113763eb72d23a963159da3f2e336c2f065c52b + f60d92d855530fd3f80138eb888a5b4205f6f444e5c41f2c30d9637b6b39c2a7 f36110dce2dce4d6e275410de820f314b72a02dbad08f637c64b0da769c0c8f4 ) +patches=( + font-width-fix.patch + line-spacing-fix.patch + urxvt-sgr.patch + terminfo-truecolor.patch +) prepare() { cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co ${_pkgname} cd ${_pkgname} - patch -p0 -i ../font-width-fix.patch - patch -p0 -i ../line-spacing-fix.patch - patch -p0 -i ../urxvt-sgr.patch - patch -p0 -i ../terminfo-truecolor.patch + for patch in ${patches[@]}; do + patch -p0 -i ../$patch + done } build() { diff --git a/rxvt-unicode-cvs/terminfo-truecolor.patch b/rxvt-unicode-cvs/terminfo-truecolor.patch index adcc5f4..7eb3ae3 100644 --- a/rxvt-unicode-cvs/terminfo-truecolor.patch +++ b/rxvt-unicode-cvs/terminfo-truecolor.patch @@ -9,7 +9,7 @@ diff -u -r1.35 rxvt-unicode.terminfo tsl=\E]2;, fsl=\007, dsl=\E]2;\007, -+ Tc, ++ RGB, rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System), colors#256,