r2106 - in trunk/eclipse-ve/debian: . patches

Stephan Michels tashiro-guest at costa.debian.org
Fri May 5 06:17:09 UTC 2006


Author: tashiro-guest
Date: 2006-05-05 06:17:08 +0000 (Fri, 05 May 2006)
New Revision: 2106

Modified:
   trunk/eclipse-ve/debian/eclipse-pdebuild.mk
   trunk/eclipse-ve/debian/patches/eclipse-ve-perfmsr.jar.patch
Log:
Make links to /usr/share and /usr/lib absolute to decrease problems with patches.


Modified: trunk/eclipse-ve/debian/eclipse-pdebuild.mk
===================================================================
--- trunk/eclipse-ve/debian/eclipse-pdebuild.mk	2006-05-04 03:18:30 UTC (rev 2105)
+++ trunk/eclipse-ve/debian/eclipse-pdebuild.mk	2006-05-05 06:17:08 UTC (rev 2106)
@@ -274,6 +274,13 @@
 		--exclude=CVS --exclude=.svn --exclude=debian \
 		$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
 
+	# Make all links to /usr/share and /usr/lib absolute
+	for FILE in `find -name 'build.xml'`; do \
+		cat $$FILE | sed -e 's/\(\.\.\/\)\+usr\/share/\/usr\/share/g' \
+			   | sed -e 's/\(\.\.\/\)\+usr\/lib/\/usr\/lib/g' > $$FILE.orig; \
+		mv $$FILE.orig $$FILE; \
+	done;
+
 get-orig-source:: common-post-fetch
 
 # Invoke PDE Build

Modified: trunk/eclipse-ve/debian/patches/eclipse-ve-perfmsr.jar.patch
===================================================================
--- trunk/eclipse-ve/debian/patches/eclipse-ve-perfmsr.jar.patch	2006-05-04 03:18:30 UTC (rev 2105)
+++ trunk/eclipse-ve/debian/patches/eclipse-ve-perfmsr.jar.patch	2006-05-05 06:17:08 UTC (rev 2106)
@@ -1,9 +1,9 @@
 --- src/plugins/org.eclipse.jem.util/build.xml.orig	2005-12-19 01:20:41.000000000 +0100
 +++ src/plugins/org.eclipse.jem.util/build.xml	2005-12-19 01:21:20.000000000 +0100
 @@ -68,6 +68,7 @@
- 				<pathelement path="../../../../../../../../../../../usr/lib/eclipse/plugins/org.eclipse.emf.ecore_2.1.0.jar"/>
- 				<pathelement path="../../../../../../../../../../../usr/lib/eclipse/plugins/org.eclipse.emf.common_2.1.0.jar"/>
- 				<pathelement path="../../../../../../../../../../../usr/lib/eclipse/plugins/org.eclipse.emf.ecore.xmi_2.1.0.jar"/>
+ 				<pathelement path="/usr/share/eclipse/plugins/org.eclipse.emf.ecore_2.1.0.jar"/>
+ 				<pathelement path="/usr/share/eclipse/plugins/org.eclipse.emf.common_2.1.0.jar"/>
+ 				<pathelement path="/usr/share/eclipse/plugins/org.eclipse.emf.ecore.xmi_2.1.0.jar"/>
 +                                <pathelement path="org.eclipse.perfmsr.core.stub/perfmsr.jar"/>
  			</classpath>
  			<src path="jemutil/"			/>




More information about the pkg-java-commits mailing list