Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libbluray for openSUSE:Factory checked in at 2025-10-28 14:45:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbluray (Old) and /work/SRC/openSUSE:Factory/.libbluray.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbluray" Tue Oct 28 14:45:09 2025 rev:49 rq:1313850 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libbluray/libbluray.changes 2023-10-31 20:24:47.887953026 +0100 +++ /work/SRC/openSUSE:Factory/.libbluray.new.1980/libbluray.changes 2025-10-28 14:45:19.171792652 +0100 @@ -1,0 +2,26 @@ +Thu Oct 23 10:15:25 UTC 2025 - Fridrich Strba <[email protected]> + +- Added patch: + * libbluray-java25.patch + + Thread.stop and ThreadGroup.stop are deprecated since 1.2 + and removed in Java 23. Before that, they only throw + UnsupportedOperationException when called. So call them by + reflection and if they don't exist, just ignore them. + + Implement the new WindowPeer interface method + getAppropriateGraphicsConfiguration as a pass-through method + +------------------------------------------------------------------- +Fri Sep 5 08:36:32 UTC 2025 - [email protected] + +- version update to 1.4.0 + * Switch build system to Meson. + * Require libudfread 1.2.0. + * Use visibility attributes for exported symbols. + * Fix issues detecting dlfcn +- modified sources + % baselibs.conf +- deleted patches + - libbluray-java18plus.patch (upstreamed) + - libbluray-pkgconfig.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- libbluray-1.3.4.tar.bz2 libbluray-java18plus.patch libbluray-pkgconfig.patch New: ---- libbluray-1.4.0.tar.xz libbluray-java25.patch ----------(Old B)---------- Old:- deleted patches - libbluray-java18plus.patch (upstreamed) - libbluray-pkgconfig.patch (upstreamed) Old: - libbluray-java18plus.patch (upstreamed) - libbluray-pkgconfig.patch (upstreamed) ----------(Old E)---------- ----------(New B)---------- New:- Added patch: * libbluray-java25.patch + Thread.stop and ThreadGroup.stop are deprecated since 1.2 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbluray.spec ++++++ --- /var/tmp/diff_new_pack.qZfFhn/_old 2025-10-28 14:45:19.939824951 +0100 +++ /var/tmp/diff_new_pack.qZfFhn/_new 2025-10-28 14:45:19.939824951 +0100 @@ -1,7 +1,7 @@ # # spec file for package libbluray # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -17,26 +17,28 @@ # -%define sover 2 +%if ! 0%{?_smp_build_ncpus} +# needed by %%meson +%define _smp_build_ncpus %{?jobs:%{jobs}} +%endif + +%define sover 3 Name: libbluray -Version: 1.3.4 +Version: 1.4.0 Release: 0 Summary: Library to access Blu-Ray disk License: LGPL-2.1-or-later Group: Productivity/Multimedia/Other URL: https://www.videolan.org/developers/libbluray.html -Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 +Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.xz Source99: baselibs.conf -Patch0: libbluray-pkgconfig.patch -Patch1: libbluray-java18plus.patch +Patch0: libbluray-java25.patch BuildRequires: ant -BuildRequires: autoconf -BuildRequires: automake BuildRequires: java-devel >= 1.8 -BuildRequires: libtool -BuildRequires: pkgconfig +BuildRequires: meson BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(libudfread) BuildRequires: pkgconfig(libxml-2.0) >= 2.6 %description @@ -81,9 +83,7 @@ %else Requires: java >= 1.8 %endif -%if 0%{?suse_version} > 1110 BuildArch: noarch -%endif %description bdj This library is written for the purpose of playing Blu-ray movies. It is @@ -94,19 +94,13 @@ %autosetup -p1 %build -autoreconf -fi -%configure \ - --disable-static \ - --enable-bdjava \ - --enable-udf -%make_build +%meson --default-library=shared +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%meson_install -%post -n libbluray%{sover} -p /sbin/ldconfig -%postun -n libbluray%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libbluray%{sover} %files tools %{_bindir}/bd_info ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.qZfFhn/_old 2025-10-28 14:45:19.975826466 +0100 +++ /var/tmp/diff_new_pack.qZfFhn/_new 2025-10-28 14:45:19.983826802 +0100 @@ -1,2 +1,2 @@ -libbluray2 +libbluray3 ++++++ libbluray-java18plus.patch -> libbluray-java25.patch ++++++ --- /work/SRC/openSUSE:Factory/libbluray/libbluray-java18plus.patch 2023-10-31 20:24:47.535940096 +0100 +++ /work/SRC/openSUSE:Factory/.libbluray.new.1980/libbluray-java25.patch 2025-10-28 14:45:19.127790801 +0100 @@ -1,45 +1,50 @@ ---- libbluray-1.3.4/configure.ac 2023-10-30 11:31:24.385633069 +0100 -+++ libbluray-1.3.4/configure.ac 2023-10-30 11:39:34.545384400 +0100 -@@ -292,11 +292,13 @@ - dnl check for Java 9+ - javac_version=`"$JAVAC" -version 2>&1 | head -n 1` - [with_java9=`echo "$javac_version" | grep -E -q '^javac\ (9|1[0-1])' && echo yes`] -- [with_java12=`echo "$javac_version" | grep -E -q '^javac\ (1[2-9])' && echo yes`] -+ [with_java12=`echo "$javac_version" | grep -E -q '^javac\ (1[2-7])' && echo yes`] -+ [with_java18=`echo "$javac_version" | grep -E -q '^javac\ (1[8-9]|21)' && echo yes`] - ]) - - AS_IF([test "x$with_java9" = "xyes" -a "$BDJ_TYPE" != "j2me"], [java_code_version=1.6], [java_code_version=1.4]) - AS_IF([test "x$with_java12" = "xyes" -a "$BDJ_TYPE" != "j2me"], [java_code_version=1.7]) -+ AS_IF([test "x$with_java18" = "xyes" -a "$BDJ_TYPE" != "j2me"], [java_code_version=1.8]) - ]) - - AC_DEFINE_UNQUOTED([JAVA_ARCH], ["$java_arch"], ["Defines the architecture of the java vm."]) -@@ -304,6 +306,7 @@ - AM_CONDITIONAL([USING_BDJAVA_BUILD_JAR], [ test $use_bdjava_jar = "yes" ]) - AM_CONDITIONAL([USING_JAVAC_9], [ test x"$with_java9" = x"yes" ]) - AM_CONDITIONAL([USING_JAVAC_12], [ test x"$with_java12" = x"yes" ]) -+AM_CONDITIONAL([USING_JAVAC_18], [ test x"$with_java18" = x"yes" ]) - - dnl BD-J type - if test "$BDJ_TYPE" = "j2me"; then ---- libbluray-1.3.4/Makefile.am 2023-10-30 11:31:24.385633069 +0100 -+++ libbluray-1.3.4/Makefile.am 2023-10-30 11:41:25.962753380 +0100 -@@ -241,6 +241,9 @@ - - if USING_BDJAVA_BUILD_JAR - -+if USING_JAVAC_18 -+java_versions = -Djava_version_asm=1.8 -Djava_version_bdj=1.8 -+else - if USING_JAVAC_12 - java_versions = -Djava_version_asm=1.7 -Djava_version_bdj=1.7 - else -@@ -250,6 +253,7 @@ - java_versions = -Djava_version_asm=1.5 -Djava_version_bdj=1.4 - endif - endif -+endif +--- libbluray-1.4.0/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java 2025-10-25 08:44:45.455908481 +0200 ++++ libbluray-1.4.0/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java 2025-10-25 08:45:38.767260621 +0200 +@@ -157,6 +157,10 @@ + return true; + } + ++ public GraphicsConfiguration getAppropriateGraphicsConfiguration(GraphicsConfiguration gc) { ++ return gc; ++ } ++ + // + // ComponentPeer + // +--- libbluray-1.4.0/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java 2025-10-25 08:44:45.456236728 +0200 ++++ libbluray-1.4.0/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java 2025-10-25 09:06:19.852258740 +0200 +@@ -19,14 +19,32 @@ + + package org.videolan; + ++import java.lang.reflect.InvocationTargetException; ++ + public class PortingHelper { + + public static void stopThread(Thread t) { +- t.stop(); ++ try { ++ Thread.class.getMethod("stop").invoke(t); ++ } catch (NoSuchMethodException e) { ++ // ignore ++ } catch (IllegalAccessException e) { ++ // ignore ++ } catch (InvocationTargetException e) { ++ // ignore ++ } + } + + public static void stopThreadGroup(ThreadGroup t) { +- t.stop(); ++ try { ++ ThreadGroup.class.getMethod("stop").invoke(t); ++ } catch (NoSuchMethodException e) { ++ // ignore ++ } catch (IllegalAccessException e) { ++ // ignore ++ } catch (InvocationTargetException e) { ++ // ignore ++ } + } - if BDJ_J2SE - awt_src = java-$(BDJ_TYPE):java-build-support + public static String dumpStack(Thread t) {
