Re: [UPDATE] x11/st to 0.8.4

2020-06-29 Thread Hiltjo Posthuma
On Mon, Jun 29, 2020 at 11:40:17AM +0100, Ricardo Mestre wrote:
> Hi,
> 
> The updates since last version are as follows and tested successfully on 
> amd64.
> 
> Comments? OK?
> 
> - config.mk: use PKG_CONFIG in commented OpenBSD section
> - LICENSE: bump years
> - remove sixel stub code
> - fix unicode glitch in DCS strings, patch by Tim Allen
> - FAQ: fix single-buffer patch
> - config.def.h: add an option allowwindowops, by default off (secure)
> - FAQ: add some details about the w3m img hack
> - tiny style fix
> - Partially add back in "support REP (repeat) escape sequence"
> - Call xsetcursor to set win.cursor in main
> - Revert "support REP (repeat) escape sequence"
> - support REP (repeat) escape sequence
> - Add rin terminfo capability
> - Make shift+wheel behaves as shift+Prev/Next
> - Fix selection: selscroll
> - Fix selection: ignore ATTR_WRAP when rectangular selection in getsel
> - Fix selection: selclear in tputc
> - code-style: add fallthrough comment
> - optimize column width calculation and utf-8 encode for ASCII
> - fix for incorrect (partial) written sequences when libc wcwidth() == -1
> - tiny code-style and typo-fix in comment
> - auto-sync: draw on idle to avoid flicker/tearing
> - replace exit(3) by _exit(2) in signal handler sigchld()
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/st/Makefile,v
> retrieving revision 1.21
> diff -u -p -u -r1.21 Makefile
> --- Makefile  23 May 2020 19:32:37 -  1.21
> +++ Makefile  29 Jun 2020 10:25:25 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= simple X terminal
>  
> -V=   0.8.3
> +V=   0.8.4
>  DISTNAME=st-${V}
>  
>  CATEGORIES=  x11
> Index: distinfo
> ===
> RCS file: /cvs/ports/x11/st/distinfo,v
> retrieving revision 1.13
> diff -u -p -u -r1.13 distinfo
> --- distinfo  23 May 2020 19:32:37 -  1.13
> +++ distinfo  29 Jun 2020 10:25:25 -
> @@ -1,2 +1,2 @@
> -SHA256 (st-0.8.3.tar.gz) = k5rj2iN+fJSJaUhTwgXHy9XyovDBf+QaB0d/HfjihVI=
> -SIZE (st-0.8.3.tar.gz) = 46292
> +SHA256 (st-0.8.4.tar.gz) = 1C087OtNamXjLpClM249RG22EsP72evBeAvGyaAzRqY=
> +SIZE (st-0.8.4.tar.gz) = 47330
> Index: patches/patch-config_def_h
> ===
> RCS file: /cvs/ports/x11/st/patches/patch-config_def_h,v
> retrieving revision 1.12
> diff -u -p -u -r1.12 patch-config_def_h
> --- patches/patch-config_def_h23 May 2020 19:32:37 -  1.12
> +++ patches/patch-config_def_h29 Jun 2020 10:25:25 -
> @@ -2,7 +2,7 @@ $OpenBSD: patch-config_def_h,v 1.12 2020
>  Index: config.def.h
>  --- config.def.h.orig
>  +++ config.def.h
> -@@ -94,7 +94,7 @@ static const char *colorname[] = {
> +@@ -103,7 +103,7 @@ static const char *colorname[] = {
>   "blue2",
>   "magenta3",
>   "cyan3",
> Index: patches/patch-config_mk
> ===
> RCS file: /cvs/ports/x11/st/patches/patch-config_mk,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 patch-config_mk
> --- patches/patch-config_mk   10 Feb 2019 21:55:24 -  1.11
> +++ patches/patch-config_mk   29 Jun 2020 10:25:25 -
> @@ -8,12 +8,12 @@ Index: config.mk
>   # OpenBSD:
>  -#CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
>  -#LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
> --#   `pkg-config --libs fontconfig` \
> --#   `pkg-config --libs freetype2`
> +-#   `$(PKG_CONFIG) --libs fontconfig` \
> +-#   `$(PKG_CONFIG) --libs freetype2`
>  +CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
>  +LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
> -+   `pkg-config --libs fontconfig` \
> -+   `pkg-config --libs freetype2`
> ++   `$(PKG_CONFIG) --libs fontconfig` \
> ++   `$(PKG_CONFIG) --libs freetype2`
>   
>   # compiler and linker
>   # CC = c99
> 

Thanks for the port update, it looks good to me.

A bit more structured changelog is described here:

https://lists.suckless.org/news/2006/0031.html

-- 
Kind regards,
Hiltjo



[UPDATE] x11/st to 0.8.4

2020-06-29 Thread Ricardo Mestre
Hi,

The updates since last version are as follows and tested successfully on amd64.

Comments? OK?

- config.mk: use PKG_CONFIG in commented OpenBSD section
- LICENSE: bump years
- remove sixel stub code
- fix unicode glitch in DCS strings, patch by Tim Allen
- FAQ: fix single-buffer patch
- config.def.h: add an option allowwindowops, by default off (secure)
- FAQ: add some details about the w3m img hack
- tiny style fix
- Partially add back in "support REP (repeat) escape sequence"
- Call xsetcursor to set win.cursor in main
- Revert "support REP (repeat) escape sequence"
- support REP (repeat) escape sequence
- Add rin terminfo capability
- Make shift+wheel behaves as shift+Prev/Next
- Fix selection: selscroll
- Fix selection: ignore ATTR_WRAP when rectangular selection in getsel
- Fix selection: selclear in tputc
- code-style: add fallthrough comment
- optimize column width calculation and utf-8 encode for ASCII
- fix for incorrect (partial) written sequences when libc wcwidth() == -1
- tiny code-style and typo-fix in comment
- auto-sync: draw on idle to avoid flicker/tearing
- replace exit(3) by _exit(2) in signal handler sigchld()

Index: Makefile
===
RCS file: /cvs/ports/x11/st/Makefile,v
retrieving revision 1.21
diff -u -p -u -r1.21 Makefile
--- Makefile23 May 2020 19:32:37 -  1.21
+++ Makefile29 Jun 2020 10:25:25 -
@@ -2,7 +2,7 @@
 
 COMMENT=   simple X terminal
 
-V= 0.8.3
+V= 0.8.4
 DISTNAME=  st-${V}
 
 CATEGORIES=x11
Index: distinfo
===
RCS file: /cvs/ports/x11/st/distinfo,v
retrieving revision 1.13
diff -u -p -u -r1.13 distinfo
--- distinfo23 May 2020 19:32:37 -  1.13
+++ distinfo29 Jun 2020 10:25:25 -
@@ -1,2 +1,2 @@
-SHA256 (st-0.8.3.tar.gz) = k5rj2iN+fJSJaUhTwgXHy9XyovDBf+QaB0d/HfjihVI=
-SIZE (st-0.8.3.tar.gz) = 46292
+SHA256 (st-0.8.4.tar.gz) = 1C087OtNamXjLpClM249RG22EsP72evBeAvGyaAzRqY=
+SIZE (st-0.8.4.tar.gz) = 47330
Index: patches/patch-config_def_h
===
RCS file: /cvs/ports/x11/st/patches/patch-config_def_h,v
retrieving revision 1.12
diff -u -p -u -r1.12 patch-config_def_h
--- patches/patch-config_def_h  23 May 2020 19:32:37 -  1.12
+++ patches/patch-config_def_h  29 Jun 2020 10:25:25 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-config_def_h,v 1.12 2020
 Index: config.def.h
 --- config.def.h.orig
 +++ config.def.h
-@@ -94,7 +94,7 @@ static const char *colorname[] = {
+@@ -103,7 +103,7 @@ static const char *colorname[] = {
"blue2",
"magenta3",
"cyan3",
Index: patches/patch-config_mk
===
RCS file: /cvs/ports/x11/st/patches/patch-config_mk,v
retrieving revision 1.11
diff -u -p -u -r1.11 patch-config_mk
--- patches/patch-config_mk 10 Feb 2019 21:55:24 -  1.11
+++ patches/patch-config_mk 29 Jun 2020 10:25:25 -
@@ -8,12 +8,12 @@ Index: config.mk
  # OpenBSD:
 -#CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 -#LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
--#   `pkg-config --libs fontconfig` \
--#   `pkg-config --libs freetype2`
+-#   `$(PKG_CONFIG) --libs fontconfig` \
+-#   `$(PKG_CONFIG) --libs freetype2`
 +CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 +LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
-+   `pkg-config --libs fontconfig` \
-+   `pkg-config --libs freetype2`
++   `$(PKG_CONFIG) --libs fontconfig` \
++   `$(PKG_CONFIG) --libs freetype2`
  
  # compiler and linker
  # CC = c99