Hello community,
here is the log from the commit of package jogl2 for openSUSE:Factory checked in at 2018-01-10 23:37:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jogl2 (Old)
and /work/SRC/openSUSE:Factory/.jogl2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jogl2"
Wed Jan 10 23:37:50 2018 rev:11 rq:563220 version:2.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/jogl2/jogl2.changes 2018-01-03 13:39:43.831415592 +0100
+++ /work/SRC/openSUSE:Factory/.jogl2.new/jogl2.changes 2018-01-10 23:37:50.772483915 +0100
@@ -1,0 +2,9 @@
+Wed Jan 10 08:50:43 UTC 2018 - fstrba@suse.com
+
+- Added patch:
+ * jogl2-nojavah.patch
+ - Fix build with JDK versions without javah tool
+- Build native code with optflags
+- Require jdk8 or higher for build
+
+-------------------------------------------------------------------
New:
----
jogl2-nojavah.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jogl2.spec ++++++
--- /var/tmp/diff_new_pack.ZmSuDJ/_old 2018-01-10 23:37:53.180370947 +0100
+++ /var/tmp/diff_new_pack.ZmSuDJ/_new 2018-01-10 23:37:53.180370947 +0100
@@ -30,18 +30,18 @@
Patch2: jogl2-disable-tests.patch
Patch3: jogl2-ppc64.patch
Patch4: jogl2-getPeer.patch
-BuildRequires: ant >= 1.8.0
+Patch5: jogl2-nojavah.patch
+BuildRequires: ant >= 1.9.8
BuildRequires: ant-contrib
BuildRequires: eclipse-swt
BuildRequires: gluegen2-devel = %{version}
-BuildRequires: java-devel >= 1.6
+BuildRequires: java-devel >= 1.8
BuildRequires: jpackage-utils
BuildRequires: libXcursor-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libXxf86vm-devel
-BuildConflicts: java-devel >= 10
Requires: gluegen2 = %{version}
Requires: java
Requires: jpackage-utils
@@ -72,6 +72,7 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
# Fix wrong-script-end-of-line-encoding
rm make/scripts/*.bat
@@ -111,7 +112,7 @@
-Dgluegen.jar=$(build-classpath gluegen2) \
-Dgluegen-rt.jar=$(build-classpath gluegen2-rt) \
-Dswt.jar=$(build-classpath swt) \
- \
+ -Dcflags_extra.native="%{optflags}" \
all
%install
++++++ jogl2-nojavah.patch ++++++
diff -urEbwB jogl-v2.3.2/make/build-jogl.xml jogl-v2.3.2.new/make/build-jogl.xml
--- jogl-v2.3.2/make/build-jogl.xml 2018-01-10 07:46:34.839761351 +0100
+++ jogl-v2.3.2.new/make/build-jogl.xml 2018-01-10 09:27:59.566965673 +0100
@@ -1072,7 +1072,7 @@
-->
<target name="java.compile.firstpass" depends="java.generate,java.generate.cg">
<!-- Perform the first pass Java compile. -->
-