Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
b261c4c8e2
!6 [sync] PR-5: fix build issue with recent JDK version
From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2022-06-20 08:35:10 +00:00
herengui
eb42846e34 fix build issue with recent JDK version
Signed-off-by: herengui <herengui@uniontech.com>
(cherry picked from commit af65f3f74b6e8e65755ed64c9a72ac9c1f05bfa9)
2022-05-19 21:47:49 +08:00
openeuler-ci-bot
93ed1f5088 !4 fix requires:libbluray 1.1.2-4.oe1
From: @liuyumeng1
Reviewed-by: @zzm_567,@small_leek
Signed-off-by: @small_leek
2021-07-28 06:30:29 +00:00
liuyumeng
cc3f35361b fix requires:libbluray 1.1.2-4.oe1 2021-07-26 11:16:38 +08:00
openeuler-ci-bot
fa0c7ca213 !3 Add BuildRequires for libbluray
From: @zsn853936456
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-03-25 20:36:27 +08:00
zhangshaoning
71e55c148b Add BuildRequires for libbluray 2021-03-08 15:58:08 +08:00
openeuler-ci-bot
9776314e0b !2 add yaml file in package
Merge pull request !2 from 桐小哥/master
2020-07-21 10:19:52 +08:00
tong_1001
8d8889a764 add yaml file in package 2020-06-13 14:21:43 +08:00
dogsheng
01e1798cae resove the failed 2020-01-13 19:53:33 +08:00
openeuler-ci-bot
0cf0e17f1e !1 libbluray: optimization the spec
Merge pull request !1 from orange-snn/init
2020-01-11 18:20:00 +08:00
songnannan
ec691dfe29 optimization the spec 2020-01-09 14:50:10 +08:00
4 changed files with 58 additions and 15 deletions

View File

@ -0,0 +1,35 @@
From 1f291c9c665debc7ddbc52c47c0a43dc72eec7b3 Mon Sep 17 00:00:00 2001
From: herengui <herengui@uniontech.com>
Date: Thu, 19 May 2022 18:16:53 +0800
Subject: [PATCH] Fix build with recent JDK version
Signed-off-by: herengui <herengui@uniontech.com>
---
src/libbluray/bdj/java/java/io/BDFileSystem.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/libbluray/bdj/java/java/io/BDFileSystem.java b/src/libbluray/bdj/java/java/io/BDFileSystem.java
index 0ade43e..65b0f47 100644
--- a/src/libbluray/bdj/java/java/io/BDFileSystem.java
+++ b/src/libbluray/bdj/java/java/io/BDFileSystem.java
@@ -203,6 +203,17 @@ public abstract class BDFileSystem extends FileSystem {
return fs.fromURIPath(path);
}
+ public boolean isInvalid(File f) {
+ try {
+ Method m = fs.getClass().getDeclaredMethod("isInvalid", new Class[] { File.class });
+ Object[] args = new Object[] {(Object)f};
+ Boolean result = (Boolean)m.invoke(fs, args);
+ return result.booleanValue();
+ } finally {
+ return false;
+ }
+ }
+
public boolean isAbsolute(File f) {
return fs.isAbsolute(f);
}
--
2.20.1

View File

@ -1,11 +0,0 @@
--- libbluray-0.2.2/doc/doxygen-footer.html.orig 2012-06-13 02:25:30.740725465 +0200
+++ libbluray-0.2.2/doc/doxygen-footer.html 2012-06-13 02:25:56.585725752 +0200
@@ -1,7 +1,7 @@
<hr size="1">
<div id="footer">
<small>
- Generated on $datetime for $projectname by&nbsp;
+ Generated for $projectname by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1<br />
Copyright &copy; 2010 John Stebbins et al.<br />

View File

@ -1,15 +1,15 @@
Name: libbluray Name: libbluray
Version: 1.1.2 Version: 1.1.2
Release: 1 Release: 5
Summary: Library used to access Blu-ray Disc for video playback Summary: Library used to access Blu-ray Disc for video playback
License: LGPLv2+ License: LGPLv2+
URL: https://www.videolan.org/developers/libbluray.html 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.bz2
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch Patch0: Fix-build-with-recent-JDK-version.patch
BuildRequires: ant autoconf automake doxygen fontconfig-devel freetype-devel graphviz BuildRequires: ant autoconf automake doxygen fontconfig-devel freetype-devel graphviz
BuildRequires: java-1.8.0-openjdk-devel javapackages-tools libtool libxml2-devel texlive-latex BuildRequires: java-1.8.0-openjdk javapackages-tools libtool libxml2-devel texlive-latex java-1.8.0-openjdk-devel
Provides: %{name}-utils Provides: %{name}-utils
Obsoletes: %{name}-utils Obsoletes: %{name}-utils
@ -79,5 +79,20 @@ do install -Dp -m 0755 .libs/$i %{buildroot}%{_bindir}/$i; done;
%doc doc/doxygen/html %doc doc/doxygen/html
%changelog %changelog
* Thu May 19 2022 herengui <herengui@uniontech.com> - 1.1.2-5
- Fix build issue with recent JDK version
* Mon Jul 26 2021 liuyumeng <liuyumeng5@huawei.com> -1.1.2-4
- fix requires:libbluray-1.1.2-4.oe1
* Mon Mar 08 2021 Shaoning Zhang <zhangshaoning@uniontech.com> - 1.1.2-3
- Add BuildRequires for libbluray
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: optimization the spec
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1 * Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1
- Package init - Package init

4
libbluray.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://code.videolan.org/videolan/libbluray.git
tag_prefix:
seperator: .