908a9c8
%global _eclipsedir %{_prefix}/lib/eclipse
908a9c8
5c0cc13
%global debug_package %{nil}
5c0cc13
908a9c8
# Change following to 0 to default to no container/remote support when building
908a9c8
# for the first time in a buildroot -- this is needed to build:
908a9c8
#  * eclipse-linuxtools-docker
908a9c8
#  * eclipse-remote
908a9c8
#  * eclipse-tm-terminal
908a9c8
#  * eclipse-launchbar
908a9c8
# which all make circular dependencies on cdt
5c0cc13
%global _enable_container_and_remote_support 0
5c0cc13
%global _enable_container_support 0
e2f9335
17dd9bc
Epoch: 2
2777248
2b00c3b
%global eclipse_base            %{_datadir}/eclipse
17dd9bc
%global cdt_snapshot            org.eclipse.cdt-55569e158ce4a1026f3d2405945154d349dc724c
784c532
%global template_snapshot       org.eclipse.tools.templates-c7881b5a9894ee1fdb2fa9bc5dd37359533627b5
Andrew Overholt 9fa799a
4bf02e1
%global _cdtstandalonedir	%{_prefix}/lib/cdt-stand-alone-debugger
4bf02e1
0871dc0
# we don't want to either provide or require anything from the stand-alone debugger install dir
0871dc0
%global __provides_exclude_from ^%{_cdtstandalonedir}/.*$
0871dc0
%global __requires_exclude_from ^%{_cdtstandalonedir}/.*$
0871dc0
5d1c762
%ifarch %{ix86}
2b00c3b
    %global eclipse_arch x86
2b00c3b
%endif
3f44445
%ifarch %{arm}
2b00c3b
    %global eclipse_arch arm
5d1c762
%endif
2b00c3b
%ifarch ppc64 ppc64p7
2b00c3b
    %global eclipse_arch ppc64
3f44445
%endif
908a9c8
%ifarch s390x x86_64 aarch64 ppc64le
2b00c3b
    %global eclipse_arch %{_arch}
2b00c3b
%endif
2b00c3b
2b00c3b
# Desktop file information
908a9c8
%global app_name %{?app_name_prefix}%{!?app_name_prefix:Eclipse} C/C++ Debugger
2b00c3b
%global app_exec %{?app_exec_prefix} cdtdebug
5d1c762
a90b04c
Summary:        Eclipse C/C++ Development Tools (CDT) plugin
bb407f9
Name:           eclipse-cdt
17dd9bc
Version:        9.5.3
feb4db6
Release:        4.2%{?dist}
2f5937d
License:        EPL-1.0 and CPL
a90b04c
URL:            http://www.eclipse.org/cdt
a90b04c
784c532
Source0: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/snapshot/%{cdt_snapshot}.tar.xz
6c5f3b3
b22f451
# This could be broken out into a separate SRPM if another project starts using it
b22f451
Source1: http://git.eclipse.org/c/cdt/org.eclipse.tools.templates.git/snapshot/%{template_snapshot}.tar.xz
b22f451
3cdf7ba
Source3: eclipse-cdt.desktop
3cdf7ba
9c89132
# man-page for /usr/bin/cdtdebug
9c89132
Source4: cdtdebug.man
9c89132
Andrew Overholt 63a3c72
# Script to run the tests in Xvnc
2b00c3b
Source5: eclipse-cdt-runtests.sh
Andrew Overholt 63a3c72
48ea26a
# Following fixes cdtdebug.sh script to get proper platform filesystem plugin
2b00c3b
Patch1: eclipse-cdt-cdtdebug.patch
48ea26a
48ea26a
# Following fixes Standalone Debugger config.ini file to use bundle symbolic names
2b00c3b
Patch2: eclipse-cdt-config-ini.patch
48ea26a
48ea26a
# Following fixes Standalone Debugger README file to refer to /usr/bin/cdtdebug
2b00c3b
Patch3: eclipse-cdt-cdtdebug-readme.patch
48ea26a
c027867
# Following fixes Eclipse bug 538994 concerning argv parms and cdtdebug.sh script
c027867
Patch4: eclipse-cdt-cdtdebug.patch2
c027867
4bf02e1
# Remove invalid configurations used when building standalone debugger
4bf02e1
Patch5: eclipse-cdt-standalone.patch
4bf02e1
906b663
BuildRequires: make
4bf02e1
BuildRequires: rsync
906b663
BuildRequires: gcc-c++
d1ad940
BuildRequires: tycho
d1ad940
BuildRequires: tycho-extras
11adddc
BuildRequires: eclipse-license
3cdf7ba
BuildRequires: desktop-file-utils
bb407f9
BuildRequires: lpg-java-compat
6234116
BuildRequires: google-gson
bb407f9
BuildRequires: eclipse-platform
c3edc00
BuildRequires: eclipse-pde
bb407f9
BuildRequires: eclipse-contributor-tools
b22f451
BuildRequires: eclipse-swtbot >= 2.4.0
908a9c8
BuildRequires: eclipse-tm-terminal
a0c5506
BuildRequires: exec-maven-plugin
447894c
BuildRequires: maven-antrun-plugin
b22f451
BuildRequires: freemarker
b22f451
BuildRequires: mockito
7a6cdf8
%if %{_enable_container_and_remote_support}
2b00c3b
%if %{_enable_container_support}
763428b
BuildRequires: eclipse-linuxtools-docker >= 5.3.0
2b00c3b
%endif
feb4db6
BuildRequires: eclipse-launchbar >= 1:2.2.0
339b014
BuildRequires: eclipse-remote >= 2.1.0
908a9c8
BuildRequires: eclipse-tm-terminal-connectors >= 4.3.0
e2f9335
%endif
Ben Konrath 53357d2
7a6cdf8
Requires:      gdb make gcc-c++
9756e21
Requires:      hamcrest
9756e21
Requires:      eclipse-launchbar >= 1:2.2.0
7a6cdf8
%if %{_enable_container_and_remote_support}
7a6cdf8
Requires:      autoconf automake libtool
339b014
Requires:      eclipse-remote >= 2.1.0
908a9c8
Requires:      eclipse-tm-terminal-connectors >= 4.3.0
7a6cdf8
%endif
1c58f5f
5602684
Recommends:    eclipse-linuxtools-libhover
5d00ca5
Recommends:    eclipse-cdt-llvm
5d00ca5
Recommends:    eclipse-cdt-qt
Ben Konrath 53357d2
Andrew Overholt 9fa799a
%description
Andrew Overholt 9fa799a
Eclipse features and plugins that are useful for C and C++ development.
Andrew Overholt 9fa799a
2b00c3b
%package native
2b00c3b
Summary:        Eclipse C/C++ Development Tools (CDT) Natives
2b00c3b
2b00c3b
%description native
2b00c3b
Architecture specific parts of CDT.
2b00c3b
488dcb6
%package parsers
51a0b5c
Summary:        Eclipse C/C++ Development Tools (CDT) Optional Parsers
488dcb6
Requires:       %{name} = %{epoch}:%{version}-%{release}
488dcb6
Requires:       lpg-java-compat
488dcb6
488dcb6
%description parsers
488dcb6
Optional language-variant parsers for the CDT.
488dcb6
a0c5506
%package llvm
a0c5506
Summary:        Eclipse C/C++ Development Tools (CDT) LLVM
a0c5506
Requires:       %{name} = %{epoch}:%{version}-%{release}
a0c5506
Requires:       lpg-java-compat
c0670e2
%if 0%{?fedora} || 0%{?rhel} > 7
554e943
Requires:       clang
5d00ca5
Requires:       lldb
2b00c3b
%endif
a0c5506
a0c5506
%description llvm
a0c5506
Optional llvm parsers for the CDT.
a0c5506
2b00c3b
%if %{_enable_container_and_remote_support}
6234116
c0670e2
%if 0%{?fedora} || 0%{?rhel} > 7
80c7c5f
%package arduino
80c7c5f
Summary:        Arduino C++ Tools
80c7c5f
Requires:       %{name} = %{epoch}:%{version}-%{release}
908a9c8
Requires:       eclipse-tm-terminal-connectors >= 4.3.0
80c7c5f
80c7c5f
%description arduino
80c7c5f
Extensions to support Arduino C++ projects in Eclipse.
763428b
%endif
80c7c5f
2b00c3b
%if %{_enable_container_support}
2085209
%package docker
bb407f9
Summary:        C/C++ Docker Launcher
bb407f9
Requires:       %{name} = %{epoch}:%{version}-%{release}
763428b
Requires:       eclipse-linuxtools-docker >= 5.3.0
2085209
2085209
%description docker
2085209
Special launcher for CDT to allow launching and debugging C/C++ applications
2085209
in Docker Containers.
2085209
%endif
2085209
bb1af13
%package qt
bb1af13
Summary:        QT C++ Tools
bb1af13
Requires:       %{name} = %{epoch}:%{version}-%{release}
c0670e2
%if 0%{?fedora} || 0%{?rhel} > 7
bb1af13
#for new qt project to work out of the box
5d00ca5
Requires:       pkgconfig(Qt5)
bb1af13
Requires:       pkgconfig(Qt5Qml)
bb407f9
Requires:       pkgconfig(Qt5Quick)
2b00c3b
%endif
bb1af13
bb1af13
%description qt
bb1af13
Extensions to support Qt projects and objects in the indexer.
bb1af13
2b00c3b
%endif
2b00c3b
61ead79
%package tests
bb407f9
Summary:        Eclipse C/C++ Development Tools (CDT) Tests
61ead79
Requires:       %{name} = %{epoch}:%{version}-%{release}
61ead79
Requires:       %{name}-llvm = %{epoch}:%{version}-%{release}
61ead79
Requires:       %{name}-parsers = %{epoch}:%{version}-%{release}
2b00c3b
%if %{_enable_container_and_remote_support}
2b00c3b
Requires:       %{name}-docker = %{epoch}:%{version}-%{release}
c0670e2
%if 0%{?fedora} || 0%{?rhel} > 7
2b00c3b
Requires:       %{name}-arduino = %{epoch}:%{version}-%{release}
763428b
%endif
2b00c3b
Requires:       %{name}-qt = %{epoch}:%{version}-%{release}
2b00c3b
%endif
bb407f9
Requires:       eclipse-tests
b22f451
Requires:       eclipse-swtbot >= 2.4.0
9756e21
Requires:       hamcrest
61ead79
61ead79
%description tests
61ead79
Test plugins for the CDT.
61ead79
Andrew Overholt 9fa799a
%package sdk
Andrew Overholt 9fa799a
Summary:        Eclipse C/C++ Development Tools (CDT) SDK plugin
Andrew Overholt 9fa799a
Requires:       %{name} = %{epoch}:%{version}-%{release}
cvsdist 977444b
47cfb8d
%description sdk
a90b04c
Source for Eclipse CDT for use within Eclipse.
47cfb8d
cvsdist 977444b
%prep
784c532
%setup -q -n %{cdt_snapshot}
Andrew Overholt 9fa799a
3cdf7ba
# get desktop info
3cdf7ba
mkdir desktop
3cdf7ba
cp %{SOURCE3} desktop
3cdf7ba
9c89132
# handle man page
9c89132
mkdir man
9c89132
cp %{SOURCE4} man
9c89132
763428b
%patch1 -p0
9756e21
%patch2 -p0
532f377
%patch3 -p1
c027867
%patch4 -p0
4bf02e1
%patch5 -p0
6234116
34d838a
# Use unversioned dep of packages that can be supplied by the JRE
34d838a
sed -i -e '/javax.xml.bind/s/;version="2.2.0"//' \
34d838a
core/org.eclipse.cdt.core/META-INF/MANIFEST.MF \
34d838a
qt/org.eclipse.cdt.qt.core/META-INF/MANIFEST.MF
34d838a
2b00c3b
# Fix tycho target environment
6234116
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
6234116
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV"
6234116
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" core/org.eclipse.cdt.core.linux
e2f9335
3f44445
# Add secondary arch support if we are building there
908a9c8
%ifarch %{arm} s390x aarch64
8e55295
sed -i -e 's/linux.x86"/linux.%{eclipse_arch}"/g' pom.xml
3338275
pushd core
908a9c8
sed -i -e 's/linux.x86 /linux.%{eclipse_arch} /g' org.eclipse.cdt.core.native/plugin.properties
908a9c8
sed -i -e 's/\\(x86\\)/(%{eclipse_arch})/g' org.eclipse.cdt.core.native/plugin.properties
3f44445
cp -r org.eclipse.cdt.core.linux.x86 org.eclipse.cdt.core.linux.%{eclipse_arch}
dc48325
rm -fr org.eclipse.cdt.core.linux.x86
3f44445
pushd org.eclipse.cdt.core.linux.%{eclipse_arch}
3f44445
sed -i -e 's/x86/%{eclipse_arch}/g' pom.xml
0928233
sed -i -e 's/x86/%{eclipse_arch}/g' META-INF/MANIFEST.MF
0928233
mv os/linux/x86 os/linux/%{eclipse_arch}
3338275
popd
2b00c3b
sed -i -e 's/x86/%{eclipse_arch}/g' org.eclipse.cdt.core.linux/pom.xml
3338275
popd
908a9c8
sed -i -e 's/"org.eclipse.cdt.core.linux.x86"/"org.eclipse.cdt.core.linux.%{eclipse_arch}"/g' \
908a9c8
       -e 's/arch="x86"/arch="%{eclipse_arch}"/' releng/org.eclipse.cdt.native-feature/feature.xml
ed9091e
sed -i -e "s|org.eclipse.cdt.core.linux.x86</module>|org.eclipse.cdt.core.linux.%{eclipse_arch}</module>|g" pom.xml
3338275
%endif
2b00c3b
%ifarch s390x x86_64 aarch64 ppc64le ppc64
2b00c3b
sed -i -e 's|linux/x86_64/|linux/%{eclipse_arch}/|' \
2b00c3b
  native/org.eclipse.cdt.native.serial/jni/Makefile
2b00c3b
%else
2b00c3b
sed -i -e 's|linux/x86/|linux/%{eclipse_arch}/|' \
2b00c3b
  native/org.eclipse.cdt.native.serial/jni/Makefile
2b00c3b
%endif
9384cb3
sed -i -e 's|-m.. |$(CFLAGS) $(LDFLAGS) |' \
0d8dbf3
  native/org.eclipse.cdt.native.serial/jni/Makefile
2b00c3b
908a9c8
# Ensure correct platform fragments appear in config.ini
908a9c8
sed -i -e 's/x86_64/%{eclipse_arch}/' \
908a9c8
  debug/org.eclipse.cdt.debug.application.product/debug.product
908a9c8
4bf02e1
sed -i -e 's/x86/%{eclipse_arch}/g' \
4bf02e1
  debug/org.eclipse.cdt.debug.application.product/pom.xml
4bf02e1
4bf02e1
# remove fragments in standalone product file on platforms they aren't
4bf02e1
# shipped
419c986
%ifarch s390x aarch64 ppc64le ppc64 %{arm}
4bf02e1
sed -i '/filesystem.linux.%{eclipse_arch}/d' \
4bf02e1
  debug/org.eclipse.cdt.debug.application.product/debug.product
4bf02e1
sed -i '/net.linux.%{eclipse_arch}/d' \
4bf02e1
  debug/org.eclipse.cdt.debug.application.product/debug.product
4bf02e1
%endif
4bf02e1
2b00c3b
# Force the arch-specific plug-ins to be dir-shaped so that binary stripping works and the native files
2b00c3b
# aren't loaded into the user.home .eclipse configuration
2b00c3b
echo "Eclipse-BundleShape: dir" >> core/org.eclipse.cdt.core.linux.%{eclipse_arch}/META-INF/MANIFEST.MF
2b00c3b
echo "Eclipse-BundleShape: dir" >> native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF
2b00c3b
sed -i -e '/library/s/library\//library\/*.c,library\/*.h,library\/Makefile/' \
2b00c3b
  core/org.eclipse.cdt.core.linux/build.properties
2b00c3b
2b00c3b
# Remove pre-built natives
2b00c3b
rm -rf native/org.eclipse.cdt.native.serial/os/* \
2b00c3b
       core/org.eclipse.cdt.core.linux.*/os/*
2b00c3b
mkdir -p native/org.eclipse.cdt.native.serial/os/linux/%{eclipse_arch} \
2b00c3b
         core/org.eclipse.cdt.core.linux.%{eclipse_arch}/os/linux/%{eclipse_arch}
e2e90d4
6234116
# Don't use the target configuration
9756e21
%pom_disable_module releng/org.eclipse.cdt.target
6234116
%pom_xpath_remove "pom:configuration/pom:target"
6234116
bb407f9
# Don't need to build the repo
9756e21
%pom_disable_module releng/org.eclipse.cdt.repo
9756e21
%pom_disable_module releng/org.eclipse.cdt.testing.repo
bb407f9
e2e90d4
# Disable the jgit provider and force default packaging
e2e90d4
%pom_remove_plugin org.eclipse.tycho:tycho-packaging-plugin
908a9c8
908a9c8
# Unnecessary plugins for RPM builds
d10d585
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
e2e90d4
7a6cdf8
# Disable docker, autotools, and remote features if we are building a boot-strap build
2b00c3b
%if ! %{_enable_container_and_remote_support}
ed9091e
%pom_disable_module launch/org.eclipse.cdt.docker.launcher
ed9091e
%pom_disable_module launch/org.eclipse.cdt.docker.launcher-feature
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools.core
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools.docs
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools.ui
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools-feature
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools.tests
ed9091e
%pom_disable_module build/org.eclipse.cdt.autotools.ui.tests
ed9091e
%pom_disable_module build/org.eclipse.cdt.cmake.core
ed9091e
%pom_disable_module build/org.eclipse.cdt.cmake.ui
ed9091e
%pom_disable_module build/org.eclipse.cdt.cmake-feature
ed9091e
%pom_disable_module build/org.eclipse.cdt.cmake.ui.tests
feb4db6
%pom_disable_module build/org.eclipse.cdt.make.ui
feb4db6
%pom_disable_module build/org.eclipse.cdt.managedbuilder.ui
feb4db6
%pom_disable_module debug/org.eclipse.cdt.debug.core
feb4db6
%pom_disable_module debug/org.eclipse.cdt.debug.ui
feb4db6
%pom_disable_module debug/org.eclipse.cdt.gdb.ui
feb4db6
%pom_disable_module debug/org.eclipse.cdt.gdb-feature
feb4db6
%pom_disable_module debug/org.eclipse.cdt.gnu.debug-feature
feb4db6
%pom_disable_module debug/org.eclipse.cdt.debug.application
feb4db6
%pom_disable_module debug/org.eclipse.cdt.debug.application.product
feb4db6
%pom_disable_module debug/org.eclipse.cdt.debug.standalone-feature
feb4db6
%pom_disable_module dsf/org.eclipse.cdt.dsf
feb4db6
%pom_disable_module dsf/org.eclipse.cdt.dsf.ui
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.dsf.gdb
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.dsf.gdb.ui
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.gnu.dsf-feature
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.gnu.multicorevisualizer-feature
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui
feb4db6
%pom_disable_module llvm/org.eclipse.cdt.llvm.dsf.lldb.core
feb4db6
%pom_disable_module llvm/org.eclipse.cdt.llvm.dsf.lldb-feature
feb4db6
%pom_disable_module llvm/org.eclipse.cdt.llvm.dsf.lldb.ui
feb4db6
%pom_disable_module jtag/org.eclipse.cdt.debug.gdbjtag
feb4db6
%pom_disable_module jtag/org.eclipse.cdt.debug.gdbjtag.core
feb4db6
%pom_disable_module jtag/org.eclipse.cdt.debug.gdbjtag.ui
feb4db6
%pom_disable_module jtag/org.eclipse.cdt.debug.gdbjtag-feature
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory-feature
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory.floatingpoint
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory.memorybrowser
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory.search
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory.traditional
feb4db6
%pom_disable_module memory/org.eclipse.cdt.debug.ui.memory.transport
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.qttest
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.boost
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.tap
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.feature
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.gtest
feb4db6
%pom_disable_module visualizer/org.eclipse.cdt.visualizer.core
feb4db6
%pom_disable_module visualizer/org.eclipse.cdt.visualizer.ui
feb4db6
%pom_disable_module visualizer/org.eclipse.cdt.visualizer-feature
feb4db6
%pom_disable_module cross/org.eclipse.cdt.build.crossgcc-feature
feb4db6
%pom_disable_module cross/org.eclipse.cdt.build.crossgcc
ed9091e
%pom_disable_module cross/org.eclipse.cdt.launch.remote
ed9091e
%pom_disable_module cross/org.eclipse.cdt.launch.remote-feature
ed9091e
%pom_disable_module cross/org.eclipse.cdt.launch.serial.core
ed9091e
%pom_disable_module cross/org.eclipse.cdt.launch.serial.ui
ed9091e
%pom_disable_module cross/org.eclipse.cdt.launch.serial-feature
feb4db6
%pom_disable_module launch/org.eclipse.cdt.launch
ed9091e
%pom_disable_module remote/org.eclipse.cdt.remote.core
ed9091e
%pom_disable_module qt/org.eclipse.cdt.qt.core
ed9091e
%pom_disable_module qt/org.eclipse.cdt.qt.ui
ed9091e
%pom_disable_module qt/org.eclipse.cdt.qt-feature
ed9091e
%pom_disable_module qt/org.eclipse.cdt.qt.ui.tests
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino.core
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino.ui
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino-feature
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.xlc.feature
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.xlc.sdk-feature
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.make.xlc.core
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.core.lrparser.xlc
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.errorparsers.xlc
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.managedbuilder.xlc.ui
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.managedbuilder.xlc.core
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.managedbuilder.xlupc.ui
feb4db6
%pom_disable_module releng/org.eclipse.cdt
feb4db6
%pom_disable_module releng/org.eclipse.cdt.platform-feature
feb4db6
%pom_disable_module releng/org.eclipse.cdt-feature
feb4db6
%pom_disable_module releng/org.eclipse.cdt.sdk
feb4db6
%pom_disable_module releng/org.eclipse.cdt.sdk-feature
feb4db6
%pom_disable_module build/org.eclipse.cdt.managedbuilder.core.tests
feb4db6
%pom_disable_module build/org.eclipse.cdt.managedbuilder.ui.tests
feb4db6
%pom_disable_module build/org.eclipse.cdt.make.core.tests
feb4db6
%pom_disable_module build/org.eclipse.cdt.make.ui.tests
feb4db6
%pom_disable_module codan/org.eclipse.cdt.codan.core.tests
feb4db6
%pom_disable_module codan/org.eclipse.cdt.codan.checkers.ui.tests
feb4db6
%pom_disable_module core/org.eclipse.cdt.core.tests
feb4db6
%pom_disable_module core/org.eclipse.cdt.ui.tests
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.dsf.gdb.tests
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.tests.dsf.gdb
feb4db6
%pom_disable_module dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui.tests
feb4db6
%pom_disable_module testsrunner/org.eclipse.cdt.testsrunner.tests
feb4db6
%pom_disable_module xlc/org.eclipse.cdt.errorparsers.xlc.tests
feb4db6
%pom_disable_module releng/org.eclipse.cdt.testing
feb4db6
%pom_disable_module releng/org.eclipse.cdt.testing-feature
2b00c3b
%else
2b00c3b
%if ! %{_enable_container_support}
ed9091e
%pom_disable_module launch/org.eclipse.cdt.docker.launcher
ed9091e
%pom_disable_module launch/org.eclipse.cdt.docker.launcher-feature
e2f9335
%endif
763428b
# Always disable arduino support on rhel
c0670e2
%if 0%{?rhel} && 0%{?rhel} <= 7
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino.core
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino.ui
ed9091e
%pom_disable_module toolchains/arduino/org.eclipse.cdt.arduino-feature
908a9c8
%endif
763428b
%endif
763428b
2b00c3b
# Disable all bundles not relavent to the platform we currently building
0879f39
for b in `ls core/ | grep -P -e 'org.eclipse.cdt.core\.(?!linux\.%{eclipse_arch}$|tests$|linux$|native$)'` ; do
9756e21
  module=$(grep ">core/$b<" pom.xml || :)
0879f39
  if [ -n "$module" ] ; then
9756e21
    %pom_disable_module "core/$b"
0879f39
    %pom_xpath_remove "plugin[@id='$b']" releng/org.eclipse.cdt.native-feature/feature.xml
0879f39
  fi
0879f39
done
0879f39
ddfd8ae
# Disable meson (missing dep tm4e)
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson.core
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson.docs
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson.ui
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson.ui.editor
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson-feature
ddfd8ae
%pom_disable_module build/org.eclipse.cdt.meson.ui.tests
ddfd8ae
34d838a
# Disable lsp4e (missing dep)
17dd9bc
#%pom_disable_module lsp4e-cpp/org.eclipse.lsp4e.cpp
17dd9bc
#%pom_disable_module lsp4e-cpp/org.eclipse.lsp4e.cpp.language
17dd9bc
#%pom_disable_module lsp4e-cpp/org.eclipse.lsp4e.cpp.site
17dd9bc
#%pom_disable_module lsp4e-cpp/org.eclipse.lsp4e.cpp.language.tests
34d838a
0b158e2
# Disable examples
9756e21
%pom_disable_module visualizer/org.eclipse.cdt.visualizer.examples
9756e21
%pom_disable_module dsf/org.eclipse.cdt.examples.dsf
9756e21
%pom_disable_module dsf/org.eclipse.cdt.examples.dsf.pda
9756e21
%pom_disable_module dsf/org.eclipse.cdt.examples.dsf.pda.ui
9756e21
%pom_disable_module dsf/org.eclipse.cdt.examples.dsf-feature
9756e21
%pom_disable_module dsf-gdb/org.eclipse.cdt.examples.dsf.gdb
0b158e2
b22f451
# Fix hamcrest and mockito deps
1c58f5f
sed -i -e 's/org.mockito/org.mockito.mockito-core/' -e 's/org.hamcrest/org.hamcrest.library/' \
908a9c8
  dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/META-INF/MANIFEST.MF \
908a9c8
  codan/org.eclipse.cdt.codan.checkers.ui.tests/META-INF/MANIFEST.MF \
34d838a
  core/org.eclipse.cdt.ui.tests/META-INF/MANIFEST.MF \
34d838a
  core/org.eclipse.cdt.core.tests/META-INF/MANIFEST.MF
1c58f5f
b22f451
# Add template tools to the build
b22f451
tar xf %{SOURCE1} --strip-components=1 --exclude=%{template_snapshot}/pom.xml
2f5937d
%pom_set_parent "org.eclipse.cdt:cdt-parent:%{version}-SNAPSHOT" bundles
b22f451
for b in org.eclipse.tools.templates.{core,freemarker,ui} ; do
34a9089
  %pom_xpath_inject "pom:project/pom:modules" "<module>bundles/$b</module>"
b22f451
done
b22f451
b22f451
# Fix freemarker dep
b22f451
sed -i -e 's/org.freemarker/org.freemarker.freemarker/' \
b22f451
  qt/org.eclipse.cdt.qt.core/META-INF/MANIFEST.MF \
b22f451
  bundles/org.eclipse.tools.templates.freemarker/META-INF/MANIFEST.MF \
b22f451
  build/org.eclipse.cdt.cmake.core/META-INF/MANIFEST.MF
9ee9d1b
784c532
# Don't package problematic test data
784c532
rm core/org.eclipse.cdt.core.tests/resources/testlib/x86/so.g/libtestlib_g.so
784c532
rm core/org.eclipse.cdt.core.tests/resources/exebig/x86/o.g/exebig_g
784c532
rm core/org.eclipse.cdt.core.tests/resources/exe/x86/o.g/exe_g
784c532
rm core/org.eclipse.cdt.core.tests/resources/exe/x86/o/exe
784c532
rm core/org.eclipse.cdt.core.tests/resources/exe/ppc/be.g/exe_g
784c532
find core/org.eclipse.cdt.core.tests/resources -name *.o -delete
784c532
find core/org.eclipse.cdt.core.tests/resources -name *.a -delete
784c532
bb407f9
%mvn_package "::pom::" __noinstall
908a9c8
%mvn_package ":*.{testing,tests,tests.dsf,tests.dsf.gdb}" tests
2b00c3b
%mvn_package "::jar:sources{,-feature}:" sdk
bb407f9
%mvn_package :*.sdk sdk
bb407f9
%mvn_package :*.doc.isv sdk
2b00c3b
%mvn_package ":org.eclipse.cdt.core{,.native,.linux,.linux.%{eclipse_arch}}" native
2b00c3b
%mvn_package ":org.eclipse.cdt.native{,.serial}" native
bb407f9
%mvn_package ":*.testsrunner*"
0928233
%mvn_package :*parser* parsers
0928233
%mvn_package ":org.eclipse.cdt.*{xlc,xlupc,bupc}*" parsers
2b00c3b
%mvn_package :org.eclipse.tools.templates.*
0928233
%mvn_package :org.eclipse.cdt.arduino* arduino
0928233
%mvn_package :org.eclipse.cdt.docker* docker
2b00c3b
%mvn_package ":org.eclipse.cdt.{managedbuilder.llvm,llvm.dsf}*" llvm
0928233
%mvn_package :org.eclipse.cdt.qt* qt
2b00c3b
%mvn_package :org.eclipse.cdt.cmake* qt
0928233
%mvn_package :org.eclipse.cdt*
0928233
cvsdist 977444b
%build
5c0cc13
2b00c3b
export JAVA_HOME=%{_jvmdir}/java
2b00c3b
9384cb3
export CFLAGS="${CFLAGS:-%__global_cflags}"
9384cb3
export LDFLAGS="${LDFLAGS:-%__global_ldflags}"
9384cb3
2b00c3b
# Build native serial library
2b00c3b
pushd native/org.eclipse.cdt.native.serial/jni
9384cb3
make ../os/linux/%{eclipse_arch}/libserial.so
2b00c3b
popd
cvsdist 977444b
6a8f575
# Exclude EquinoxResolver to avoid NPE occuring on arm and increase memory for s390
6a8f575
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState"
4bf02e1
%mvn_build -j -f -- -Dtycho.local.keepTarget -Dnative=linux.%{eclipse_arch} -Pbuild-standalone-debugger-rcp
Andrew Overholt 9fa799a
cvsdist 977444b
%install
0928233
%mvn_install
61ead79
48ea26a
binInstallDir=${RPM_BUILD_ROOT}/%{_bindir}
48ea26a
install -d -m755 $binInstallDir
61ead79
feb4db6
%if %{_enable_container_and_remote_support}
feb4db6
4bf02e1
libInstallDir=${RPM_BUILD_ROOT}/%{_cdtstandalonedir}
4bf02e1
install -d -m755 $libInstallDir
4bf02e1
4bf02e1
#standalone debugger - copy it into right location
4bf02e1
rsync -vrpl debug/org.eclipse.cdt.debug.application.product/target/products/org.eclipse.cdt.debug.application.product/linux/gtk/%{eclipse_arch}/cdt-stand-alone-debugger \
4bf02e1
    %{buildroot}%{_prefix}/lib
4bf02e1
bb407f9
cat << EOFSCRIPT > eclipse-runCDTTestBundles
3d4ea23
#! /bin/bash
0928233
eclipse-runTestBundles %{_javadir}/cdt-tests
bb407f9
EOFSCRIPT
3d4ea23
3d4ea23
install -D -m 755 eclipse-runCDTTestBundles %{buildroot}%{_bindir}/eclipse-runCDTTestBundles
3d4ea23
e1bed56
pushd %{buildroot}%{eclipse_base}/droplets/cdt/plugins
48ea26a
DEBUGAPPLICATIONVERSION=$(ls . | grep org.eclipse.cdt.debug.application_ | sed 's/org.eclipse.cdt.debug.application_//' |sed 's/.jar//')
0928233
pushd org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION
0928233
# Create the jar file inside the folder to work around issue where standalone application cannot be found without a jar file
0928233
jar -cfmv org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION.jar META-INF/MANIFEST.MF *
48ea26a
popd
48ea26a
0928233
# Fix the dropin bundles to have full paths to their respective jar files as Eclipse start-up won't find them otherwise
488dcb6
0928233
for PLUGIN in \
9756e21
$(ls . | grep javax.xml_) \
9756e21
$(ls . | grep org.freemarker.freemarker_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui.memory.floatingpoint_) \
0928233
$(ls . | grep org.eclipse.cdt.make.core_) \
0928233
$(ls . | grep org.eclipse.cdt.dsf.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui.memory.traditional_) \
0928233
$(ls . | grep org.eclipse.cdt.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.application.doc_) \
0928233
$(ls . | grep org.eclipse.cdt.dsf.gdb.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.mi.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.launch_) \
0928233
$(ls . | grep org.eclipse.cdt.managedbuilder.core_) \
0928233
$(ls . | grep org.eclipse.cdt.managedbuilder.gnu.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.gdb_) \
0928233
$(ls . | grep org.eclipse.cdt.dsf.gdb_) \
0928233
$(ls . | grep org.eclipse.cdt.dsf_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.mi.core_) \
0928233
$(ls . | grep org.eclipse.cdt.gdb.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui.memory.transport_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui.memory.search_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui.memory.memorybrowser_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.ui_) \
0928233
$(ls . | grep org.eclipse.cdt.debug.core_) \
9756e21
$(ls . | grep org.eclipse.tools.templates.freemarker_) \
2b00c3b
$(ls . | grep org.eclipse.tools.templates.core_) \
2b00c3b
$(ls . | grep org.eclipse.tools.templates.ui_) ; do
e1bed56
  sed -i -e "s,${PLUGIN%_*}\,,file\\\\:%{eclipse_base}/droplets/cdt/plugins/$PLUGIN\,," org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/config.ini
2b00c3b
done
2b00c3b
for PLUGIN in \
e1bed56
$(cd %{buildroot}%{_eclipsedir}/droplets/cdt-native/plugins && ls . | grep com.google.gson_) \
e1bed56
$(cd %{buildroot}%{_eclipsedir}/droplets/cdt-native/plugins && ls . | grep org.eclipse.cdt.core_) \
e1bed56
$(cd %{buildroot}%{_eclipsedir}/droplets/cdt-native/plugins && ls . | grep org.eclipse.cdt.core.linux_) \
e1bed56
$(cd %{buildroot}%{_eclipsedir}/droplets/cdt-native/plugins && ls . | grep org.eclipse.cdt.core.linux.%{eclipse_arch}_) \
e1bed56
$(cd %{buildroot}%{_eclipsedir}/droplets/cdt-native/plugins && ls . | grep org.eclipse.cdt.core.native_) ; do
e1bed56
  sed -i -e "s,${PLUGIN%_*}\,,file\\\\:%{_eclipsedir}/droplets/cdt-native/plugins/$PLUGIN\,," org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/config.ini
0928233
done
8e55295
for PLUGIN in launchbar.ui launchbar.core tm.terminal.control ui.views.log ; do
8e55295
  sed -i -e "s/org.eclipse.$PLUGIN/\$$PLUGIN\$/" org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/config.ini
8e55295
done
a0c5506
e1bed56
sed -i -e "s,org.eclipse.cdt.debug.application\,,file\\\\:%{eclipse_base}/droplets/cdt/plugins/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION.jar\,," org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/config.ini
bb1af13
e1bed56
sed -i -e "s,cp config.ini,cp %{eclipse_base}/droplets/cdt/plugins/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/config.ini," org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/cdtdebug.sh
e1bed56
sed -i -e "s,cp dev.properties,cp %{eclipse_base}/droplets/cdt/plugins/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/dev.properties," org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/cdtdebug.sh
4bf02e1
#install -D -m 755 org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/scripts/cdtdebug.sh $binInstallDir/cdtdebug
4bf02e1
popd
4bf02e1
4bf02e1
# Symlink cdtdebug binary
4bf02e1
pushd %{buildroot}%{_bindir}
4bf02e1
    ln -s %{_cdtstandlonedir}/cdtdebug
688ee0d
popd
80c7c5f
e1bed56
echo %{eclipse_base}/droplets/cdt/plugins/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION/org.eclipse.cdt.debug.application_$DEBUGAPPLICATIONVERSION.jar >> .mfiles
2b00c3b
feb4db6
%endif
feb4db6
2b00c3b
# Install icons
2b00c3b
install -D debug/org.eclipse.cdt.debug.application/icons/cc32.png \
2b00c3b
    $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/%{name}.png
2b00c3b
install -D debug/org.eclipse.cdt.debug.application/icons/cc48.png \
2b00c3b
    $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/%{name}.png
2b00c3b
install -D debug/org.eclipse.cdt.debug.application/icons/cc128.png \
2b00c3b
    $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/%{name}.png
2b00c3b
install -D debug/org.eclipse.cdt.debug.application/icons/cc.png \
2b00c3b
    $RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/%{name}.png
2b00c3b
install -d $RPM_BUILD_ROOT/usr/share/pixmaps
2b00c3b
ln -s /usr/share/icons/hicolor/256x256/apps/%{name}.png \
2b00c3b
    $RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png
2b00c3b
2b00c3b
# Fix permissions on native libraries
2b00c3b
find $RPM_BUILD_ROOT -name *.so -exec chmod +x {} \;
2b00c3b
2b00c3b
# Install desktop file
2b00c3b
sed -i -e 's|Exec=cdtdebug|Exec=%{app_exec}|g' desktop/eclipse-cdt.desktop
2b00c3b
sed -i -e 's|Name=Eclipse.*|Name=%{app_name}|g' desktop/eclipse-cdt.desktop
2b00c3b
sed -i -e "s|Icon=eclipse|Icon=%{name}|g" desktop/eclipse-cdt.desktop
bb407f9
install -D desktop/eclipse-cdt.desktop $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
bb407f9
desktop-file-validate $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
e9a6271
2b00c3b
# Install man page
2b00c3b
install -D -m 644 man/cdtdebug.man $RPM_BUILD_ROOT/%{_mandir}/man1/cdtdebug.1
8bba077
9756e21
# Remove uneeded extra symlinks that are optional deps of log4j:
feb4db6
%if %{_enable_container_and_remote_support}
e1bed56
sed -i -e '/mail/d' .mfiles* %{buildroot}/%{_datadir}/eclipse/droplets/*/fragment.info %{buildroot}/%{_datadir}/java/*/fragment.info
feb4db6
%else
feb4db6
sed -i -e '/mail/d' .mfiles*
feb4db6
%endif
e1bed56
rm -f %{buildroot}/%{_datadir}/eclipse/droplets/*/plugins/*mail* %{buildroot}/%{_datadir}/java/*/plugins/*mail*
9756e21
ddc3ca6
%if 0%{?rhel} && 0%{?rhel} <= 7
ddc3ca6
%post
ddc3ca6
touch --no-create /usr/share/icons/hicolor
ddc3ca6
if [ -x /usr/bin/gtk-update-icon-cache ]; then
ddc3ca6
  gtk-update-icon-cache -q /usr/share/icons/hicolor
ddc3ca6
fi
ddc3ca6
ddc3ca6
%postun
ddc3ca6
touch --no-create /usr/share/icons/hicolor
ddc3ca6
if [ -x /usr/bin/gtk-update-icon-cache ]; then
ddc3ca6
  gtk-update-icon-cache -q /usr/share/icons/hicolor
ddc3ca6
fi
ddc3ca6
%endif
ddc3ca6
feb4db6
%files -f .mfiles
feb4db6
%if %{_enable_container_and_remote_support}
48ea26a
%{_bindir}/cdtdebug
4bf02e1
%{_cdtstandalonedir}/*
feb4db6
%endif
bb407f9
/usr/share/applications/*
2b00c3b
/usr/share/pixmaps/*
2b00c3b
/usr/share/icons/*/*/apps/*
9c89132
%{_mandir}/man1/cdtdebug.1*
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
47cfb8d
2b00c3b
%files native -f .mfiles-native
2b00c3b
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
2b00c3b
%doc releng/org.eclipse.cdt.sdk/notice.html
2b00c3b
0928233
%files sdk -f .mfiles-sdk
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
Andrew Overholt 9fa799a
0928233
%files parsers -f .mfiles-parsers
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
488dcb6
feb4db6
%if %{_enable_container_and_remote_support}
feb4db6
0928233
%files tests -f .mfiles-tests
3d4ea23
%{_bindir}/eclipse-runCDTTestBundles
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
61ead79
feb4db6
%endif
feb4db6
0928233
%files llvm -f .mfiles-llvm
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
a0c5506
2b00c3b
%if %{_enable_container_and_remote_support}
2b00c3b
0928233
%files qt -f .mfiles-qt
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
bb1af13
c0670e2
%if 0%{?fedora} || 0%{?rhel} > 7
0928233
%files arduino -f .mfiles-arduino
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
763428b
%endif
80c7c5f
2b00c3b
%if %{_enable_container_support}
2b00c3b
0928233
%files docker -f .mfiles-docker
73c7a9e
%doc releng/org.eclipse.cdt.sdk/epl-v10.html
73c7a9e
%doc releng/org.eclipse.cdt.sdk/notice.html
2b00c3b
2b00c3b
%endif
2085209
%endif
2085209
cvsdist 977444b
%changelog
feb4db6
* Tue Oct 16 2018 Jeff Johnston <jjohnstn@redhat.com> - 2:9.5.3-4.2
5c0cc13
- Bootstrap build removing provides/requires from standalone debugger
0871dc0
4bf02e1
* Tue Oct 09 2018 Jeff Johnston <jjohnstn@redhat.com> - 2:9.5.3-4
4bf02e1
- Build the CDT standalone debugger as an RCP application and package
4bf02e1
5d00ca5
* Thu Oct 04 2018 Mat Booth <mat.booth@redhat.com> - 2:9.5.3-3
5d00ca5
- Fix missing requirement on lldb and improve installtion recommendations
5d00ca5
c027867
* Wed Sep 19 2018 Jeff Johnston <jjohnstn@redhat.com> - 2:9.5.3-2
c027867
- Fix cdtdebug.sh script to not add quotes to args and to handle blanks, etc..
c027867
17dd9bc
* Wed Sep 12 2018 Mat Booth <mat.booth@redhat.com> - 2:9.5.3-1
17dd9bc
- Update to latest release and correct version number
17dd9bc
34d838a
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 1:9.6.0-0.1
34d838a
- Update to latest snapshot
34d838a
2f5937d
* Tue Jul 31 2018 Mat Booth <mat.booth@redhat.com> - 1:9.5.2-1
2f5937d
- Update to latest upstream release
2f5937d
1a2b8c4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.5.0-3
1a2b8c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1a2b8c4
784c532
* Sat Jun 23 2018 Mat Booth <mat.booth@redhat.com> - 1:9.5.0-2
784c532
- Update due to respin of 9.5.0
784c532
ddfd8ae
* Wed Jun 13 2018 Mat Booth <mat.booth@redhat.com> - 1:9.5.0-1
ddfd8ae
- Update to Photon release
ddfd8ae
e1bed56
* Fri May 4 2018 Alexander Kurtakov <akurtako@redhat.com> 1:9.4.3-2
e1bed56
- Adjust to remove useless extra eclipse dir in droplets.
e1bed56
fc6bf6f
* Thu Mar 22 2018 Mat Booth <mat.booth@redhat.com> - 1:9.4.3-1
fc6bf6f
- Update to Oxygen.3 release
fc6bf6f
1ad9749
* Tue Mar 20 2018 Alexander Kurtakov <akurtako@redhat.com> 1:9.4.2-1
1ad9749
- Update to upstream 9.4.2 release.
1ad9749
43dbb74
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.4.1-0.5
43dbb74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
43dbb74
9384cb3
* Thu Feb 01 2018 Mat Booth <mat.booth@redhat.com> - 1:9.4.1-0.4
9384cb3
- Export LDFLAGS as well as CFLAGS
9384cb3
ed9091e
* Wed Jan 31 2018 Mat Booth <mat.booth@redhat.com> - 1:9.4.1-0.3
ed9091e
- Fix error causing secondary arches to fail, fix bootstrap modes
ed9091e
4828a2a
* Tue Jan 30 2018 Jeff Johnston <jjohnstn@redhat.com> - 1:9.4.1-0.2
4828a2a
- fix building native fragments to use rpm CFLAGS
4828a2a
- resolves #rhbz1539083
4828a2a
9756e21
* Fri Jan 12 2018 Mat Booth <mat.booth@redhat.com> - 1:9.4.1-0.1
9756e21
- Pull in latest fixes from 9.4 branch
9756e21
4f4b808
* Mon Jan 08 2018 Jeff Johnston <jjohnstn@redhat.com> - 1:9.3.2-4
4f4b808
- Fix bug 529390
4f4b808
c0670e2
* Mon Oct 02 2017 Troy Dawson <tdawson@redhat.com> - 1:9.3.2-3
c0670e2
- Cleanup spec file conditionals
c0670e2
d160387
* Wed Sep 27 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.2-2
d160387
- Update sources
d160387
b481175
* Thu Sep 21 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.2-1
b481175
- Update to Oxygen.1 release
b481175
4b36931
* Thu Aug 10 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.1-1
4b36931
- Update to 9.3.1 patch release
4b36931
4b36931
* Thu Aug 10 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.0-0.7.gitbfe45e8
4b36931
- Avoid possibility of user scripts interfering with the operation of the
4b36931
  cdtdebug launcher script
4b36931
0b158e2
* Mon Aug 07 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.0-0.6.gitbfe45e8
0b158e2
- Don't ship example bundles
0b158e2
dda6d17
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.3.0-0.5.gitbfe45e8
dda6d17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
dda6d17
7ef5889
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.3.0-0.4.gitbfe45e8
7ef5889
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7ef5889
8e55295
* Tue Jul 04 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.0-0.3.gitbfe45e8
8e55295
- Fix build on alternative arches
8e55295
- Fix standalone debugger startup
8e55295
908a9c8
* Mon Jun 19 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.0-0.2.gitbfe45e8
908a9c8
- Allow boostrap modes to build against launchbar and tm-terminal when those
908a9c8
  packages are also bootstrapped
908a9c8
- Attempt to fix standalone debugger
908a9c8
908a9c8
* Sun Jun 18 2017 Mat Booth <mat.booth@redhat.com> - 1:9.3.0-0.1.gitbfe45e8
908a9c8
- Update to Oxygen snapshot
908a9c8
64ed4cb
* Tue May 02 2017 Mat Booth <mat.booth@redhat.com> - 1:9.2.1-3
64ed4cb
- Rebuilt for multilib change
64ed4cb
6a8f575
* Thu Mar 30 2017 Mat Booth <mat.booth@redhat.com> - 1:9.2.1-2
6a8f575
- Increase memory to fix the build on s390
6a8f575
763428b
* Tue Mar 28 2017 Mat Booth <mat.booth@redhat.com> - 1:9.2.1-1
763428b
- Update to latest upstream release
763428b
- Conditionalise building of arduino support
763428b
87bb44a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
87bb44a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
87bb44a
906b663
* Tue Jan 31 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:9.2.0-3
906b663
- Add missing build-requires on GCC
906b663
e048659
* Mon Jan 23 2017 Mat Booth <mat.booth@redhat.com> - 1:9.2.0-2
e048659
- Fix standalone debugger
e048659
- Stricter requires on launchbar
e048659
- Add fPIC to serial library build
e048659
1c58f5f
* Mon Jan 16 2017 Jeff Johnston <jjohnstn@redhat.com> - 1:9.2.0-1
1c58f5f
- Update to Neon.2 release
1c58f5f
- Use org.hamcrest.library instead of org.hamcrest.core
1c58f5f
3793516
* Tue Nov 08 2016 Mat Booth <mat.booth@redhat.com> - 1:9.1.0-2
3793516
- Full non-bootstrap build
3793516
- Ensure gtk icon cache is updated
3793516
2b00c3b
* Mon Nov 07 2016 Mat Booth <mat.booth@redhat.com> - 1:9.1.0-1
2b00c3b
- Update to Neon.1 release
2b00c3b
- Fix bootstrapping modes
2b00c3b
- Fix binary stripping and permissions on native libraries
2b00c3b
- Fix build on ppc64le
2b00c3b
848a30a
* Mon Nov 07 2016 Jeff Johnston <jjohnstn@redhat.com> - 1:9.0.0-4
848a30a
- Fix versioning typo.
848a30a
5e5b90b
* Mon Nov 07 2016 Jeff Johnston <jjohnstn@redhat.com> - 1:9.0.0-3
5e5b90b
- Bootstrap CDT as powerpc has been added and needs to bootstrap first.
5e5b90b
- This allows us to build eclipse-remote.
5e5b90b
149f51c
* Mon Sep 12 2016 Roland Grunberg <rgrunber@redhat.com> - 1:9.0.0-2
149f51c
- Break cycle from main CDT package to the SDK.
149f51c
339b014
* Wed Jun 22 2016 Mat Booth <mat.booth@redhat.com> - 1:9.0.0-1
339b014
- Update to Neon release
339b014
447894c
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:9.0.0-0.9.gitdff6b3b
447894c
- Add missing build-requires
447894c
9d34dde
* Mon Jun 06 2016 Jeff Johnston <jjohnstn@redhat.com> - 1:9.0.0-0.9.gitdff6b3b
9d34dde
- Move location code to find launchbar.core and ui.views.log into cdtdebug script
9d34dde
- Move setting of jar files for gson, xerces, xalan, xml.resolver, xml.serializer,
9d34dde
  and lucene.analysis into config.ini patch
9d34dde
c3edc00
* Thu Jun 02 2016 Jeff Johnston <jjohnstn@redhat.com> - 1:9.0.0-0.8.gitdff6b3b
c3edc00
- Update section of spec file that modifies standalone debugger config.ini
c3edc00
- Find org.eclipse.launchbar.core and org.eclipse.ui.views.log plugins
c3edc00
- Set jar files for com.google.gson, org.apache.xerces, org.apache.xalan,
c3edc00
  org.apache.xml.resolver, org.apache.xml.serializer, org.apache.lucene.analysis
c3edc00
38e876f
* Mon May 30 2016 Jeff Johnston <jjohnstn@redhat.com> - 1:9.0.0-0.7.gitdff6b3b
c3edc00
- Add Requires eclipse-launchbar which is now required by standalone debugger
38e876f
d4a32bd
* Sat May 21 2016 Mat Booth <mat.booth@redhat.com> - 1:9.0.0-0.6.gitdff6b3b
d4a32bd
- Add a patch to fix LLVM documentation, ebz#459567
d4a32bd
- Drop unneeded BR on RSE
d4a32bd
cd0a42d
* Thu May 12 2016 Alexander Kurtakov <akurtako@redhat.com> 1:9.0.0-0.5.gitdff6b3b
cd0a42d
- Fix natives compile for profiles not included upstream.
cd0a42d
53a0cc3
* Thu May 12 2016 Alexander Kurtakov <akurtako@redhat.com> 1:9.0.0-0.4.gitdff6b3b
53a0cc3
- New snapshot with natives build hooked in the maven build.
53a0cc3
1191b25
* Tue May 03 2016 Mat Booth <mat.booth@redhat.com> - 1:9.0.0-0.3.git0b93e81
1191b25
- Fix launching stand-alone debugger
1191b25
73c7a9e
* Mon May 02 2016 Sopot Cela <scela@redhat.com> - 1:9.0.0-0.2.git0b93e81
73c7a9e
- Fix broken reference to license issue to fix the build
73c7a9e
b22f451
* Sun May 01 2016 Mat Booth <mat.booth@redhat.com> - 1:9.0.0-0.1.git0b93e81
b22f451
- Update to latest snapshot for Neon support
b22f451
be2b346
* Thu Mar 10 2016 Mat Booth <mat.booth@redhat.com> - 1:8.8.1-9
be2b346
- Make standalone debugger work with all versions of lucene
be2b346
bb407f9
* Thu Mar 10 2016 Mat Booth <mat.booth@redhat.com> - 1:8.8.1-8
bb407f9
- Use global instead of define
bb407f9
- Move more bundles into SDK that should be there
bb407f9
- Remove forbidden SCL macros
bb407f9
- Minor other changes to make it easier to auto-SCLise
bb407f9
7276a45
* Mon Feb 29 2016 Alexander Kurtakov <akurtako@redhat.com> 1:8.8.1-7
7276a45
- Update to upstream 8.8.1 release.
7276a45
0928233
* Tue Feb 09 2016 Roland Grunberg <rgrunber@redhat.com> - 1:8.8.0-7
0928233
- Update to use proper xmvn provided macros.
0928233
- Fix CDT GDB Standalone Debugger.
0928233
688ee0d
* Thu Feb 04 2016 Roland Grunberg <rgrunber@redhat.com> - 1:8.8.0-6
688ee0d
- Add symbolic links for google-gson and apache-commons-compress in arduino.
688ee0d
- Resolves: rhbz#1302131.
688ee0d
55885c1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.8.0-5
55885c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
55885c1
eec8463
* Mon Nov 23 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.8.0-4
eec8463
- Drop old patches and organize them.
eec8463
068a58a
* Thu Oct 08 2015 Mat Booth <mat.booth@redhat.com> - 1:8.8.0-3
068a58a
- Perform full build
068a58a
- Exclude docker plugins on Fedora < 23
068a58a
bb1af13
* Thu Oct 8 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.8.0-2
bb1af13
- Split qt feature into subpackage with proper deps to qml, qtquick, qmake so generated project works.
bb1af13
- Disable brp-repack script as it just slows down the build.
bb1af13
6234116
* Wed Oct 07 2015 Mat Booth <mat.booth@redhat.com> - 1:8.8.0-1
6234116
- Update to Mars.1 release
6234116
- Bootstrap mode for secondary arches
6234116
1acbc6e
* Mon Sep 21 2015 Jeff Johnston <jjohnstn@redhat.com> - 1:8.7.0-10
1acbc6e
- Fix missing test resources
1acbc6e
- Fix missing exit code in console
1acbc6e
3d4ea23
* Tue Aug 04 2015 Roland Grunberg <rgrunber@redhat.com> - 1:8.7.0-9
3d4ea23
- Add script for automatically launching CDT Test Bundles.
3d4ea23
d9dd308
* Fri Jul 10 2015 Mat Booth <mat.booth@redhat.com> - 1:8.7.0-8
d9dd308
- No longer R/BR nekohtml
d9dd308
7a6cdf8
* Tue Jul 07 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-7
7a6cdf8
- Change macro controlling docker support to also control remote support
7a6cdf8
- Disable autotools and remote plug-ins/features if macro is 0
7a6cdf8
- This allows boot-strapping CDT for use by eclipse-remote and
7a6cdf8
  eclipse-linuxtools-docker packages
7a6cdf8
 
e8d9c63
* Thu Jul 02 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-6
e8d9c63
- Add missing src file test resources referred to by test cases.
e8d9c63
13e9847
* Mon Jun 29 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-5
13e9847
- Fix for bug 1235942.
13e9847
- Fix up some dependencies in the config.ini file that have changed their
13e9847
  OSGI reference in rawhide.
13e9847
532f377
* Fri Jun 26 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-4
532f377
- Fix for bug 1235942.
532f377
- Add back patch3 which is needed to set up the config.ini file properly.
532f377
- Also add some new dependencies to the config.ini file that were added
532f377
  as part of CDT 8.7.
532f377
2085209
* Fri Jun 26 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-3
2085209
- Fix for bug 1235945.
2085209
- Move Docker launcher plug-ins to own package: eclipse-cdt-docker.
2085209
f3fc0bb
* Thu Jun 25 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-2
f3fc0bb
- Use simpler macro to control container support and fix macro tests.
f3fc0bb
e2f9335
* Tue Jun 23 2015 Jeff Johnston <jjohnstn@redhat.com> 1:8.7.0-1
e2f9335
- Switch to use CDT_8_7 tag.
e2f9335
- Add with conditional to remove container support or add it in.
e2f9335
0879f39
* Mon Jun 15 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.6.gitd13a53c
0879f39
- Fix build with Tycho 0.23.
0879f39
- Update to newer snapshot.
0879f39
- Drop rse R as it's autogen.
0879f39
d10d585
* Thu Jun 4 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.5.git6c36f7f
d10d585
- Disable jacoco plugin and remove useless directory from the build.
d10d585
80c7c5f
* Thu Jun 4 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.4.git6c36f7f
80c7c5f
- Add arduino subpackage and enable building arduino plugins.
80c7c5f
5602684
* Wed Jun 3 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.3.git6c36f7f
5602684
- Drop Linux Tools libhover compilation and Recommend eclipse-linuxtools-libhover instead. 
5602684
496b7b6
* Wed Jun 3 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.2.git6c36f7f
496b7b6
- Newer snapshot.
496b7b6
- Enable remote feature now that deps are available.
496b7b6
- Drop Group tags.
496b7b6
9ee9d1b
* Mon Jun 1 2015 Alexander Kurtakov <akurtako@redhat.com> 1:8.7.0-0.1.git136c034
9ee9d1b
- Update to 8.7.0 pre-release.