[SCM] Debian packaging for swt-gtk. branch, master-3.8, updated. debian/3.8.0_rc2-1-1-g4dbc1a2

Niels Thykier niels at thykier.net
Mon Jun 18 07:53:55 UTC 2012


The following commit has been merged in the master-3.8 branch:
commit 4dbc1a2ee8931c32c5eabdf034fb716e840d57d2
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Jun 18 09:53:40 2012 +0200

    Use dependencies instead of Breaks where possible
    
    Signed-off-by: Niels Thykier <niels at thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 300db19..edcaae3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+swt-gtk (3.8.0~rc2-2) UNRELEASED; urgency=low
+
+  * Prefer tight dependencies between the -JNI libraries
+    to breaks.
+  * Add breaks on the -JNI libraries built from 3.8.0~rc2-1
+    to ensure the tight dependency is used.
+
+ -- Niels Thykier <niels at thykier.net>  Mon, 18 Jun 2012 09:40:52 +0200
+
 swt-gtk (3.8.0~rc2-1) experimental; urgency=low
 
   [ Niels Thykier ]
diff --git a/debian/control b/debian/control
index b2d209c..0374931 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,11 @@ Conflicts: libswt3.2-gtk-jni,
            libswt-gtk-3.5-jni,
            libswt-gnome-gtk-3.5-jni,
            libswt-cairo-gtk-3.5-jni,
-           libswt-mozilla-gtk-3.5-jni,
+           libswt-mozilla-gtk-3.5-jni
+Breaks: libswt-gnome-gtk-3-jni (<< 3.8.0~rc2-2~),
+         libswt-cairo-gtk-3-jni (<< 3.8.0~rc2-2~),
+         libswt-glx-gtk-3-jni (<< 3.8.0~rc2-2~),
+         libswt-webkit-gtk-3-jni (<< 3.8.0~rc2-2~)
 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
@@ -53,8 +57,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})
+Depends: libswt-gtk-3-jni (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 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
@@ -65,8 +68,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})
+Depends: libswt-gtk-3-jni (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 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
@@ -77,7 +79,7 @@ Description: Standard Widget Toolkit for GTK+ Cairo JNI library
 
 Package: libswt-glx-gtk-3-jni
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libswt-gtk-3-jni (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: Standard Widget Toolkit for GTK+ GLX 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
@@ -88,7 +90,7 @@ Description: Standard Widget Toolkit for GTK+ GLX JNI library
 
 Package: libswt-webkit-gtk-3-jni
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libswt-gtk-3-jni (= ${binary:Version}), ${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

-- 
Debian packaging for swt-gtk.



More information about the pkg-java-commits mailing list