Re: UPDATE: libass 0.17.1

2023-04-09 Thread Rafael Sadowski
On Sat Apr 08, 2023 at 06:24:55AM -0400, Brad Smith wrote:
> Here is an update to libass 0.17.1.
> 

Committed, thanks!

> 
> libass (0.17.1)
>  * Fix buffer overread if soft-wrapping occurred and
>ASS_FEATURE_WHOLE_TEXT_LAYOUT was enabled via API or due to Encoding -1
>(bug introduced in 0.16.0)
>  * x86: detect GNU Hurd and configure NASM appropriately
> 
> libass (0.17.0)
>  * Fix various parts relating to automatic linebreaking
>  * Fix rendering when hinting was enabled and fontsizes or scales are zero
>  * Switch build to a non-recursive setup for improved parallelism
>  * Improve quality of SSA Effects movement
>  * Further documentation improvements
>  * Completely invalid Events are now discarded during parsing
> 
>  * Introduction of LayoutRes{X,Y} script headers
>  * New AlphaLevel style override to set all alpha values while keeping the 
> color
>  * Add ASS_FEATURE_WRAP_UNICODE to allow automatic linebreaks in accordance
>with the Unicode line breaking algorithm instead of ASS' much stricter
>breaking rules. For the feature to be available at runtime, libass must be
>linked against the new optional dependency libunibreak.
> 
>  * Improve VSFilter compatibility:
>* Fix premature truncation of animated alphas (was a 0.15.0 regression)
>* Fix handling of small delay parameters for legacy SSA Effects
>* Fix x-scaling with PlayResX
>* Fix x-scaling for anamorphic video
>  (except for \be whose scaling remains buggy in general)
>* Support SSA's AlphaLevel style field
>* Support the \kt override tag from VSFilter's v4++ set
>* Parse ScriptType headers
>* Parse integer header, style and event field values like VSFilter
>* Ignore trailing whitespace in an event's text
> 
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/multimedia/libass/Makefile,v
> retrieving revision 1.30
> diff -u -p -u -p -r1.30 Makefile
> --- Makefile  5 Nov 2022 17:06:29 -   1.30
> +++ Makefile  6 Apr 2023 08:10:29 -
> @@ -1,11 +1,10 @@
>  COMMENT= portable ASS/SSA subtitle renderer
>  
> -VER= 0.16.0
> +VER= 0.17.1
>  DISTNAME=libass-${VER}
>  CATEGORIES=  multimedia devel
>  MASTER_SITES=
> https://github.com/libass/libass/releases/download/${VER}/
>  EXTRACT_SUFX=.tar.xz
> -REVISION=0
>  
>  SHARED_LIBS= ass 3.1
>  
> @@ -16,8 +15,8 @@ MAINTAINER= Brad Smith   # ISC
>  PERMIT_PACKAGE=  Yes
>  
> -WANTLIB= ${COMPILER_LIBCXX} expat fontconfig freetype fribidi \
> - glib-2.0 graphite2 harfbuzz iconv intl m pcre2-8 z
> +WANTLIB= ${COMPILER_LIBCXX} expat fontconfig freetype fribidi glib-2.0 \
> + graphite2 harfbuzz iconv intl m pcre2-8 unibreak z
>  
>  COMPILER=base-clang ports-gcc
>  COMPILER_LANGS=  c
> @@ -28,11 +27,12 @@ BUILD_DEPENDS+=   devel/nasm
>  
>  LIB_DEPENDS= converters/libiconv \
>   devel/fribidi \
> - devel/harfbuzz
> + devel/harfbuzz \
> + textproc/libunibreak
>  
>  CONFIGURE_STYLE= gnu
>  CONFIGURE_ENV=   CPPFLAGS="-I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib" \
> - ASFLAGS="-DPIC=1 "
> + ASFLAGS="-DPIC"
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/multimedia/libass/distinfo,v
> retrieving revision 1.20
> diff -u -p -u -p -r1.20 distinfo
> --- distinfo  6 Jun 2022 23:38:49 -   1.20
> +++ distinfo  6 Apr 2023 08:10:31 -
> @@ -1,2 +1,2 @@
> -SHA256 (libass-0.16.0.tar.xz) = Xb3p4iM5EZz47tWe6mxiOgdG71qQtonmigkBCQeOPAg=
> -SIZE (libass-0.16.0.tar.xz) = 396304
> +SHA256 (libass-0.17.1.tar.xz) = 8NoLv7pHbBauPhz9hiJW0wkVkR96uqGxbOYu5lMZJ4Q=
> +SIZE (libass-0.17.1.tar.xz) = 403160
> 



UPDATE: libass 0.17.1

2023-04-08 Thread Brad Smith
Here is an update to libass 0.17.1.


libass (0.17.1)
 * Fix buffer overread if soft-wrapping occurred and
   ASS_FEATURE_WHOLE_TEXT_LAYOUT was enabled via API or due to Encoding -1
   (bug introduced in 0.16.0)
 * x86: detect GNU Hurd and configure NASM appropriately

libass (0.17.0)
 * Fix various parts relating to automatic linebreaking
 * Fix rendering when hinting was enabled and fontsizes or scales are zero
 * Switch build to a non-recursive setup for improved parallelism
 * Improve quality of SSA Effects movement
 * Further documentation improvements
 * Completely invalid Events are now discarded during parsing

 * Introduction of LayoutRes{X,Y} script headers
 * New AlphaLevel style override to set all alpha values while keeping the color
 * Add ASS_FEATURE_WRAP_UNICODE to allow automatic linebreaks in accordance
   with the Unicode line breaking algorithm instead of ASS' much stricter
   breaking rules. For the feature to be available at runtime, libass must be
   linked against the new optional dependency libunibreak.

 * Improve VSFilter compatibility:
   * Fix premature truncation of animated alphas (was a 0.15.0 regression)
   * Fix handling of small delay parameters for legacy SSA Effects
   * Fix x-scaling with PlayResX
   * Fix x-scaling for anamorphic video
 (except for \be whose scaling remains buggy in general)
   * Support SSA's AlphaLevel style field
   * Support the \kt override tag from VSFilter's v4++ set
   * Parse ScriptType headers
   * Parse integer header, style and event field values like VSFilter
   * Ignore trailing whitespace in an event's text


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libass/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- Makefile5 Nov 2022 17:06:29 -   1.30
+++ Makefile6 Apr 2023 08:10:29 -
@@ -1,11 +1,10 @@
 COMMENT=   portable ASS/SSA subtitle renderer
 
-VER=   0.16.0
+VER=   0.17.1
 DISTNAME=  libass-${VER}
 CATEGORIES=multimedia devel
 MASTER_SITES=  https://github.com/libass/libass/releases/download/${VER}/
 EXTRACT_SUFX=  .tar.xz
-REVISION=  0
 
 SHARED_LIBS=   ass 3.1
 
@@ -16,8 +15,8 @@ MAINTAINER=   Brad Smith 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libass/distinfo,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 distinfo
--- distinfo6 Jun 2022 23:38:49 -   1.20
+++ distinfo6 Apr 2023 08:10:31 -
@@ -1,2 +1,2 @@
-SHA256 (libass-0.16.0.tar.xz) = Xb3p4iM5EZz47tWe6mxiOgdG71qQtonmigkBCQeOPAg=
-SIZE (libass-0.16.0.tar.xz) = 396304
+SHA256 (libass-0.17.1.tar.xz) = 8NoLv7pHbBauPhz9hiJW0wkVkR96uqGxbOYu5lMZJ4Q=
+SIZE (libass-0.17.1.tar.xz) = 403160