[SCM] Debian packaging for swt-gtk. branch, master, updated. debian/3.7.2-1-7-g489edea

Niels Thykier niels at thykier.net
Thu May 24 07:43:21 UTC 2012


The following commit has been merged in the master branch:
commit 3f7e663232eea4660a1cdf89e4abc593c1faeddb
Author: Niels Thykier <niels at thykier.net>
Date:   Thu May 24 08:21:16 2012 +0200

    Drop co-installability with older versions of SWT
    
    The "current co-installability" fails to ensure the relevant JNI
    libraries which causes bugs like #670756 and LP: #1000272.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 4fb5c0e..053904d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,17 @@
 swt-gtk (3.7.2-3) UNRELEASED; urgency=low
 
+  [ Jakub Adam ]
   * debian/Makefile: Add missing SWTMessages*.properties files to
     swt-gtk-$(RELEASE).jar
 
+  [ Niels Thykier ]
+  * Use breaks to ensure that the SWT JNI libraries are upgraded
+    together with the Java package.
+  * Add conflicts with older versions of SWT and its JNI libraries.
+    This avoid this issue new and old versions of SWT and its JNI
+    libraries being used (and crashing).  (Closes: #670756,
+    LP: #1000272)
+
  -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 08 Apr 2012 22:41:29 +0200
 
 swt-gtk (3.7.2-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0efbd1a..312a463 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,14 @@ Architecture: any
 Section: java
 Depends: libswt-gtk-3-jni (= ${binary:Version}), ${misc:Depends}
 Suggests: libswt-gtk-3-java-gcj
+Conflicts: libswt3.2-gtk-jni,
+           libswt3.2-gtk-java,
+           libswt-gtk-3.4-java,
+           libswt-gtk-3.4-jni,
+           libswt-gtk-3.5-jni,
+           libswt-gnome-gtk-3.5-jni,
+           libswt-cairo-gtk-3.5-jni,
+           libswt-mozilla-gtk-3.5-jni,
 Description: Standard Widget Toolkit for GTK+ Java library
  The Standard Widget Toolkit (SWT) is a fast and rich GUI toolkit for the Java
  programming language. SWT provides efficient, portable and fast access to
@@ -32,6 +40,7 @@ Package: libswt-gtk-3-jni
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: libswt-gnome-gtk-3-jni
+Breaks: libswt-gtk-3-java (<< ${binary:Version}), libswt-gtk-3-java (>> ${binary:Version})
 Description: Standard Widget Toolkit for GTK+ JNI library
  The Standard Widget Toolkit (SWT) is a fast and rich GUI toolkit for the Java
  programming language. SWT provides efficient, portable and fast access to
@@ -43,6 +52,7 @@ Description: Standard Widget Toolkit for GTK+ JNI library
 Package: libswt-gnome-gtk-3-jni
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: libswt-gtk-3-java (<< ${binary:Version}), libswt-gtk-3-java (>> ${binary:Version})
 Description: Standard Widget Toolkit for GTK+ GNOME JNI library
  The Standard Widget Toolkit (SWT) is a fast and rich GUI toolkit for the Java
  programming language. SWT provides efficient, portable and fast access to
@@ -54,6 +64,7 @@ Description: Standard Widget Toolkit for GTK+ GNOME JNI library
 Package: libswt-cairo-gtk-3-jni
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: libswt-gtk-3-java (<< ${binary:Version}), libswt-gtk-3-java (>> ${binary:Version})
 Description: Standard Widget Toolkit for GTK+ Cairo JNI library
  The Standard Widget Toolkit (SWT) is a fast and rich GUI toolkit for the Java
  programming language. SWT provides efficient, portable and fast access to
@@ -76,6 +87,7 @@ Description: Standard Widget Toolkit for GTK+ GLX JNI library
 Package: libswt-webkit-gtk-3-jni
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: libswt-gtk-3-java (<< ${binary:Version}), libswt-gtk-3-java (>> ${binary:Version})
 Description: Standard Widget Toolkit for GTK+ WebKit JNI library
  The Standard Widget Toolkit (SWT) is a fast and rich GUI toolkit for the Java
  programming language. SWT provides efficient, portable and fast access to

-- 
Debian packaging for swt-gtk.



More information about the pkg-java-commits mailing list