Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread tony mancill
On Thu, Aug 10, 2017 at 06:13:18PM -0400, Matthias Klose wrote: > On 10.08.2017 09:09, tony mancill wrote: > > > > This has the result of building a separate .deb for every architecture > > [0], which will function as expected up until the time that a user needs > > multi-arch, at which point the

Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread Matthias Klose
On 10.08.2017 09:09, tony mancill wrote: > Java bindings to the GDCM DICOM library. It allows developers to use > GDCM from Java environment. > drwxr-xr-x root/root 0 2017-08-07 07:28 ./ > drwxr-xr-x root/root 0 2017-08-07 07:28 ./usr/ > drwxr-xr-x root/root 0 2017-08-07

Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread Emmanuel Bourg
On 08/10/2017 11:18 AM, Ghislain Vaillant wrote: > 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 > please? Libraries using native code adopt various strategies to load the external library. Sometimes th

Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread Emmanuel Bourg
On 08/10/2017 03:09 PM, tony mancill wrote: > That is, this approach "works" in the non-multi-arch case, but should be > avoided. It also wastes space on the Debian mirrors, since the 300ko of gdcm.jar is duplicated in each arch specific package (19 times, so it uses 6MB instead of 330KB). Emman

Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread tony mancill
On Thu, Aug 10, 2017 at 10:18:24AM +0100, Ghislain Vaillant wrote: > On 08/08/17 21:56, Emmanuel Bourg wrote: > > > 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

Re: Advice regarding Java packages for SimpleITK

2017-08-10 Thread Ghislain Vaillant
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. Hi Ghislain, As I understand you'll need two binary packages fo

Re: Advice regarding Java packages for SimpleITK

2017-08-08 Thread Emmanuel Bourg
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. Hi Ghislain, As I understand you'll need two binary packages for the Java bindings: * libsimpleitk-java

Advice regarding Java packages for SimpleITK

2017-08-05 Thread Ghislain Vaillant
Dear all, I am in the process of packaging SimpleITK [1] for Debian which provides several language bindings around the ITK C++ library using swig. [1] https://github.com/SimpleITK/SimpleITK So far, I have only taken care of the common C++ library and Python 3 bindings, but Java is also supp