|
|
ba42d13 |
# Set to 1 to build Eclipse without circular dependency to eclipse-pde, API
|
|
|
ba42d13 |
# generation and docs will not be built and a second run will be required, but
|
|
|
ba42d13 |
# this is a way to bootstrap Eclipse on secondary archs.
|
|
|
6ad80ad |
%global bootstrap 0
|
|
|
0c06dfb |
|
|
Krzysztof Daniel |
7bc9939 |
Epoch: 1
|
|
cvsdist |
38d0d0c |
|
|
|
6ad80ad |
%global eb_commit c985e357223668b4bc1fb76ea6b9e0c12829b7e8
|
|
|
6ad80ad |
%global eclipse_tag I20181206-0815
|
|
|
8fcf627 |
|
|
|
dd562ff |
%global _jetty_version 9.4.14
|
|
|
c48d605 |
%global _lucene_version 7.1.0
|
|
Krzysztof Daniel |
71615b1 |
|
|
Krzysztof Daniel |
57d06ed |
%ifarch %{ix86}
|
|
|
4c47d08 |
%global eclipse_arch x86
|
|
Krzysztof Daniel |
57d06ed |
%endif
|
|
Krzysztof Daniel |
71615b1 |
%ifarch %{arm}
|
|
|
4c47d08 |
%global eclipse_arch arm
|
|
|
e9d4fa1 |
%endif
|
|
|
6db7b84 |
%ifarch s390x x86_64 aarch64 ppc64le
|
|
|
4c47d08 |
%global eclipse_arch %{_arch}
|
|
Krzysztof Daniel |
57d06ed |
%endif
|
|
Krzysztof Daniel |
71615b1 |
|
|
|
3af4dfa |
# Desktop file information
|
|
|
5826134 |
%global app_name %{?app_name_prefix}%{!?app_name_prefix:Eclipse}
|
|
|
3af4dfa |
%global app_exec %{?app_exec_prefix} eclipse
|
|
|
3af4dfa |
|
|
|
c736234 |
# Eclipse is arch-specific, but multilib agnostic
|
|
|
c736234 |
%global _eclipsedir %{_prefix}/lib/eclipse
|
|
|
c736234 |
|
|
|
be2a7ad |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
374db1b |
%global use_wayland 1
|
|
|
374db1b |
%else
|
|
|
374db1b |
%global use_wayland 0
|
|
|
374db1b |
%endif
|
|
|
374db1b |
|
|
Andrew Overholt |
fad60dc |
Summary: An open, extensible IDE
|
|
|
65a9a80 |
Name: eclipse
|
|
|
c242877 |
Version: 4.10.0
|
|
|
102a2f3 |
Release: 2%{?dist}
|
|
|
4085f55 |
License: EPL-2.0
|
|
cvsdist |
38d0d0c |
URL: http://www.eclipse.org/
|
|
|
1f23ca8 |
|
|
|
be2a7ad |
Source0: http://download.eclipse.org/eclipse/downloads/drops4/%{eclipse_tag}/eclipse-platform-sources-%{eclipse_tag}.tar.xz
|
|
|
be2a7ad |
|
|
|
5826134 |
# Can generate locally with:
|
|
|
5826134 |
# git archive --format=tar --prefix=org.eclipse.linuxtools.eclipse-build-%%{eb_commit}/ \
|
|
|
5826134 |
# %%{eb_commit} | xz > org.eclipse.linuxtools.eclipse-build-%%{eb_commit}.tar.xz
|
|
|
bbe6075 |
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
|
|
Krzysztof Daniel |
594dc7c |
|
|
|
29de6da |
# Eclipse should not include source for dependencies that are not supplied by this package
|
|
|
29de6da |
# and should not include source for bundles that are not relevant to our platform
|
|
|
c48d605 |
Patch0: eclipse-no-source-for-dependencies.patch
|
|
Krzysztof Daniel |
54fb925 |
|
|
Krzysztof Daniel |
54fb925 |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=377515
|
|
|
c48d605 |
Patch1: eclipse-p2-pick-up-renamed-jars.patch
|
|
Krzysztof Daniel |
54fb925 |
|
|
Krzysztof Daniel |
54fb925 |
# Patch for this was contributed. Unlikely to be released.
|
|
|
c7f2d1e |
Patch2: eclipse-ignore-version-when-calculating-home.patch
|
|
Krzysztof Daniel |
54fb925 |
|
|
|
dd562ff |
# Explicit requirement on hamcrest where it is used directly
|
|
|
dd562ff |
Patch3: explicit-hamcrest.patch
|
|
|
dd562ff |
|
|
|
c242877 |
# Add support for all arches supported by Fedora
|
|
|
4085f55 |
Patch4: eclipse-secondary-arches.patch
|
|
Krzysztof Daniel |
7bc9939 |
|
|
|
4085f55 |
Patch5: eclipse-debug-symbols.patch
|
|
Krzysztof Daniel |
0548478 |
|
|
|
4085f55 |
#Patch6: eclipse-test-support.patch
|
|
Krzysztof Daniel |
5232c6c |
|
|
Mat Booth |
39a3b2a |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
|
|
|
bbe6075 |
Patch12: eclipse-fix-dropins.patch
|
|
Krzysztof Daniel |
2f07c26 |
|
|
|
f73fd5c |
# Feature plugin definitions lock onto version of plugin at build-time.
|
|
|
f73fd5c |
# If plugin is external, updating it breaks the feature. (version changes)
|
|
|
bbe6075 |
# Workaround : Change <plugin> definition to a 'requirement'
|
|
|
25f005f |
# Also makes the following BSN changes at the same time:
|
|
|
c736234 |
# com.sun.el -> com.sun.el.javax.el
|
|
|
c736234 |
# javax.el -> javax.el-api
|
|
|
c736234 |
# javax.servlet -> javax.servlet-api
|
|
|
c736234 |
# org.apache.jasper.glassfish -> org.glassfish.web.javax.servlet.jsp
|
|
|
c242877 |
# javax.annotation -> javax.annotation-api
|
|
|
c736234 |
# org.w3c.dom.smil -> removed
|
|
|
dd562ff |
Patch13: eclipse-feature-plugins-to-category-ius.patch
|
|
|
dd562ff |
|
|
|
dd562ff |
# Use old ASM and Mockito on Fedora < 30 because ASM 7 and Mockito 2 are not available there
|
|
|
dd562ff |
Patch14: eclipse-mockito.patch
|
|
|
dd562ff |
|
|
|
dd562ff |
Patch15: eclipse-support-symlink-bundles.patch
|
|
|
c35a6c7 |
|
|
|
3196467 |
# Fix various JDT and PDE tests
|
|
|
bbe6075 |
Patch20: eclipse-fix-tests.patch
|
|
|
3196467 |
|
|
|
3196467 |
# Droplet fixes
|
|
|
bbe6075 |
Patch21: eclipse-adjust-droplets.patch
|
|
|
bbe6075 |
Patch22: eclipse-pde-tp-support-droplets.patch
|
|
|
0199501 |
|
|
|
d8b4167 |
# Disable uses by default
|
|
|
4085f55 |
Patch24: eclipse-disable-uses-constraints.patch
|
|
|
d8b4167 |
|
|
|
3196467 |
# Droplet fixes
|
|
|
331baf8 |
Patch26: eclipse-make-droplets-runnable.patch
|
|
|
5e90fab |
Patch27: eclipse-disable-droplets-in-dropins.patch
|
|
|
4bce9c4 |
|
|
|
646e971 |
# Temporary measure until wayland improves
|
|
|
646e971 |
Patch28: prefer_x11_backend.patch
|
|
|
646e971 |
|
|
|
e73c027 |
# Fix errors when building ant launcher
|
|
|
e73c027 |
Patch29: fix_ant_build.patch
|
|
|
f58cdcb |
|
|
|
6d18346 |
# Hide the p2 Droplets from cluttering Install Wizard Combo
|
|
|
6d18346 |
Patch30: eclipse-hide-droplets-from-install-wizard.patch
|
|
|
6d18346 |
|
|
|
505e54f |
# Use the jit on 32bit arm to speed up the build
|
|
|
505e54f |
%ifarch %{arm}
|
|
|
505e54f |
BuildRequires: java-1.8.0-openjdk-aarch32-devel
|
|
|
505e54f |
%endif
|
|
|
505e54f |
|
|
|
6db7b84 |
BuildRequires: maven-local
|
|
|
67799d4 |
BuildRequires: tycho
|
|
|
67799d4 |
BuildRequires: tycho-extras
|
|
|
c35a6c7 |
BuildRequires: cbi-plugins
|
|
|
4bce9c4 |
BuildRequires: maven-antrun-plugin
|
|
|
3446dc9 |
BuildRequires: maven-assembly-plugin
|
|
|
514254e |
BuildRequires: maven-dependency-plugin
|
|
|
3446dc9 |
BuildRequires: maven-enforcer-plugin
|
|
|
514254e |
BuildRequires: maven-install-plugin
|
|
|
2fa4729 |
BuildRequires: maven-shade-plugin
|
|
|
4bce9c4 |
BuildRequires: xml-maven-plugin
|
|
|
92fc61d |
BuildRequires: rhino
|
|
|
1356376 |
BuildRequires: sonatype-oss-parent
|
|
|
71f860f |
BuildRequires: rsync
|
|
|
88ea960 |
BuildRequires: make, gcc
|
|
|
e1c5f1b |
BuildRequires: zip, unzip
|
|
|
e1c5f1b |
BuildRequires: desktop-file-utils
|
|
|
95f6173 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
9b062d7 |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
95f6173 |
BuildRequires: pkgconfig(nspr)
|
|
|
95f6173 |
BuildRequires: pkgconfig(glu)
|
|
|
95f6173 |
BuildRequires: pkgconfig(gl)
|
|
|
95f6173 |
BuildRequires: pkgconfig(cairo)
|
|
|
95f6173 |
BuildRequires: pkgconfig(xt)
|
|
|
95f6173 |
BuildRequires: pkgconfig(xtst)
|
|
|
74c26cc |
BuildRequires: pkgconfig(libsecret-1)
|
|
|
95f6173 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
95f6173 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
e1c5f1b |
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
c242877 |
BuildRequires: icu4j >= 1:63.1
|
|
|
f04da6c |
BuildRequires: ant >= 1.10.5
|
|
|
c736234 |
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
|
4085f55 |
BuildRequires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz ant-junit5
|
|
Krzysztof Daniel |
99d5dfe |
BuildRequires: jsch >= 0:0.1.46-2
|
|
Krzysztof Daniel |
4801fd7 |
BuildRequires: apache-commons-el >= 1.0-22
|
|
|
5ff1ec9 |
BuildRequires: apache-commons-logging
|
|
|
f23ad57 |
BuildRequires: apache-commons-codec
|
|
|
f58cdcb |
BuildRequires: apache-commons-jxpath
|
|
|
c35a6c7 |
BuildRequires: apache-commons-fileupload
|
|
|
c242877 |
BuildRequires: apache-sshd
|
|
|
4085f55 |
BuildRequires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
|
|
0c31782 |
BuildRequires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
|
|
4085f55 |
BuildRequires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
|
|
c48d605 |
BuildRequires: osgi(org.apache.felix.scr) >= 2.0.14
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
BuildRequires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
|
8fcf627 |
BuildRequires: lucene-core >= %{_lucene_version}
|
|
|
8fcf627 |
BuildRequires: lucene-analysis >= %{_lucene_version}
|
|
|
8fcf627 |
BuildRequires: lucene-queryparser >= %{_lucene_version}
|
|
|
8fcf627 |
BuildRequires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
|
f58cdcb |
BuildRequires: junit >= 4.12
|
|
|
53f7c53 |
BuildRequires: junit5
|
|
|
53f7c53 |
BuildRequires: apiguardian
|
|
|
4085f55 |
BuildRequires: hamcrest
|
|
|
67799d4 |
BuildRequires: sat4j
|
|
|
be32b7c |
BuildRequires: objectweb-asm >= 6.1.1
|
|
|
6db7b84 |
BuildRequires: sac
|
|
|
4085f55 |
BuildRequires: batik >= 1.10
|
|
|
4085f55 |
BuildRequires: batik-css >= 1.10
|
|
|
c48d605 |
BuildRequires: xmlgraphics-commons >= 2.2
|
|
|
e73c027 |
BuildRequires: xml-commons-apis
|
|
|
e1c5f1b |
BuildRequires: atinject
|
|
|
dd562ff |
BuildRequires: eclipse-ecf-core >= 3.14.4
|
|
|
dd562ff |
BuildRequires: eclipse-emf-core >= 1:2.16.0
|
|
|
4085f55 |
BuildRequires: eclipse-license2
|
|
|
c242877 |
BuildRequires: glassfish-annotation-api
|
|
|
e73c027 |
BuildRequires: glassfish-el-api >= 3.0.1
|
|
|
e73c027 |
BuildRequires: glassfish-el >= 3.0.1
|
|
Krzysztof Daniel |
4280c7a |
BuildRequires: glassfish-jsp-api >= 2.2.1-4
|
|
Krzysztof Daniel |
a79a77d |
BuildRequires: glassfish-jsp >= 2.2.5
|
|
|
3caab92 |
BuildRequires: glassfish-servlet-api >= 3.1.0
|
|
|
8fcf627 |
BuildRequires: httpcomponents-core
|
|
|
8fcf627 |
BuildRequires: httpcomponents-client
|
|
|
4085f55 |
BuildRequires: jsoup
|
|
|
03b08ae |
BuildRequires: xz-java
|
|
|
29de6da |
BuildRequires: mockito
|
|
|
ba42d13 |
BuildRequires: osgi(osgi.annotation)
|
|
|
ba42d13 |
# Build deps that are excluded when bootstrapping
|
|
|
67799d4 |
%if ! %{bootstrap}
|
|
|
67799d4 |
# For building docs and apitooling
|
|
Krzysztof Daniel |
44e3104 |
BuildRequires: eclipse-pde
|
|
|
67799d4 |
# For contributor tools
|
|
|
67799d4 |
BuildRequires: eclipse-egit
|
|
|
ba42d13 |
BuildRequires: eclipse-emf-runtime
|
|
|
0c06dfb |
%endif
|
|
|
5ffafab |
|
|
cvsdist |
df631d8 |
%description
|
|
Andrew Overholt |
4fd0cfa |
The Eclipse platform is designed for building integrated development
|
|
Andrew Overholt |
4fd0cfa |
environments (IDEs), server-side applications, desktop applications, and
|
|
Andrew Overholt |
4fd0cfa |
everything in between.
|
|
cvsdist |
38d0d0c |
|
|
|
2107e71 |
%package swt
|
|
|
ce171a5 |
Summary: SWT Library for GTK+
|
|
|
4085f55 |
Requires: java-headless >= 1:1.8.0
|
|
|
e1c5f1b |
Requires: javapackages-tools
|
|
|
65a9a80 |
Requires: gtk3
|
|
|
e1c5f1b |
Requires: webkitgtk4
|
|
Ben Konrath |
9dbdca5 |
|
|
Andrew Overholt |
d5b2034 |
%description swt
|
|
|
ce171a5 |
SWT Library for GTK+.
|
|
Ben Konrath |
9dbdca5 |
|
|
|
2107e71 |
%package equinox-osgi
|
|
Krzysztof Daniel |
0fcb34f |
Summary: Eclipse OSGi - Equinox
|
|
|
4085f55 |
Requires: java-headless >= 1:1.8.0
|
|
|
1824734 |
Requires: javapackages-tools
|
|
|
31d8cec |
Provides: osgi(system.bundle) = %{epoch}:%{version}
|
|
Krzysztof Daniel |
0fcb34f |
|
|
Krzysztof Daniel |
0fcb34f |
%description equinox-osgi
|
|
Krzysztof Daniel |
0fcb34f |
Eclipse OSGi - Equinox
|
|
Krzysztof Daniel |
0fcb34f |
|
|
cvsdist |
38d0d0c |
%package platform
|
|
cvsdist |
38d0d0c |
Summary: Eclipse platform common files
|
|
|
6c5fe13 |
Recommends: eclipse-abrt
|
|
|
6c5fe13 |
Recommends: eclipse-usage
|
|
|
87609c6 |
|
|
|
f04da6c |
Requires: ant >= 1.10.5
|
|
|
c736234 |
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
|
4085f55 |
Requires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz ant-junit5
|
|
|
c736234 |
Requires: jsch >= 0.1.46-2
|
|
Stanislav Ochotnicky |
8cdb377 |
Requires: apache-commons-el >= 1.0-23
|
|
Stanislav Ochotnicky |
8cdb377 |
Requires: apache-commons-logging
|
|
|
f23ad57 |
Requires: apache-commons-codec
|
|
|
f58cdcb |
Requires: apache-commons-jxpath
|
|
|
0c31782 |
Requires: osgi(org.apache.felix.gogo.shell) >= 1.0.0
|
|
|
0c31782 |
Requires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
|
|
0c31782 |
Requires: osgi(org.apache.felix.gogo.runtime) >= 1.0.4
|
|
|
c48d605 |
Requires: osgi(org.apache.felix.scr) >= 2.0.14
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
Krzysztof Daniel |
1ee8114 |
Requires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
|
8fcf627 |
Requires: lucene-core >= %{_lucene_version}
|
|
|
8fcf627 |
Requires: lucene-analysis >= %{_lucene_version}
|
|
|
8fcf627 |
Requires: lucene-queryparser >= %{_lucene_version}
|
|
|
8fcf627 |
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
|
67799d4 |
Requires: sat4j
|
|
|
6db7b84 |
Requires: sac
|
|
|
4085f55 |
Requires: batik >= 1.10
|
|
|
4085f55 |
Requires: batik-css >= 1.10
|
|
|
c48d605 |
Requires: xmlgraphics-commons >= 2.2
|
|
|
e73c027 |
Requires: xml-commons-apis
|
|
|
e1c5f1b |
Requires: atinject
|
|
|
dd562ff |
Requires: eclipse-ecf-core >= 3.14.4
|
|
|
dd562ff |
Requires: eclipse-emf-core >= 1:2.16.0
|
|
|
c242877 |
Requires: glassfish-annotation-api
|
|
|
e73c027 |
Requires: glassfish-el-api >= 3.0.1
|
|
|
e73c027 |
Requires: glassfish-el >= 3.0.1
|
|
Krzysztof Daniel |
4280c7a |
Requires: glassfish-jsp-api >= 2.2.1-4
|
|
Krzysztof Daniel |
a79a77d |
Requires: glassfish-jsp >= 2.2.5
|
|
|
3caab92 |
Requires: glassfish-servlet-api >= 3.1.0
|
|
|
c242877 |
Requires: icu4j >= 1:63.1
|
|
|
31d8cec |
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
|
|
31d8cec |
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
|
|
|
8fcf627 |
Requires: httpcomponents-core
|
|
|
8fcf627 |
Requires: httpcomponents-client
|
|
|
3446dc9 |
Requires: osgi(org.tukaani.xz)
|
|
|
da24e35 |
|
|
|
edec020 |
# Provides/obsoletes added in F26
|
|
|
edec020 |
# This is the best place to add this because adding it to the nls RPMs causes every
|
|
|
edec020 |
# single language pack to be installed, which is not desireable -- it needs to be
|
|
|
edec020 |
# obsoleted by exactly one thing.
|
|
|
edec020 |
Provides: eclipse-nls = %{version}-%{release}
|
|
|
edec020 |
Obsoletes: eclipse-nls < %{version}-%{release}
|
|
|
edec020 |
|
|
cvsdist |
38d0d0c |
%description platform
|
|
Andrew Overholt |
2d49d8c |
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
|
Andrew Overholt |
65c016b |
Java Development Tools or the Plugin Development Environment.
|
|
cvsdist |
38d0d0c |
|
|
cvsdist |
38d0d0c |
%package jdt
|
|
Andrew Overholt |
65c016b |
Summary: Eclipse Java Development Tools
|
|
|
c35a6c7 |
BuildArch: noarch
|
|
|
c35a6c7 |
|
|
|
31d8cec |
Provides: %{name} = %{epoch}:%{version}-%{release}
|
|
|
31d8cec |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
f58cdcb |
Requires: osgi(org.junit) >= 4.12
|
|
|
4085f55 |
Requires: osgi(org.hamcrest.core)
|
|
Krzysztof Daniel |
a65b26d |
|
|
cvsdist |
38d0d0c |
%description jdt
|
|
Andrew Overholt |
65c016b |
Eclipse Java Development Tools. This package is required to use Eclipse for
|
|
Andrew Overholt |
65c016b |
developing software written in the Java programming language.
|
|
cvsdist |
38d0d0c |
|
|
cvsdist |
38d0d0c |
%package pde
|
|
Andrew Overholt |
65c016b |
Summary: Eclipse Plugin Development Environment
|
|
|
c35a6c7 |
|
|
|
31d8cec |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
31d8cec |
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
|
|
be32b7c |
Requires: objectweb-asm >= 6.1.1
|
|
Andrew Overholt |
bfd4e0b |
|
|
Andrew Overholt |
3e3ec31 |
%description pde
|
|
Andrew Overholt |
65c016b |
Eclipse Plugin Development Environment. This package is required for
|
|
Andrew Overholt |
65c016b |
developing Eclipse plugins.
|
|
Ben Konrath |
5037e9d |
|
|
|
5b778ad |
%package p2-discovery
|
|
|
5b778ad |
Summary: Eclipse p2 Discovery
|
|
|
30a4fac |
BuildArch: noarch
|
|
|
c35a6c7 |
|
|
|
31d8cec |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
5b778ad |
|
|
|
5b778ad |
%description p2-discovery
|
|
|
5b778ad |
The p2 Discovery mechanism provides a simplified and branded front-end for the
|
|
|
5b778ad |
p2 provisioning platform. Discovery can be used as a tool to display and
|
|
|
5b778ad |
install from existing P2 repositories or as a framework to build branded
|
|
|
5b778ad |
installer UIs.
|
|
|
5b778ad |
|
|
|
ba42d13 |
%package contributor-tools
|
|
|
ba42d13 |
Summary: Tools for Eclipse Contributors
|
|
|
87609c6 |
|
|
|
31d8cec |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
d8b4167 |
Requires: easymock
|
|
|
d8b4167 |
Requires: mockito
|
|
|
ba42d13 |
|
|
|
ba42d13 |
%description contributor-tools
|
|
|
ba42d13 |
This package contains tools specifically for Eclipse contributors. It includes
|
|
|
ba42d13 |
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
|
|
|
ba42d13 |
|
|
Krzysztof Daniel |
fe0f2f6 |
%package tests
|
|
Krzysztof Daniel |
fe0f2f6 |
Summary: Eclipse Tests
|
|
|
87609c6 |
|
|
|
e73c027 |
Requires: %{name}-contributor-tools = %{epoch}:%{version}-%{release}
|
|
|
e73c027 |
|
|
Krzysztof Daniel |
fe0f2f6 |
%description tests
|
|
Krzysztof Daniel |
fe0f2f6 |
Eclipse Tests.
|
|
Krzysztof Daniel |
fe0f2f6 |
|
|
cvsdist |
df631d8 |
%prep
|
|
|
be2a7ad |
%setup -q %{SOURCE0} -n eclipse-platform-sources-%{eclipse_tag}
|
|
Krzysztof Daniel |
594dc7c |
|
|
|
be2a7ad |
# Extract linuxtools/eclipse-build sources
|
|
Krzysztof Daniel |
5eaee80 |
tar --strip-components=1 -xf %{SOURCE1}
|
|
Krzysztof Daniel |
fc35c14 |
|
|
|
be2a7ad |
# Delete pre-built binary artifacts except some test data that cannot be generated
|
|
|
4085f55 |
find . ! -path "*/JCL/*" ! -name "rtstubs*.jar" ! -name "java10api.jar" ! -name "j9stubs.jar" \
|
|
|
be2a7ad |
-type f -name *.jar -delete
|
|
|
be2a7ad |
find . -type f -name *.class -delete
|
|
|
be2a7ad |
find . -type f -name *.so -delete
|
|
|
be2a7ad |
find . -type f -name *.dll -delete
|
|
|
be2a7ad |
find . -type f -name *.jnilib -delete
|
|
|
be2a7ad |
|
|
|
be2a7ad |
# Remove pre-compiled native launchers
|
|
|
be2a7ad |
rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/
|
|
|
be2a7ad |
|
|
|
c48d605 |
%patch0
|
|
Krzysztof Daniel |
594dc7c |
%patch1
|
|
|
c7f2d1e |
%patch2
|
|
|
dd562ff |
%patch3
|
|
|
4085f55 |
%patch4 -p1
|
|
|
4085f55 |
%patch5
|
|
|
c48d605 |
#%patch6
|
|
|
fa7a0c9 |
%patch12
|
|
|
dd562ff |
%patch13 -p1
|
|
|
dd562ff |
%if 0%{?fedora} && 0%{?fedora} < 30
|
|
|
dd562ff |
# Use old ASM and Mockito on Fedora < 30 because ASM 7 and Mockito 2 are not available there
|
|
|
dd562ff |
%patch14 -p1
|
|
|
dd562ff |
%endif
|
|
|
c35a6c7 |
%patch15
|
|
|
d3387df |
%patch20
|
|
|
fa7a0c9 |
%patch21
|
|
|
c35a6c7 |
%patch22
|
|
|
4bce9c4 |
%patch24
|
|
|
331baf8 |
%patch26
|
|
|
5e90fab |
%patch27
|
|
|
374db1b |
%if ! %{use_wayland}
|
|
|
4a63eb6 |
# Enable wayland by default on F27+
|
|
|
646e971 |
%patch28
|
|
|
4a63eb6 |
%endif
|
|
|
f58cdcb |
%patch29
|
|
|
7996b3e |
%patch30 -p1
|
|
|
0199501 |
|
|
|
c242877 |
# Remove jgit deps because building from source tarball, not a git repo
|
|
|
c242877 |
%pom_remove_dep :tycho-buildtimestamp-jgit eclipse-platform-parent
|
|
|
c242877 |
%pom_remove_dep :tycho-sourceref-jgit eclipse-platform-parent
|
|
|
c242877 |
%pom_xpath_remove 'pom:configuration/pom:timestampProvider' eclipse-platform-parent
|
|
|
c242877 |
%pom_xpath_remove 'pom:configuration/pom:sourceReferences' eclipse-platform-parent
|
|
|
31d8cec |
|
|
|
8fcf627 |
# Resolving the target platform requires too many changes, so don't use it
|
|
|
8fcf627 |
%pom_xpath_remove "pom:configuration/pom:target" eclipse-platform-parent
|
|
|
ef39c8b |
|
|
|
d96d2db |
# Disable as many products as possible to make the build faster, we care only for the IDE
|
|
Krzysztof Daniel |
0548478 |
%pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
Krzysztof Daniel |
0548478 |
%pom_disable_module rcp eclipse.platform.releng.tychoeclipsebuilder
|
|
Krzysztof Daniel |
0548478 |
%pom_disable_module rcp.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
8b5c72e |
%pom_disable_module rcp.config eclipse.platform.releng.tychoeclipsebuilder
|
|
Krzysztof Daniel |
0548478 |
%pom_disable_module sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
30b23e4 |
%pom_disable_module equinox-sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
Krzysztof Daniel |
782e069 |
%pom_disable_module equinox.starterkit.product eclipse.platform.releng.tychoeclipsebuilder
|
|
|
c35a6c7 |
%pom_disable_module eclipse.platform.repository eclipse.platform.releng.tychoeclipsebuilder
|
|
|
954e24d |
|
|
|
d96d2db |
# Disable bundles that we don't ship as part of the remaining products
|
|
Krzysztof Daniel |
334c54e |
%pom_disable_module bundles/org.eclipse.equinox.cm.test rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
|
|
|
365159b |
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
|
|
|
c242877 |
%pom_disable_module bundles/org.eclipse.equinox.console.ssh.tests rt.equinox.bundles
|
|
|
6ad80ad |
%pom_disable_module bundles/org.eclipse.equinox.console.tests rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.ip rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module bundles/org.eclipse.equinox.weaving.hook rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module features/org.eclipse.equinox.compendium.sdk rt.equinox.bundles
|
|
|
30b23e4 |
%pom_disable_module features/org.eclipse.equinox.core.sdk rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
|
|
Krzysztof Daniel |
452d050 |
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
|
|
Mat Booth |
39a3b2a |
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.reconciler.product rt.equinox.p2
|
|
|
d96d2db |
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
|
|
|
c242877 |
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.optimizers rt.equinox.p2
|
|
|
d96d2db |
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
|
|
|
be2a7ad |
|
|
|
be2a7ad |
# Don't need annotations for obsolete JDKs
|
|
|
be2a7ad |
%pom_disable_module org.eclipse.jdt.annotation_v1 eclipse.jdt.core
|
|
|
c242877 |
%pom_xpath_remove "plugin[@version='1.1.400.qualifier']" eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
|
|
be2a7ad |
sed -i -e '/org\.eclipse\.jdt\.annotation;bundle-version="\[1\.1\.0,2\.0\.0)"/d' \
|
|
|
be2a7ad |
eclipse.jdt.core/org.eclipse.jdt.core.tests.{model,builder,compiler}/META-INF/MANIFEST.MF \
|
|
|
be2a7ad |
eclipse.jdt.core/org.eclipse.jdt.apt.pluggable.tests/META-INF/MANIFEST.MF \
|
|
|
be2a7ad |
eclipse.jdt.ui/org.eclipse.jdt.ui.tests/META-INF/MANIFEST.MF
|
|
|
c242877 |
sed -i -e 's/javax.annotation/javax.annotation-api/' eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/META-INF/MANIFEST.MF
|
|
|
c54af42 |
|
|
|
c35a6c7 |
# Disable examples
|
|
|
c35a6c7 |
%pom_disable_module bundles/org.eclipse.sdk.examples eclipse.platform.releng
|
|
|
c35a6c7 |
%pom_disable_module features/org.eclipse.sdk.examples-feature eclipse.platform.releng
|
|
|
c35a6c7 |
%pom_disable_module examples/org.eclipse.swt.examples.ole.win32 eclipse.platform.swt
|
|
|
c35a6c7 |
|
|
|
c35a6c7 |
# Disable servletbridge stuff
|
|
|
c35a6c7 |
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
|
|
|
c35a6c7 |
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
|
|
|
c35a6c7 |
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
|
|
|
c35a6c7 |
|
|
|
c242877 |
# Missing dep on reddeer
|
|
|
c242877 |
%pom_disable_module ui/org.eclipse.pde.ui.tests.smartimport eclipse.pde.ui
|
|
|
c242877 |
|
|
|
6ad80ad |
# Don't need enforcer on RPM builds
|
|
|
6ad80ad |
%pom_remove_plugin :maven-enforcer-plugin eclipse-platform-parent
|
|
|
6ad80ad |
|
|
|
fca354a |
# This part generates secondary fragments using primary fragments
|
|
|
f04da6c |
for dir in rt.equinox.binaries rt.equinox.framework/bundles eclipse.platform.swt.binaries/bundles ; do
|
|
|
fca354a |
utils/ensure_arch.sh "$dir" x86 arm
|
|
|
c242877 |
utils/ensure_arch.sh "$dir" x86_64 aarch64
|
|
|
fca354a |
done
|
|
Krzysztof Daniel |
52d2cc0 |
|
|
|
a0e15dc |
# Remove platform-specific stuff that we don't care about to reduce build time
|
|
|
0711cd3 |
# (i.e., all bundles that are not applicable to the current build platform --
|
|
|
0711cd3 |
# this reduces the build time on arm by around 20 minutes per architecture that
|
|
|
0711cd3 |
# we are not currently building)
|
|
|
fca354a |
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
|
|
|
fca354a |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
|
|
|
fca354a |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
|
|
|
59f828f |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
|
|
|
0711cd3 |
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
|
ec734db |
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
|
|
|
ec734db |
if [ -n "$module" ] ; then
|
|
|
ec734db |
%pom_disable_module bundles/$b eclipse.platform.swt.binaries
|
|
|
fca354a |
%pom_xpath_inject "pom:excludes" "<plugin id='$b'/>" eclipse.platform.ui/features/org.eclipse.e4.rcp
|
|
|
ec734db |
fi
|
|
|
a0e15dc |
done
|
|
|
0711cd3 |
for b in `ls rt.equinox.framework/bundles | grep -P -e 'org.eclipse.equinox.launcher\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
|
ec734db |
module=$(grep ">bundles/$b<" rt.equinox.framework/pom.xml || :)
|
|
|
ec734db |
if [ -n "$module" ] ; then
|
|
|
ec734db |
%pom_disable_module bundles/$b rt.equinox.framework
|
|
|
c35a6c7 |
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
|
|
|
ec734db |
fi
|
|
|
a0e15dc |
done
|
|
|
74c26cc |
for b in `(cd rt.equinox.bundles/bundles && ls -d *{macosx,win32,linux}*) | grep -P -e 'org.eclipse.equinox.security\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
|
c242877 |
module=$(grep ">bundles/$b<" rt.equinox.bundles/pom.xml || :)
|
|
|
c242877 |
if [ -n "$module" ] ; then
|
|
|
c242877 |
%pom_disable_module bundles/$b rt.equinox.bundles
|
|
|
c242877 |
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
|
|
|
c242877 |
fi
|
|
|
74c26cc |
done
|
|
|
910583e |
for b in `ls eclipse.platform.team/bundles/org.eclipse.core.net/fragments/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
|
|
|
910583e |
%pom_disable_module bundles/org.eclipse.core.net/fragments/$b eclipse.platform.team
|
|
|
910583e |
done
|
|
|
c35a6c7 |
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
|
910583e |
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
|
|
|
910583e |
if [ -n "$module" ] ; then
|
|
|
910583e |
%pom_disable_module bundles/$b eclipse.platform.resources
|
|
|
c35a6c7 |
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
|
|
|
910583e |
fi
|
|
|
910583e |
done
|
|
|
a0e15dc |
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
|
|
|
a0e15dc |
%pom_disable_module org.eclipse.jdt.launching.ui.macosx eclipse.jdt.debug
|
|
|
a0e15dc |
%pom_disable_module bundles/org.eclipse.compare.win32 eclipse.platform.team
|
|
|
c736234 |
%pom_disable_module org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui/bundles
|
|
|
c736234 |
%pom_disable_module org.eclipse.ui.cocoa eclipse.platform.ui/bundles
|
|
|
c736234 |
%pom_disable_module org.eclipse.ui.win32 eclipse.platform.ui/bundles
|
|
|
a0e15dc |
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
|
|
|
74c26cc |
for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
|
|
74c26cc |
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
|
|
74c26cc |
eclipse.platform.releng/features/org.eclipse.rcp/feature.xml \
|
|
|
74c26cc |
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml ; do
|
|
|
74c26cc |
%pom_xpath_remove -f "plugin[@os='macosx']" $f
|
|
|
74c26cc |
%pom_xpath_remove -f "plugin[@os='win32']" $f
|
|
|
74c26cc |
%pom_xpath_remove -f "plugin[@ws='win32']" $f
|
|
|
c242877 |
for arch in x86 x86_64 arm aarch64 ppc64le s390x ; do
|
|
|
79166a3 |
if [ "$arch" != "%{eclipse_arch}" ] ; then
|
|
|
79166a3 |
%pom_xpath_remove -f "plugin[@arch='$arch']" $f
|
|
|
79166a3 |
fi
|
|
|
79166a3 |
done
|
|
|
74c26cc |
done
|
|
|
2706151 |
|
|
|
2c77185 |
# Fix versions in secondary arch fragments
|
|
|
4085f55 |
fix_files=$(grep -lr 3.107.100 eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*)
|
|
|
c242877 |
sed -i -e "s/3.107.100/3.109.0/" $fix_files
|
|
|
4085f55 |
fix_files=$(grep -lr '1\.1\.[67]00' rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.linux.*)
|
|
|
4085f55 |
sed -i -e "s/1\.1\.[67]00/1.1.800/" $fix_files
|
|
|
2c77185 |
sed -i -e "/Fragment-Host/s/\(bundle-version=\).*/\1\"1.0.0\"/" $fix_files
|
|
|
e2606ec |
|
|
|
c736234 |
# We don't need SWT fragments since we only care for current arch
|
|
|
c736234 |
%pom_disable_module tests/org.eclipse.swt.tests.fragments.feature eclipse.platform.swt
|
|
|
c48d605 |
%pom_xpath_remove "pom:dependency-resolution" eclipse.platform.swt/tests/org.eclipse.swt.tests{,.gtk}
|
|
|
c736234 |
|
|
|
fca354a |
# Disable contributor tools that have external dependencies during bootstrap
|
|
|
fca354a |
%if %{bootstrap}
|
|
|
fca354a |
%pom_disable_module eclipse.platform.ui.tools
|
|
|
fca354a |
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
|
|
|
fca354a |
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
|
|
|
fca354a |
%pom_disable_module bundles/org.eclipse.releng.tests eclipse.platform.releng
|
|
|
c35a6c7 |
%pom_xpath_remove "plugin[@id='org.eclipse.releng.tests']" \
|
|
|
c35a6c7 |
eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
fca354a |
%endif
|
|
Krzysztof Daniel |
0d2b243 |
|
|
|
365159b |
# Include some extra features with the product that some other projects may need at
|
|
|
365159b |
# build time as part of their target platform definitions
|
|
|
c48d605 |
sed -i -e '/<features>/a<feature id="org.eclipse.core.runtime.feature"/>' \
|
|
|
365159b |
eclipse.platform.releng.tychoeclipsebuilder/platform/platform.product
|
|
|
365159b |
|
|
|
bbe6075 |
# Ensure batch compiler gets installed correctly
|
|
|
bbe6075 |
sed -i -e '/org.eclipse.ui.themes/i<plugin id="org.eclipse.jdt.core.compiler.batch" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' \
|
|
|
bbe6075 |
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
|
|
e1c5f1b |
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
|
|
|
e1c5f1b |
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
|
|
|
bbe6075 |
|
|
|
edec020 |
# Prevent dep cycle
|
|
|
edec020 |
%pom_xpath_remove "plugin[@id='org.eclipse.core.tests.harness']" eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
|
edec020 |
|
|
|
5826134 |
# Include maven descriptors to allow our test execution setup to work
|
|
|
5826134 |
%pom_xpath_set "pom:plugin[pom:artifactId = 'tycho-packaging-plugin']/pom:configuration/pom:archive/pom:addMavenDescriptor" "true" eclipse-platform-parent
|
|
|
5826134 |
|
|
|
8fc0bff |
# Don't set perms on files for platforms that aren't linux
|
|
|
e12344b |
for f in rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
|
|
|
365159b |
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
|
|
|
365159b |
sed -i -e '/^root\./d' $f && cat tmp >> $f
|
|
|
365159b |
done
|
|
|
8fc0bff |
|
|
|
a69dbca |
# Hack - this can go away once upstream grows arm and aarch64 support
|
|
Krzysztof Daniel |
7d0dd43 |
mkdir -p rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/%{eclipse_arch}
|
|
Krzysztof Daniel |
0d2b243 |
|
|
|
a69dbca |
# Ensure that bundles with native artifacts are dir-shaped, so no *.so is extracted into user.home
|
|
|
c242877 |
for f in eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*/META-INF/MANIFEST.MF \
|
|
|
74c26cc |
eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.*/META-INF/MANIFEST.MF \
|
|
|
c242877 |
eclipse.platform.team/bundles/org.eclipse.core.net.linux.*/META-INF/MANIFEST.MF ; do
|
|
|
908a2dc |
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
|
|
Krzysztof Daniel |
7fcdb77 |
done
|
|
Krzysztof Daniel |
7fcdb77 |
|
|
|
dea287e |
# Add dep on Java API stubs when compiling with JDT
|
|
|
d4a43f6 |
%pom_xpath_inject "pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='tycho-compiler-plugin']/pom:dependencies" \
|
|
|
6ea29d2 |
"<dependency><groupId>org.eclipse</groupId><artifactId>java10api</artifactId><version>10</version></dependency>" eclipse-platform-parent
|
|
|
d4a43f6 |
|
|
|
74c26cc |
# Build fake ant bundle that contains symlinks to system jars
|
|
|
74c26cc |
dependencies/fake_ant_dependency.sh
|
|
Krzysztof Daniel |
452d050 |
|
|
|
8f9b75a |
# Allow usage of javax.servlet.jsp 2.3.
|
|
|
8f9b75a |
sed -i '/javax\.servlet\.jsp/ s/2\.3/2\.4/' rt.equinox.bundles/bundles/org.eclipse.equinox.jsp.jasper/META-INF/MANIFEST.MF
|
|
|
8f9b75a |
|
|
|
e9d4fa1 |
# Use javax.servlet-api (Glassfish) instead of javax.servlet (Tomcat)
|
|
|
e9d4fa1 |
find -name feature.xml | xargs sed -i -e 's|"javax.servlet"|"javax.servlet-api"|'
|
|
|
0c31782 |
sed -i -e "2iRequire-Bundle: javax.servlet-api" rt.equinox.bundles/bundles/org.eclipse.equinox.http.{jetty,servlet}/META-INF/MANIFEST.MF
|
|
|
0c31782 |
|
|
|
0c31782 |
# Fix constraint on gogo runtime
|
|
|
0c31782 |
sed -i -e '/org.apache.felix.service.command/s/;status=provisional//' rt.equinox.bundles/bundles/org.eclipse.equinox.console{,.ssh}/META-INF/MANIFEST.MF
|
|
|
e9d4fa1 |
|
|
|
c736234 |
# Pre-compiling JSPs does not currently work
|
|
|
c736234 |
%pom_remove_plugin org.eclipse.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
|
|
Krzysztof Daniel |
5dda4fa |
|
|
|
336a4b9 |
# Remove generated files not present during bootstrap build
|
|
|
336a4b9 |
# org.eclipse.platform.doc.isv, org.eclipse.jdt.doc.isv, org.eclipse.pde.doc.user
|
|
|
336a4b9 |
%if %{bootstrap}
|
|
|
c48d605 |
sed -i '22,51d' eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/assembly/assembly.xml
|
|
|
336a4b9 |
%endif
|
|
|
336a4b9 |
|
|
|
ba42d13 |
# Use system osgi.annotation lib
|
|
|
37911ff |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
|
|
|
37911ff |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
|
|
|
37911ff |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.util/lib/
|
|
|
37911ff |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/osgi/
|
|
|
37911ff |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.coordinator/lib/
|
|
|
c48d605 |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.log.stream/osgi/
|
|
|
ba42d13 |
|
|
|
be32b7c |
# This test doesn't build on 32bit
|
|
|
be32b7c |
# See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=534174
|
|
|
be32b7c |
rm eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug421127_Clipping_is_wrong.java
|
|
|
be32b7c |
|
|
|
c35a6c7 |
# The order of these mvn_package calls is important
|
|
|
8fcf627 |
%mvn_package "::pom::" __noinstall
|
|
|
d859489 |
%mvn_package ":*tests*" tests
|
|
|
d859489 |
%mvn_package ":org.eclipse.equinox.frameworkadmin.test" tests
|
|
|
d859489 |
%mvn_package ":org.eclipse.equinox.p2.installer" tests
|
|
|
d859489 |
%mvn_package ":org.eclipse.jface.examples.databinding" tests
|
|
|
d859489 |
%mvn_package ":org.eclipse.pde.tools.versioning" tests
|
|
|
d859489 |
%mvn_package ":org.eclipse.update.core" tests
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.test:org.eclipse.test" contributor-tools
|
|
|
d859489 |
%mvn_package ":*examples*" __noinstall
|
|
|
c35a6c7 |
%mvn_package "::jar:sources{,-feature}:" sdk
|
|
|
c35a6c7 |
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
|
|
|
c35a6c7 |
%mvn_package ":org.eclipse.platform.doc.isv" sdk
|
|
|
52d8d4e |
%mvn_package ":org.eclipse.equinox.executable" sdk
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.jdt{,.feature}:" jdt
|
|
|
c35a6c7 |
%mvn_package ":org.eclipse.ant.{launching,ui}" jdt
|
|
|
30a4fac |
%mvn_package ":org.eclipse.equinox.p2.discovery.{feature,compatibility}" p2-discovery
|
|
|
30a4fac |
%mvn_package ":org.eclipse.equinox.p2{,.ui}.discovery" p2-discovery
|
|
|
30a4fac |
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
|
|
|
30a4fac |
%mvn_package ":org.eclipse.releng.tools" contributor-tools
|
|
|
74c26cc |
%mvn_package ":org.eclipse.swt.tools*" contributor-tools
|
|
|
03b08ae |
%mvn_package "org.eclipse.test{,.feature}:" contributor-tools
|
|
|
03b08ae |
%mvn_package ":org.eclipse.ant.optional.junit" contributor-tools
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
|
|
|
a0f3cd3 |
%mvn_package "org.eclipse.pde{,.ui,.feature}:" pde
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.ui:org.eclipse.ui.{views.log,trace}" pde
|
|
|
c35a6c7 |
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
|
|
|
c35a6c7 |
%mvn_package ":" __noinstall
|
|
|
30a4fac |
|
|
Andrew Overholt |
602cb9d |
%build
|
|
Krzysztof Daniel |
894aed7 |
#This is the lowest value where the build succeeds. 512m is not enough.
|
|
|
c736234 |
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
|
|
|
2fa4729 |
# Ensure we get the jit on arm
|
|
|
2fa4729 |
%ifarch %{arm}
|
|
|
2fa4729 |
export JAVA_HOME=$(ls -d %{_jvmdir}/java-1.8.0-openjdk-aarch32*)
|
|
|
2fa4729 |
%else
|
|
|
c736234 |
export JAVA_HOME=%{_jvmdir}/java
|
|
|
2fa4729 |
%endif
|
|
|
2fa4729 |
|
|
|
2fa4729 |
# Pre-build agent jar needed for AdvancedSourceLookupSupport
|
|
|
2fa4729 |
sed -i -e '/createSourcesJar/d' eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
|
|
6ad80ad |
(cd eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent && xmvn -e -o -B clean verify)
|
|
|
2fa4729 |
mv eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/target/javaagent-shaded.jar \
|
|
|
2fa4729 |
eclipse.jdt.debug/org.eclipse.jdt.launching/lib
|
|
|
365159b |
|
|
|
31d8cec |
# Qualifier generated from last modification time of source tarball
|
|
|
31d8cec |
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
|
|
|
c242877 |
%mvn_build -j -f -- -e -DforceContextQualifier=$QUALIFIER \
|
|
|
0c06dfb |
%if %{bootstrap}
|
|
|
0c06dfb |
-P !api-generation,!build-docs \
|
|
|
0c06dfb |
%endif
|
|
|
365159b |
-Declipse.javadoc=/usr/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
|
|
|
fca354a |
-Dtycho.local.keepTarget \
|
|
|
5826134 |
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=X
|
|
Krzysztof Daniel |
01bdabe |
|
|
|
230ce84 |
# Location that the product is materialised
|
|
|
230ce84 |
product="eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}"
|
|
|
230ce84 |
|
|
|
74c26cc |
# Re-symlink ant bundle to use system jars
|
|
|
230ce84 |
dependencies/fake_ant_dependency.sh $product/eclipse/plugins/org.apache.ant_*
|
|
Krzysztof Daniel |
01bdabe |
|
|
|
e9d4fa1 |
# Symlink necessary plugins that are provided by other packages
|
|
|
c736234 |
dependencies/replace_platform_plugins_with_symlinks.sh $product/eclipse %{_javadir} %{_jnidir}
|
|
|
3caab92 |
|
|
|
230ce84 |
pushd $product/eclipse
|
|
Krzysztof Daniel |
f05d64a |
|
|
Krzysztof Daniel |
452d050 |
#clean up
|
|
Krzysztof Daniel |
452d050 |
rm -rf configuration/org.eclipse.core.runtime
|
|
Krzysztof Daniel |
452d050 |
rm -rf configuration/org.eclipse.equinox.app
|
|
Krzysztof Daniel |
452d050 |
rm -rf configuration/org.eclipse.update
|
|
Krzysztof Daniel |
452d050 |
rm -rf configuration/org.eclipse.osgi
|
|
Krzysztof Daniel |
452d050 |
rm -rf p2/org.eclipse.equinox.p2.core/cache/*
|
|
Krzysztof Daniel |
452d050 |
# no icon needed
|
|
Krzysztof Daniel |
452d050 |
rm -f icon.xpm
|
|
Krzysztof Daniel |
01bdabe |
|
|
|
ee10ab0 |
# EMF and ECF are packaged separately
|
|
|
ee10ab0 |
rm -rf features/org.eclipse.emf.* plugins/org.eclipse.emf.* \
|
|
|
ee10ab0 |
features/org.eclipse.ecf.* plugins/org.eclipse.ecf.* plugins/org.eclipse.ecf_*
|
|
|
ea875ab |
|
|
Krzysztof Daniel |
452d050 |
#delete all local repositories. We want to have only "original" by default.
|
|
Krzysztof Daniel |
452d050 |
pushd p2/org.eclipse.equinox.p2.engine/.settings
|
|
Krzysztof Daniel |
452d050 |
sed -i "/repositories\/file/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
Krzysztof Daniel |
452d050 |
sed -i "/repositories\/memory/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
Krzysztof Daniel |
6712b4b |
popd
|
|
Krzysztof Daniel |
cdfdcb5 |
|
|
|
099a0c5 |
# ini file adjustements
|
|
|
1ea5f34 |
sed -i "s|-Xms40m|-Xms512m|g" eclipse.ini
|
|
|
099a0c5 |
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
|
|
|
1aa3dbe |
sed -i '1i-protect\nroot' eclipse.ini
|
|
|
099a0c5 |
|
|
Mat Booth |
39a3b2a |
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
|
|
|
c736234 |
cat >> eclipse.ini <
|
|
|
099a0c5 |
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
|
|
Krzysztof Daniel |
f64e087 |
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
|
|
|
ee10ab0 |
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
|
|
c736234 |
-Dp2.fragments=%{_eclipsedir}/droplets,%{_datadir}/eclipse/droplets
|
|
|
099a0c5 |
-Declipse.p2.skipMovedInstallDetection=true
|
|
|
3446dc9 |
-Dosgi.resolver.usesMode=ignore
|
|
|
c736234 |
EOF
|
|
Krzysztof Daniel |
452d050 |
|
|
Krzysztof Daniel |
452d050 |
popd #eclipse
|
|
Krzysztof Daniel |
452d050 |
|
|
Krzysztof Daniel |
fc35c14 |
%install
|
|
|
30a4fac |
%mvn_install
|
|
|
8cf5b9b |
|
|
|
29de6da |
# Some directories we need
|
|
|
29de6da |
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
2224bc2 |
install -d -m 755 $RPM_BUILD_ROOT%{_jnidir}
|
|
|
8fcf627 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/eclipse
|
|
|
29de6da |
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
|
29de6da |
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
|
|
29de6da |
|
|
|
29de6da |
# Install icons
|
|
Krzysztof Daniel |
0d0e616 |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse32.png \
|
|
|
a69dbca |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/%{name}.png
|
|
Krzysztof Daniel |
0d0e616 |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse48.png \
|
|
|
a69dbca |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/%{name}.png
|
|
Krzysztof Daniel |
0d0e616 |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse256.png \
|
|
|
a69dbca |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/%{name}.png
|
|
|
29de6da |
install -d $RPM_BUILD_ROOT/usr/share/pixmaps
|
|
|
a69dbca |
ln -s /usr/share/icons/hicolor/256x256/apps/%{name}.png \
|
|
|
a69dbca |
$RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png
|
|
Krzysztof Daniel |
90d08fe |
|
|
|
a69dbca |
# Install desktop file
|
|
|
3af4dfa |
sed -i -e 's/Exec=eclipse/Exec=%{app_exec}/g' desktopintegration/eclipse.desktop
|
|
|
3af4dfa |
sed -i -e 's/Name=Eclipse/Name=%{app_name}/g' desktopintegration/eclipse.desktop
|
|
|
f23ad57 |
sed -i -e 's/Icon=eclipse/Icon=%{name}/g' desktopintegration/eclipse.desktop
|
|
|
a69dbca |
install -m644 -D desktopintegration/eclipse.desktop $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
|
a69dbca |
desktop-file-validate $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
|
a69dbca |
|
|
|
a69dbca |
# Install appstream appdata
|
|
|
a69dbca |
install -m644 -D desktopintegration/eclipse.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse.appdata.xml
|
|
|
a69dbca |
install -m644 -D desktopintegration/eclipse-jdt.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
|
a69dbca |
install -m644 -D desktopintegration/eclipse-pde.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
Krzysztof Daniel |
452d050 |
|
|
Krzysztof Daniel |
55d6f2b |
LOCAL_PWD=`pwd`
|
|
Krzysztof Daniel |
55d6f2b |
#change the installation p2 files
|
|
|
29de6da |
pushd eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/
|
|
Krzysztof Daniel |
55d6f2b |
for i in `ls | grep "profile.gz"` ; do \
|
|
Krzysztof Daniel |
7bc9939 |
echo $i ; \
|
|
Krzysztof Daniel |
7bc9939 |
gunzip $i ; \
|
|
|
c736234 |
sed -i -e "s@${LOCAL_PWD}/eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse@%{_eclipsedir}@g" *.profile ; \
|
|
Krzysztof Daniel |
7bc9939 |
gzip *.profile ; \
|
|
Krzysztof Daniel |
7bc9939 |
done
|
|
Krzysztof Daniel |
8a5ee96 |
popd
|
|
Krzysztof Daniel |
8a5ee96 |
|
|
Krzysztof Daniel |
90d08fe |
#installation itself - copy it into right location
|
|
|
29de6da |
rsync -vrpl eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse \
|
|
|
d4a43f6 |
%{buildroot}%{_prefix}/lib
|
|
|
c736234 |
|
|
|
c736234 |
# Symlink eclipse binary
|
|
|
d4a43f6 |
pushd %{buildroot}%{_bindir}
|
|
|
c736234 |
ln -s %{_eclipsedir}/eclipse
|
|
Andrew Overholt |
b5482d5 |
popd
|
|
Andrew Overholt |
b5482d5 |
|
|
|
2224bc2 |
# Symlink eclipse ini
|
|
|
d4a43f6 |
pushd %{buildroot}/%{_sysconfdir}/
|
|
|
c736234 |
ln -s %{_eclipsedir}/eclipse.ini
|
|
Krzysztof Daniel |
55d6f2b |
popd
|
|
Krzysztof Daniel |
90d08fe |
|
|
|
6a3b1d5 |
# List jars to be symlinked into javadir
|
|
|
d4a43f6 |
pushd %{buildroot}%{_eclipsedir}/plugins
|
|
|
c736234 |
EQUINOX_JARS=$(ls . | grep -P '^org.eclipse.equinox(?!.*\.ui[\._])' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
|
6a3b1d5 |
OSGI_JARS=$(ls . | grep '^org.eclipse.osgi' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
|
6a3b1d5 |
popd
|
|
|
6a3b1d5 |
|
|
|
6a3b1d5 |
# Symlink jars into javadir
|
|
|
d4a43f6 |
location=%{_eclipsedir}/plugins
|
|
|
d4a43f6 |
while [ "$location" != "/" ] ; do
|
|
|
d4a43f6 |
location=$(dirname $location)
|
|
|
d4a43f6 |
updir="$updir../"
|
|
|
d4a43f6 |
done
|
|
|
d4a43f6 |
pushd %{buildroot}%{_javadir}/eclipse
|
|
|
d4a43f6 |
for J in $EQUINOX_JARS core.contenttype core.jobs core.net core.runtime ; do
|
|
|
d4a43f6 |
DIR=$updir%{_eclipsedir}/plugins
|
|
|
d4a43f6 |
if [ "$J" != "equinox.http.servlet" ] ; then
|
|
|
d4a43f6 |
[ -e "`ls $DIR/org.eclipse.${J}_*.jar`" ] && ln -s $DIR/org.eclipse.${J}_*.jar ${J}.jar
|
|
|
6a3b1d5 |
fi
|
|
Mat Booth |
39a3b2a |
done
|
|
|
d4a43f6 |
popd
|
|
|
d4a43f6 |
|
|
|
d4a43f6 |
# Generate addition Maven metadata
|
|
|
d4a43f6 |
rm -rf .xmvn/ .xmvn-reactor
|
|
|
d4a43f6 |
%mvn_package "org.eclipse.osgi:" equinox-osgi
|
|
|
d4a43f6 |
%mvn_package "org.eclipse.equinox.http:" platform
|
|
|
d4a43f6 |
%mvn_package "org.eclipse.swt:" swt
|
|
|
807ce0c |
|
|
|
a3ce5da |
# Install Maven metadata for OSGi jars
|
|
|
d4a43f6 |
for J in $OSGI_JARS ; do
|
|
|
d4a43f6 |
JAR=%{buildroot}%{_eclipsedir}/plugins/org.eclipse.${J}_*.jar
|
|
|
d4a43f6 |
VER=$(echo $JAR | sed -e "s/.*${J}_\(.*\)\.jar/\1/")
|
|
|
d4a43f6 |
%mvn_artifact "org.eclipse.osgi:$J:jar:$VER" $JAR
|
|
|
d4a43f6 |
if [ "$J" = "osgi" ] ; then
|
|
|
d4a43f6 |
%mvn_alias "org.eclipse.osgi:$J" "org.eclipse.osgi:org.eclipse.$J" "org.eclipse.tycho:org.eclipse.$J" "org.eclipse:$J"
|
|
|
d4a43f6 |
else
|
|
|
d4a43f6 |
%mvn_alias "org.eclipse.osgi:$J" "org.eclipse.osgi:org.eclipse.$J" "org.eclipse.tycho:org.eclipse.$J"
|
|
|
d4a43f6 |
fi
|
|
|
d4a43f6 |
done
|
|
|
d4a43f6 |
|
|
|
52d8d4e |
|
|
|
d4a43f6 |
# Install Maven metadata for Equinox HTTP Servlet
|
|
|
d4a43f6 |
JAR=%{buildroot}%{_eclipsedir}/plugins/org.eclipse.equinox.http.servlet_*.jar
|
|
|
d4a43f6 |
VER=$(echo $JAR | sed -e "s/.*_\(.*\)\.jar/\1/")
|
|
|
d4a43f6 |
%mvn_artifact "org.eclipse.equinox.http:equinox.http.servlet:jar:$VER" $JAR
|
|
|
d4a43f6 |
%mvn_alias "org.eclipse.equinox.http:equinox.http.servlet" "org.eclipse.equinox.http:servlet"
|
|
|
d4a43f6 |
|
|
|
d4a43f6 |
# Install Maven metadata for SWT
|
|
|
d4a43f6 |
JAR=%{buildroot}%{_eclipsedir}/plugins/org.eclipse.swt_*.jar
|
|
|
d4a43f6 |
VER=$(echo $JAR | sed -e "s/.*_\(.*\)\.jar/\1/")
|
|
|
d4a43f6 |
%mvn_artifact "org.eclipse.swt:org.eclipse.swt:jar:$VER" ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.%{eclipse_arch}/target/org.eclipse.swt.gtk.linux.%{eclipse_arch}-*-SNAPSHOT.jar
|
|
|
d4a43f6 |
%mvn_alias "org.eclipse.swt:org.eclipse.swt" "org.eclipse.swt:swt"
|
|
|
d4a43f6 |
%mvn_file "org.eclipse.swt:org.eclipse.swt" swt
|
|
|
d4a43f6 |
|
|
|
d4a43f6 |
%mvn_install
|
|
|
d4a43f6 |
|
|
|
d4a43f6 |
# Symlink SWT jar
|
|
|
d4a43f6 |
pushd %{buildroot}/%{_eclipsedir}/
|
|
|
d4a43f6 |
ln -s $(abs2rel %{_jnidir}/swt.jar %{_eclipsedir})
|
|
|
d4a43f6 |
popd
|
|
Mat Booth |
39a3b2a |
|
|
|
d859489 |
# Tests framework
|
|
|
5826134 |
unzip eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/target/eclipse-junit-tests-bundle.zip \
|
|
|
d859489 |
-d $RPM_BUILD_ROOT/%{_datadir}/ -x eclipse-testing/runtests.bat eclipse-testing/runtestsmac.sh
|
|
|
d859489 |
cp utils/splitter.xsl $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing
|
|
|
d859489 |
rm $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/eclipse-junit-tests-*.zip
|
|
Krzysztof Daniel |
52d2cc0 |
|
|
|
bff49ec |
# These properties are not correct and nested properties won't get resolved
|
|
|
d859489 |
sed -i '/org.eclipse.equinox.p2.reconciler.test/ d' $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/equinoxp2tests.properties
|
|
|
bff49ec |
|
|
|
e9f7bf8 |
# Package testbundle-to-eclipse-test
|
|
|
d859489 |
cp -r testbundle-to-eclipse-test $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle
|
|
|
d859489 |
mv $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle/eclipse-runTestBundles $RPM_BUILD_ROOT/%{_bindir}/eclipse-runTestBundles
|
|
|
e9f7bf8 |
|
|
Krzysztof Daniel |
2cf3a17 |
#fix so permissions
|
|
|
c736234 |
find $RPM_BUILD_ROOT/%{_eclipsedir} -name *.so -exec chmod a+x {} \;
|
|
Krzysztof Daniel |
fe0f2f6 |
|
|
|
f58cdcb |
# Usage marker
|
|
|
c736234 |
install -d -m 755 %{buildroot}%{_eclipsedir}/.pkgs
|
|
|
c736234 |
echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|
|
f58cdcb |
|
|
|
a3ce5da |
%files swt -f .mfiles-swt
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.swt_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.swt.gtk.linux.*
|
|
|
c736234 |
%{_eclipsedir}/swt.jar
|
|
|
2224bc2 |
%{_jnidir}/swt.jar
|
|
cvsdist |
38d0d0c |
|
|
Krzysztof Daniel |
f64e087 |
%files platform -f .mfiles-platform
|
|
|
bbe6075 |
%{_bindir}/eclipse
|
|
|
c736234 |
%{_eclipsedir}/eclipse
|
|
|
c736234 |
%{_eclipsedir}/.eclipseproduct
|
|
|
c736234 |
%{_eclipsedir}/.pkgs
|
|
|
c736234 |
%config %{_eclipsedir}/eclipse.ini
|
|
Sami Wagiaalla |
6d4aef0 |
%config %{_sysconfdir}/eclipse.ini
|
|
Krzysztof Daniel |
0d0e616 |
/usr/share/applications/*
|
|
|
29de6da |
/usr/share/pixmaps/*
|
|
Krzysztof Daniel |
0d0e616 |
/usr/share/icons/*/*/apps/*
|
|
|
a69dbca |
%{_datadir}/appdata/eclipse.appdata.xml
|
|
|
c736234 |
%dir %{_eclipsedir}/configuration/
|
|
|
c736234 |
%dir %{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/
|
|
|
c736234 |
%{_eclipsedir}/configuration/config.ini
|
|
|
c736234 |
%{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.core.runtime.feature_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.e4.rcp_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.equinox.core.feature_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.equinox.p2.core.feature_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.equinox.p2.extras.feature_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.equinox.p2.rcp.feature_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.equinox.p2.user.ui_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.help_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.platform_*
|
|
|
c736234 |
%{_eclipsedir}/features/org.eclipse.rcp_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/com.ibm.icu_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/com.jcraft.jsch_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/com.sun.el.javax.el_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/javax.*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.apache.*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ant.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.compare_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.compare.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.commands_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.contenttype_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.beans_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.observable_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.property_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.databinding_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.expressions_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.externaltools_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.filebuffers_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.filesystem*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.jobs_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.net*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.resources_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.runtime_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.core.variables_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.debug.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.debug.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.commands_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.contexts_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.annotations_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions.supplier_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.core.services_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.emf.xpath_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.bindings_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt.theme_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.di_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.dialogs_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.model.workbench_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.services_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.swt.gtk_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.widgets_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench3_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.addons.swt_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.renderers.swt_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.swt_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.app_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.bidi_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.common_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.concurrent_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.console_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.ds_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.event_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.jetty_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.registry_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.servlet_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher.gtk.linux.*_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.artifact.repository_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.console_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director.app_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.directorywatcher_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.engine_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.extensionlocation_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.garbagecollector_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.jarprocessor_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata.repository_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.operations_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher.eclipse_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository.tools_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.transport.ecf_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.importexport_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatechecker_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatesite_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.preferences_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.registry_*
|
|
|
74c26cc |
%{_eclipsedir}/plugins/org.eclipse.equinox.security*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.equinox.util_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.help_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.help.base_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.help.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.help.webapp_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jdt.core.compiler.batch_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jetty.*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jface_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jface.databinding_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jface.text_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jsch.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.jsch.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ltk.core.refactoring_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ltk.ui.refactoring_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.platform_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.platform.doc.user_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.rcp_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.search_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.team.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.team.genericeditor.diff.extension_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.team.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.text_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.browser_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.cheatsheets_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.console_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.editors_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.externaltools_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.forms_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.genericeditor_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.ide_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.ide.application_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.intro_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.intro.quicklinks_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.intro.universal_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.monitoring_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.navigator_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.navigator.resources_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.net_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.themes_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.views_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.views.properties.tabbed_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.workbench_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.ui.workbench.texteditor_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.update.configurator_*
|
|
|
4085f55 |
%{_eclipsedir}/plugins/org.eclipse.urischeme_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.glassfish.web.javax.servlet.jsp_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.kxml2_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.sat4j.core_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.sat4j.pb_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.tukaani.xz_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.w3c.css.sac_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.w3c.dom.svg_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.xmlpull_*
|
|
|
c736234 |
%doc %{_eclipsedir}/readme
|
|
|
c736234 |
%{_eclipsedir}/artifacts.xml
|
|
|
c736234 |
%{_eclipsedir}/p2
|
|
|
bbe6075 |
%{_javadir}/%{name}/core*
|
|
|
bbe6075 |
%{_javadir}/%{name}/equinox*
|
|
Andrew Overholt |
7f652ce |
|
|
|
c35a6c7 |
%files jdt -f .mfiles-jdt
|
|
|
a69dbca |
%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
Ben Konrath |
9dbdca5 |
|
|
|
c35a6c7 |
%files pde -f .mfiles-pde -f .mfiles-cvs -f .mfiles-sdk
|
|
|
52d8d4e |
%{_eclipsedir}/droplets/eclipse-sdk/features/org.eclipse.equinox.executable_*
|
|
|
a69dbca |
%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
|
5b778ad |
|
|
|
30a4fac |
%files p2-discovery -f .mfiles-p2-discovery
|
|
Ben Konrath |
9dbdca5 |
|
|
|
30a4fac |
%files contributor-tools -f .mfiles-contributor-tools
|
|
|
ba42d13 |
|
|
|
d859489 |
%files tests -f .mfiles-tests
|
|
|
c35a6c7 |
%{_bindir}/eclipse-runTestBundles
|
|
|
d859489 |
%{_datadir}/eclipse-testing
|
|
Krzysztof Daniel |
fe0f2f6 |
|
|
Krzysztof Daniel |
f64e087 |
%files equinox-osgi -f .mfiles-equinox-osgi
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.osgi_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.osgi.compatibility.state_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.osgi.services_*
|
|
|
c736234 |
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
|
Krzysztof Daniel |
0fcb34f |
|
|
Sami Wagiaalla |
2d2d3f1 |
%changelog
|
|
|
102a2f3 |
* Thu Jan 10 2019 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-2
|
|
|
102a2f3 |
- No longer recommend Code Recommenders
|
|
|
102a2f3 |
|
|
|
6ad80ad |
* Tue Dec 11 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-1
|
|
|
6ad80ad |
- Update to 2018-12 release
|
|
|
6ad80ad |
- Update eclipse-build snapshot
|
|
|
6ad80ad |
|
|
|
dd562ff |
* Thu Dec 06 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.3
|
|
|
dd562ff |
- Update to latest I-build
|
|
|
dd562ff |
- Build against latest jetty, mockito packages
|
|
|
dd562ff |
- Update requirements on EMF and ECF
|
|
|
dd562ff |
|
|
|
06b4ae2 |
* Tue Dec 04 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.2
|
|
|
06b4ae2 |
- Allow building on Fedora 29
|
|
|
06b4ae2 |
|
|
|
c242877 |
* Thu Nov 29 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.1
|
|
|
c242877 |
- Update to latest I-build
|
|
|
c242877 |
- Enable bootstrap mode
|
|
|
c242877 |
|
|
|
52d8d4e |
* Fri Sep 28 2018 Jeff Johnston <jjohnstn@redhat.com> - 1:4.9.0-2
|
|
|
52d8d4e |
- Add org.eclipse.equinox.executable for building RCP apps
|
|
|
52d8d4e |
|
|
|
2fa4729 |
* Wed Sep 12 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-1
|
|
|
2fa4729 |
- Update to final bits for 4.9
|
|
|
2fa4729 |
- Fix NPE due to missing agent jar
|
|
|
2fa4729 |
|
|
|
6c5fe13 |
* Thu Aug 23 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.4
|
|
|
6c5fe13 |
- Update to latest I-build
|
|
|
6c5fe13 |
- Full non-bootstrap build
|
|
|
6c5fe13 |
|
|
|
645f7ee |
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.3
|
|
|
645f7ee |
- Fix prefer x11 patch used on RHEL
|
|
|
645f7ee |
|
|
|
d483abb |
* Mon Aug 20 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.2
|
|
|
d483abb |
- Fix secondary arch build
|
|
|
d483abb |
|
|
|
4085f55 |
* Sun Aug 19 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.1
|
|
|
4085f55 |
- Update to latest I-build
|
|
|
4085f55 |
- Update license
|
|
|
4085f55 |
|
|
|
b594223 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.0-4
|
|
|
b594223 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b594223 |
|
|
|
9b062d7 |
* Mon Jun 25 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-3
|
|
|
9b062d7 |
- Add patch to use gsettings instead of gconf
|
|
|
9b062d7 |
|
|
|
c7f2d1e |
* Wed Jun 13 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-2
|
|
|
c7f2d1e |
- Backport patches for ebz#533655 and ebz#535392
|
|
|
c7f2d1e |
|
|
|
c1b9fae |
* Tue Jun 12 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-1
|
|
|
c1b9fae |
- Update to Photon release
|
|
|
c1b9fae |
|
|
|
be2a7ad |
* Thu Jun 07 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.8
|
|
|
be2a7ad |
- Update to last RC of Photon
|
|
|
be2a7ad |
|
|
|
be2a7ad |
* Mon May 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.7
|
|
|
be2a7ad |
- Updated I-build
|
|
|
be2a7ad |
- Switch to using upstream tarball
|
|
|
be2a7ad |
- Disable unused annotation bundle
|
|
|
be2a7ad |
|
|
|
05065b6 |
* Mon May 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.6
|
|
|
05065b6 |
- Rebuild to correct permissions
|
|
|
05065b6 |
|
|
|
e89f786 |
* Tue May 15 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.5
|
|
|
e89f786 |
- Rebuild against Photon EMF and ECF versions
|
|
|
e89f786 |
- Updated I-build
|
|
|
e89f786 |
|
|
|
7996b3e |
* Thu May 03 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.4
|
|
|
7996b3e |
- Updated I-build
|
|
|
7996b3e |
- Attempt to fix arm platform launchers
|
|
|
7996b3e |
|
|
|
daa02f7 |
* Wed May 02 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.3
|
|
|
daa02f7 |
- Non-bootstrap build
|
|
|
daa02f7 |
|
|
|
be32b7c |
* Sat Apr 28 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.2
|
|
|
be32b7c |
- Update to latest I-build and fix build on 32bit intel platform
|
|
|
be32b7c |
- Tighten deps on batik to prevent runtime bundle resolution errors
|
|
|
be32b7c |
|
|
|
c48d605 |
* Tue Apr 24 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.1
|
|
|
c48d605 |
- Update to Photon I-build
|
|
|
c48d605 |
- Remove conditional for webkit2 (always use it now)
|
|
|
c48d605 |
- Bump requirement on lucene
|
|
|
c48d605 |
|
|
|
dea287e |
* Tue Apr 10 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-4
|
|
|
dea287e |
- Ensure patches apply cleanly
|
|
|
dea287e |
- Use java API stubs from ecj package
|
|
|
dea287e |
|
|
|
0b9a259 |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-3
|
|
|
0b9a259 |
- Package java 10 API stubs jar
|
|
|
0b9a259 |
|
|
|
6ea29d2 |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-2
|
|
|
6ea29d2 |
- Backport patches to fix broken table editing
|
|
|
6ea29d2 |
|
|
|
6ea29d2 |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-1
|
|
|
6ea29d2 |
- Update to Oxygen.3a release for java 10 support
|
|
|
6ea29d2 |
|
|
|
2d676db |
* Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3-2
|
|
|
2d676db |
- Bump jetty dependency
|
|
|
2d676db |
|
|
|
18210b4 |
* Thu Mar 15 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3-1
|
|
|
18210b4 |
- Update to Oxygen.3 release
|
|
|
18210b4 |
|
|
|
fa7df01 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.2-3
|
|
|
fa7df01 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fa7df01 |
|
|
|
374db1b |
* Tue Jan 09 2018 Merlin Mathesius <mmathesi@redhat.com> - 1:4.7.2-2
|
|
|
374db1b |
- Cleanup spec file conditionals
|
|
|
374db1b |
|
|
|
37911ff |
* Wed Nov 29 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-1
|
|
|
37911ff |
- Update to last RC/final release of Oxygen.2
|
|
|
37911ff |
- Fix x11 crash when running on wayland
|
|
|
37911ff |
|
|
|
a737630 |
* Fri Nov 24 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-0.2
|
|
|
a737630 |
- Update to latest RC of Oxygen.2
|
|
|
a737630 |
|
|
|
4e6fc18 |
* Tue Nov 21 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-0.1
|
|
|
4e6fc18 |
- Update to latest RC of Oxygen.2
|
|
|
4e6fc18 |
|
|
|
d4a43f6 |
* Fri Nov 17 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-8
|
|
|
d4a43f6 |
- Make java 9 api stubs available for use
|
|
|
d4a43f6 |
- Migrate away from deprecated maven depmap macros
|
|
|
d4a43f6 |
|
|
|
53f7c53 |
* Wed Oct 18 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-7
|
|
|
53f7c53 |
- Update to 4.7.1a release
|
|
|
53f7c53 |
|
|
|
505e54f |
* Mon Oct 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-6
|
|
|
505e54f |
- Use the jit on 32bit arm to speed up the build
|
|
|
505e54f |
|
|
|
d8b4167 |
* Mon Oct 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-5
|
|
|
d8b4167 |
- Drop workaround for metainfo problem
|
|
|
d8b4167 |
- Add patch for javascript/webkit2 bug ebz#525340
|
|
|
d8b4167 |
- Add missing mocking deps for contributor-tools
|
|
|
d8b4167 |
|
|
|
7ad9810 |
* Tue Sep 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-4
|
|
|
7ad9810 |
- Add workaround for appstream metainfo bug in RPM on F27
|
|
|
7ad9810 |
|
|
|
f4ee2f4 |
* Tue Sep 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-3
|
|
|
f4ee2f4 |
- Obsolete e4-importer that was moved into platform
|
|
|
f4ee2f4 |
- Add recommends on recommenders from JDT
|
|
|
f4ee2f4 |
|
|
|
2107e71 |
* Fri Sep 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-2
|
|
|
2107e71 |
- Debootstrap build
|
|
|
2107e71 |
|
|
|
4054230 |
* Fri Sep 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-1
|
|
|
4054230 |
- Update to Oxygen.1 release
|
|
|
4054230 |
- Relax restriction on objectweb-asm
|
|
|
4054230 |
|
|
|
cb0fc2a |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-4
|
|
|
cb0fc2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
cb0fc2a |
|
|
|
d481808 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-3
|
|
|
d481808 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d481808 |
|
|
|
1aa3dbe |
* Tue Jul 04 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-2
|
|
|
1aa3dbe |
- Use 'protect root' instead of 'protect master'
|
|
|
1aa3dbe |
|
|
|
3446dc9 |
* Fri Jun 30 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-1
|
|
|
3446dc9 |
- Update to final Oxygen release
|
|
|
3446dc9 |
- Bump jetty requirement
|
|
|
3446dc9 |
|
|
|
67799d4 |
* Thu Jun 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.14
|
|
|
67799d4 |
- Update to latest release candidate build
|
|
|
67799d4 |
- Rebuild for latest EMF and ECF
|
|
|
67799d4 |
- Drop nashorn extension mechanism
|
|
|
67799d4 |
|
|
|
514254e |
* Wed May 31 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.7.0-0.13
|
|
|
514254e |
- Add missing build-requires on Maven plugins
|
|
|
514254e |
- Run xmvn in batch mode
|
|
|
514254e |
|
|
|
4a63eb6 |
* Thu May 18 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.12
|
|
|
4a63eb6 |
- Enable Wayland backend by default on F27+
|
|
|
4a63eb6 |
- Bump some dependency requirements
|
|
|
4a63eb6 |
|
|
|
1902f74 |
* Tue May 16 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.11
|
|
|
1902f74 |
- Update to latest I-build
|
|
|
1902f74 |
- Rebuild for latest EMF
|
|
|
1902f74 |
|
|
|
edec020 |
* Tue May 09 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.10
|
|
|
edec020 |
- Rebuild for new ECF
|
|
|
edec020 |
- Obsolete core NLS package
|
|
|
edec020 |
- Fix cycle introduced between tests and contributor-tools
|
|
|
edec020 |
|
|
|
0c31782 |
* Sat May 06 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.9
|
|
|
0c31782 |
- Fix build against new felix-gogo
|
|
|
0c31782 |
- Update to latest I-build
|
|
|
0c31782 |
|
|
|
a0f3cd3 |
* Wed May 03 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.8
|
|
|
a0f3cd3 |
- Package missing PDE generic editor extension
|
|
|
a0f3cd3 |
|
|
|
1d99f99 |
* Tue May 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.7
|
|
|
1d99f99 |
- Rebuild for s390x
|
|
|
6db7b84 |
- Don't require JDK directly
|
|
|
1d99f99 |
|
|
|
e12344b |
* Fri Apr 28 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.6
|
|
|
e12344b |
- Non-bootstrap build
|
|
|
e12344b |
|
|
|
74c26cc |
* Tue Apr 25 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.5
|
|
|
74c26cc |
- Update to latest I-build
|
|
|
74c26cc |
- Update generated ant bundle to 1.10.1
|
|
|
74c26cc |
- Fix missing launcher bundle on s390, rhbz#1445162
|
|
|
74c26cc |
- Add missing BR on libsecret
|
|
|
74c26cc |
|
|
|
908a2dc |
* Fri Apr 21 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.4
|
|
|
908a2dc |
- Fix secondary arch build
|
|
|
908a2dc |
|
|
|
d859489 |
* Thu Apr 20 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.3
|
|
|
d859489 |
- Simplify test installation and move machinery out of javadir now
|
|
|
d859489 |
that java stuff is installed in its own place
|
|
|
d859489 |
- Enable bootstrap mode
|
|
|
d859489 |
|
|
|
05b20dd |
* Wed Apr 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.2
|
|
|
05b20dd |
- Update to latest I-build
|
|
|
05b20dd |
|
|
|
c736234 |
* Tue Apr 04 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.1
|
|
|
c736234 |
- Update to Oxygen I-build
|
|
|
c736234 |
- Don't build unsupported GTK2 backend for SWT
|
|
|
c736234 |
- Move installation to a multilib agnostic location /usr/lib
|
|
|
c736234 |
|