From 525985bc7db2225c2b731ace0b32c31b949753b7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 23 2015 07:43:13 +0000 Subject: import devtoolset-3-eclipse-cdt-8.6.0-1.el7 --- diff --git a/.devtoolset-3-eclipse-cdt.metadata b/.devtoolset-3-eclipse-cdt.metadata index ccad565..a0ee288 100644 --- a/.devtoolset-3-eclipse-cdt.metadata +++ b/.devtoolset-3-eclipse-cdt.metadata @@ -1,3 +1,3 @@ +58917bc61f72e3f74c96c96089ad870d44a917a7 SOURCES/CDT_8_6_0.tar.bz2 b762efbd3cf2c24a049527096eaebade4b4c754a SOURCES/libstdc++-v3.libhover -44a59b25a29d09c677d606a4baa5ef10d27026a1 SOURCES/org.eclipse.cdt-7d817be44ad57d0b54a8c8dae873074f23e74a02.tar.bz2 -13b5591575ae38a75006018dcc9ce78365e69616 SOURCES/org.eclipse.linuxtools-3.1.0b.tar.bz2 +e009a35ab998f6e986d6396404db4b23e6616904 SOURCES/org.eclipse.linuxtools-3.2.0.tar.bz2 diff --git a/.gitignore b/.gitignore index 1e691e6..d3b8da5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ +SOURCES/CDT_8_6_0.tar.bz2 SOURCES/libstdc++-v3.libhover -SOURCES/org.eclipse.cdt-7d817be44ad57d0b54a8c8dae873074f23e74a02.tar.bz2 -SOURCES/org.eclipse.linuxtools-3.1.0b.tar.bz2 +SOURCES/org.eclipse.linuxtools-3.2.0.tar.bz2 diff --git a/SOURCES/eclipse-cdt-cdtdebug-readme.patch b/SOURCES/eclipse-cdt-cdtdebug-readme.patch new file mode 100644 index 0000000..633a812 --- /dev/null +++ b/SOURCES/eclipse-cdt-cdtdebug-readme.patch @@ -0,0 +1,34 @@ +diff --git a/debug/org.eclipse.cdt.debug.application/scripts/README b/debug/org.eclipse.cdt.debug.application/scripts/README +index 0bed384..b761e30 100644 +--- a/debug/org.eclipse.cdt.debug.application/scripts/README ++++ b/debug/org.eclipse.cdt.debug.application/scripts/README +@@ -3,15 +3,11 @@ is needed of the CDT plug-ins to debug a C/C++ executable. Build is not support + Editing is allowed, but you will need to rebuild outside the Stand-alone Debugger for + those changes to manifest in your debugging session. + +-To install the Stand-alone debugger locally in your $HOME directory, run the install.sh +-script found in the scripts sub-directory of the plugins directory in your Eclipse installation: ++To run the Stand-alone debugger, use the /usr/bin/cdtdebug script. The first time the ++script is run, it will create an rhcdtdebugger sub-directory in your $HOME directory. This ++directory will contain a config.ini file and a dev.properties file. + +- ./install.sh +- +-The install script will create a cdtdebugger directory in your $HOME directory. This +-directory will contain a config.ini file, a dev.properties file, and a cdtdebug.sh script. +-The cdtdebug.sh script will start the debugger from the command-line. The cdtdebug.sh script +-does not have to be located in the cdtdebugger directory and can be moved if you prefer. ++The /usr/bin/cdtdebug script will start the debugger from the command-line. + + The script takes a few options which are mentioned below: + +@@ -55,8 +51,5 @@ If no -a or -e option is specified, the last executable debugged via -e will be + debugging. Otherwise, if this is the first time, a dialog will be presented to enter + an executable, build log, and program arguments. + +- e.g. ~/cdtdebugger/cdtdebug.sh -b ~/build.log -e ~/myproject/bin/a.out arg1 arg2 +- +-The cdtdebug.sh script that is found in the plug-in can also be run directly, but cannot +-be moved. The one installed in the cdtdebugger directory on the other hand, can be moved. ++ e.g. cdtdebug -b ~/build.log ~/myproject/bin/a.out arg1 arg2 + diff --git a/SOURCES/eclipse-cdt-cdtdebug.patch b/SOURCES/eclipse-cdt-cdtdebug.patch index 3c5d3d6..537822c 100644 --- a/SOURCES/eclipse-cdt-cdtdebug.patch +++ b/SOURCES/eclipse-cdt-cdtdebug.patch @@ -1,16 +1,12 @@ -diff -up ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh.fix ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh ---- ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh.fix 2014-09-18 17:04:12.185250256 -0400 -+++ ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh 2014-09-18 17:46:08.236860205 -0400 -@@ -70,27 +70,33 @@ while test $# -gt 0 ; do - esac +--- ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh.orig 2014-10-06 15:52:36.978351369 +0100 ++++ ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh 2014-10-06 16:32:49.816501768 +0100 +@@ -71,26 +71,31 @@ done -+ECLIPSE_HOME=@ECLIPSE_HOME@ -+ # Make sure local directory exists and has contents initialized -if [ ! -d "$HOME/cdtdebugger" ]; then - /bin/sh "$SCRIPT_DIR/install.sh" || exit -+if [ $0 -nt $HOME/rhcdtdebugger ]; then ++if [ $0 -nt "$HOME/rhcdtdebugger" ]; then +rm -rf $HOME/rhcdtdebugger >/dev/null +mkdir -p $HOME/rhcdtdebugger +cp config.ini $HOME/rhcdtdebugger @@ -19,6 +15,7 @@ diff -up ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh.fix ./deb # Calculate platform-specific jar file names -ECLIPSE_HOME=$(cd "$SCRIPT_DIR/../../.." && pwd) # install.sh will modify this line. DO NOT REMOVE THE FOLLOWING MARKER: @#@# ++ECLIPSE_HOME="@ECLIPSE_HOME@" PLUGIN_DIR="$ECLIPSE_HOME/plugins" +CDT_PLUGIN_DIR="@CDT_DROPINS@" @@ -42,18 +39,12 @@ diff -up ./debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh.fix ./deb -vmargs -Dosgi.jar=$OSGI_JAR -Dswt.plugin=$SWT_PLUGIN -Dfs.plugin=$FS_PLUGIN \ -Dlinux.plugin=$LINUX_PLUGIN -Declipse.home="$ECLIPSE_HOME" -diff -up ./debug/org.eclipse.cdt.debug.application/scripts/install.sh.fix ./debug/org.eclipse.cdt.debug.application/scripts/install.sh ---- ./debug/org.eclipse.cdt.debug.application/scripts/install.sh.fix 2014-09-18 17:01:20.261391170 -0400 -+++ ./debug/org.eclipse.cdt.debug.application/scripts/install.sh 2014-09-18 17:02:00.398058628 -0400 -@@ -10,34 +10,4 @@ - # Red Hat Inc. - initial API and implementation - ############################################################################### +--- ./debug/org.eclipse.cdt.debug.application/scripts/install.sh.orig 2014-10-06 16:24:44.634312348 +0100 ++++ ./debug/org.eclipse.cdt.debug.application/scripts/install.sh 2014-10-06 16:26:59.737416197 +0100 +@@ -15,29 +15,4 @@ + + SCRIPT_DIR=`dirname $0` --# Verify that the install script is being run from a plug-ins folder of a --# downloaded Eclipse and not in a local user .eclipse folder. -- --SCRIPT_DIR=`dirname $0` -- -if [ ! -f "$SCRIPT_DIR/../../../eclipse" ]; then - echo "$0: error: eclipse executable not found in expected location" - echo " " @@ -81,36 +72,3 @@ diff -up ./debug/org.eclipse.cdt.debug.application/scripts/install.sh.fix ./debu -sed -i -e "s,^.*@#@#.*$,ECLIPSE_HOME=$ECLIPSE_HOME," "$HOME/cdtdebugger/cdtdebug.sh" -echo "Installation complete" +echo "Installation already done" -diff -up ./debug/org.eclipse.cdt.debug.application/scripts/README.fix ./debug/org.eclipse.cdt.debug.application/scripts/README ---- ./debug/org.eclipse.cdt.debug.application/scripts/README.fix 2014-09-18 17:38:12.868978973 -0400 -+++ ./debug/org.eclipse.cdt.debug.application/scripts/README 2014-09-18 17:43:27.474194808 -0400 -@@ -3,15 +3,11 @@ is needed of the CDT plug-ins to debug a - Editing is allowed, but you will need to rebuild outside the Stand-alone Debugger for - those changes to manifest in your debugging session. - --To install the Stand-alone debugger locally in your $HOME directory, run the install.sh --script found in the scripts sub-directory of the plugins directory in your Eclipse installation: -+Running the debugger for the first time will create a rhcdtdebugger directory in your $HOME directory. -+This directory will contain a config.ini file and a dev.properties file. - -- ./install.sh -- --The install script will create a cdtdebugger directory in your $HOME directory. This --directory will contain a config.ini file, a dev.properties file, and a cdtdebug.sh script. --The cdtdebug.sh script will start the debugger from the command-line. The cdtdebug.sh script --does not have to be located in the cdtdebugger directory and can be moved if you prefer. -+Use the cdtdebug command to start the debugger from the command-line. The cdtdebug command is -+actually a script that is installed on the default PATH. - - The script takes a few options which are mentioned below: - -@@ -39,8 +35,5 @@ If no -a or -e option is specified, the - debugging. Otherwise, if this is the first time, a dialog will be presented to enter - an executable, build log, and program arguments. - -- e.g. ~/cdtdebugger/cdtdebug.sh -b ~/build.log ~/myproject/bin/a.out arg1 arg2 -- --The cdtdebug.sh script that is found in the plug-in can also be run directly, but cannot --be moved. The one installed in the cdtdebugger directory on the other hand, can be moved. -+ e.g. cdtdebug -b ~/build.log ~/myproject/bin/a.out arg1 arg2 - diff --git a/SOURCES/eclipse-cdt-disable-jacoco.patch b/SOURCES/eclipse-cdt-disable-jacoco.patch index e06ae72..c87e74f 100644 --- a/SOURCES/eclipse-cdt-disable-jacoco.patch +++ b/SOURCES/eclipse-cdt-disable-jacoco.patch @@ -1,14 +1,14 @@ diff -up ./pom.xml.fix ./pom.xml --- ./pom.xml.fix 2014-03-05 17:26:37.417268725 -0500 +++ ./pom.xml 2014-03-05 17:26:54.337527088 -0500 -@@ -397,27 +397,6 @@ +@@ -505,27 +505,6 @@ - - org.jacoco - jacoco-maven-plugin -- 0.6.2.201302030002 +- 0.7.1.201405082137 - - - pre-test diff --git a/SOURCES/eclipse-cdt-doc-fix.patch b/SOURCES/eclipse-cdt-doc-fix.patch deleted file mode 100644 index 22b5b95..0000000 --- a/SOURCES/eclipse-cdt-doc-fix.patch +++ /dev/null @@ -1,114 +0,0 @@ -diff -up ./build/org.eclipse.cdt.autotools.docs/pom.xml.fix ./build/org.eclipse.cdt.autotools.docs/pom.xml ---- ./build/org.eclipse.cdt.autotools.docs/pom.xml.fix 2013-04-09 13:12:37.000000000 -0400 -+++ ./build/org.eclipse.cdt.autotools.docs/pom.xml 2013-04-09 15:24:35.000000000 -0400 -@@ -23,20 +23,27 @@ - ${tycho-extras-version} - - -application org.eclipse.ant.core.antRunner -buildfile build-index.xml build.index -- -- -- org.apache.ant -- eclipse-plugin -- -- -- org.eclipse.help.base -- eclipse-plugin -- -- -- org.eclipse.ant.core -- eclipse-plugin -- -- -+ -+ -+ org.apache.ant -+ eclipse-plugin -+ -+ -+ org.eclipse.help.base -+ eclipse-plugin -+ -+ -+ org.eclipse.ant.core -+ eclipse-plugin -+ -+ -+ -+ -+ localrepo -+ p2 -+ file:${basedir}/../../.m2/p2/repo -+ -+ - - - -@@ -49,4 +56,4 @@ - - - -- -\ No newline at end of file -+ -diff -up ./doc/org.eclipse.cdt.doc.isv/pom.xml.fix ./doc/org.eclipse.cdt.doc.isv/pom.xml ---- ./doc/org.eclipse.cdt.doc.isv/pom.xml.fix 2013-04-09 12:08:40.000000000 -0400 -+++ ./doc/org.eclipse.cdt.doc.isv/pom.xml 2013-04-09 16:31:32.000000000 -0400 -@@ -51,6 +51,13 @@ - eclipse-plugin - - -+ -+ -+ localrepo -+ p2 -+ file:${basedir}/../../.m2/p2/repo -+ -+ - - - -diff -up ./doc/org.eclipse.cdt.doc.user/pom.xml.fix ./doc/org.eclipse.cdt.doc.user/pom.xml ---- ./doc/org.eclipse.cdt.doc.user/pom.xml.fix 2013-04-09 13:11:54.000000000 -0400 -+++ ./doc/org.eclipse.cdt.doc.user/pom.xml 2013-04-09 15:24:02.000000000 -0400 -@@ -37,20 +37,27 @@ - ${tycho-extras-version} - - -application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index -- -- -- org.apache.ant -- eclipse-plugin -- -- -- org.eclipse.help.base -- eclipse-plugin -- -- -- org.eclipse.ant.core -- eclipse-plugin -- -- -+ -+ -+ org.apache.ant -+ eclipse-plugin -+ -+ -+ org.eclipse.help.base -+ eclipse-plugin -+ -+ -+ org.eclipse.ant.core -+ eclipse-plugin -+ -+ -+ -+ -+ localrepo -+ p2 -+ file:${basedir}/../../.m2/p2/repo -+ -+ - - - diff --git a/SOURCES/eclipse-cdt-libhover-libstdcxx.patch b/SOURCES/eclipse-cdt-libhover-libstdcxx.patch index 7353cd1..68b7ca6 100644 --- a/SOURCES/eclipse-cdt-libhover-libstdcxx.patch +++ b/SOURCES/eclipse-cdt-libhover-libstdcxx.patch @@ -1,6 +1,6 @@ -diff -up ./org.eclipse.linuxtools.cdt.libhover-feature/feature.xml.fix ./org.eclipse.linuxtools.cdt.libhover-feature/feature.xml ---- ./org.eclipse.linuxtools.cdt.libhover-feature/feature.xml.fix 2013-04-09 17:55:27.000000000 -0400 -+++ ./org.eclipse.linuxtools.cdt.libhover-feature/feature.xml 2013-04-09 17:55:46.000000000 -0400 +diff -up libhover/org.eclipse.linuxtools.cdt.libhover-feature/feature.xml.fix libhover/org.eclipse.linuxtools.cdt.libhover-feature/feature.xml +--- libhover/org.eclipse.linuxtools.cdt.libhover-feature/feature.xml.fix 2013-04-09 17:55:27.000000000 -0400 ++++ libhover/org.eclipse.linuxtools.cdt.libhover-feature/feature.xml 2013-04-09 17:55:46.000000000 -0400 @@ -50,4 +50,11 @@ version="0.0.0" unpack="false"/> diff --git a/SOURCES/eclipse-cdt-libhover-local-libstdcxx.patch b/SOURCES/eclipse-cdt-libhover-local-libstdcxx.patch index 74ce78a..e4fc6fd 100644 --- a/SOURCES/eclipse-cdt-libhover-local-libstdcxx.patch +++ b/SOURCES/eclipse-cdt-libhover-local-libstdcxx.patch @@ -1,6 +1,6 @@ -diff -up ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties.fix ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties ---- ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties.fix 2011-04-12 16:08:32.000000000 -0400 -+++ ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties 2011-04-12 16:08:42.000000000 -0400 +diff -up libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties.fix libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties +--- libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties.fix 2011-04-12 16:08:32.000000000 -0400 ++++ libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties 2011-04-12 16:08:42.000000000 -0400 @@ -1,6 +1,7 @@ bin.includes = META-INF/,\ plugin.xml,\ @@ -9,9 +9,9 @@ diff -up ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/build.properties.fix ./ about.html,\ plugin.properties src.includes = about.html,\ -diff -up ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml.fix ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml ---- ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml.fix 2011-04-12 16:06:05.000000000 -0400 -+++ ./org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml 2011-04-12 16:06:27.000000000 -0400 +diff -up libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml.fix libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml +--- libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml.fix 2011-04-12 16:06:05.000000000 -0400 ++++ libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/plugin.xml 2011-04-12 16:06:27.000000000 -0400 @@ -7,7 +7,7 @@ point="org.eclipse.linuxtools.cdt.libhover.library"> org.eclipse.linuxtools.cdt.libhover.glibc - org.eclipse.linuxtools.cdt.libhover.library.docs - org.eclipse.linuxtools.cdt.libhover.libstdcxx -- org.eclipse.linuxtools.cdt.libhover.newlib -- org.eclipse.linuxtools.cdt.libhover.newlib-feature - org.eclipse.linuxtools.cdt.libhover.devhelp - org.eclipse.linuxtools.cdt.libhover.devhelp.tests - org.eclipse.linuxtools.cdt.libhover.devhelp-feature diff --git a/SOURCES/eclipse-cdt-linuxtools-disable-jacoco.patch b/SOURCES/eclipse-cdt-linuxtools-disable-jacoco.patch deleted file mode 100644 index 98e7912..0000000 --- a/SOURCES/eclipse-cdt-linuxtools-disable-jacoco.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -up ./pom.xml.orig ./pom.xml ---- ./pom.xml.orig 2014-09-17 12:48:49.000000000 -0400 -+++ ./pom.xml 2014-09-18 16:38:00.652050893 -0400 -@@ -53,10 +53,6 @@ - 0.21.0 - 0.21.0 - linuxtools-staging -- jacoco -- reuseReports -- ${project.basedir}/../../target/jacoco.exec -- 1.7 - UTF-8 - - -@@ -254,34 +250,6 @@ - - - -- -- org.jacoco -- jacoco-maven-plugin -- 0.7.1.201405082137 -- -- -- pre-test -- -- prepare-agent -- -- -- -- ${sonar.jacoco.reportPath} -- -- org.eclipse.linuxtools.* -- -- true -- -- -- -- post-test -- test -- -- report -- -- -- -- - - - diff --git a/SOURCES/eclipse-cdt-linuxtools-features.patch b/SOURCES/eclipse-cdt-linuxtools-features.patch index 63c02e6..981b1a8 100644 --- a/SOURCES/eclipse-cdt-linuxtools-features.patch +++ b/SOURCES/eclipse-cdt-linuxtools-features.patch @@ -1,82 +1,205 @@ -diff -up ./releng/org.eclipse.linuxtools.releng-site/category.xml.fix2 ./releng/org.eclipse.linuxtools.releng-site/category.xml ---- ./releng/org.eclipse.linuxtools.releng-site/category.xml.fix2 2014-09-18 16:26:31.624294757 -0400 -+++ ./releng/org.eclipse.linuxtools.releng-site/category.xml 2014-09-18 16:31:10.136134554 -0400 -@@ -7,15 +7,18 @@ +diff --git releng/org.eclipse.linuxtools.releng-site/category.xml releng/org.eclipse.linuxtools.releng-site/category.xml +index 6235b53..51628cf 100644 +--- releng/org.eclipse.linuxtools.releng-site/category.xml ++++ releng/org.eclipse.linuxtools.releng-site/category.xml +@@ -7,190 +7,22 @@ -+ +- +- +- -+ +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- -+ +- +- +- -+ +- +- +- +- +- +- +- +- +- -+ +- +- +- -+ +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- Eclipse Linux Tools +@@ -206,9 +38,4 @@ + Eclipse Linux Tools source features and bundles -+ +- +- +- Optional LTTng features +- +- diff --git a/SOURCES/eclipse-cdt-linuxtools-target.patch b/SOURCES/eclipse-cdt-linuxtools-target.patch deleted file mode 100644 index 43fc6ee..0000000 --- a/SOURCES/eclipse-cdt-linuxtools-target.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -up ./pom.xml.fix ./pom.xml ---- ./pom.xml.fix 2014-09-19 13:18:24.865298976 -0400 -+++ ./pom.xml 2014-09-19 13:18:44.145650713 -0400 -@@ -52,7 +52,6 @@ - update-3.1 - 0.21.0 - 0.21.0 -- linuxtools-staging - UTF-8 - - -@@ -210,14 +209,6 @@ - x86_64 - - -- -- -- org.eclipse.linuxtools -- org.eclipse.linuxtools.target -- ${target-platform} -- 1.0.0 -- -- - - - -diff -up ./releng/pom.xml.fix ./releng/pom.xml ---- ./releng/pom.xml.fix 2014-09-19 14:11:03.705792071 -0400 -+++ ./releng/pom.xml 2014-09-19 14:11:19.582980456 -0400 -@@ -44,7 +44,6 @@ - - - org.eclipse.linuxtools.releng-site -- org.eclipse.linuxtools.target - - - diff --git a/SOURCES/eclipse-cdt-remove-launchbar.patch b/SOURCES/eclipse-cdt-remove-launchbar.patch deleted file mode 100644 index 672b65e..0000000 --- a/SOURCES/eclipse-cdt-remove-launchbar.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -up ./pom.xml.fix ./pom.xml ---- ./pom.xml.fix 2014-09-18 18:03:05.718999013 -0400 -+++ ./pom.xml 2014-09-18 18:05:39.233561691 -0400 -@@ -208,13 +208,13 @@ - remote/org.eclipse.cdt.remote.core - remote/org.eclipse.cdt.remote-feature - -+