The maintainer of this package seems to be very busy, so I got his 
permission to make the changes myself:
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577360#25)

Here's the changelog entry:

swt-gtk (3.5.1-2.1) unstable; urgency=low

  * NMU
  * debian/control:
    + Replace default-jdk-builddep with default-jdk, gcj-native-helper in B-D
    + Bumped Standards-Version to 3.9.1
  * debian/rules:
    + Call dh_xulrunner to add proper  xulrunner dependency to
      libswt-mozilla-gtk-<version>-jni (Closes: #587643)
    + Fix from Ubuntu: Don't set DEB_MAKE_INVOKE and pass.  AWT_LIB_PATH to
      Makefile. This used to be overwritten by makefile- vars.mk in Lucid
      anyway, and so it was ignored. It is not overwritten now, and causes the
      package to FTBFS. Instead, export AWT_LIB_PATH before calling the
      makefile (Closes: #577360)
  * Explicitly set source format to 1.0


Please find the debdiff attached.

Please CC me on replies, since I am not subscribed to the list.

Thanks...

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
diff --git a/debian/changelog b/debian/changelog
index 5d34392..0fec909 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+swt-gtk (3.5.1-2.1) unstable; urgency=low
+
+  * NMU
+  * debian/control:
+    + Replace default-jdk-builddep with default-jdk, gcj-native-helper in B-D
+    + Bumped Standards-Version to 3.9.1
+  * debian/rules:
+    + Call dh_xulrunner to add proper  xulrunner dependency to
+      libswt-mozilla-gtk-<version>-jni (Closes: #587643)
+    + Fix from Ubuntu: Don't set DEB_MAKE_INVOKE and pass.  AWT_LIB_PATH to
+      Makefile. This used to be overwritten by makefile- vars.mk in Lucid
+      anyway, and so it was ignored. It is not overwritten now, and causes the
+      package to FTBFS. Instead, export AWT_LIB_PATH before calling the
+      makefile (Closes: #577360)
+  * Explicitly set source format to 1.0
+
+ -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@sabily.org>  Mon, 09 Aug 
2010 22:59:08 +0300
+
 swt-gtk (3.5.1-2) unstable; urgency=low
 
   * debian/control:
diff --git a/debian/control b/debian/control
index 1783a26..37b0c44 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,11 @@ Section: libs
 Priority: optional
 Maintainer: Adrian Perez <adrianperez....@gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: default-jdk-builddep, libgnomeui-dev, libxtst-dev,
+Build-Depends: default-jdk, gcj-native-helper, libgnomeui-dev, libxtst-dev,
  xulrunner-dev, libxcb-render-util0-dev, libxt-dev,
  libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev,
  fastjar, cdbs, patchutils, debhelper (>> 7.0)
-Standards-Version: 3.8.3
+Standards-Version: 3.9.1
 Vcs-Git: git://git.debian.org/git/pkg-java/swt-gtk.git
 Vcs-Browser: http://git.debian.org/?p=pkg-java/swt-gtk.git
 Homepage: http://www.eclipse.org/swt/
diff --git a/debian/rules b/debian/rules
index 9dd3333..90bed7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), powerpc))
        AWT_LIB_DIR = ppc
 endif 
 
-DEB_MAKE_INVOKE += -DAWT_LIB_PATH=/usr/lib/jvm/default-java/jre/lib/\
-       $(AWT_LIB_DIR)
+export AWT_LIB_PATH=/usr/lib/jvm/default-java/jre/lib/$(AWT_LIB_DIR)
 
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/makefile.mk
@@ -35,3 +34,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
 common-binary-post-install-arch::
        dh_nativejava -a
 endif
+
+common-binary-predeb-arch::
+       dh_xulrunner
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0

Attachment: signature.asc
Description: Digital signature

Reply via email to