File: 10-disable-full-jar.patch

package info (click to toggle)
libjna-java 5.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,840 kB
  • sloc: java: 90,395; ansic: 4,994; xml: 3,722; makefile: 434; sh: 299
file content (37 lines) | stat: -rw-r--r-- 1,339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: Do not include the native libraries in the main jar
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -325,6 +325,7 @@
               <!-- Note that no terminal "*" is included in this list,
                  which will force failure on unsupported platforms.
               -->
+<!--
               <attribute name="Bundle-NativeCode"
                          value="
 com/sun/jna/win32-x86/jnidispatch.dll;
@@ -417,6 +418,7 @@
 com/sun/jna/darwin-aarch64/libjnidispatch.jnilib;
 osname=macosx;processor=aarch64
 "/>
+-->
           </manifest>
           <manifest file="@{target}" mode="update" if:true="@{module-info}">
               <attribute name="Multi-Release" value="true"/>
@@ -449,6 +451,7 @@
       <fileset dir="${classes}" excludes="${jar.omitted}">
         <patternset refid="jar-compiled"/>
       </fileset>
+<!--
       <zipfileset src="${lib.native}/win32-x86.jar"
                   includes="*jnidispatch*"
                   prefix="com/sun/jna/win32-x86"/>
@@ -560,6 +563,7 @@
       <zipfileset src="${lib.native}/w32ce-arm.jar"
                   includes="*jnidispatch*"
                   prefix="com/sun/jna/w32ce-arm"/>
+-->
       <zipfileset dir="."
                   includes="LICENSE,LGPL2.1,AL2.0"
                   prefix="META-INF"/>