[SCM] eclipse-cdt - Plug-in for eclipse to handle C/C++ - Debian package. branch, master, updated. c08a40d2d1eb944f71ec6500630bcca3a7880794

Niels Thykier nthykier-guest at alioth.debian.org
Sun Jun 20 09:24:26 UTC 2010


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-cdt - Plug-in for eclipse to handle C/C++ - Debian package.".

The branch, master has been updated
       via  c08a40d2d1eb944f71ec6500630bcca3a7880794 (commit)
      from  1c830ad4ea53681359d65ba0ec3a0c8bfd4ecaf3 (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 c08a40d2d1eb944f71ec6500630bcca3a7880794
Author: Niels Thykier <niels at thykier.net>
Date:   Sun Jun 20 11:24:23 2010 +0200

    Added initial fetch-cdt.sh script.

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

Summary of changes:
 debian/{get-orig-source => fetch-cdt.sh} |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/debian/get-orig-source b/debian/fetch-cdt.sh
similarity index 76%
copy from debian/get-orig-source
copy to debian/fetch-cdt.sh
index c1805e6..7b67da8 100755
--- a/debian/get-orig-source
+++ b/debian/fetch-cdt.sh
@@ -1,14 +1,10 @@
 #!/bin/sh
-set -e
 
-VERSION=6.0.1
-CDTTAG=CDT_$(echo $VERSION | sed "s/\./_/g")
+CDTTAG=v201002161416
+UPSTREAM_VERSION=6.0.2
 ECLIPSEBASE=/usr/lib/eclipse
-PLUGINDIR=$ECLIPSEBASE/plugins
 
-rm -rf temp
-mkdir -p temp
-cd temp
+mkdir -p temp && cd temp
 mkdir -p home
 mkdir -p ws
 rm -rf org.eclipse.cdt-releng
@@ -24,7 +20,10 @@ sed --in-place -e'71,71i\\t\t<ant antfile="build.xml" dir="${pde.build.scripts}"
 # Remove copying of binary jar in build.xml.  We remove this jar so this operation will fail.
 sed --in-place -e "/copy file=\"\${buildDirectory}.*net\.sourceforge\.lpg/,/\/>/"d build.xml 
 
-PDEBUILDVERSION=$(ls $PLUGINDIR | grep pde.build_ | sed 's/org.eclipse.pde.build_//')
+sed --in-place -e "s,eclipse.cdt/mylyn,eclipse.cdt-old/mylyn,g" maps/cdt.map
+
+
+PDEBUILDVERSION=$(ls $ECLIPSEBASE/plugins | grep pde.build_ | sed 's/org.eclipse.pde.build_//')
 java -cp /usr/lib/eclipse/startup.jar \
      -Duser.home=../../home \
 -XX:CompileCommand="exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith" \
@@ -32,17 +31,17 @@ java -cp /usr/lib/eclipse/startup.jar \
 -XX:CompileCommand="exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate" \
 -XX:CompileCommand="exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding" \
      org.eclipse.core.launcher.Main             \
-  -Dpde.build.scripts=$PLUGINDIR/org.eclipse.pde.build_$PDEBUILDVERSION/scripts \
+  -Dpde.build.scripts=$ECLIPSEBASE/plugins/org.eclipse.pde.build_$PDEBUILDVERSION/scripts \
   -application org.eclipse.ant.core.antRunner \
   -buildfile build.xml -DbaseLocation=$ECLIPSEBASE \
-  -Dpde.build.scripts=$PLUGINDIR/org.eclipse.pde.build_$PDEBUILDVERSION/scripts \
+  -Dpde.build.scripts=$ECLIPSEBASE/plugins/org.eclipse.pde.build_$PDEBUILDVERSION/scripts \
   -DcdtTag=$CDTTAG \
   -DdontUnzip=true fetch
-#eclipse -nosplash -console
 
 find . -name net.*.jar -exec rm {} \;
 
 cd ..
-tar cfz ../../../eclipse-cdt_$VERSION.orig.tar.gz org.eclipse.cdt.releng
-cd ../..
-rm -rf temp
+mv org.eclipse.cdt.releng eclipse-cdt-${UPSTREAM_VERSION}
+tar jcf ../../eclipse-cdt_${UPSTREAM_VERSION}.orig.tar.bz2 eclipse-cdt-${UPSTREAM_VERSION}
+cd ../../
+rm -fr temp/


hooks/post-receive
-- 
eclipse-cdt - Plug-in for eclipse to handle C/C++ - Debian package.



More information about the pkg-java-commits mailing list