[libjna-java] 01/02: Moved platform.jar to its own libjna-platform-java package
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 15 00:18:18 BST 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjna-java.
commit c48cae1c20d1fd2c1d90abffaa1ae5762f086ab2
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Oct 15 01:13:51 2014 +0200
Moved platform.jar to its own libjna-platform-java package
---
debian/changelog | 1 +
debian/control | 16 +++++++++++++++-
debian/libjna-java.poms | 2 --
debian/rules | 8 +++++---
4 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 91ef41a..d7e0ace 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ libjna-java (3.4.2-1) UNRELEASED; urgency=low
* Moved libjnidispatch.so into its own new arch any libjna-jni package
* Install libjnidispatch.so in a multiarch path
* Install the Maven artifacts for the platform jar (Closes: #743732)
+ * Moved platform.jar to its own libjna-platform-java package
* Added a repack script to clean the upstream tarball
* debian/control:
- Use canonical URLs for the Vcs-* fields
diff --git a/debian/control b/debian/control
index d66ce62..2b141c3 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Description: Dynamic access of native libraries from Java without JNI
Package: libjna-jni
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Dynamic access of native libraries from Java without JNI
+Description: Dynamic access of native libraries from Java without JNI (native libs)
JNA provides Java programs easy access to native shared libraries without
writing anything but Java code - no JNI or native code is required. This
functionality is comparable to Windows' Platform/Invoke and Python's ctypes.
@@ -43,6 +43,20 @@ Description: Dynamic access of native libraries from Java without JNI
.
This package contains the native libraries for libjna-java
+Package: libjna-platform-java
+Architecture: all
+Depends: ${misc:Depends}, libjna-java
+Replaces: libjna-java (<< 3.4.2)
+Breaks: libjna-java (<< 3.4.2)
+Description: Dynamic access of native libraries from Java without JNI (platform extension)
+ JNA provides Java programs easy access to native shared libraries without
+ writing anything but Java code - no JNI or native code is required. This
+ functionality is comparable to Windows' Platform/Invoke and Python's ctypes.
+ Access is dynamic at runtime without code generation.
+ .
+ This package contains the platform library with many native functions already
+ mapped as well as a set of utility interfaces that simplify native access.
+
Package: libjna-java-doc
Section: doc
Architecture: all
diff --git a/debian/libjna-java.poms b/debian/libjna-java.poms
deleted file mode 100644
index 7f87a49..0000000
--- a/debian/libjna-java.poms
+++ /dev/null
@@ -1,2 +0,0 @@
-pom-jna.xml
-pom-platform.xml
diff --git a/debian/rules b/debian/rules
index 2323477..adbbe2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,9 +31,11 @@ override_dh_auto_build:
# install. using platform.jar is a silly idea in /usr/share/java/ as it's bound to collide
override_dh_auto_install:
- mh_installpoms -plibjna-java -e$(VERSION)
- mh_installjar -plibjna-java -l -e$(VERSION) --usj-name=jna pom-jna.xml build/jna.jar
- mh_installjar -plibjna-java -l -e$(VERSION) --usj-name=jna-platform pom-platform.xml contrib/platform/dist/platform.jar
+ mh_installpom -plibjna-java -e$(VERSION) pom-jna.xml
+ mh_installjar -plibjna-java -e$(VERSION) --java-lib --usj-name=jna pom-jna.xml build/jna.jar
+
+ mh_installpom -plibjna-platform-java -e$(VERSION) pom-jna.xml
+ mh_installjar -plibjna-platform-java -e$(VERSION) --java-lib --usj-name=jna-platform pom-platform.xml contrib/platform/dist/platform.jar
dh_install -plibjna-jni build/native/libjnidispatch.so usr/lib/$(DEB_HOST_MULTIARCH)/jni
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjna-java.git
More information about the pkg-java-commits
mailing list