Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: multimedia/xine-lib: update to 1.2.13.20250531
To:
brad@comstyle.com, ports@openbsd.org
Date:
Wed, 03 Sep 2025 16:05:00 +0200

Download raw body.

Thread
On Wed, 03 Sep 2025 13:03:01 +0200,
Kirill A. Korinsky <kirill@korins.ky> wrote:
> 
> Brad, ports@,
> 
> I'd like to udpate multimedia/xine-lib to last version from it's HG.
> 
> For example debian ships version from HG as well.
> 
> Why? Mainly to not backport patches to support modern ffmpeg, which is quite
> complicated and rewrite some logic over changes..., see:
>  - https://sourceforge.net/p/xine/xine-lib-1.2/ci/1e7b184008860c8be2289c3cefd9dee57f06193a/
>  - https://sourceforge.net/p/xine/xine-lib-1.2/ci/73b833e7fe356cd2d9490dda4ebc9bfe16fce958/
> 
> Build tested on -current/amd64
> 
> Ok?
> 

sourceforge keeps a snapshot for a some short time, and now it is
unavailable.

Here an updated diff where I mirrored it on my machine.

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/xine-lib/Makefile,v
diff -u -p -r1.157 Makefile
--- Makefile	27 Sep 2023 10:10:22 -0000	1.157
+++ Makefile	3 Sep 2025 13:56:53 -0000
@@ -1,11 +1,14 @@
 COMMENT=	multimedia decoding library
 
-DISTNAME=	xine-lib-1.2.13
+DISTNAME=	xine-lib-1.2.13.20250531
+COMMIT=		9e326869fe0faf21957642c8c7c5cac9ed4f445c
 CATEGORIES=	multimedia
-SITES=		${SITE_SOURCEFORGE:=xine/}
-EXTRACT_SUFX=	.tar.xz
+SITES=		https://kirill.korins.ky/pub/distfiles/
+EXTRACT_SUFX=	.zip
 
-SHARED_LIBS=	xine	38.0
+WRKSRC=		${WRKDIR}/xine-xine-lib-1.2-${COMMIT}
+
+SHARED_LIBS=	xine	38.1
 
 HOMEPAGE=	https://www.xine-project.org/
 
@@ -31,7 +34,8 @@ SUBST_VARS+=	XINEAPI_REV
 COMPILER=	base-clang ports-gcc
 COMPILER_LANGS=	c
 
-BUILD_DEPENDS=	textproc/xmlto
+BUILD_DEPENDS=	devel/gettext,-tools \
+		textproc/xmlto
 LIB_DEPENDS=	audio/flac \
 		audio/libcdio \
 		audio/libmodplug \
@@ -61,8 +65,9 @@ CFLAGS+=	-ffast-math
 MAKE_ENV=	V=1
 
 USE_GMAKE=	Yes
-CONFIGURE_STYLE= autoconf
+CONFIGURE_STYLE= autoreconf
 AUTOCONF_VERSION= 2.69
+AUTOMAKE_VERSION= 1.16
 CONFIGURE_ARGS+=--disable-a52dec \
 		--disable-aalib \
 		--disable-dts \
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/xine-lib/distinfo,v
diff -u -p -r1.34 distinfo
--- distinfo	4 Apr 2023 09:06:45 -0000	1.34
+++ distinfo	3 Sep 2025 13:56:49 -0000
@@ -1,2 +1,2 @@
-SHA256 (xine-lib-1.2.13.tar.xz) = XxDW1xikpRwX7RsysDHU+bgLBh6CdlNbK+MeWsS3Xm8=
-SIZE (xine-lib-1.2.13.tar.xz) = 5004196
+SHA256 (xine-lib-1.2.13.20250531.zip) = hVF2Vxs7KytS25EpJOK94ei7yal9b4n75NLeZ13v+Co=
+SIZE (xine-lib-1.2.13.20250531.zip) = 7529086
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/multimedia/xine-lib/pkg/PLIST,v
diff -u -p -r1.30 PLIST
--- pkg/PLIST	13 Mar 2022 13:55:09 -0000	1.30
+++ pkg/PLIST	3 Sep 2025 10:58:17 -0000
@@ -161,6 +161,7 @@ share/locale/eu/LC_MESSAGES/libxine2.mo
 share/locale/fr/LC_MESSAGES/libxine2.mo
 share/locale/it/LC_MESSAGES/libxine2.mo
 share/locale/ja/LC_MESSAGES/libxine2.mo
+share/locale/nl/LC_MESSAGES/libxine2.mo
 share/locale/pl/LC_MESSAGES/libxine2.mo
 share/locale/pt_BR/LC_MESSAGES/libxine2.mo
 share/locale/sk/LC_MESSAGES/libxine2.mo


-- 
wbr, Kirill