Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xst: update to 0.8.4.1
Date: Sat, 12 Dec 2020 16:25:24 +0100	[thread overview]
Message-ID: <20201212152524.nQhGtXngAFcLgwyHV8RuEeSp-uvCtf-Y4yctSZsJnu8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27094@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages xst-terminal
https://github.com/void-linux/void-packages/pull/27094

xst: update to 0.8.4.1
Closes #27070

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

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

From 1ab463d21b7c019bd3b5d051ad218d15c6f18917 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Tue, 1 Dec 2020 16:56:16 -0600
Subject: [PATCH] xst: update to 0.8.4.1

Closes #27070
---
 srcpkgs/xst/patches/xrdb_cursor.patch | 40 +++++++++++++++++++++++++++
 srcpkgs/xst/template                  |  8 +++---
 2 files changed, 44 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/xst/patches/xrdb_cursor.patch

diff --git a/srcpkgs/xst/patches/xrdb_cursor.patch b/srcpkgs/xst/patches/xrdb_cursor.patch
new file mode 100644
index 00000000000..7a34296365b
--- /dev/null
+++ b/srcpkgs/xst/patches/xrdb_cursor.patch
@@ -0,0 +1,40 @@
+From a0894b52af4ee6cba42e93a2a756a2092ee46e48 Mon Sep 17 00:00:00 2001
+From: Yauhen Kirylau <actionless.loveless@gmail.com>
+Date: Fri, 11 Dec 2020 22:41:07 +0100
+Subject: [PATCH] fix(x: main): do xrdb_load before setting cursor shape (fixes
+ #127) (#129)
+
+* fix(x: main): do xrdb_load before setting cursor shape (fixes #127)
+
+* fix(x: main): do xrdb_load and xsetcursor after parsing cli args
+---
+ x.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git x.c x.c
+index 4dcb168..5367d05 100644
+--- x.c
++++ x.c
+@@ -2111,7 +2111,6 @@ main(int argc, char *argv[])
+ {
+ 	xw.l = xw.t = 0;
+ 	xw.isfixed = False;
+-	xsetcursor(cursorshape);
+ 
+ 	ARGBEGIN {
+ 	case 'a':
+@@ -2167,12 +2166,13 @@ main(int argc, char *argv[])
+ 	if (!opt_title)
+ 		opt_title = (opt_line || !opt_cmd) ? "xst" : opt_cmd[0];
+ 
++	xrdb_load();
++	xsetcursor(cursorshape);
+ 	setlocale(LC_CTYPE, "");
+ 	XSetLocaleModifiers("");
+ 	cols = MAX(cols, 1);
+ 	rows = MAX(rows, 1);
+ 	tnew(cols, rows);
+-	xrdb_load();
+ 	xinit(cols, rows);
+ 	xsetenv();
+ 	selinit();
diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template
index ecb7d2dce1b..b3743d1547d 100644
--- a/srcpkgs/xst/template
+++ b/srcpkgs/xst/template
@@ -1,6 +1,6 @@
 # Template file for 'xst'
 pkgname=xst
-version=0.8.4
+version=0.8.4.1
 revision=1
 build_style=gnu-makefile
 make_use_env=compliant
@@ -10,9 +10,9 @@ depends="ncurses desktop-file-utils"
 short_desc="St fork with support for xresources"
 maintainer="Nathan <ndowens@artixlinux.org>"
 license="MIT"
-homepage="https://github.com/neeasade/xst"
-distfiles="https://github.com/neeasade/xst/archive/v${version}.tar.gz"
-checksum=0fb8dd47b018fe6b46a654b4d6bf69ab0785ae6fbb6a0965e38ad86382fec369
+homepage="https://github.com/gnotclub/xst"
+distfiles="https://github.com/gnotclub/xst/archive/v${version}.tar.gz"
+checksum=cbeb2da6c289415d1168559c6f58b4ce47fd266edefbabc38fd59e8b7c87226d
 
 do_install() {
 	vbin xst

  parent reply	other threads:[~2020-12-12 15:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 20:50 [PR PATCH] " ndowens
2020-12-12  0:24 ` [PR PATCH] [Updated] " ndowens
2020-12-12  0:28 ` ndowens
2020-12-12  4:06 ` vikigenius
2020-12-12 12:13 ` [PR PATCH] [Updated] " ndowens
2020-12-12 13:31 ` paper42
2020-12-12 15:25 ` ndowens [this message]
2020-12-12 15:25 ` ndowens
2020-12-13 19:15 ` vikigenius
2020-12-13 19:23 ` [PR PATCH] [Merged]: " ericonr

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=20201212152524.nQhGtXngAFcLgwyHV8RuEeSp-uvCtf-Y4yctSZsJnu8@z \
    --to=ndowens@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).