Re: adding a pom.xml to package that does not use maven

2017-08-10 Thread Carnë Draug
On 10 August 2017 at 21:14, Emmanuel Bourg wrote: > On 08/10/2017 08:52 PM, Carnë Draug wrote: > >> So how to address this? I guess that I should add such pom.xml file >> to the existing imagej package. I could do that with the debian-med >> team but could someone give me any pointers? Or shoul

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: adding a pom.xml to package that does not use maven

2017-08-10 Thread Emmanuel Bourg
On 08/10/2017 08:52 PM, Carnë Draug wrote: > So how to address this? I guess that I should add such pom.xml file > to the existing imagej package. I could do that with the debian-med > team but could someone give me any pointers? Or should something else > be done instead? There is a bunch of

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

adding a pom.xml to package that does not use maven

2017-08-10 Thread Carnë Draug
Hi I am packaging a java library and ImageJ plugin that uses maven. It is dependent on ij.jar from net.imagej. In Debian, ij.jar is provided by the imagej package [1] but there is no pom.xml there even though there is one on maven central. What happens is that imagej1 [2] makes use of ant and n

Re: Notes from the DebConf 17 Java BOF

2017-08-10 Thread Markus Koschany
On 08/08/17 20:50, Tom Marble wrote: All: Here are my rough notes from today's BOF.. Please followup with corrections! Thanks Tom for taking all these notes yesterday. 5. javadoc - Our packages that are standards 4.0.1 compliant should support "nodoc" - Some users appreciate of

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