Re: [update] chafa 1.8.0
Hello Omar, thank you for looking at my update and the detailed explanation! An updated diff below. I did some testing on i386, no issues found. > > this is an revised update for chafa I released some time ago. > > > > Changes are listed here[1]. > > > > Some testing done on amd64. No issues found. I'll do some testing > > later on i386. > > > > Tests on big endian architectures welcome. > > > > portcheck, 'make lib-depends-check' and 'make test' are happy. > > > > Comments? > > diff looks fine minor one nit below. I've quickly tested on amd64 and > it works well, thanks! :) > > so a major bump is needed. > > this is just a matter of preference, but since we're updating the > WANTLIB it could have been a chance to just paste the output from > `make port-lib-depends-check' here without the extra indentation; I > think it's easier to manage that way. your call tho :) For the moment I'd like to keep it that way, because it lines up with other parts of the Makefile. Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile10 Mar 2022 12:45:29 - @@ -1,9 +1,7 @@ -# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ - COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 2.0 # 6.0 CATEGORIES = graphics @@ -15,10 +13,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo10 Mar 2022 12:45:29 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 Index: pkg/PLIST === RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v retrieving revision 1.2 diff -u -p -u -p -r1.2 PLIST --- pkg/PLIST 10 Feb 2021 20:18:11 - 1.2 +++ pkg/PLIST 10 Mar 2022 12:45:29 - @@ -1,4 +1,3 @@ -@comment $OpenBSD: PLIST,v 1.2 2021/02/10 20:18:11 tracey Exp $ @bin bin/chafa include/chafa/ include/chafa/chafa-canvas-config.h -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
Hello Florian, Florian Viehweger wrote: > Hi, > > this is an revised update for chafa I released some time ago. > > Changes are listed here[1]. > > Some testing done on amd64. No issues found. I'll do some testing later > on i386. > > Tests on big endian architectures welcome. > > portcheck, 'make lib-depends-check' and 'make test' are happy. > > Comments? diff looks fine minor one nit below. I've quickly tested on amd64 and it works well, thanks! :) > Thanks! > > [1] https://github.com/hpjansson/chafa/blob/master/NEWS > > > Index: Makefile > === > RCS file: /cvs/ports/graphics/chafa/Makefile,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 Makefile > --- Makefile 19 Jun 2021 11:35:54 - 1.4 > +++ Makefile 10 Mar 2022 12:45:29 - > @@ -1,9 +1,7 @@ > -# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ > - > COMMENT =character art facsimile generator > -DISTNAME = chafa-1.6.1 > +DISTNAME = chafa-1.8.0 > > -SHARED_LIBS += chafa 1.0 # 5.0 > +SHARED_LIBS += chafa 1.1 # 1.0 The format usually is SHARED_LIBS += library-name our-version # upstream-version judging by chafa/libchafa.la the upstream soversion is 6.0, so it should read +SHARED_LIBS += chafa 1.1 # 6.0 if we're interested in keeping the information. However, even if check_sym reports only additions, I think we should bump the major in this case. I took a look at the diff between 1.6.1 and 1.8.0 here (I've skipped the internal/ headers) https://github.com/hpjansson/chafa/compare/1.6.1...1.8.0 and in chafa/chafa-term-info.h there was this change: -#define CHAFA_TERM_SEQ_LENGTH_MAX 48 +#define CHAFA_TERM_SEQ_LENGTH_MAX 96 I did a quick grep and it seems that various functions are taking a buffer that must be _at least_ large CHAFA_TERM_SEQ_LENGTH_MAX. For instance: chafa/chafa-term-seq-doc.h: | /** | * chafa_term_info_emit_reset_terminal_soft: | * @term_info: A #ChafaTermInfo | * @dest: String destination | * | * Prints the control sequence for #CHAFA_TERM_SEQ_RESET_TERMINAL_SOFT. | * | * @dest must have enough space to hold | * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is | * shorter. The output will not be zero-terminated. | * | * Returns: Pointer to first byte after emitted string | * | * Since: 1.6 | **/ | gchar *chafa_term_info_emit_reset_terminal_soft (const ChafaTermInfo | *term_info, gchar *dest ); (there are multiple functions like this) so a major bump is needed. > CATEGORIES = graphics > > @@ -15,10 +13,10 @@ MAINTAINER = Florian Viehweger PERMIT_PACKAGE = Yes > > WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xext Xt > -WANTLIB += bz2 c djvulibre expat fftw3 fontconfig freetype glib-2.0 > -WANTLIB += iconv intl jasper jbig jpeg lcms2 lzma m openjp2 pcre > -WANTLIB += png pthread raw_r tiff webp webpdemux webpmux xcb xml2 > -WANTLIB += z zstd > +WANTLIB += aom bz2 c dav1d de265 djvulibre expat fontconfig > +WANTLIB += freetype glib-2.0 heif iconv intl jasper jbig jpeg > +WANTLIB += lcms2 lzma m openjp2 pcre png pthread raw_r tiff webp > +WANTLIB += webpdemux webpmux x265 xcb xml2 z zstd this is just a matter of preference, but since we're updating the WANTLIB it could have been a chance to just paste the output from `make port-lib-depends-check' here without the extra indentation; I think it's easier to manage that way. your call tho :) Cheers Omar Polo
[update] chafa 1.8.0
Hi, this is an revised update for chafa I released some time ago. Changes are listed here[1]. Some testing done on amd64. No issues found. I'll do some testing later on i386. Tests on big endian architectures welcome. portcheck, 'make lib-depends-check' and 'make test' are happy. Comments? Thanks! [1] https://github.com/hpjansson/chafa/blob/master/NEWS Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile10 Mar 2022 12:45:29 - @@ -1,9 +1,7 @@ -# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ - COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 1.1 # 1.0 CATEGORIES = graphics @@ -15,10 +13,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo10 Mar 2022 12:45:29 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 Index: pkg/PLIST === RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v retrieving revision 1.2 diff -u -p -u -p -r1.2 PLIST --- pkg/PLIST 10 Feb 2021 20:18:11 - 1.2 +++ pkg/PLIST 10 Mar 2022 12:45:29 - @@ -1,4 +1,3 @@ -@comment $OpenBSD: PLIST,v 1.2 2021/02/10 20:18:11 tracey Exp $ @bin bin/chafa include/chafa/ include/chafa/chafa-canvas-config.h -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
Am Wed, 15 Sep 2021 09:03:12 +0100 schrieb Stuart Henderson : > On 2021/09/14 22:44, Florian Viehweger wrote: > > Hi, > > > > this is an revised update for chafa to 1.8.0. > > > > Changes are listed here[1]. > > > > Port-wise I've bumped SHARED_LIBS and added pkg/README to mention > > ffmpeg for extra format support. This will result in a leaner port > > as submitted before. > > Not sure I understand the readme. The only mention of FFmpeg in the > distribution is this: > > ./TODO: - Using (unreleased) ffmpeg driver: > ./TODO:- ./ffmpeg -i movie.mkv -pix_fmt rgba -f chafa -color 16 > -symbols vhalf,space -fill ascii - > > Looks like it should only be a minor rather than major shared library > bump? Updated diff below. Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile18 Sep 2021 21:36:05 - @@ -1,9 +1,9 @@ # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 1.1 # 1.0 CATEGORIES = graphics @@ -15,10 +15,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo18 Sep 2021 21:36:05 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 Index: pkg/PLIST === RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v retrieving revision 1.2 diff -u -p -u -p -r1.2 PLIST --- pkg/PLIST 10 Feb 2021 20:18:11 - 1.2 +++ pkg/PLIST 18 Sep 2021 21:36:05 - @@ -20,6 +20,7 @@ lib/libchafa.la @lib lib/libchafa.so.${LIBchafa_VERSION} lib/pkgconfig/chafa.pc @man man/man1/chafa.1 +share/doc/pkg-readmes/${PKGSTEM} share/gtk-doc/html/chafa/ share/gtk-doc/html/chafa/api-index-full.html share/gtk-doc/html/chafa/ch01.html Index: pkg/README === RCS file: pkg/README diff -N pkg/README --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/README 18 Sep 2021 21:36:05 - @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ + ++--- +| Running ${PKGSTEM} on OpenBSD ++--- + +video support += +You can install the "ffmpeg" package for video support: + +# pkg_add ffmpeg -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
> > Port-wise I've bumped SHARED_LIBS and added pkg/README to mention > > ffmpeg for extra format support. This will result in a leaner port > > as submitted before. > > Not sure I understand the readme. The only mention of FFmpeg in the > distribution is this: > > ./TODO: - Using (unreleased) ffmpeg driver: > ./TODO:- ./ffmpeg -i movie.mkv -pix_fmt rgba -f chafa -color 16 > -symbols vhalf,space -fill ascii - I did try to play a video file with chafa and got the following error: openbsd-ports$ chafa video.mpg chafa: Error loading 'video.mpg': delegate failed `'ffmpeg' -nostdin -v -1 -i '%i' -vframes %S -vcodec pam -an -f rawvideo -y '%u.pam' 2> '%u'' @ error/delegate.c/InvokeDelegate/1978 After installing FFmpeg I could display the video. If my phrasing is difficult to understand, I will rephrase it. > Looks like it should only be a minor rather than major shared library > bump? I did compare the old and the new library according to the instructions described here.[1] openbsd-ports$ diff chafaold.txt chafanew.txt 14a15 > T chafa_canvas_config_get_fg_only_enabled 33a35 > T chafa_canvas_config_set_fg_only_enabled 43a46,48 > T chafa_canvas_get_char_at > T chafa_canvas_get_colors_at > T chafa_canvas_get_raw_colors_at 48a54,55 > T chafa_canvas_set_char_at > T chafa_canvas_set_colors_at 49a57 > T chafa_canvas_set_raw_colors_at 73a82,84 > T chafa_term_info_emit_begin_iterm2_image > T chafa_term_info_emit_begin_kitty_image_chunk > T chafa_term_info_emit_begin_kitty_immediate_image_v1 98a110,112 > T chafa_term_info_emit_end_iterm2_image > T chafa_term_info_emit_end_kitty_image > T chafa_term_info_emit_end_kitty_image_chunk I was unsure so I bumped major shared library. If this only warrants a minor bump, I will correct that. Thanks! [1] https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
On 2021/09/14 22:44, Florian Viehweger wrote: > Hi, > > this is an revised update for chafa to 1.8.0. > > Changes are listed here[1]. > > Port-wise I've bumped SHARED_LIBS and added pkg/README to mention > ffmpeg for extra format support. This will result in a leaner port as > submitted before. Not sure I understand the readme. The only mention of FFmpeg in the distribution is this: ./TODO: - Using (unreleased) ffmpeg driver: ./TODO:- ./ffmpeg -i movie.mkv -pix_fmt rgba -f chafa -color 16 -symbols vhalf,space -fill ascii - Looks like it should only be a minor rather than major shared library bump? > Some additions to WANTLIB and removed fftw3.7. > > Some testing done on amd64 + i386 via ssh and X11 with xterm and st. > No issues found. > > Tests on big endian architectures welcome. > > portcheck, 'make lib-depends-check' and 'make test' are happy. > > Comments? OK? > > Thanks! > > [1] https://github.com/hpjansson/chafa/blob/master/NEWS > > > Index: Makefile > === > RCS file: /cvs/ports/graphics/chafa/Makefile,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 Makefile > --- Makefile 19 Jun 2021 11:35:54 - 1.4 > +++ Makefile 14 Sep 2021 20:09:06 - > @@ -1,9 +1,9 @@ > # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ > > COMMENT =character art facsimile generator > -DISTNAME = chafa-1.6.1 > +DISTNAME = chafa-1.8.0 > > -SHARED_LIBS += chafa 1.0 # 5.0 > +SHARED_LIBS += chafa 2.0 # 1.0 > > CATEGORIES = graphics > > @@ -15,10 +15,10 @@ MAINTAINER = Florian Viehweger PERMIT_PACKAGE = Yes > > WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xext Xt > -WANTLIB += bz2 c djvulibre expat fftw3 fontconfig freetype glib-2.0 > -WANTLIB += iconv intl jasper jbig jpeg lcms2 lzma m openjp2 pcre > -WANTLIB += png pthread raw_r tiff webp webpdemux webpmux xcb xml2 > -WANTLIB += z zstd > +WANTLIB += aom bz2 c dav1d de265 djvulibre expat fontconfig > +WANTLIB += freetype glib-2.0 heif iconv intl jasper jbig jpeg > +WANTLIB += lcms2 lzma m openjp2 pcre png pthread raw_r tiff webp > +WANTLIB += webpdemux webpmux x265 xcb xml2 z zstd > > MASTER_SITES = https://hpjansson.org/chafa/releases/ > EXTRACT_SUFX = .tar.xz > Index: distinfo > === > RCS file: /cvs/ports/graphics/chafa/distinfo,v > retrieving revision 1.3 > diff -u -p -u -p -r1.3 distinfo > --- distinfo 19 Jun 2021 11:35:54 - 1.3 > +++ distinfo 14 Sep 2021 20:09:06 - > @@ -1,2 +1,2 @@ > -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= > -SIZE (chafa-1.6.1.tar.xz) = 418720 > +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= > +SIZE (chafa-1.8.0.tar.xz) = 435712 > Index: pkg/PLIST > === > RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v > retrieving revision 1.2 > diff -u -p -u -p -r1.2 PLIST > --- pkg/PLIST 10 Feb 2021 20:18:11 - 1.2 > +++ pkg/PLIST 14 Sep 2021 20:09:06 - > @@ -20,6 +20,7 @@ lib/libchafa.la > @lib lib/libchafa.so.${LIBchafa_VERSION} > lib/pkgconfig/chafa.pc > @man man/man1/chafa.1 > +share/doc/pkg-readmes/${PKGSTEM} > share/gtk-doc/html/chafa/ > share/gtk-doc/html/chafa/api-index-full.html > share/gtk-doc/html/chafa/ch01.html > Index: pkg/README > === > RCS file: pkg/README > diff -N pkg/README > --- /dev/null 1 Jan 1970 00:00:00 - > +++ pkg/README14 Sep 2021 20:09:06 - > @@ -0,0 +1,9 @@ > +# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ > + > ++--- > +| Running ${PKGSTEM} on OpenBSD > ++--- > + > +For broader format support, install the "ffmpeg" package: > + > +# pkg_add ffmpeg > > > -- > greetings, > > Florian Viehweger >
Re: [update] chafa 1.8.0
Hi, this is an revised update for chafa to 1.8.0. Changes are listed here[1]. Port-wise I've bumped SHARED_LIBS and added pkg/README to mention ffmpeg for extra format support. This will result in a leaner port as submitted before. Some additions to WANTLIB and removed fftw3.7. Some testing done on amd64 + i386 via ssh and X11 with xterm and st. No issues found. Tests on big endian architectures welcome. portcheck, 'make lib-depends-check' and 'make test' are happy. Comments? OK? Thanks! [1] https://github.com/hpjansson/chafa/blob/master/NEWS Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile14 Sep 2021 20:09:06 - @@ -1,9 +1,9 @@ # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 2.0 # 1.0 CATEGORIES = graphics @@ -15,10 +15,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo14 Sep 2021 20:09:06 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 Index: pkg/PLIST === RCS file: /cvs/ports/graphics/chafa/pkg/PLIST,v retrieving revision 1.2 diff -u -p -u -p -r1.2 PLIST --- pkg/PLIST 10 Feb 2021 20:18:11 - 1.2 +++ pkg/PLIST 14 Sep 2021 20:09:06 - @@ -20,6 +20,7 @@ lib/libchafa.la @lib lib/libchafa.so.${LIBchafa_VERSION} lib/pkgconfig/chafa.pc @man man/man1/chafa.1 +share/doc/pkg-readmes/${PKGSTEM} share/gtk-doc/html/chafa/ share/gtk-doc/html/chafa/api-index-full.html share/gtk-doc/html/chafa/ch01.html Index: pkg/README === RCS file: pkg/README diff -N pkg/README --- /dev/null 1 Jan 1970 00:00:00 - +++ pkg/README 14 Sep 2021 20:09:06 - @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ + ++--- +| Running ${PKGSTEM} on OpenBSD ++--- + +For broader format support, install the "ffmpeg" package: + +# pkg_add ffmpeg -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
Am Fri, 10 Sep 2021 00:14:41 +0200 schrieb Florian Viehweger : > > this updates chafa to 1.8.0. > > Unmangled diff below, sorry. Some additional testing done on i386 via ssh and X11 with xterm and st. Again, no issues found. portcheck, 'make lib-depends-check' and 'make test' are happy. Comments? OK? Thanks! -- greetings, Florian Viehweger
Re: [update] chafa 1.8.0
diff is word-wrapped On 2021/09/10 00:11, Florian Viehweger wrote: > Hi, > > this updates chafa to 1.8.0. > > Changes are listed here[1]. > > Port-wise I've bumped SHARED_LIBS and additionally added > graphics/ffmpeg to RUN_DEPENDS for extra format support. > > Some additions to WANTLIB and removed fftw3.7. > > Some testing done on amd64 via ssh and X11 with xterm and st. No issues > found. > > Tests on big endian architectures welcome. > > portcheck, 'make lib-depends-check' and 'make test' are happy. > > Comments? OK? > > Thanks! > > [1] https://github.com/hpjansson/chafa/blob/master/NEWS > > > Index: Makefile > === > RCS file: /cvs/ports/graphics/chafa/Makefile,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 Makefile > --- Makefile 19 Jun 2021 11:35:54 - 1.4 > +++ Makefile 9 Sep 2021 21:32:20 - > @@ -1,9 +1,9 @@ > # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ > > COMMENT =character art facsimile generator > -DISTNAME = chafa-1.6.1 > +DISTNAME = chafa-1.8.0 > > -SHARED_LIBS += chafa 1.0 # 5.0 > +SHARED_LIBS += chafa 2.0 # 1.0 > > CATEGORIES = graphics > > @@ -15,10 +15,10 @@ MAINTAINER = Florian Viehweger > > WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM > X11 Xext Xt -WANTLIB += bz2 c djvulibre expat fftw3 > fontconfig freetype glib-2.0 -WANTLIB += iconv intl > jasper jbig jpeg lcms2 lzma m openjp2 pcre -WANTLIB += > png pthread raw_r tiff webp webpdemux webpmux xcb xml2 -WANTLIB += > z zstd +WANTLIB += aom bz2 c dav1d > de265 djvulibre expat fontconfig +WANTLIB += freetype > glib-2.0 heif iconv intl jasper jbig jpeg +WANTLIB += > lcms2 lzma m openjp2 pcre png pthread raw_r tiff webp +WANTLIB += > webpdemux webpmux x265 xcb xml2 z zstd > MASTER_SITES = https://hpjansson.org/chafa/releases/ > EXTRACT_SUFX = .tar.xz > @@ -27,6 +27,8 @@ COMPILER = base-clang ports-gcc > > LIB_DEPENDS =devel/glib2 \ > graphics/ImageMagick > + > +RUN_DEPENDS =graphics/ffmpeg > > CONFIGURE_STYLE =gnu > > Index: distinfo > === > RCS file: /cvs/ports/graphics/chafa/distinfo,v > retrieving revision 1.3 > diff -u -p -u -p -r1.3 distinfo > --- distinfo 19 Jun 2021 11:35:54 - 1.3 > +++ distinfo 9 Sep 2021 21:32:20 - > @@ -1,2 +1,2 @@ > -SHA256 (chafa-1.6.1.tar.xz) = > dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) > = 418720 +SHA256 (chafa-1.8.0.tar.xz) = > If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) > = 435712 > > > -- > greetings, > > Florian Viehweger >
Re: [update] chafa 1.8.0
> this updates chafa to 1.8.0. Unmangled diff below, sorry. Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile9 Sep 2021 21:32:20 - @@ -1,9 +1,9 @@ # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 2.0 # 1.0 CATEGORIES = graphics @@ -15,10 +15,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz @@ -27,6 +27,8 @@ COMPILER =base-clang ports-gcc LIB_DEPENDS = devel/glib2 \ graphics/ImageMagick + +RUN_DEPENDS = graphics/ffmpeg CONFIGURE_STYLE = gnu Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo9 Sep 2021 21:32:20 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 -- greetings, Florian Viehweger
[update] chafa 1.8.0
Hi, this updates chafa to 1.8.0. Changes are listed here[1]. Port-wise I've bumped SHARED_LIBS and additionally added graphics/ffmpeg to RUN_DEPENDS for extra format support. Some additions to WANTLIB and removed fftw3.7. Some testing done on amd64 via ssh and X11 with xterm and st. No issues found. Tests on big endian architectures welcome. portcheck, 'make lib-depends-check' and 'make test' are happy. Comments? OK? Thanks! [1] https://github.com/hpjansson/chafa/blob/master/NEWS Index: Makefile === RCS file: /cvs/ports/graphics/chafa/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile19 Jun 2021 11:35:54 - 1.4 +++ Makefile9 Sep 2021 21:32:20 - @@ -1,9 +1,9 @@ # $OpenBSD: Makefile,v 1.4 2021/06/19 11:35:54 sthen Exp $ COMMENT = character art facsimile generator -DISTNAME = chafa-1.6.1 +DISTNAME = chafa-1.8.0 -SHARED_LIBS += chafa 1.0 # 5.0 +SHARED_LIBS += chafa 2.0 # 1.0 CATEGORIES = graphics @@ -15,10 +15,10 @@ MAINTAINER =Florian Viehweger https://hpjansson.org/chafa/releases/ EXTRACT_SUFX = .tar.xz @@ -27,6 +27,8 @@ COMPILER =base-clang ports-gcc LIB_DEPENDS = devel/glib2 \ graphics/ImageMagick + +RUN_DEPENDS = graphics/ffmpeg CONFIGURE_STYLE = gnu Index: distinfo === RCS file: /cvs/ports/graphics/chafa/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo19 Jun 2021 11:35:54 - 1.3 +++ distinfo9 Sep 2021 21:32:20 - @@ -1,2 +1,2 @@ -SHA256 (chafa-1.6.1.tar.xz) = dsmJMOmbPl+tuYYUi5nWVjbp6WGRJOVo/xPTZO3on6U= -SIZE (chafa-1.6.1.tar.xz) = 418720 +SHA256 (chafa-1.8.0.tar.xz) = If9lLYNrogcJjEDEWWUrLx3myKZPv/xi58YxnO0yKGs= +SIZE (chafa-1.8.0.tar.xz) = 435712 -- greetings, Florian Viehweger