Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9876

Re: Advice regarding Java packages for SimpleITK

From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Advice regarding Java packages for SimpleITK
Date 2017-08-11 00:20 +0200
Message-ID <ud3Y5-3tF-11@gated-at.bofh.it> (permalink)
References <ub2ts-2k5-1@gated-at.bofh.it> <ucl10-6pZ-7@gated-at.bofh.it> <ucRNf-3Bi-13@gated-at.bofh.it> <ucVnP-5Z0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 07:28 ./usr/lib/
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/lib/x86_64-linux-gnu/
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/lib/x86_64-linux-gnu/jni/
> -rw-r--r-- root/root    862712 2017-08-07 07:28 ./usr/lib/x86_64-linux-gnu/jni/libgdcmjni.so
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/share/
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/share/doc/
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/share/doc/libgdcm-java/
> -rw-r--r-- root/root      7698 2017-08-07 07:28 ./usr/share/doc/libgdcm-java/changelog.Debian.gz
> -rw-r--r-- root/root     24031 2017-08-07 07:28 ./usr/share/doc/libgdcm-java/copyright
> drwxr-xr-x root/root         0 2017-08-07 07:28 ./usr/share/java/
> -rw-r--r-- root/root    330154 2017-08-07 07:28 ./usr/share/java/gdcm.jar
> 
> 
> 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 libgdcm-java:amd64 and libgdcm-java:i386
> (or whatever arch) packages will fail to co-install because they both
> contain the same JAR file in /usr/share/java/.

no, if the package is marked M-A: same and the gdcm.jar is bit-by-bit identical
across architectures, then the package can be installed. However I'm not sure
that we enforce such jar archives.

> That is, this approach "works" in the non-multi-arch case, but should be
> avoided.
> 
> Cheers,
> tony
> 
> [0] https://packages.debian.org/unstable/libgdcm-java
> 

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Advice regarding Java packages for SimpleITK Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-05 10:20 +0200
  Re: Advice regarding Java packages for SimpleITK Emmanuel Bourg <ebourg@apache.org> - 2017-08-09 00:20 +0200
    Re: Advice regarding Java packages for SimpleITK Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-10 11:20 +0200
      Re: Advice regarding Java packages for SimpleITK tony mancill <tmancill@debian.org> - 2017-08-10 15:10 +0200
        Re: Advice regarding Java packages for SimpleITK Emmanuel Bourg <ebourg@apache.org> - 2017-08-10 22:30 +0200
        Re: Advice regarding Java packages for SimpleITK Matthias Klose <doko@debian.org> - 2017-08-11 00:20 +0200
          Re: Advice regarding Java packages for SimpleITK tony mancill <tmancill@debian.org> - 2017-08-11 00:50 +0200
      Re: Advice regarding Java packages for SimpleITK Emmanuel Bourg <ebourg@apache.org> - 2017-08-10 22:40 +0200

csiph-web