[SCM] eclipse - Powerful IDE written in java - Debian package. branch, master, updated. 58f85888e324ea3fa69a4760fea600c643eacda7

Benjamin Drung bdrung-guest at alioth.debian.org
Sat Oct 31 22:45:35 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "eclipse - Powerful IDE written in java - Debian package.".

The branch, master has been updated
       via  58f85888e324ea3fa69a4760fea600c643eacda7 (commit)
       via  71440d3db2a133a94e57af0610f76c64835f0e62 (commit)
       via  3b1151a64b47d9c5a24a385ce87f784f381254a9 (commit)
      from  0417b185fa099bc03e207ccc04b938b76ae5fb5b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 58f85888e324ea3fa69a4760fea600c643eacda7
Author: Benjamin Drung <bdrung at ubuntu.com>
Date:   Sat Oct 31 23:45:03 2009 +0100

    Remove patches, that are accepted by upstream.

commit 71440d3db2a133a94e57af0610f76c64835f0e62
Merge: 0417b185fa099bc03e207ccc04b938b76ae5fb5b 3b1151a64b47d9c5a24a385ce87f784f381254a9
Author: Benjamin Drung <bdrung at ubuntu.com>
Date:   Sat Oct 31 23:25:18 2009 +0100

    Merge branch 'upstream'

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                         |   11 +++++
 build.xml                                         |   10 +++-
 debian/patches/preserve-perms-on-install.patch    |   21 ----------
 debian/patches/series                             |    1 -
 patches/eclipse-pde.build-add-package-build.patch |   45 +++++----------------
 5 files changed, 29 insertions(+), 59 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9b6533a..8eb26bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-10-30  Andrew Overholt  <overholt at redhat.com>
+
+	Bug #292610 (Benjamin Drung)
+
+	* build.xml: Apply patches from Benjamin Drung to maintain permissions upon
+	installation.  Also give executable bit to package-build shell scripts.
+
+2009-10-29  Alexander Kurtakov  <akurtako at redhat.com>
+
+	* patches/eclipse-pde.build-add-package-build.patch: Remove one shell script (done in ant now).
+
 2009-10-22  Alexander Kurtakov  <akurtako at redhat.com>
     Fix #292078. (Niels Thykier)
 	* patches/gnomeproxy-makefile.patch: New file.
diff --git a/build.xml b/build.xml
index aea98f9..3802a65 100644
--- a/build.xml
+++ b/build.xml
@@ -218,6 +218,7 @@
 		<patch patchfile="${basedir}/patches/eclipse-pde.build-add-package-build.patch" dir="${buildDirectory}/plugins/org.eclipse.pde.build" strip="0" />
 		<patch patchfile="${basedir}/patches/gnomeproxy-makefile.patch" dir="${buildDirectory}" strip="1" />
 		<replace file="${buildDirectory}/plugins/org.eclipse.pde.build/templates/package-build/build.properties" token="/usr/share/eclipse" value="/usr/${libDir}/eclipse" />
+		<chmod dir="${buildDirectory}/plugins/org.eclipse.pde.build/templates/package-build" includes="*.sh" perm="a+x" />
 		<!-- end eclipse-build-only patches -->
 		<!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=290064-->
 		<patch patchfile="${basedir}/patches/eclipse-help-toolbar.patch" dir="${buildDirectory}" strip="0" />
@@ -695,9 +696,12 @@
 
 	<target name="install" depends="provision.sdk">
 		<mkdir dir="${destDir}${prefix}/${libDir}/eclipse" />
-		<copy todir="${destDir}${prefix}/${libDir}/eclipse" overwrite="true">
-			<fileset dir="${buildDirectory}/installation" />
-		</copy>
+		<exec executable="cp" failonerror="true">
+			<arg value="-rd"/>
+			<arg value="--no-target-directory" />
+			<arg value="${buildDirectory}/installation" />
+			<arg value="${destDir}${prefix}/${libDir}/eclipse"/>
+		</exec>
 		<!-- install desktop file -->
 		<copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
 		<!-- install icons -->
diff --git a/debian/patches/preserve-perms-on-install.patch b/debian/patches/preserve-perms-on-install.patch
deleted file mode 100644
index f567913..0000000
--- a/debian/patches/preserve-perms-on-install.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Description: preserve the execution permission when installing files
-Author: Benjamin Drung <bdrung at ubuntu.com>
-
---- a/build.xml	(Revision 23484)
-+++ b/build.xml	(Arbeitskopie)
-@@ -685,9 +685,12 @@
- 
- 	<target name="install" depends="provision.sdk">
- 		<mkdir dir="${destDir}${prefix}/${libDir}/eclipse" />
--		<copy todir="${destDir}${prefix}/${libDir}/eclipse" overwrite="true">
--			<fileset dir="${buildDirectory}/installation" />
--		</copy>
-+		<exec executable="cp" failonerror="true">
-+			<arg value="-rd"/>
-+			<arg value="--no-target-directory" />
-+			<arg value="${buildDirectory}/installation" />
-+			<arg value="${destDir}${prefix}/${libDir}/eclipse"/>
-+		</exec>
- 		<!-- install desktop file -->
- 		<copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
- 		<!-- install icons -->
diff --git a/debian/patches/series b/debian/patches/series
index 21324c7..74c8f06 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 fix-shell-script-perm.patch
-preserve-perms-on-install.patch
 support-extracted-source.patch
 fix-perm.patch
diff --git a/patches/eclipse-pde.build-add-package-build.patch b/patches/eclipse-pde.build-add-package-build.patch
index baa3778..f5998ce 100644
--- a/patches/eclipse-pde.build-add-package-build.patch
+++ b/patches/eclipse-pde.build-add-package-build.patch
@@ -140,7 +140,7 @@ RCS file: templates/package-build/customTargets.xml
 diff -N templates/package-build/customTargets.xml
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ templates/package-build/customTargets.xml	1 Jan 1970 00:00:00 -0000
-@@ -0,0 +1,149 @@
+@@ -0,0 +1,154 @@
 +<project name="Build specific targets and properties" default="noDefault">
 +
 +	<fail unless="type" message="Please set the ${type} property to 'feature', 'plugin' or 'fragment'." />
@@ -150,8 +150,8 @@ diff -N templates/package-build/customTargets.xml
 +	<!-- we need to do this because you can't expand variables in target names -->
 +	<copy file="${builder}/customTargets-assemble-target.xml" tofile="${buildDirectory}/customTargets-${id}-assemble-target.xml" />
 +	<replace file="${buildDirectory}/customTargets-${id}-assemble-target.xml" token="@id@" value="${id}" />
-+	<replace file="${buildDirectory}/customTargets-${id}-assemble-target.xml" token="@configs@" value="${configs}" />              
-+	<replace file="${buildDirectory}/customTargets-${id}-assemble-target.xml" token="," value="." />              
++	<replace file="${buildDirectory}/customTargets-${id}-assemble-target.xml" token="@configs@" value="${configs}" />
++	<replace file="${buildDirectory}/customTargets-${id}-assemble-target.xml" token="," value="." />
 +	<import file="${buildDirectory}/customTargets-${id}-assemble-target.xml" />
 +
 +	<!-- ===================================================================== -->
@@ -215,10 +215,15 @@ diff -N templates/package-build/customTargets.xml
 +		<exec dir="${builder}" executable="/bin/bash" failOnError="true">
 +			<arg line="prepare-build-dir.sh ${sourceDirectory} ${buildDirectory} ${testing}" />
 +		</exec>
-+		<exec dir="${builder}" executable="/bin/bash" failOnError="true">
-+		    <arg line="symlink-deps.sh ${buildDirectory} ${orbitDepsDir}" />
-+		</exec>
++		<antcall target="symlinkDeps" />
++	</target>
 +
++	<target name="symlinkDeps" if="orbitDepsDir">
++		<apply executable="ln" parallel="false" dir="${buildDirectory}/plugins" verbose="true">
++			<arg line="-s" />
++			<srcfile />
++			<fileset dir="${orbitDepsDir}" includes="*.jar" />
++		</apply>
 +	</target>
 +
 +	<!-- ===================================================================== -->
@@ -309,31 +314,3 @@ diff -N templates/package-build/build.properties
 +archiveName=${id}.zip
 +runPackager=false
 +baseLocation=/usr/share/eclipse
-Index: templates/package-build/symlink-deps.sh
-===================================================================
-RCS file: templates/package-build/symlink-deps.sh
-diff -N templates/package-build/symlink-deps.sh
---- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ templates/package-build/symlink-deps.sh	1 Jan 1970 00:00:00 -0000
-@@ -0,0 +1,21 @@
-+#!/bin/sh -x
-+
-+if [ $# -ne 2 ]; then
-+  echo "usage: $0 <path to build dir> <dependencies>"
-+  exit 1
-+fi
-+
-+if [ ! -d $1 ]; then
-+  echo "usage: $0 <path to build dir> <dependencies>"
-+  exit 1
-+fi
-+
-+BUILDDIR=$1
-+DEPENDENCIESDIR=$2
-+
-+pushd $BUILDDIR/plugins
-+  for dep in `ls $DEPENDENCIESDIR`; do
-+      echo "ln -s $DEPENDENCIESDIR/$dep"
-+      ln -s $DEPENDENCIESDIR/$dep
-+  done
-+popd


hooks/post-receive
-- 
eclipse - Powerful IDE written in java - Debian package.



More information about the pkg-java-commits mailing list