On 08/08/17 21:56, Emmanuel Bourg wrote:
On 08/05/2017 10:16 AM, Ghislain Vaillant wrote:
I was wondering which files should be installed (and to which location)
to produce corresponding Java packages which are policy compliant.
As I understand you'll need two binary packages for the Java bindings:
* libsimpleitk-java (arch: all), with simpleitk-1.0.1.jar installed in
/usr/share/java and a versionless symlink in the same directory (I
suggest using a javahelper debian/*.jlibs file to handle this operation).
Ack, I'll look into javahelper. I have only dealt with maven-based
packaging so far.
* libsimpleitk-jni (arch: any), with libSimpleITKJava.so in a multiarch
path (for example /usr/lib/x86_64-linux-gnu/jni/)
You'll have to ensure the .so file isn't included in the jar, this may
require some tweaking of the library loading code.
I am not sure what you mean here, though that might be because of my
personal ignorance of how JNI works. Could you be a bit more explicit
I have also looked at similar packages using swig to generate Java
bindings. src:vtk6  does provide separate java and jni packages as
you are proposing, but src:gdcm  does not. I have got to say, I am a