Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
Re: UPDATE: x264 20250402
To:
ports@openbsd.org
Date:
Fri, 8 Aug 2025 14:01:40 -0400

Download raw body.

Thread
ping.

On 2025-07-21 10:53 p.m., Brad Smith wrote:
> Here is an update to x264 20250402.
>
> More aarch64 ASM, with initial DotProd and i8mm support.
>
> Tested on aarch64.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/multimedia/x264/Makefile,v
> retrieving revision 1.72
> diff -u -p -u -p -r1.72 Makefile
> --- Makefile	14 Feb 2025 13:55:51 -0000	1.72
> +++ Makefile	22 Jul 2025 02:33:07 -0000
> @@ -1,12 +1,12 @@
>   COMMENT=	free H.264/MPEG-4 AVC encoder
>   
> -DISTNAME=	x264-20241229
> +DISTNAME=	x264-20250402
>   GH_ACCOUNT=	brad0
>   GH_PROJECT=	x264
> -GH_COMMIT=	52f7694ddd35209cb95225e7acce91d8a30cb57d
> +GH_COMMIT=	b35605ace3ddf7c1a5d67a2eb553f034aef41d55
>   CATEGORIES=	multimedia
>   
> -SHARED_LIBS=	x264	25.0
> +SHARED_LIBS=	x264	26.0
>   
>   HOMEPAGE=	https://www.videolan.org/developers/x264.html
>   
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/multimedia/x264/distinfo,v
> retrieving revision 1.29
> diff -u -p -u -p -r1.29 distinfo
> --- distinfo	14 Feb 2025 13:55:51 -0000	1.29
> +++ distinfo	22 Jul 2025 02:33:07 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (x264-20241229-52f7694d.tar.gz) = Xx1SDPkxyD6xpnq9jBtStTIkpUyxsBGXiCpwY8T1wVA=
> -SIZE (x264-20241229-52f7694d.tar.gz) = 1036250
> +SHA256 (x264-20250402-b35605ac.tar.gz) = zXGnUVsOmgEuGsmx+EFb68r2/JfU2zIoZkKsTA++JPk=
> +SIZE (x264-20250402-b35605ac.tar.gz) = 1040327
> Index: patches/patch-Makefile
> ===================================================================
> RCS file: /cvs/ports/multimedia/x264/patches/patch-Makefile,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 patch-Makefile
> --- patches/patch-Makefile	24 Nov 2024 15:42:37 -0000	1.24
> +++ patches/patch-Makefile	22 Jul 2025 02:33:07 -0000
> @@ -10,7 +10,7 @@ Index: Makefile
>    
>    checkasm8$(EXE): $(OBJCHK) $(OBJCHK_8) $(LIBX264)
>    	$(LD)$@ $(OBJCHK) $(OBJCHK_8) $(LIBX264) $(LDFLAGS)
> -@@ -444,7 +444,6 @@ ifneq ($(IMPLIBNAME),)
> +@@ -437,7 +437,6 @@ ifneq ($(IMPLIBNAME),)
>    	$(INSTALL) -m 755 $(SONAME) $(DESTDIR)$(bindir)
>    	$(INSTALL) -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir)
>    else ifneq ($(SONAME),)
> Index: patches/patch-common_aarch64_asm_S
> ===================================================================
> RCS file: /cvs/ports/multimedia/x264/patches/patch-common_aarch64_asm_S,v
> retrieving revision 1.1
> diff -u -p -u -p -r1.1 patch-common_aarch64_asm_S
> --- patches/patch-common_aarch64_asm_S	17 Jun 2023 22:17:46 -0000	1.1
> +++ patches/patch-common_aarch64_asm_S	22 Jul 2025 02:33:07 -0000
> @@ -1,7 +1,7 @@
>   Index: common/aarch64/asm.S
>   --- common/aarch64/asm.S.orig
>   +++ common/aarch64/asm.S
> -@@ -83,6 +83,7 @@ FUNC    .endfunc
> +@@ -123,6 +123,7 @@ FUNC    .endfunc
>    ELF     .type   EXTERN_ASM\name, %function
>    FUNC    .func   EXTERN_ASM\name
>    EXTERN_ASM\name:
> Index: patches/patch-configure
> ===================================================================
> RCS file: /cvs/ports/multimedia/x264/patches/patch-configure,v
> retrieving revision 1.34
> diff -u -p -u -p -r1.34 patch-configure
> --- patches/patch-configure	14 Feb 2025 13:55:51 -0000	1.34
> +++ patches/patch-configure	22 Jul 2025 02:33:07 -0000
> @@ -7,7 +7,7 @@ Index: configure
>    
>    if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
>    cat <<EOF
> -@@ -1364,10 +1364,6 @@ if [ "$pic" = "yes" ] ; then
> +@@ -1398,10 +1398,6 @@ if [ "$pic" = "yes" ] ; then
>        [ $SYS = SunOS -a "$ARCH" = "X86" ] && SOFLAGS="$SOFLAGS -mimpure-text"
>    fi
>    
> @@ -18,7 +18,7 @@ Index: configure
>    if [ "$strip" = "yes" ]; then
>        LDFLAGS="$LDFLAGS -s"
>    fi
> -@@ -1376,11 +1372,11 @@ if [ "$debug" = "yes" ]; then
> +@@ -1410,11 +1406,11 @@ if [ "$debug" = "yes" ]; then
>        CFLAGS="-O1 -g $CFLAGS"
>        RCFLAGS="$RCFLAGS -DDEBUG"
>    else
> @@ -32,7 +32,7 @@ Index: configure
>        fi
>    fi
>    [ "$lto" = "auto" ] && lto="no"
> -@@ -1612,7 +1608,6 @@ if [ "$cli" = "yes" ]; then
> +@@ -1647,7 +1643,6 @@ if [ "$cli" = "yes" ]; then
>    fi
>    
>    if [ "$shared" = "yes" ]; then