public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libbluray] rawhide: Update to 1.5.0 (RHBZ#2520270)
@ 2026-08-20 12:56 Xavier Bachelot
  0 siblings, 0 replies; only message in thread
From: Xavier Bachelot @ 2026-08-20 12:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libbluray
Branch : rawhide
Commit : a3e05e3b2fa294b14e3ba6ebe0a9774d70efa956
Author : Xavier Bachelot <xavier@bachelot.org>
Date   : 2026-08-20T14:56:13+02:00
Stats  : +8/-84 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/libbluray/c/a3e05e3b2fa294b14e3ba6ebe0a9774d70efa956?branch=rawhide

Log:
Update to 1.5.0 (RHBZ#2520270)

---
diff --git a/.gitignore b/.gitignore
index bfdbd89..4cec3db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@
 /libbluray-1.3.3.tar.bz2
 /libbluray-1.3.4.tar.bz2
 /libbluray-1.4.0.tar.xz
+/libbluray-1.5.0.tar.xz

diff --git a/libbluray-1.4.0-java_23_support.patch b/libbluray-1.4.0-java_23_support.patch
deleted file mode 100644
index c2e0ef1..0000000
--- a/libbluray-1.4.0-java_23_support.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 48d76414455ab6a7d270cec96d6e83673df8a00d Mon Sep 17 00:00:00 2001
-From: Fridrich Strba <fstrba@suse.com>
-Date: Sat, 25 Oct 2025 07:30:12 +0000
-Subject: [PATCH] Fix build with java 23
-
-1) 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.
-
-2) Implement the new WindowPeer interface method
-getAppropriateGraphicsConfiguration as a pass-through method
-
-Fixes #46.
----
- .../java-j2se/java/awt/peer/BDFramePeer.java  |  4 ++++
- .../java-j2se/org/videolan/PortingHelper.java | 22 +++++++++++++++++--
- 2 files changed, 24 insertions(+), 2 deletions(-)
-
-diff --git a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
-index 87895de7..45144083 100644
---- a/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
-+++ b/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java
-@@ -157,6 +157,10 @@ public class BDFramePeer extends BDComponentPeer implements FramePeer
-         return true;
-     }
- 
-+    public GraphicsConfiguration getAppropriateGraphicsConfiguration(GraphicsConfiguration gc) {
-+        return gc;
-+    }
-+
-     //
-     // ComponentPeer
-     //
-diff --git a/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
-index 1cb5f43d..55fd1c20 100644
---- a/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
-+++ b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
-@@ -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
-+        }
-     }
- 
-     public static String dumpStack(Thread t) {
--- 
-GitLab
-

diff --git a/libbluray.spec b/libbluray.spec
index b9ed612..083427d 100644
--- a/libbluray.spec
+++ b/libbluray.spec
@@ -5,16 +5,14 @@
 %endif
 
 Name:           libbluray
-Version:        1.4.0
-Release:        4%{?dist}
+Version:        1.5.0
+Release:        1%{?dist}
 Summary:        Library to access Blu-Ray disks for video playback 
 License:        LGPL-2.0-or-later
 URL:            https://www.videolan.org/developers/libbluray.html
 
 Source0:        https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.xz
 Patch0:         libbluray-0.8.0-no_doxygen_timestamp.patch
-# https://code.videolan.org/videolan/libbluray/-/commit/48d76414455ab6a7d270cec96d6e83673df8a00d
-Patch1:         libbluray-1.4.0-java_23_support.patch
 
 BuildRequires:  doxygen
 BuildRequires:  fontconfig-devel
@@ -69,7 +67,6 @@ developing applications that use %{name}.
 %prep
 %setup -q
 %patch -P0 -p1 -b .no_timestamp
-%patch -P1 -p1 -b .java_23
 
 rm -rf contrib/libudfread
 
@@ -78,7 +75,6 @@ rm -rf contrib/libudfread
   --default-library=shared \
 %if %{build_bdj}
   -Dbdj_jar=enabled \
-  -Djava9=true \
   -Dbdj_type=j2se \
   -Djdk_home=%{_jvmdir}/java \
 %else
@@ -99,7 +95,7 @@ mv %{buildroot}%{_docdir}/%{name}/html .
 %files
 %license COPYING
 %doc ChangeLog README.md
-%{_libdir}/*.so.3*
+%{_libdir}/*.so.4*
 
 %if %{build_bdj}
 %files bdj
@@ -118,6 +114,9 @@ mv %{buildroot}%{_docdir}/%{name}/html .
 
 
 %changelog
+* Thu Aug 20 2026 Xavier Bachelot <xavier@bachelot.org> - 1.5.0-1
+- Update to 1.5.0 (RHBZ#2520270)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index c66ead7..a53684e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libbluray-1.4.0.tar.xz) = 7284169b32624e5ca4fd71b260a4cc2921efafb1f63143a562568be45e373bfcbfeac63895d5659ccdcb11d7dbd0236cc46ccb15c12eff855703010e46991f27
+SHA512 (libbluray-1.5.0.tar.xz) = f35d89097ad0c263ffa2102aba0068e7fe9b85afe27b14cf3c34ed6eff5876d1528aa8a62c3941b767353be2e1de4ae765f1402bd44af4544d922ffb69cea354

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-20 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 12:56 [rpms/libbluray] rawhide: Update to 1.5.0 (RHBZ#2520270) Xavier Bachelot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox