On Sun, Jan 24, 2021 at 09:17:22AM +0100, Florian Viehweger wrote:
> Hi,
> 
> this updates graphics/chafa to 1.6.0
> 
> * Added support for fullwidth symbols that take up two character
>   cells. These are common in East Asian scripts. Single-cell and
>   double-cell symbols can be mixed, and -f symbols mode will use both
>   if possible.
> 
> * New symbol tags: Alpha, digit, alnum, narrow, wide, ambiguous, ugly,
>   bad. "Ambiguous" symbols have uncertain widths and may render poorly
>   in some terminals. "Ugly" denotes symbols that are unsuitable for
>   Chafa's cell-based graphics (multicolor emoji, ideographic
>   descriptors, etc). "Bad" is a superset of these two categories. Bad
>   symbols are always excluded unless explicitly enabled with e.g.
>   CHAFA_SYMBOL_TAG_BAD (--symbols +bad in the frontend).
> 
> * The font loader (--glyph-file option) now does a better job with
>   proportional fonts.
> 
> * Added options for controlling lossless optimization of output.
>   Currently, attribute reuse and character repetition (REP sequence)
>   are implemented.
> 
> * Added -O option to the frontend. This controls the optimization level.
> 
> * Added a simple abstraction layer for terminal control sequences
>   (ChafaTermInfo and ChafaTermDb). This allows for improved terminal
>   support.
> 
> * FbTerm is now supported with TERM=fbterm in the environment.
> 
> * Bug fixes:
>   github#43  Fix signal handler (reported by Markus Elfring).
>   [unfiled]  Crash when invalid font paths were passed on command line.
>   [unfiled]  Small typo in fontgen's README (Tim Gates).
>   [unfiled]  Bad contrast adjustment in images with transparency.
> 
> 
> 'make test' passes, as well as 'portcheck -N'. No issues found on amd64
> and i386.
> 
> Feedback welcome.

The diff in distinfo is mangled.

> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/chafa/Makefile,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 Makefile
> --- Makefile  24 Sep 2020 20:05:22 -0000      1.2
> +++ Makefile  23 Jan 2021 15:36:15 -0000
> @@ -1,9 +1,9 @@
>  # $OpenBSD: Makefile,v 1.2 2020/09/24 20:05:22 danj Exp $
>  
>  COMMENT =            character art facsimile generator
> -DISTNAME =           chafa-1.4.1
> +DISTNAME =           chafa-1.6.0
>  
> -SHARED_LIBS +=       chafa                     0.0 # 4.0
> +SHARED_LIBS +=       chafa                     0.0 # 5.0

Did you compare old and new ABI? There are huge changes and this
requires a bump in the major, which you can also see they did. At a
minimum, run /usr/src/lib/check_sym. For further information, please
read https://www.openbsd.org/faq/ports/specialtopics.html.

>  
>  CATEGORIES =         graphics
>  
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/chafa/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 distinfo
> --- distinfo  22 Sep 2020 22:08:23 -0000      1.1.1.1
> +++ distinfo  23 Jan 2021 15:36:15 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (chafa-1.4.1.tar.xz) =
> RtNANPTJbRIOBjn4eiZZBCfMKelf5UiekDpI7JZAK6M= -SIZE (chafa-1.4.1.tar.xz)
> = 389428 +SHA256 (chafa-1.6.0.tar.xz) =
> BwbhAabg6AYzWutXRF4va+/+C+Kadh9WGXnoFpHCxoE= +SIZE (chafa-1.6.0.tar.xz)
> = 417888 Index: pkg/PLIST

See above for the mangling. Compare with diff below. Easily fixed, but
all diffs should apply cleanly. If in doubt, email yourself your diff
first, then try to apply it again. Not sure what happened, since the
rest of it is fine! I'd suggest to look and see if the diff was mangled
before sending. Weird that only this section would be affected. Stranger
things have happened! LOL

> ===================================================================
> RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 22 Sep 2020 22:08:23 -0000      1.1.1.1
> +++ pkg/PLIST 23 Jan 2021 15:36:15 -0000
> @@ -6,6 +6,9 @@ include/chafa/chafa-canvas.h
>  include/chafa/chafa-common.h
>  include/chafa/chafa-features.h
>  include/chafa/chafa-symbol-map.h
> +include/chafa/chafa-term-db.h
> +include/chafa/chafa-term-info.h
> +include/chafa/chafa-term-seq-def.h
>  include/chafa/chafa-util.h
>  include/chafa/chafa-version-macros.h
>  include/chafa/chafa.h
> @@ -24,6 +27,8 @@ share/gtk-doc/html/chafa/ch02.html
>  share/gtk-doc/html/chafa/chafa-ChafaCanvas.html
>  share/gtk-doc/html/chafa/chafa-ChafaCanvasConfig.html
>  share/gtk-doc/html/chafa/chafa-ChafaSymbolMap.html
> +share/gtk-doc/html/chafa/chafa-ChafaTermDb.html
> +share/gtk-doc/html/chafa/chafa-ChafaTermInfo.html
>  share/gtk-doc/html/chafa/chafa-Features.html
>  share/gtk-doc/html/chafa/chafa-Miscellaneous.html
>  share/gtk-doc/html/chafa/chafa-building.html
> 
> 
> -- 
> greetings,
> 
> Florian Viehweger

Below is a fixed diff, which I'll commit later today.

Thanks.

-- 

Tracey Emery

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/chafa/Makefile,v
retrieving revision 1.2
diff -u -p -u -r1.2 Makefile
--- Makefile    24 Sep 2020 20:05:22 -0000      1.2
+++ Makefile    10 Feb 2021 14:56:41 -0000
@@ -1,9 +1,9 @@
 # $OpenBSD: Makefile,v 1.2 2020/09/24 20:05:22 danj Exp $
 
 COMMENT =              character art facsimile generator
-DISTNAME =             chafa-1.4.1
+DISTNAME =             chafa-1.6.0
 
-SHARED_LIBS +=         chafa                     0.0 # 4.0
+SHARED_LIBS +=         chafa                     1.0 # 5.0
 
 CATEGORIES =           graphics
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/chafa/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo    22 Sep 2020 22:08:23 -0000      1.1.1.1
+++ distinfo    10 Feb 2021 14:56:41 -0000
@@ -1,2 +1,2 @@
-SHA256 (chafa-1.4.1.tar.xz) = RtNANPTJbRIOBjn4eiZZBCfMKelf5UiekDpI7JZAK6M=
-SIZE (chafa-1.4.1.tar.xz) = 389428
+SHA256 (chafa-1.6.0.tar.xz) = BwbhAabg6AYzWutXRF4va+/+C+Kadh9WGXnoFpHCxoE=
+SIZE (chafa-1.6.0.tar.xz) = 417888
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   22 Sep 2020 22:08:23 -0000      1.1.1.1
+++ pkg/PLIST   10 Feb 2021 14:56:41 -0000
@@ -6,6 +6,9 @@ include/chafa/chafa-canvas.h
 include/chafa/chafa-common.h
 include/chafa/chafa-features.h
 include/chafa/chafa-symbol-map.h
+include/chafa/chafa-term-db.h
+include/chafa/chafa-term-info.h
+include/chafa/chafa-term-seq-def.h
 include/chafa/chafa-util.h
 include/chafa/chafa-version-macros.h
 include/chafa/chafa.h
@@ -24,6 +27,8 @@ share/gtk-doc/html/chafa/ch02.html
 share/gtk-doc/html/chafa/chafa-ChafaCanvas.html
 share/gtk-doc/html/chafa/chafa-ChafaCanvasConfig.html
 share/gtk-doc/html/chafa/chafa-ChafaSymbolMap.html
+share/gtk-doc/html/chafa/chafa-ChafaTermDb.html
+share/gtk-doc/html/chafa/chafa-ChafaTermInfo.html
 share/gtk-doc/html/chafa/chafa-Features.html
 share/gtk-doc/html/chafa/chafa-Miscellaneous.html
 share/gtk-doc/html/chafa/chafa-building.html

Reply via email to