Source: dicomscope
Version: 3.6.0-12
Severity: grave
Tags: patch

Hi,

The new version of dicomscope is unusable because dicomscope must
depend on libdicomscope-jni. Otherwise the program won't start at all.
It is also necessary to add a Breaks and Replaces relation against
dicomscope to libdicomscope-jni to ensure that the upgrade won't fail.

Please find attached a patch, that resolves this issue.

Regards,

Markus


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
diff -Nru dicomscope-3.6.0/debian/changelog dicomscope-3.6.0/debian/changelog
--- dicomscope-3.6.0/debian/changelog	2015-07-04 23:02:05.000000000 +0200
+++ dicomscope-3.6.0/debian/changelog	2015-07-09 21:04:20.000000000 +0200
@@ -1,3 +1,11 @@
+dicomscope (3.6.0-13) unstable; urgency=medium
+
+  * Add Breaks and Replaces fields to libdicomscope-jni.
+    dicomscope: Depend on libdicomscope-jni. Remove superfluous
+    ${shlibs:Depends} substvar.
+
+ -- Markus Koschany <a...@gambaru.de>  Thu, 09 Jul 2015 20:42:57 +0200
+
 dicomscope (3.6.0-12) unstable; urgency=medium
 
   * Moved debian/upstream to debian/upstream/metapackages
diff -Nru dicomscope-3.6.0/debian/control dicomscope-3.6.0/debian/control
--- dicomscope-3.6.0/debian/control	2015-07-04 22:57:37.000000000 +0200
+++ dicomscope-3.6.0/debian/control	2015-07-09 21:04:20.000000000 +0200
@@ -18,11 +18,11 @@
 Package: dicomscope
 Architecture: all
 Depends: ${java:Depends},
-         ${shlibs:Depends},
          ${misc:Depends},
          tk8.6 | tk8.5 | tk8.4 | wish,
          default-jre,
-         jarwrapper
+         jarwrapper,
+         libdicomscope-jni
 Description: OFFIS DICOM Viewer
  DICOMscope is a free DICOM viewer which can display uncompressed, monochrome
  DICOM images from all modalities and which supports monitor calibration
@@ -42,10 +42,13 @@
 
 Package: libdicomscope-jni
 Architecture: any
-Depends: ${java:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends},
-         default-jre
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends}
+Replaces:
+ dicomscope (<< 3.6.0-13)
+Breaks:
+ dicomscope (<< 3.6.0-13)
 Description: OFFIS DICOM Viewer (JNI files)
  DICOMscope is a free DICOM viewer which can display uncompressed, monochrome
  DICOM images from all modalities and which supports monitor calibration

Reply via email to