Tags: patch
It seems that the jar file is badly linked :
I think this can be easly fixed using wildcards in debian/rules
check this patch attached or online at :

http://rzr.online.fr/docs/contribs/patches/eclipse_3.2.2-6.0.debdiff

Note that I am not able to build it on Itanium, can you double check

About the "/usr/share/java/swt.jar wish"
I agrea this is not appropriate since it's arch dependant

Regards

--
# mailto:rzr[a]users.sf.net -- gpg:0x467094BC                        #
# http://rzr.online.fr/contribs.htm -- Libre Software Addict         #
# xmpp:rzr[a]jabber.fr -- sip:rzr[a]ekiga.net                        #


diff -u eclipse-3.2.2/debian/changelog eclipse-3.2.2/debian/changelog
--- eclipse-3.2.2/debian/changelog
+++ eclipse-3.2.2/debian/changelog
@@ -1,3 +1,10 @@
+eclipse (3.2.2-6.0) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Install swt jar for any arch any version. Closes #483279
+
+ -- Philippe Coval <[EMAIL PROTECTED]>  Sat, 31 May 2008 20:19:45 +0200
+
 eclipse (3.2.2-6) unstable; urgency=low
 
   * Suppress warnings from javac.
diff -u eclipse-3.2.2/debian/rules eclipse-3.2.2/debian/rules
--- eclipse-3.2.2/debian/rules
+++ eclipse-3.2.2/debian/rules
@@ -68,7 +68,6 @@
 
 SOURCE_VERSION=$(shell head -1 debian/changelog | sed -e 
's/^.*(\(.*\)).*$$/\1/')
 UPSTREAM_VERSION=$(shell echo $(SOURCE_VERSION) | sed -e 's/-.*$$//')
-REL=v3236
 
 export JAVA_HOME=/usr/lib/jvm/default-java
 
@@ -535,7 +534,7 @@
        # Version-less SWT Jar links.
        mkdir -p $(DEBIAN_TMP)/usr/lib/java && \
        cd $(DEBIAN_TMP)/usr/lib/java && \
-       ln -sf 
../eclipse/plugins/org.eclipse.swt.gtk.linux.$(ECLIPSE_PLATFORM)_$(UPSTREAM_VERSION).$(REL).jar
 swt3.2-gtk.jar && \
+       ln -sf 
../eclipse/plugins/org.eclipse.swt.gtk.linux.$(ECLIPSE_PLATFORM)_$(UPSTREAM_VERSION).*.jar
 swt3.2-gtk.jar && \
        ln -sf swt3.2-gtk.jar swt-gtk.jar && \
        ln -sf swt3.2-gtk.jar swt.jar
 

Reply via email to