Fridrich Strba 2020-06-04 07:07:24 +00:00 committed by Git OBS Bridge
parent b5d7a01dd9
commit b6ce6c3efc
5 changed files with 41 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d03d88b9050b3f186f2415e0efc0921d59568cc784a2a63881ca0909763467d9
size 93324146

3
5.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b684792ff099afba639288da75bc6ae4a2641f46a6429b5a481b7749630c56f7
size 93781100

View File

@ -1,5 +1,5 @@
--- jna-5.4.0/build.xml 2019-07-19 21:22:03.000000000 +0200 --- jna-5.5.0/build.xml 2019-10-30 17:41:18.000000000 +0100
+++ jna-5.4.0/build.xml 2019-10-10 19:10:07.252492214 +0200 +++ jna-5.5.0/build.xml 2020-06-04 08:56:23.649941131 +0200
@@ -357,7 +357,7 @@ @@ -357,7 +357,7 @@
<target name="-setup" depends="-dynamic-properties"> <target name="-setup" depends="-dynamic-properties">
<path id="compile-test.path"> <path id="compile-test.path">
@ -18,7 +18,7 @@
description="Build primary jar"> description="Build primary jar">
<!-- Bundle native components with primary jar to facilitate <!-- Bundle native components with primary jar to facilitate
easy distribution to common platforms. easy distribution to common platforms.
@@ -436,155 +436,10 @@ @@ -436,157 +436,10 @@
<!-- Note that no terminal "*" is included in this list, <!-- Note that no terminal "*" is included in this list,
which will force failure on unsupported platforms. which will force failure on unsupported platforms.
--> -->
@ -61,6 +61,8 @@
-processor=x86-64;osname=linux, -processor=x86-64;osname=linux,
-com/sun/jna/linux-arm/libjnidispatch.so; -com/sun/jna/linux-arm/libjnidispatch.so;
-processor=arm;osname=linux, -processor=arm;osname=linux,
-com/sun/jna/linux-arm/libjnidispatch.so;
-processor=arm_le;osname=linux,
-com/sun/jna/linux-armel/libjnidispatch.so; -com/sun/jna/linux-armel/libjnidispatch.so;
-processor=armel;osname=linux, -processor=armel;osname=linux,
-com/sun/jna/linux-aarch64/libjnidispatch.so; -com/sun/jna/linux-aarch64/libjnidispatch.so;
@ -174,7 +176,7 @@
</jar> </jar>
<zip zipfile="${build}/${minjar}"> <zip zipfile="${build}/${minjar}">
<zipfileset src="${build}/${jar}" excludes="**/*jnidispatch*"/> <zipfileset src="${build}/${jar}" excludes="**/*jnidispatch*"/>
@@ -1057,7 +912,7 @@ @@ -1059,7 +912,7 @@
</javac> </javac>
</target> </target>
@ -183,16 +185,16 @@
description="Compile all test code"> description="Compile all test code">
<javac classpathref="compile-test.path" <javac classpathref="compile-test.path"
source="${test.compatibility}" source="${test.compatibility}"
@@ -1109,8 +964,6 @@ @@ -1111,8 +964,6 @@
<mkdir dir="${build}/jws"/> <mkdir dir="${build}/jws"/>
<copy todir="${build}/jws" file="${build}/${jar}"/> <copy todir="${build}/jws" file="${build}/${jar}"/>
<copy todir="${build}/jws" file="${build}/${testjar}"/> <copy todir="${build}/jws" file="${build}/${testjar}"/>
- <copy todir="${build}/jws" file="lib/junit.jar"/> - <copy todir="${build}/jws" file="lib/junit.jar"/>
- <copy todir="${build}/jws" file="lib/clover.jar"/> - <copy todir="${build}/jws" file="lib/clover.jar"/>
<jar jarfile="${build}/jws/jnidispatch.jar"> <jar jarfile="${build}/jws/jnidispatch.jar" createUnicodeExtraFields="never" encoding="UTF-8">
<fileset dir="${build.native}" includes="*jnidispatch.*"/> <fileset dir="${build.native}" includes="*jnidispatch.*"/>
</jar> </jar>
@@ -1311,7 +1164,6 @@ @@ -1313,7 +1164,6 @@
<doctitle>JNA API Documentation</doctitle> <doctitle>JNA API Documentation</doctitle>
<header>${header}</header> <header>${header}</header>
<bottom>${footer}</bottom> <bottom>${footer}</bottom>
@ -200,13 +202,13 @@
<packageset dir="${src}" defaultexcludes="yes"> <packageset dir="${src}" defaultexcludes="yes">
<patternset> <patternset>
@@ -1329,13 +1181,14 @@ @@ -1331,13 +1181,14 @@
<group title="Platform Specific" packages="com.sun.jna.platform.*"/> <group title="Platform Specific" packages="com.sun.jna.platform.*"/>
<arg value="-notimestamp"/> <arg value="-notimestamp"/>
+ <arg value="--allow-script-in-comments"/> + <arg value="--allow-script-in-comments"/>
</javadoc> </javadoc>
<jar jarfile="${platform-javadoc-jar}"> <jar jarfile="${platform-javadoc-jar}" createUnicodeExtraFields="never" encoding="UTF-8">
<fileset dir="${javadoc}" /> <fileset dir="${javadoc}" />
</jar> </jar>
</target> </target>
@ -216,9 +218,9 @@
description="Build distribution files"> description="Build distribution files">
<copy todir="${dist}" force="true" overwrite="true"> <copy todir="${dist}" force="true" overwrite="true">
<fileset dir="${build}" includes="${jar},${minjar},${aar}"/> <fileset dir="${build}" includes="${jar},${minjar},${aar}"/>
Only in jna-5.4.0: build.xml.orig Only in jna-5.5.0/native/libffi/src/powerpc: linux64_closure.S.orig
--- jna-5.4.0/native/Makefile 2019-07-19 21:22:03.000000000 +0200 --- jna-5.5.0/native/Makefile 2019-10-30 17:41:18.000000000 +0100
+++ jna-5.4.0/native/Makefile 2019-10-10 19:08:35.831965950 +0200 +++ jna-5.5.0/native/Makefile 2020-06-04 08:53:07.896789270 +0200
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses
CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \ CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \

View File

@ -1,8 +1,31 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 4 06:38:27 UTC 2020 - Fridrich Strba <fstrba@suse.com> Thu Jun 4 06:38:27 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Upgrade to 5.5.0
* Features
+ Add CoreFoundation, IOKit, and DiskArbitration mappings in
c.s.j.p.mac.
+ c.s.j.p.mac.SystemB now extends c.s.j.p.unix.LibCAPI.
+ Add additional OSGi headers for the JNA bundle to support
32bit ARM (hardfloat)
+ Include Win32 COM utils (c.s.j.p.win32.com.util and
c.s.j.p.win32.com.annotation) in OSGI bundle
* Bug Fixes
+ Fix signature for c.s.j.p.win32.Kernel32#CreateRemoteThread
and bind VirtualAllocEx, VirtualFreeEx, GetExitCodeThread in
c.s.j.p.win32.Kernel32
+ Windows needs a wide string in
c.s.j.p.win32.COM.IShellFolder#ParseDisplayName
+ KEY_ALL_ACCESS value is incorrect in c.s.j.p.win32.WinNT.java
+ Ensure JARs created from the build system don't contain
invalid Info-ZIP Unicode Path extra info
+ Read correct member of
WinBase.SYSTEM_INFO.processorArchitecture union
+ Fix passing unions containing integer and floating point
members as parameters by value
- Modified patch: - Modified patch:
* jna-build.patch * jna-build.patch
+ rediff to the changed context
+ disable warnings as errors + disable warnings as errors
+ fix build on ppc64 and s390x + fix build on ppc64 and s390x

View File

@ -18,7 +18,7 @@
Name: jna Name: jna
Version: 5.4.0 Version: 5.5.0
Release: 0 Release: 0
Summary: Pure Java access to native libraries Summary: Pure Java access to native libraries
License: LGPL-2.1-or-later OR Apache-2.0 License: LGPL-2.1-or-later OR Apache-2.0