[SCM] eclipse - Powerful IDE written in java - Debian package. branch, master, updated. debian/3.8.0_rc4-1-5-g5bf66e3

Jakub Adam jakub.adam at ktknet.cz
Sun Oct 7 21:56:55 UTC 2012


The following commit has been merged in the master branch:
commit 1cfd68b5f60415ce9a9d99a2163806d824312b78
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sun Oct 7 17:22:11 2012 +0200

    Expose org.eclipse.jface jar in /usr/share/java

diff --git a/debian/changelog b/debian/changelog
index 9b21849..fa39d2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ eclipse (3.8.0~rc4-2) UNRELEASED; urgency=low
 
   * Update extended description of eclipse-platform-data (Closes: #679423).
   * Fix libgnomeproxy compilation with glib >= 2.32 (Closes: #679328).
+  * Expose org.eclipse.jface and its dependencies in /usr/share/java.
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 30 Jun 2012 21:07:01 +0200
 
diff --git a/debian/control b/debian/control
index e19f982..b61c640 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: ant (>= 1.8.2),
                debhelper (>= 9~),
                default-jdk,
                docbook2x,
+               javahelper,
                junit (>= 3.8.2-4),
                junit4 (>= 4.10-2),
                libasm3-java (>= 3.3),
diff --git a/debian/rules b/debian/rules
index 2ccefac..0da3ea2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,6 +108,22 @@ override_dh_install_indep:
 		mh_installjar -v -plibequinox-osgi-java  $$pom debian/libequinox-osgi-java/usr/share/java/org.eclipse.$$SUFFIX.jar; \
 	 done
 
+	# Expose org.eclipse.jface and its dependencies
+
+	mkdir -p debian/eclipse-rcp/usr/share/java
+	cd debian/eclipse-rcp/usr/share/java; \
+	ln -s ../../lib/eclipse/plugins/org.eclipse.jface_*.jar; \
+	ln -s org.eclipse.jface_*.jar org.eclipse.jface.jar; \
+	ln -s ../../lib/eclipse/plugins/org.eclipse.core.commands_*.jar; \
+	ln -s org.eclipse.core.commands_*.jar org.eclipse.core.commands.jar; \
+	ln -s ../../lib/eclipse/plugins/org.eclipse.equinox.common_*.jar; \
+	ln -s org.eclipse.equinox.common_*.jar org.eclipse.equinox.common.jar
+
+	jh_classpath -c"org.eclipse.core.commands.jar org.eclipse.equinox.common.jar" \
+		debian/eclipse-rcp/usr/share/java/org.eclipse.jface.jar
+	jh_classpath -c"org.eclipse.equinox.common.jar" \
+		debian/eclipse-rcp/usr/share/java/org.eclipse.core.commands.jar
+
 override_dh_md5sums:
 	# If we are using GCJ, let the build fail at this point.
 	# We want to check the build log, but not to use the created packages.

-- 
eclipse - Powerful IDE written in java - Debian package.



More information about the pkg-java-commits mailing list