Hello community,
here is the log from the commit of package libbluray for openSUSE:Factory checked in at 2017-11-01 11:07:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbluray (Old)
and /work/SRC/openSUSE:Factory/.libbluray.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbluray"
Wed Nov 1 11:07:18 2017 rev:33 rq:537568 version:1.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libbluray/libbluray.changes 2017-09-13 22:24:55.677281774 +0200
+++ /work/SRC/openSUSE:Factory/.libbluray.new/libbluray.changes 2017-11-01 11:07:20.186818309 +0100
@@ -1,0 +2,10 @@
+Mon Oct 30 08:54:50 UTC 2017 - fstrba@suse.com
+
+- Added patch:
+ * libbluray-java9.patch
+ + Fix build with jdk9
+ + Due to incompatible changes in jdk9, the same code cannot be
+ built with jdk9 and jdk <= 1.8
+ + Only apply on systems that hava jdk9
+
+-------------------------------------------------------------------
New:
----
libbluray-java9.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libbluray.spec ++++++
--- /var/tmp/diff_new_pack.LW03VR/_old 2017-11-01 11:07:21.702762930 +0100
+++ /var/tmp/diff_new_pack.LW03VR/_new 2017-11-01 11:07:21.702762930 +0100
@@ -27,6 +27,7 @@
Url: http://www.videolan.org/developers/libbluray.html
Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
+Patch1: libbluray-java9.patch
Patch2: libbluray-jvm_dir.patch
BuildRequires: ant
BuildRequires: java-devel >= 1.6
@@ -35,7 +36,6 @@
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
-BuildConflicts: java-devel >= 1.9
%description
This library is written for the purpose of playing Blu-ray movies. It is
@@ -73,7 +73,11 @@
%package bdj
Summary: Library to access Blu-Ray disk - BD-J support
Group: Development/Libraries/Java
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
+Requires: java >= 9
+%else
Requires: java >= 1.6
+%endif
Requires: jpackage-utils
%if 0%{?suse_version} > 1110
BuildArch: noarch
@@ -86,6 +90,9 @@
%prep
%setup -q
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
+%patch1 -p1
+%endif
%patch2
%build
++++++ libbluray-java9.patch ++++++
--- libbluray-1.0.1/src/libbluray/bdj/build.xml 2017-03-02 14:33:49.000000000 +0100
+++ libbluray-1.0.1/src/libbluray/bdj/build.xml 2017-10-30 08:32:10.295848485 +0100
@@ -8,7 +8,6 @@
<property name="dist" location="../../.libs"/>
<property name="src_awt" value=""/>
<property name="src_asm" value="../../../contrib/asm/src/"/>
- <property name="bootclasspath" value=""/>
<property name="version" value=""/>
<target name="init">
@@ -20,14 +19,12 @@
<target name="compile" depends="init"
description="compile the source " >