Github messages for voidlinux
 help / color / mirror / Atom feed
From: dotnetfox <dotnetfox@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xst: fix terminfo and xresources
Date: Thu, 17 Dec 2020 17:24:20 +0100	[thread overview]
Message-ID: <20201217162420.cy2GKXRqK_DLhE3Tx5ZZFmsTNyIHnF5fjf7kvVuUuuk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27196@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

There is an updated pull request by dotnetfox against master on the void-packages repository

https://github.com/dotnetfox/void-packages xst
https://github.com/void-linux/void-packages/pull/27196

xst: fix terminfo and xresources
Fixes "unknown capability" during terminfo generation and removes replacing TERM name in xresources since it is unneeded anymore.

A patch file from https://github.com/void-linux/void-packages/pull/27196.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xst-27196.patch --]
[-- Type: text/x-diff, Size: 2739 bytes --]

From 5665479ee24433dbcd2df863a1deae21ec5ed88f Mon Sep 17 00:00:00 2001
From: Ranme Fritzvilliams <me@dotnetfox.tk>
Date: Wed, 16 Dec 2020 13:01:35 +0300
Subject: [PATCH 1/3] xst: fix generation of terminfo files

Allow tic compile with custom-defined variables such as rmxx,
smxx, Tc, Ms, Se, Ss.

This commit fixes "unknown capability" error caused by custom
variables added in the upstream code since the release 0.8.4.
---
 srcpkgs/xst/INSTALL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xst/INSTALL b/srcpkgs/xst/INSTALL
index c73ae7337bb..fcad0563b68 100644
--- a/srcpkgs/xst/INSTALL
+++ b/srcpkgs/xst/INSTALL
@@ -1,5 +1,5 @@
 case "${ACTION}" in
 post)
-	tic -s usr/share/terminfo/x/xst.terminfo
+	tic -sx usr/share/terminfo/x/xst.terminfo
 	;;
 esac

From a47a88cfb5c0072b24553f4e996f69c73c10e064 Mon Sep 17 00:00:00 2001
From: Ranme Fritzvilliams <me@dotnetfox.tk>
Date: Wed, 16 Dec 2020 13:05:41 +0300
Subject: [PATCH 2/3] xst: fix replacing default TERM name in Xresources

Replacing st-256color to xst-256color became unnecessary since it has been fixed in the upstream code.

Leaving it as is will change "xst-256color" to "xxst-256color".
---
 srcpkgs/xst/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template
index b3743d1547d..8600c680ae3 100644
--- a/srcpkgs/xst/template
+++ b/srcpkgs/xst/template
@@ -1,7 +1,7 @@
 # Template file for 'xst'
 pkgname=xst
 version=0.8.4.1
-revision=1
+revision=2
 build_style=gnu-makefile
 make_use_env=compliant
 hostmakedepends="pkg-config"
@@ -21,7 +21,6 @@ do_install() {
 	vinstall st.info 644 usr/share/terminfo/x xst.terminfo
 	vdoc README
 	vdoc FAQ
-	vsed -i 's/st-256color/xst-256color/' .Xresources
 	vdoc .Xresources Xresources
 	vlicense LICENSE
 }

From 17966339a75a1f158dc2f5ca7b1cfeacf13c39a5 Mon Sep 17 00:00:00 2001
From: Ranme Fritzvilliams <me@dotnetfox.tk>
Date: Thu, 17 Dec 2020 19:04:25 +0300
Subject: [PATCH 3/3] Revert "xst: fix replacing default TERM name in
 Xresources"

This reverts commit a47a88cfb5c0072b24553f4e996f69c73c10e064.
---
 srcpkgs/xst/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template
index 8600c680ae3..b3743d1547d 100644
--- a/srcpkgs/xst/template
+++ b/srcpkgs/xst/template
@@ -1,7 +1,7 @@
 # Template file for 'xst'
 pkgname=xst
 version=0.8.4.1
-revision=2
+revision=1
 build_style=gnu-makefile
 make_use_env=compliant
 hostmakedepends="pkg-config"
@@ -21,6 +21,7 @@ do_install() {
 	vinstall st.info 644 usr/share/terminfo/x xst.terminfo
 	vdoc README
 	vdoc FAQ
+	vsed -i 's/st-256color/xst-256color/' .Xresources
 	vdoc .Xresources Xresources
 	vlicense LICENSE
 }

  parent reply	other threads:[~2020-12-17 16:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 10:39 [PR PATCH] " dotnetfox
2020-12-17 13:57 ` [PR REVIEW] " ericonr
2020-12-17 13:57 ` ericonr
2020-12-17 14:03 ` [PR REVIEW] " Piraty
2020-12-17 14:09 ` ericonr
2020-12-17 16:24 ` dotnetfox [this message]
2020-12-17 16:28 ` ndowens
2020-12-17 16:31 ` [PR PATCH] [Closed]: " dotnetfox
2020-12-17 16:32 ` dotnetfox
2020-12-17 16:38 ` [PR PATCH] [Closed]: " dotnetfox
2020-12-17 16:42 ` dotnetfox
2020-12-17 16:42 ` dotnetfox
2020-12-17 21:36 ` Piraty
2020-12-17 22:48 ` dotnetfox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201217162420.cy2GKXRqK_DLhE3Tx5ZZFmsTNyIHnF5fjf7kvVuUuuk@z \
    --to=dotnetfox@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).