|
|
11dc0f |
# Set to build Eclipse without circular dependency to eclipse-pde, API
|
|
|
11dc0f |
# generation and docs will not be built and a second run will be required, but
|
|
|
11dc0f |
# this is a way to bootstrap Eclipse on secondary archs.
|
|
|
11dc0f |
%bcond_with bootstrap
|
|
|
11dc0f |
|
|
|
11dc0f |
# Set this to avoid building contributor tools and tests
|
|
|
11dc0f |
%bcond_without contrib_tools
|
|
|
11dc0f |
|
|
|
11dc0f |
Epoch: 1
|
|
|
11dc0f |
|
|
|
11dc0f |
%global eb_commit c985e357223668b4bc1fb76ea6b9e0c12829b7e8
|
|
|
11dc0f |
%global eclipse_rel %{version}RC2
|
|
|
11dc0f |
%global eclipse_tag S-%{eclipse_rel}-201906051800
|
|
|
11dc0f |
|
|
|
11dc0f |
%global _jetty_version 9.4.19
|
|
|
11dc0f |
%global _lucene_version 8.0.0
|
|
|
11dc0f |
%global _batik_version 1.11
|
|
|
11dc0f |
|
|
|
11dc0f |
%ifarch %{ix86}
|
|
|
11dc0f |
%global eclipse_arch x86
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
%ifarch %{arm}
|
|
|
11dc0f |
%global eclipse_arch arm
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
%ifarch s390x x86_64 aarch64 ppc64le
|
|
|
11dc0f |
%global eclipse_arch %{_arch}
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
# Desktop file information
|
|
|
11dc0f |
%global app_name %{?app_name_prefix}%{!?app_name_prefix:Eclipse}
|
|
|
11dc0f |
%global app_exec %{?app_exec_prefix} eclipse
|
|
|
11dc0f |
|
|
|
11dc0f |
# Eclipse is arch-specific, but multilib agnostic
|
|
|
11dc0f |
%global _eclipsedir %{_prefix}/lib/eclipse
|
|
|
11dc0f |
|
|
|
11dc0f |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
11dc0f |
%global use_wayland 1
|
|
|
11dc0f |
%else
|
|
|
11dc0f |
%global use_wayland 0
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
Summary: An open, extensible IDE
|
|
|
11dc0f |
Name: eclipse
|
|
|
11dc0f |
Version: 4.12
|
|
|
11dc0f |
Release: 6%{?dist}
|
|
|
11dc0f |
License: EPL-2.0
|
|
|
11dc0f |
URL: http://www.eclipse.org/
|
|
|
11dc0f |
|
|
|
11dc0f |
Source0: https://download.eclipse.org/eclipse/downloads/drops4/%{eclipse_tag}/eclipse-platform-sources-%{eclipse_rel}.tar.xz
|
|
|
11dc0f |
|
|
|
11dc0f |
# Can generate locally with:
|
|
|
11dc0f |
# git archive --format=tar --prefix=org.eclipse.linuxtools.eclipse-build-%%{eb_commit}/ \
|
|
|
11dc0f |
# %%{eb_commit} | xz > org.eclipse.linuxtools.eclipse-build-%%{eb_commit}.tar.xz
|
|
|
11dc0f |
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
|
|
|
11dc0f |
|
|
|
11dc0f |
# Eclipse should not include source for dependencies that are not supplied by this package
|
|
|
11dc0f |
# and should not include source for bundles that are not relevant to our platform
|
|
|
11dc0f |
Patch0: eclipse-no-source-for-dependencies.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=377515
|
|
|
11dc0f |
Patch1: eclipse-p2-pick-up-renamed-jars.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Patch for this was contributed. Unlikely to be released.
|
|
|
11dc0f |
Patch2: eclipse-ignore-version-when-calculating-home.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Explicit requirement on hamcrest where it is used directly
|
|
|
11dc0f |
Patch3: explicit-hamcrest.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Add support for all arches supported by Fedora
|
|
|
11dc0f |
Patch4: eclipse-secondary-arches.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
Patch5: eclipse-debug-symbols.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
#Patch6: eclipse-test-support.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
|
|
|
11dc0f |
Patch12: eclipse-fix-dropins.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Feature plugin definitions lock onto version of plugin at build-time.
|
|
|
11dc0f |
# If plugin is external, updating it breaks the feature. (version changes)
|
|
|
11dc0f |
# Workaround : Change <plugin> definition to a 'requirement'
|
|
|
11dc0f |
# Also makes the following BSN changes at the same time:
|
|
|
11dc0f |
# com.sun.el -> com.sun.el.javax.el
|
|
|
11dc0f |
# javax.el -> javax.el-api
|
|
|
11dc0f |
# javax.servlet -> javax.servlet-api
|
|
|
11dc0f |
# org.apache.jasper.glassfish -> org.glassfish.web.javax.servlet.jsp
|
|
|
11dc0f |
# javax.annotation -> javax.annotation-api
|
|
|
11dc0f |
# org.w3c.dom.smil -> removed
|
|
|
11dc0f |
Patch13: eclipse-feature-plugins-to-category-ius.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
Patch14: eclipse-support-symlink-bundles.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Fix various JDT and PDE tests
|
|
|
11dc0f |
Patch15: eclipse-fix-tests.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Droplet fixes
|
|
|
11dc0f |
Patch16: eclipse-adjust-droplets.patch
|
|
|
11dc0f |
Patch17: eclipse-pde-tp-support-droplets.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Disable uses by default
|
|
|
11dc0f |
Patch18: eclipse-disable-uses-constraints.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Droplet fixes
|
|
|
11dc0f |
Patch19: eclipse-make-droplets-runnable.patch
|
|
|
11dc0f |
Patch20: eclipse-disable-droplets-in-dropins.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Temporary measure until wayland improves
|
|
|
11dc0f |
Patch21: prefer_x11_backend.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Fix errors when building ant launcher
|
|
|
11dc0f |
Patch22: fix_ant_build.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Hide the p2 Droplets from cluttering Install Wizard Combo
|
|
|
11dc0f |
Patch23: eclipse-hide-droplets-from-install-wizard.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Avoid the need for a javascript interpreter at build time
|
|
|
11dc0f |
Patch24: eclipse-swt-avoid-javascript-at-build.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Avoid optional dep used only for tests
|
|
|
11dc0f |
Patch25: eclipse-patch-out-fileupload-dep.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=548211
|
|
|
11dc0f |
Patch26: eclipse-ebz548211.patch
|
|
|
11dc0f |
Patch27: eclipse-ebz548211-2.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=542708
|
|
|
11dc0f |
Patch28: eclipse-ebz542708.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Fix regression in ant support
|
|
|
11dc0f |
Patch29: fix-ant-execution.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
# Use ASM 6 instead of 7
|
|
|
11dc0f |
Patch30: eclipse-mockito.patch
|
|
|
11dc0f |
|
|
|
11dc0f |
ExclusiveArch: x86_64
|
|
|
11dc0f |
|
|
|
11dc0f |
BuildRequires: maven-local
|
|
|
11dc0f |
BuildRequires: tycho
|
|
|
11dc0f |
BuildRequires: tycho-extras
|
|
|
11dc0f |
BuildRequires: cbi-plugins
|
|
|
11dc0f |
BuildRequires: maven-antrun-plugin
|
|
|
11dc0f |
BuildRequires: maven-assembly-plugin
|
|
|
11dc0f |
BuildRequires: maven-dependency-plugin
|
|
|
11dc0f |
BuildRequires: maven-enforcer-plugin
|
|
|
11dc0f |
BuildRequires: maven-install-plugin
|
|
|
11dc0f |
BuildRequires: maven-shade-plugin
|
|
|
11dc0f |
BuildRequires: xml-maven-plugin
|
|
|
11dc0f |
BuildRequires: sonatype-oss-parent
|
|
|
11dc0f |
BuildRequires: rsync
|
|
|
11dc0f |
BuildRequires: make, gcc
|
|
|
11dc0f |
BuildRequires: zip, unzip
|
|
|
11dc0f |
BuildRequires: desktop-file-utils
|
|
|
11dc0f |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
11dc0f |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
11dc0f |
BuildRequires: pkgconfig(nspr)
|
|
|
11dc0f |
BuildRequires: pkgconfig(glu)
|
|
|
11dc0f |
BuildRequires: pkgconfig(gl)
|
|
|
11dc0f |
BuildRequires: pkgconfig(cairo)
|
|
|
11dc0f |
BuildRequires: pkgconfig(xt)
|
|
|
11dc0f |
BuildRequires: pkgconfig(xtst)
|
|
|
11dc0f |
BuildRequires: pkgconfig(libsecret-1)
|
|
|
11dc0f |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
11dc0f |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
11dc0f |
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
11dc0f |
BuildRequires: icu4j >= 1:64.2
|
|
|
11dc0f |
BuildRequires: ant >= 1.10.5
|
|
|
11dc0f |
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
|
11dc0f |
BuildRequires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz
|
|
|
11dc0f |
BuildRequires: jsch >= 0:0.1.46-2
|
|
|
11dc0f |
BuildRequires: apache-commons-el >= 1.0-22
|
|
|
11dc0f |
BuildRequires: apache-commons-logging
|
|
|
11dc0f |
BuildRequires: apache-commons-codec
|
|
|
11dc0f |
BuildRequires: apache-commons-jxpath
|
|
|
11dc0f |
BuildRequires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
|
|
11dc0f |
BuildRequires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
|
|
11dc0f |
BuildRequires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
|
|
11dc0f |
BuildRequires: osgi(org.apache.felix.scr) >= 2.1.16
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
|
11dc0f |
BuildRequires: lucene-core >= %{_lucene_version}
|
|
|
11dc0f |
BuildRequires: lucene-analysis >= %{_lucene_version}
|
|
|
11dc0f |
BuildRequires: lucene-queryparser >= %{_lucene_version}
|
|
|
11dc0f |
BuildRequires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
|
11dc0f |
BuildRequires: junit >= 4.12
|
|
|
11dc0f |
BuildRequires: junit5 >= 5.4.0
|
|
|
11dc0f |
BuildRequires: apiguardian
|
|
|
11dc0f |
BuildRequires: hamcrest
|
|
|
11dc0f |
BuildRequires: sat4j
|
|
|
11dc0f |
BuildRequires: objectweb-asm >= 6.1.1
|
|
|
11dc0f |
BuildRequires: sac
|
|
|
11dc0f |
BuildRequires: batik-css >= %{_batik_version}
|
|
|
11dc0f |
BuildRequires: batik-util >= %{_batik_version}
|
|
|
11dc0f |
BuildRequires: google-gson
|
|
|
11dc0f |
BuildRequires: xmlgraphics-commons >= 2.3
|
|
|
11dc0f |
BuildRequires: xml-commons-apis
|
|
|
11dc0f |
BuildRequires: atinject
|
|
|
11dc0f |
BuildRequires: eclipse-ecf-core >= 3.14.5
|
|
|
11dc0f |
BuildRequires: eclipse-emf-core >= 1:2.18.0
|
|
|
11dc0f |
BuildRequires: eclipse-license2
|
|
|
11dc0f |
BuildRequires: glassfish-annotation-api
|
|
|
11dc0f |
BuildRequires: glassfish-el-api >= 3.0.1
|
|
|
11dc0f |
BuildRequires: glassfish-el >= 3.0.1
|
|
|
11dc0f |
BuildRequires: glassfish-jsp-api >= 2.2.1-4
|
|
|
11dc0f |
BuildRequires: glassfish-jsp >= 2.2.5
|
|
|
11dc0f |
BuildRequires: glassfish-servlet-api >= 3.1.0
|
|
|
11dc0f |
BuildRequires: httpcomponents-core
|
|
|
11dc0f |
BuildRequires: httpcomponents-client
|
|
|
11dc0f |
BuildRequires: jsoup
|
|
|
11dc0f |
BuildRequires: xz-java
|
|
|
11dc0f |
BuildRequires: osgi(osgi.annotation)
|
|
|
11dc0f |
# Build deps that are excluded when bootstrapping
|
|
|
11dc0f |
%if %{without bootstrap}
|
|
|
11dc0f |
# For building docs and apitooling
|
|
|
11dc0f |
BuildRequires: eclipse-pde
|
|
|
11dc0f |
%if %{with contrib_tools}
|
|
|
11dc0f |
# For contributor tools and tests
|
|
|
11dc0f |
BuildRequires: eclipse-egit
|
|
|
11dc0f |
BuildRequires: eclipse-emf-runtime
|
|
|
11dc0f |
BuildRequires: mockito >= 2.23.9
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
%description
|
|
|
11dc0f |
The Eclipse platform is designed for building integrated development
|
|
|
11dc0f |
environments (IDEs), server-side applications, desktop applications, and
|
|
|
11dc0f |
everything in between.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package swt
|
|
|
11dc0f |
Summary: SWT Library for GTK+
|
|
|
11dc0f |
Requires: java-headless >= 1:1.8.0
|
|
|
11dc0f |
Requires: javapackages-tools
|
|
|
11dc0f |
Requires: gtk3
|
|
|
11dc0f |
Requires: webkitgtk4
|
|
|
11dc0f |
|
|
|
11dc0f |
%description swt
|
|
|
11dc0f |
SWT Library for GTK+.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package equinox-osgi
|
|
|
11dc0f |
Summary: Eclipse OSGi - Equinox
|
|
|
11dc0f |
Requires: java-headless >= 1:1.8.0
|
|
|
11dc0f |
Requires: javapackages-tools
|
|
|
11dc0f |
Provides: osgi(system.bundle) = %{epoch}:%{version}
|
|
|
11dc0f |
|
|
|
11dc0f |
%description equinox-osgi
|
|
|
11dc0f |
Eclipse OSGi - Equinox
|
|
|
11dc0f |
|
|
|
11dc0f |
%package platform
|
|
|
11dc0f |
Summary: Eclipse platform common files
|
|
|
11dc0f |
Recommends: eclipse-abrt
|
|
|
11dc0f |
Recommends: eclipse-usage
|
|
|
11dc0f |
|
|
|
11dc0f |
Requires: ant >= 1.10.5
|
|
|
11dc0f |
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
|
11dc0f |
Requires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz
|
|
|
11dc0f |
Requires: jsch >= 0.1.46-2
|
|
|
11dc0f |
Requires: apache-commons-el >= 1.0-23
|
|
|
11dc0f |
Requires: apache-commons-logging
|
|
|
11dc0f |
Requires: apache-commons-codec
|
|
|
11dc0f |
Requires: apache-commons-jxpath
|
|
|
11dc0f |
Requires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
|
|
11dc0f |
Requires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
|
|
11dc0f |
Requires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
|
|
11dc0f |
Requires: osgi(org.apache.felix.scr) >= 2.1.16
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
|
11dc0f |
Requires: lucene-core >= %{_lucene_version}
|
|
|
11dc0f |
Requires: lucene-analysis >= %{_lucene_version}
|
|
|
11dc0f |
Requires: lucene-queryparser >= %{_lucene_version}
|
|
|
11dc0f |
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
|
11dc0f |
Requires: sat4j
|
|
|
11dc0f |
Requires: sac
|
|
|
11dc0f |
Requires: batik-css >= %{_batik_version}
|
|
|
11dc0f |
Requires: batik-util >= %{_batik_version}
|
|
|
11dc0f |
Requires: xmlgraphics-commons >= 2.3
|
|
|
11dc0f |
Requires: xml-commons-apis
|
|
|
11dc0f |
Requires: atinject
|
|
|
11dc0f |
Requires: eclipse-ecf-core >= 3.14.5
|
|
|
11dc0f |
Requires: eclipse-emf-core >= 1:2.18.0
|
|
|
11dc0f |
Requires: glassfish-annotation-api
|
|
|
11dc0f |
Requires: glassfish-el-api >= 3.0.1
|
|
|
11dc0f |
Requires: glassfish-el >= 3.0.1
|
|
|
11dc0f |
Requires: glassfish-jsp-api >= 2.2.1-4
|
|
|
11dc0f |
Requires: glassfish-jsp >= 2.2.5
|
|
|
11dc0f |
Requires: glassfish-servlet-api >= 3.1.0
|
|
|
11dc0f |
Requires: icu4j >= 1:64.2
|
|
|
11dc0f |
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: httpcomponents-core
|
|
|
11dc0f |
Requires: httpcomponents-client
|
|
|
11dc0f |
Requires: osgi(org.tukaani.xz)
|
|
|
11dc0f |
|
|
|
11dc0f |
# Provides/obsoletes added in F26
|
|
|
11dc0f |
# This is the best place to add this because adding it to the nls RPMs causes every
|
|
|
11dc0f |
# single language pack to be installed, which is not desireable -- it needs to be
|
|
|
11dc0f |
# obsoleted by exactly one thing.
|
|
|
11dc0f |
Provides: eclipse-nls = %{version}-%{release}
|
|
|
11dc0f |
Obsoletes: eclipse-nls < %{version}-%{release}
|
|
|
11dc0f |
|
|
|
11dc0f |
%description platform
|
|
|
11dc0f |
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
|
|
11dc0f |
Java Development Tools or the Plugin Development Environment.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package jdt
|
|
|
11dc0f |
Summary: Eclipse Java Development Tools
|
|
|
11dc0f |
BuildArch: noarch
|
|
|
11dc0f |
|
|
|
11dc0f |
Provides: %{name} = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: junit >= 4.12
|
|
|
11dc0f |
Requires: junit5 >= 5.4.0
|
|
|
11dc0f |
Requires: osgi(org.hamcrest.core)
|
|
|
11dc0f |
|
|
|
11dc0f |
# Obsoletes added in F30
|
|
|
11dc0f |
Obsoletes: eclipse-recommenders <= 2.5.4-5
|
|
|
11dc0f |
|
|
|
11dc0f |
%description jdt
|
|
|
11dc0f |
Eclipse Java Development Tools. This package is required to use Eclipse for
|
|
|
11dc0f |
developing software written in the Java programming language.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package pde
|
|
|
11dc0f |
Summary: Eclipse Plugin Development Environment
|
|
|
11dc0f |
|
|
|
11dc0f |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: objectweb-asm >= 6.1.1
|
|
|
11dc0f |
|
|
|
11dc0f |
%description pde
|
|
|
11dc0f |
Eclipse Plugin Development Environment. This package is required for
|
|
|
11dc0f |
developing Eclipse plugins.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package p2-discovery
|
|
|
11dc0f |
Summary: Eclipse p2 Discovery
|
|
|
11dc0f |
BuildArch: noarch
|
|
|
11dc0f |
|
|
|
11dc0f |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
|
|
|
11dc0f |
%description p2-discovery
|
|
|
11dc0f |
The p2 Discovery mechanism provides a simplified and branded front-end for the
|
|
|
11dc0f |
p2 provisioning platform. Discovery can be used as a tool to display and
|
|
|
11dc0f |
install from existing P2 repositories or as a framework to build branded
|
|
|
11dc0f |
installer UIs.
|
|
|
11dc0f |
|
|
|
11dc0f |
%if %{without bootstrap} && %{with contrib_tools}
|
|
|
11dc0f |
%package contributor-tools
|
|
|
11dc0f |
Summary: Tools for Eclipse Contributors
|
|
|
11dc0f |
|
|
|
11dc0f |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
Requires: easymock
|
|
|
11dc0f |
Requires: hamcrest
|
|
|
11dc0f |
Requires: mockito >= 2.23.9
|
|
|
11dc0f |
|
|
|
11dc0f |
%description contributor-tools
|
|
|
11dc0f |
This package contains tools specifically for Eclipse contributors. It includes
|
|
|
11dc0f |
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
|
|
|
11dc0f |
|
|
|
11dc0f |
%package tests
|
|
|
11dc0f |
Summary: Eclipse Tests
|
|
|
11dc0f |
|
|
|
11dc0f |
Requires: %{name}-contributor-tools = %{epoch}:%{version}-%{release}
|
|
|
11dc0f |
|
|
|
11dc0f |
%description tests
|
|
|
11dc0f |
Eclipse Tests.
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
%prep
|
|
|
11dc0f |
%setup -T -c
|
|
|
11dc0f |
|
|
|
11dc0f |
# Extract main source
|
|
|
11dc0f |
tar --strip-components=1 -xf %{SOURCE0}
|
|
|
11dc0f |
|
|
|
11dc0f |
# Extract linuxtools/eclipse-build sources
|
|
|
11dc0f |
tar --strip-components=1 -xf %{SOURCE1}
|
|
|
11dc0f |
|
|
|
11dc0f |
# Delete pre-built binary artifacts except some test data that cannot be generated
|
|
|
11dc0f |
find . ! -path "*/JCL/*" ! -name "rtstubs*.jar" ! -name "java10api.jar" ! -name "j9stubs.jar" \
|
|
|
11dc0f |
-type f -name *.jar -delete
|
|
|
11dc0f |
find . -type f -name *.class -delete
|
|
|
11dc0f |
find . -type f -name *.so -delete
|
|
|
11dc0f |
find . -type f -name *.dll -delete
|
|
|
11dc0f |
find . -type f -name *.jnilib -delete
|
|
|
11dc0f |
|
|
|
11dc0f |
# Remove pre-compiled native launchers
|
|
|
11dc0f |
rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/
|
|
|
11dc0f |
|
|
|
11dc0f |
%patch0
|
|
|
11dc0f |
%patch1
|
|
|
11dc0f |
%patch2
|
|
|
11dc0f |
%patch3
|
|
|
11dc0f |
%patch4 -p1
|
|
|
11dc0f |
%patch5
|
|
|
11dc0f |
#%patch6
|
|
|
11dc0f |
%patch12
|
|
|
11dc0f |
%patch13 -p1
|
|
|
11dc0f |
%patch14
|
|
|
11dc0f |
%patch15
|
|
|
11dc0f |
%patch16
|
|
|
11dc0f |
%patch17
|
|
|
11dc0f |
%patch18
|
|
|
11dc0f |
%patch19
|
|
|
11dc0f |
%patch20
|
|
|
11dc0f |
%if ! %{use_wayland}
|
|
|
11dc0f |
# Enable wayland by default on F27+
|
|
|
11dc0f |
%patch21
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
%patch22
|
|
|
11dc0f |
%patch23 -p1
|
|
|
11dc0f |
%patch24
|
|
|
11dc0f |
%patch25
|
|
|
11dc0f |
%patch26 -p1
|
|
|
11dc0f |
%patch27 -p1
|
|
|
11dc0f |
%patch28 -p1
|
|
|
11dc0f |
%patch29 -p1
|
|
|
11dc0f |
%patch30 -p1
|
|
|
11dc0f |
|
|
|
11dc0f |
# Optional (unused) multipart support (see patch 25)
|
|
|
11dc0f |
rm rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/multipart/MultipartSupport{Impl,FactoryImpl,Part}.java
|
|
|
11dc0f |
|
|
|
11dc0f |
# Remove python-based test
|
|
|
11dc0f |
rm eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/accessibility/Bug543949_ComponentExtentsTest.py
|
|
|
11dc0f |
|
|
|
11dc0f |
# Remove jgit deps because building from source tarball, not a git repo
|
|
|
11dc0f |
%pom_remove_dep :tycho-buildtimestamp-jgit eclipse-platform-parent
|
|
|
11dc0f |
%pom_remove_dep :tycho-sourceref-jgit eclipse-platform-parent
|
|
|
11dc0f |
%pom_xpath_remove 'pom:configuration/pom:timestampProvider' eclipse-platform-parent
|
|
|
11dc0f |
%pom_xpath_remove 'pom:configuration/pom:sourceReferences' eclipse-platform-parent
|
|
|
11dc0f |
|
|
|
11dc0f |
# Resolving the target platform requires too many changes, so don't use it
|
|
|
11dc0f |
%pom_xpath_remove "pom:configuration/pom:target" eclipse-platform-parent
|
|
|
11dc0f |
|
|
|
11dc0f |
# Disable as many products as possible to make the build faster, we care only for the IDE
|
|
|
11dc0f |
%pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module rcp eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module rcp.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module rcp.config eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module equinox-sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module equinox.starterkit.product eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module eclipse.platform.repository eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
|
|
|
11dc0f |
# Disable bundles that we don't ship as part of the remaining products
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.cm.test rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.console.ssh.tests rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.console.tests rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.ip rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.weaving.hook rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.compendium.sdk rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.core.sdk rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.reconciler.product rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.optimizers rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
|
|
|
11dc0f |
|
|
|
11dc0f |
# Don't need annotations for obsolete JDKs
|
|
|
11dc0f |
%pom_disable_module org.eclipse.jdt.annotation_v1 eclipse.jdt.core
|
|
|
11dc0f |
%pom_xpath_remove "plugin[@version='1.1.400.qualifier']" eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
|
|
11dc0f |
sed -i -e '/org\.eclipse\.jdt\.annotation;bundle-version="\[1\.1\.0,2\.0\.0)"/d' \
|
|
|
11dc0f |
eclipse.jdt.core/org.eclipse.jdt.core.tests.{model,builder,compiler}/META-INF/MANIFEST.MF \
|
|
|
11dc0f |
eclipse.jdt.core/org.eclipse.jdt.apt.pluggable.tests/META-INF/MANIFEST.MF \
|
|
|
11dc0f |
eclipse.jdt.ui/org.eclipse.jdt.ui.tests/META-INF/MANIFEST.MF
|
|
|
11dc0f |
sed -i -e 's/javax.annotation/javax.annotation-api/' eclipse-platform-parent/pom.xml \
|
|
|
11dc0f |
eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/META-INF/MANIFEST.MF
|
|
|
11dc0f |
|
|
|
11dc0f |
# Disable examples
|
|
|
11dc0f |
%pom_disable_module examples rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module examples eclipse.platform.ui
|
|
|
11dc0f |
%pom_disable_module org.eclipse.debug.examples.core eclipse.platform.debug
|
|
|
11dc0f |
%pom_disable_module org.eclipse.debug.examples.memory eclipse.platform.debug
|
|
|
11dc0f |
%pom_disable_module org.eclipse.debug.examples.mixedmode eclipse.platform.debug
|
|
|
11dc0f |
%pom_disable_module org.eclipse.debug.examples.ui eclipse.platform.debug
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.sdk.examples eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.sdk.examples-feature eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module examples/org.eclipse.swt.examples.ole.win32 eclipse.platform.swt
|
|
|
11dc0f |
%pom_disable_module examples/org.eclipse.compare.examples eclipse.platform.team
|
|
|
11dc0f |
%pom_disable_module examples/org.eclipse.compare.examples.xml eclipse.platform.team
|
|
|
11dc0f |
%pom_disable_module examples/org.eclipse.team.examples.filesystem eclipse.platform.team
|
|
|
11dc0f |
%pom_disable_module org.eclipse.ui.genericeditor.examples eclipse.platform.text
|
|
|
11dc0f |
%pom_disable_module org.eclipse.ui.intro.quicklinks.examples eclipse.platform.ua
|
|
|
11dc0f |
%pom_disable_module org.eclipse.ui.intro.solstice.examples eclipse.platform.ua
|
|
|
11dc0f |
# Except for this one example, which is used by tests
|
|
|
11dc0f |
%pom_xpath_inject "pom:modules" "<module>examples/org.eclipse.jface.examples.databinding</module>" eclipse.platform.ui
|
|
|
11dc0f |
|
|
|
11dc0f |
# Disable servletbridge stuff
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
|
|
|
11dc0f |
|
|
|
11dc0f |
# Missing dep on reddeer
|
|
|
11dc0f |
%pom_disable_module ui/org.eclipse.pde.ui.tests.smartimport eclipse.pde.ui
|
|
|
11dc0f |
|
|
|
11dc0f |
# Don't need enforcer on RPM builds
|
|
|
11dc0f |
%pom_remove_plugin :maven-enforcer-plugin eclipse-platform-parent
|
|
|
11dc0f |
|
|
|
11dc0f |
# This part generates secondary fragments using primary fragments
|
|
|
11dc0f |
rm -rf eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.{aarch64,s390x}
|
|
|
11dc0f |
rm -rf rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.linux.{aarch64,s390x}
|
|
|
11dc0f |
for dir in rt.equinox.binaries rt.equinox.framework/bundles eclipse.platform.swt.binaries/bundles ; do
|
|
|
11dc0f |
utils/ensure_arch.sh "$dir" x86_64 aarch64 s390x
|
|
|
11dc0f |
done
|
|
|
11dc0f |
|
|
|
11dc0f |
# Remove platform-specific stuff that we don't care about to reduce build time
|
|
|
11dc0f |
# (i.e., all bundles that are not applicable to the current build platform --
|
|
|
11dc0f |
# this reduces the build time on arm by around 20 minutes per architecture that
|
|
|
11dc0f |
# we are not currently building)
|
|
|
11dc0f |
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
|
|
|
11dc0f |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
|
|
|
11dc0f |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
|
|
|
11dc0f |
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
|
|
|
11dc0f |
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
|
11dc0f |
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
|
|
|
11dc0f |
if [ -n "$module" ] ; then
|
|
|
11dc0f |
%pom_disable_module bundles/$b eclipse.platform.swt.binaries
|
|
|
11dc0f |
%pom_xpath_inject "pom:excludes" "<plugin id='$b'/>" eclipse.platform.ui/features/org.eclipse.e4.rcp
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
for b in `ls rt.equinox.framework/bundles | grep -P -e 'org.eclipse.equinox.launcher\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
|
11dc0f |
module=$(grep ">bundles/$b<" rt.equinox.framework/pom.xml || :)
|
|
|
11dc0f |
if [ -n "$module" ] ; then
|
|
|
11dc0f |
%pom_disable_module bundles/$b rt.equinox.framework
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
for b in `(cd rt.equinox.bundles/bundles && ls -d *{macosx,win32,linux}*) | grep -P -e 'org.eclipse.equinox.security\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
|
11dc0f |
module=$(grep ">bundles/$b<" rt.equinox.bundles/pom.xml || :)
|
|
|
11dc0f |
if [ -n "$module" ] ; then
|
|
|
11dc0f |
%pom_disable_module bundles/$b rt.equinox.bundles
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
for b in `ls eclipse.platform.team/bundles/org.eclipse.core.net/fragments/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.core.net/fragments/$b eclipse.platform.team
|
|
|
11dc0f |
done
|
|
|
11dc0f |
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
|
11dc0f |
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
|
|
|
11dc0f |
if [ -n "$module" ] ; then
|
|
|
11dc0f |
%pom_disable_module bundles/$b eclipse.platform.resources
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
|
|
|
11dc0f |
%pom_disable_module org.eclipse.jdt.launching.ui.macosx eclipse.jdt.debug
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.compare.win32 eclipse.platform.team
|
|
|
11dc0f |
%pom_disable_module org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui/bundles
|
|
|
11dc0f |
%pom_disable_module org.eclipse.ui.cocoa eclipse.platform.ui/bundles
|
|
|
11dc0f |
%pom_disable_module org.eclipse.ui.win32 eclipse.platform.ui/bundles
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
|
|
|
11dc0f |
for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
|
|
11dc0f |
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
|
|
11dc0f |
eclipse.platform.releng/features/org.eclipse.rcp/feature.xml \
|
|
|
11dc0f |
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml ; do
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@os='macosx']" $f
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@os='win32']" $f
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@ws='win32']" $f
|
|
|
11dc0f |
for arch in x86_64 aarch64 ppc64le s390x ; do
|
|
|
11dc0f |
if [ "$arch" != "%{eclipse_arch}" ] ; then
|
|
|
11dc0f |
%pom_xpath_remove -f "plugin[@arch='$arch']" $f
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
done
|
|
|
11dc0f |
|
|
|
11dc0f |
# We don't need SWT fragments since we only care for current arch
|
|
|
11dc0f |
%pom_disable_module tests/org.eclipse.swt.tests.fragments.feature eclipse.platform.swt
|
|
|
11dc0f |
%pom_xpath_remove "pom:dependency-resolution" eclipse.platform.swt/tests/org.eclipse.swt.tests{,.gtk}
|
|
|
11dc0f |
|
|
|
11dc0f |
%if %{with bootstrap} || %{without contrib_tools}
|
|
|
11dc0f |
# Disable contributor tools that have external dependencies during bootstrap
|
|
|
11dc0f |
%pom_disable_module eclipse.platform.ui.tools
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.swt.tools.feature eclipse.platform.swt
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.swt.tools.base eclipse.platform.swt
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.swt.tools.spies eclipse.platform.swt
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.swt.tools eclipse.platform.swt
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
|
|
|
11dc0f |
# Disable tests for bootstrapping
|
|
|
11dc0f |
%pom_disable_module features/org.eclipse.test-feature eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.test eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.test.performance eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.test.performance.win32 eclipse.platform.releng
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.ant.optional.junit eclipse.platform.releng
|
|
|
11dc0f |
for pom in eclipse.jdt.core{,.binaries} eclipse.jdt.debug eclipse.jdt.ui eclipse.pde.build eclipse.pde.ui \
|
|
|
11dc0f |
eclipse.platform eclipse.platform.debug eclipse.platform.releng eclipse.platform.resources eclipse.platform.runtime \
|
|
|
11dc0f |
eclipse.platform.swt eclipse.platform.team eclipse.platform.text eclipse.platform.ui eclipse.platform.ua \
|
|
|
11dc0f |
rt.equinox.bundles rt.equinox.framework rt.equinox.p2 ; do
|
|
|
11dc0f |
sed -i -e '/<module>.*tests.*<\/module>/d' $pom/pom.xml
|
|
|
11dc0f |
done
|
|
|
11dc0f |
%pom_disable_module bundles/org.eclipse.equinox.frameworkadmin.test rt.equinox.p2
|
|
|
11dc0f |
%pom_disable_module eclipse-junit-tests eclipse.platform.releng.tychoeclipsebuilder
|
|
|
11dc0f |
%pom_disable_module examples/org.eclipse.jface.examples.databinding eclipse.platform.ui
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
# Include some extra features with the product that some other projects may need at
|
|
|
11dc0f |
# build time as part of their target platform definitions
|
|
|
11dc0f |
sed -i -e '/<features>/a<feature id="org.eclipse.core.runtime.feature"/>' \
|
|
|
11dc0f |
eclipse.platform.releng.tychoeclipsebuilder/platform/platform.product
|
|
|
11dc0f |
|
|
|
11dc0f |
# Ensure batch compiler gets installed correctly
|
|
|
11dc0f |
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"/>' \
|
|
|
11dc0f |
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
|
|
11dc0f |
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
|
|
|
11dc0f |
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
|
|
|
11dc0f |
|
|
|
11dc0f |
# Prevent dep cycle
|
|
|
11dc0f |
%pom_xpath_remove "plugin[@id='org.eclipse.core.tests.harness']" eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
|
11dc0f |
|
|
|
11dc0f |
# Include maven descriptors to allow our test execution setup to work
|
|
|
11dc0f |
%pom_xpath_set "pom:plugin[pom:artifactId = 'tycho-packaging-plugin']/pom:configuration/pom:archive/pom:addMavenDescriptor" "true" eclipse-platform-parent
|
|
|
11dc0f |
|
|
|
11dc0f |
# Don't set perms on files for platforms that aren't linux
|
|
|
11dc0f |
for f in rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
|
|
|
11dc0f |
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
|
|
|
11dc0f |
sed -i -e '/^root\./d' $f && cat tmp >> $f
|
|
|
11dc0f |
done
|
|
|
11dc0f |
|
|
|
11dc0f |
# Hack - this can go away once upstream grows arm and aarch64 support
|
|
|
11dc0f |
mkdir -p rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/%{eclipse_arch}
|
|
|
11dc0f |
|
|
|
11dc0f |
# Ensure that bundles with native artifacts are dir-shaped, so no *.so is extracted into user.home
|
|
|
11dc0f |
for f in eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*/META-INF/MANIFEST.MF \
|
|
|
11dc0f |
eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.*/META-INF/MANIFEST.MF \
|
|
|
11dc0f |
eclipse.platform.team/bundles/org.eclipse.core.net.linux.*/META-INF/MANIFEST.MF ; do
|
|
|
11dc0f |
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
|
|
|
11dc0f |
done
|
|
|
11dc0f |
|
|
|
11dc0f |
# Add dep on Java API stubs when compiling with JDT
|
|
|
11dc0f |
%pom_xpath_inject "pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='tycho-compiler-plugin']/pom:dependencies" \
|
|
|
11dc0f |
"<dependency><groupId>org.eclipse</groupId><artifactId>java10api</artifactId><version>10</version></dependency>" eclipse-platform-parent
|
|
|
11dc0f |
|
|
|
11dc0f |
# Build fake ant bundle that contains symlinks to system jars
|
|
|
11dc0f |
dependencies/fake_ant_dependency.sh
|
|
|
11dc0f |
|
|
|
11dc0f |
# Allow usage of javax.servlet.jsp 2.3.
|
|
|
11dc0f |
sed -i '/javax\.servlet\.jsp/ s/2\.3/2\.4/' rt.equinox.bundles/bundles/org.eclipse.equinox.jsp.jasper/META-INF/MANIFEST.MF
|
|
|
11dc0f |
|
|
|
11dc0f |
# Use javax.servlet-api (Glassfish) instead of javax.servlet (Tomcat)
|
|
|
11dc0f |
find -name feature.xml | xargs sed -i -e 's|"javax.servlet"|"javax.servlet-api"|'
|
|
|
11dc0f |
sed -i -e "2iRequire-Bundle: javax.servlet-api" rt.equinox.bundles/bundles/org.eclipse.equinox.http.{jetty,servlet}/META-INF/MANIFEST.MF
|
|
|
11dc0f |
|
|
|
11dc0f |
# Fix constraint on gogo runtime
|
|
|
11dc0f |
sed -i -e '/org.apache.felix.service.command/s/;status=provisional//' rt.equinox.bundles/bundles/org.eclipse.equinox.console{,.ssh}/META-INF/MANIFEST.MF
|
|
|
11dc0f |
|
|
|
11dc0f |
# Pre-compiling JSPs does not currently work
|
|
|
11dc0f |
%pom_remove_plugin org.eclipse.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
|
|
|
11dc0f |
|
|
|
11dc0f |
# Use system osgi.annotation lib
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.util/lib/
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/osgi/
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.coordinator/lib/
|
|
|
11dc0f |
ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.equinox.log.stream/osgi/
|
|
|
11dc0f |
|
|
|
11dc0f |
# The order of these mvn_package calls is important
|
|
|
11dc0f |
%mvn_package "::pom::" __noinstall
|
|
|
11dc0f |
%mvn_package ":*tests*" tests
|
|
|
11dc0f |
%mvn_package ":org.eclipse.equinox.frameworkadmin.test" tests
|
|
|
11dc0f |
%mvn_package ":org.eclipse.jface.examples.databinding" tests
|
|
|
11dc0f |
%mvn_package ":org.eclipse.pde.tools.versioning" tests
|
|
|
11dc0f |
%mvn_package "org.eclipse.test:org.eclipse.test" contributor-tools
|
|
|
11dc0f |
%mvn_package "::jar:sources{,-feature}:" sdk
|
|
|
11dc0f |
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
|
|
|
11dc0f |
%mvn_package ":org.eclipse.platform.doc.isv" sdk
|
|
|
11dc0f |
%mvn_package ":org.eclipse.equinox.executable" sdk
|
|
|
11dc0f |
%mvn_package "org.eclipse.jdt{,.feature}:" jdt
|
|
|
11dc0f |
%mvn_package ":org.eclipse.ant.{launching,ui}" jdt
|
|
|
11dc0f |
%mvn_package ":org.eclipse.equinox.p2.discovery.{feature,compatibility}" p2-discovery
|
|
|
11dc0f |
%mvn_package ":org.eclipse.equinox.p2{,.ui}.discovery" p2-discovery
|
|
|
11dc0f |
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
|
|
|
11dc0f |
%mvn_package ":org.eclipse.releng.tools" contributor-tools
|
|
|
11dc0f |
%mvn_package ":org.eclipse.swt.tools*" contributor-tools
|
|
|
11dc0f |
%mvn_package "org.eclipse.test{,.feature}:" contributor-tools
|
|
|
11dc0f |
%mvn_package ":org.eclipse.ant.optional.junit" contributor-tools
|
|
|
11dc0f |
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
|
|
|
11dc0f |
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
|
|
|
11dc0f |
%mvn_package "org.eclipse.pde{,.ui,.feature}:" pde
|
|
|
11dc0f |
%mvn_package "org.eclipse.ui:org.eclipse.ui.trace" pde
|
|
|
11dc0f |
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
|
|
|
11dc0f |
%mvn_package ":" __noinstall
|
|
|
11dc0f |
|
|
|
11dc0f |
%build
|
|
|
11dc0f |
# Compiler/linker flags for native parts
|
|
|
11dc0f |
export CFLAGS="%{optflags}"
|
|
|
11dc0f |
export LDFLAGS="%{__global_ldflags}"
|
|
|
11dc0f |
export M_CFLAGS="$CFLAGS"
|
|
|
11dc0f |
export M_ARCH="$LDFLAGS"
|
|
|
11dc0f |
|
|
|
11dc0f |
#This is the lowest value where the build succeeds. 512m is not enough.
|
|
|
11dc0f |
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
|
|
|
11dc0f |
export JAVA_HOME=%{_jvmdir}/java
|
|
|
11dc0f |
|
|
|
11dc0f |
# Pre-build agent jar needed for AdvancedSourceLookupSupport
|
|
|
11dc0f |
sed -i -e '/createSourcesJar/d' eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
|
|
11dc0f |
(cd eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent && xmvn -e -o -B clean verify)
|
|
|
11dc0f |
mv eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/target/javaagent-shaded.jar \
|
|
|
11dc0f |
eclipse.jdt.debug/org.eclipse.jdt.launching/lib
|
|
|
11dc0f |
|
|
|
11dc0f |
# Qualifier generated from last modification time of source tarball
|
|
|
11dc0f |
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
|
|
|
11dc0f |
%mvn_build -j -f -- -e -DforceContextQualifier=$QUALIFIER \
|
|
|
11dc0f |
%if %{with bootstrap}
|
|
|
11dc0f |
-P !api-generation,!build-docs \
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
-Declipse.javadoc=/usr/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
|
|
|
11dc0f |
-Dtycho.local.keepTarget \
|
|
|
11dc0f |
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=X
|
|
|
11dc0f |
|
|
|
11dc0f |
# Location that the product is materialised
|
|
|
11dc0f |
product="eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}"
|
|
|
11dc0f |
|
|
|
11dc0f |
# Re-symlink ant bundle to use system jars
|
|
|
11dc0f |
dependencies/fake_ant_dependency.sh $product/eclipse/plugins/org.apache.ant_*
|
|
|
11dc0f |
|
|
|
11dc0f |
# Symlink necessary plugins that are provided by other packages
|
|
|
11dc0f |
dependencies/replace_platform_plugins_with_symlinks.sh $product/eclipse %{_javadir} %{_jnidir}
|
|
|
11dc0f |
|
|
|
11dc0f |
pushd $product/eclipse
|
|
|
11dc0f |
|
|
|
11dc0f |
#clean up
|
|
|
11dc0f |
rm -rf configuration/org.eclipse.core.runtime
|
|
|
11dc0f |
rm -rf configuration/org.eclipse.equinox.app
|
|
|
11dc0f |
rm -rf configuration/org.eclipse.update
|
|
|
11dc0f |
rm -rf configuration/org.eclipse.osgi
|
|
|
11dc0f |
rm -rf p2/org.eclipse.equinox.p2.core/cache/*
|
|
|
11dc0f |
# no icon needed
|
|
|
11dc0f |
rm -f icon.xpm
|
|
|
11dc0f |
|
|
|
11dc0f |
# EMF and ECF are packaged separately
|
|
|
11dc0f |
rm -rf features/org.eclipse.emf.* plugins/org.eclipse.emf.* \
|
|
|
11dc0f |
features/org.eclipse.ecf.* plugins/org.eclipse.ecf.* plugins/org.eclipse.ecf_*
|
|
|
11dc0f |
|
|
|
11dc0f |
#delete all local repositories. We want to have only "original" by default.
|
|
|
11dc0f |
pushd p2/org.eclipse.equinox.p2.engine/.settings
|
|
|
11dc0f |
sed -i "/repositories\/file/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
|
11dc0f |
sed -i "/repositories\/memory/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
# ini file adjustements
|
|
|
11dc0f |
sed -i "s|-Xms40m|-Xms512m|g" eclipse.ini
|
|
|
11dc0f |
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
|
|
|
11dc0f |
sed -i '1i-protect\nroot' eclipse.ini
|
|
|
11dc0f |
|
|
|
11dc0f |
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
|
|
|
11dc0f |
cat >> eclipse.ini <
|
|
|
11dc0f |
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
|
|
|
11dc0f |
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
|
|
|
11dc0f |
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
|
|
11dc0f |
-Dp2.fragments=%{_eclipsedir}/droplets,%{_datadir}/eclipse/droplets
|
|
|
11dc0f |
-Declipse.p2.skipMovedInstallDetection=true
|
|
|
11dc0f |
-Dosgi.resolver.usesMode=ignore
|
|
|
11dc0f |
EOF
|
|
|
11dc0f |
|
|
|
11dc0f |
popd #eclipse
|
|
|
11dc0f |
|
|
|
11dc0f |
%install
|
|
|
11dc0f |
%mvn_install
|
|
|
11dc0f |
|
|
|
11dc0f |
# Some directories we need
|
|
|
11dc0f |
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
11dc0f |
install -d -m 755 $RPM_BUILD_ROOT%{_jnidir}
|
|
|
11dc0f |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/eclipse
|
|
|
11dc0f |
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
|
11dc0f |
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
|
|
11dc0f |
|
|
|
11dc0f |
# Install icons
|
|
|
11dc0f |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse32.png \
|
|
|
11dc0f |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/%{name}.png
|
|
|
11dc0f |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse48.png \
|
|
|
11dc0f |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/%{name}.png
|
|
|
11dc0f |
install -D eclipse.platform/platform/org.eclipse.platform/eclipse256.png \
|
|
|
11dc0f |
$RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/%{name}.png
|
|
|
11dc0f |
install -d $RPM_BUILD_ROOT/usr/share/pixmaps
|
|
|
11dc0f |
ln -s /usr/share/icons/hicolor/256x256/apps/%{name}.png \
|
|
|
11dc0f |
$RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png
|
|
|
11dc0f |
|
|
|
11dc0f |
# Install desktop file
|
|
|
11dc0f |
sed -i -e 's/Exec=eclipse/Exec=%{app_exec}/g' desktopintegration/eclipse.desktop
|
|
|
11dc0f |
sed -i -e 's/Name=Eclipse/Name=%{app_name}/g' desktopintegration/eclipse.desktop
|
|
|
11dc0f |
sed -i -e 's/Icon=eclipse/Icon=%{name}/g' desktopintegration/eclipse.desktop
|
|
|
11dc0f |
install -m644 -D desktopintegration/eclipse.desktop $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
|
11dc0f |
desktop-file-validate $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
|
11dc0f |
|
|
|
11dc0f |
# Install appstream appdata
|
|
|
11dc0f |
install -m644 -D desktopintegration/eclipse.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse.appdata.xml
|
|
|
11dc0f |
install -m644 -D desktopintegration/eclipse-jdt.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
|
11dc0f |
install -m644 -D desktopintegration/eclipse-pde.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
|
11dc0f |
|
|
|
11dc0f |
LOCAL_PWD=`pwd`
|
|
|
11dc0f |
#change the installation p2 files
|
|
|
11dc0f |
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/
|
|
|
11dc0f |
for i in `ls | grep "profile.gz"` ; do \
|
|
|
11dc0f |
echo $i ; \
|
|
|
11dc0f |
gunzip $i ; \
|
|
|
11dc0f |
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 ; \
|
|
|
11dc0f |
gzip *.profile ; \
|
|
|
11dc0f |
done
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
#installation itself - copy it into right location
|
|
|
11dc0f |
rsync -vrpl eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse \
|
|
|
11dc0f |
%{buildroot}%{_prefix}/lib
|
|
|
11dc0f |
|
|
|
11dc0f |
# Symlink eclipse binary
|
|
|
11dc0f |
pushd %{buildroot}%{_bindir}
|
|
|
11dc0f |
ln -s %{_eclipsedir}/eclipse
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
# Symlink eclipse ini
|
|
|
11dc0f |
pushd %{buildroot}/%{_sysconfdir}/
|
|
|
11dc0f |
ln -s %{_eclipsedir}/eclipse.ini
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
# List jars to be symlinked into javadir
|
|
|
11dc0f |
pushd %{buildroot}%{_eclipsedir}/plugins
|
|
|
11dc0f |
EQUINOX_JARS=$(ls . | grep -P '^org.eclipse.equinox(?!.*\.ui[\._])' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
|
11dc0f |
OSGI_JARS=$(ls . | grep '^org.eclipse.osgi' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
# Symlink jars into javadir
|
|
|
11dc0f |
location=%{_eclipsedir}/plugins
|
|
|
11dc0f |
while [ "$location" != "/" ] ; do
|
|
|
11dc0f |
location=$(dirname $location)
|
|
|
11dc0f |
updir="$updir../"
|
|
|
11dc0f |
done
|
|
|
11dc0f |
pushd %{buildroot}%{_javadir}/eclipse
|
|
|
11dc0f |
for J in $EQUINOX_JARS core.contenttype core.jobs core.net core.runtime ; do
|
|
|
11dc0f |
DIR=$updir%{_eclipsedir}/plugins
|
|
|
11dc0f |
if [ "$J" != "equinox.http.servlet" ] ; then
|
|
|
11dc0f |
[ -e "`ls $DIR/org.eclipse.${J}_*.jar`" ] && ln -s $DIR/org.eclipse.${J}_*.jar ${J}.jar
|
|
|
11dc0f |
fi
|
|
|
11dc0f |
done
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
# Generate addition Maven metadata
|
|
|
11dc0f |
rm -rf .xmvn/ .xmvn-reactor
|
|
|
11dc0f |
%mvn_package "org.eclipse.osgi:" equinox-osgi
|
|
|
11dc0f |
%mvn_package "org.eclipse.swt:" swt
|
|
|
11dc0f |
|
|
|
11dc0f |
# Install Maven metadata for OSGi jars
|
|
|
11dc0f |
for J in $OSGI_JARS ; do
|
|
|
11dc0f |
JAR=%{buildroot}%{_eclipsedir}/plugins/org.eclipse.${J}_*.jar
|
|
|
11dc0f |
VER=$(echo $JAR | sed -e "s/.*${J}_\(.*\)\.jar/\1/")
|
|
|
11dc0f |
%mvn_artifact "org.eclipse.osgi:$J:jar:$VER" $JAR
|
|
|
11dc0f |
%mvn_alias "org.eclipse.osgi:$J" "org.eclipse.osgi:org.eclipse.$J" "org.eclipse.platform:org.eclipse.$J"
|
|
|
11dc0f |
done
|
|
|
11dc0f |
|
|
|
11dc0f |
# Install Maven metadata for SWT
|
|
|
11dc0f |
JAR=%{buildroot}%{_eclipsedir}/plugins/org.eclipse.swt_*.jar
|
|
|
11dc0f |
VER=$(echo $JAR | sed -e "s/.*_\(.*\)\.jar/\1/")
|
|
|
11dc0f |
%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
|
|
|
11dc0f |
%mvn_alias "org.eclipse.swt:org.eclipse.swt" "org.eclipse.swt:swt"
|
|
|
11dc0f |
%mvn_file "org.eclipse.swt:org.eclipse.swt" swt
|
|
|
11dc0f |
|
|
|
11dc0f |
%mvn_install
|
|
|
11dc0f |
|
|
|
11dc0f |
# Symlink SWT jar
|
|
|
11dc0f |
pushd %{buildroot}/%{_eclipsedir}/
|
|
|
11dc0f |
ln -s $(abs2rel %{_jnidir}/swt.jar %{_eclipsedir})
|
|
|
11dc0f |
popd
|
|
|
11dc0f |
|
|
|
11dc0f |
%if %{without bootstrap} && %{with contrib_tools}
|
|
|
11dc0f |
# Tests framework
|
|
|
11dc0f |
unzip eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/target/eclipse-junit-tests-bundle.zip \
|
|
|
11dc0f |
-d $RPM_BUILD_ROOT/%{_datadir}/ -x eclipse-testing/runtests.bat eclipse-testing/runtestsmac.sh
|
|
|
11dc0f |
cp utils/splitter.xsl $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing
|
|
|
11dc0f |
rm $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/eclipse-junit-tests-*.zip
|
|
|
11dc0f |
|
|
|
11dc0f |
# These properties are not correct and nested properties won't get resolved
|
|
|
11dc0f |
sed -i '/org.eclipse.equinox.p2.reconciler.test/ d' $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/equinoxp2tests.properties
|
|
|
11dc0f |
|
|
|
11dc0f |
# Package testbundle-to-eclipse-test
|
|
|
11dc0f |
cp -r testbundle-to-eclipse-test $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle
|
|
|
11dc0f |
mv $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle/eclipse-runTestBundles $RPM_BUILD_ROOT/%{_bindir}/eclipse-runTestBundles
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
#fix so permissions
|
|
|
11dc0f |
find $RPM_BUILD_ROOT/%{_eclipsedir} -name *.so -exec chmod a+x {} \;
|
|
|
11dc0f |
|
|
|
11dc0f |
# Usage marker
|
|
|
11dc0f |
install -d -m 755 %{buildroot}%{_eclipsedir}/.pkgs
|
|
|
11dc0f |
echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|
|
11dc0f |
|
|
|
11dc0f |
%files swt -f .mfiles-swt
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.swt_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.swt.gtk.linux.*
|
|
|
11dc0f |
%{_eclipsedir}/swt.jar
|
|
|
11dc0f |
%{_jnidir}/swt.jar
|
|
|
11dc0f |
|
|
|
11dc0f |
%files platform
|
|
|
11dc0f |
%{_bindir}/eclipse
|
|
|
11dc0f |
%{_eclipsedir}/eclipse
|
|
|
11dc0f |
%{_eclipsedir}/.eclipseproduct
|
|
|
11dc0f |
%{_eclipsedir}/.pkgs
|
|
|
11dc0f |
%config %{_eclipsedir}/eclipse.ini
|
|
|
11dc0f |
%config %{_sysconfdir}/eclipse.ini
|
|
|
11dc0f |
/usr/share/applications/*
|
|
|
11dc0f |
/usr/share/pixmaps/*
|
|
|
11dc0f |
/usr/share/icons/*/*/apps/*
|
|
|
11dc0f |
%{_datadir}/appdata/eclipse.appdata.xml
|
|
|
11dc0f |
%dir %{_eclipsedir}/configuration/
|
|
|
11dc0f |
%dir %{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/
|
|
|
11dc0f |
%{_eclipsedir}/configuration/config.ini
|
|
|
11dc0f |
%{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.core.runtime.feature_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.e4.rcp_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.equinox.core.feature_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.equinox.p2.core.feature_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.equinox.p2.extras.feature_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.equinox.p2.rcp.feature_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.equinox.p2.user.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.help_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.platform_*
|
|
|
11dc0f |
%{_eclipsedir}/features/org.eclipse.rcp_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/com.ibm.icu_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/com.jcraft.jsch_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/com.sun.el.javax.el_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/javax.*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.apache.*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ant.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.compare_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.compare.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.commands_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.contenttype_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.beans_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.observable_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.databinding.property_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.databinding_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.expressions_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.externaltools_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.filebuffers_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.filesystem*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.jobs_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.net*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.resources_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.runtime_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.core.variables_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.debug.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.debug.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.commands_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.contexts_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.annotations_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions.supplier_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.core.services_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.emf.xpath_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.bindings_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt.theme_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.di_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.dialogs_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.model.workbench_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.services_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.swt.gtk_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.widgets_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench3_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.addons.swt_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.renderers.swt_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.swt_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.app_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.bidi_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.common_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.concurrent_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.console_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.ds_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.event_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.jetty_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.registry_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.http.servlet_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher.gtk.linux.*_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.artifact.repository_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.console_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director.app_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.directorywatcher_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.engine_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.extensionlocation_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.garbagecollector_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.jarprocessor_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata.repository_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.operations_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher.eclipse_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository.tools_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.transport.ecf_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.importexport_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatechecker_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatesite_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.preferences_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.registry_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.security*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.equinox.util_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.help_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.help.base_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.help.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.help.webapp_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jdt.core.compiler.batch_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jetty.*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jface_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jface.databinding_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jface.text_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jsch.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.jsch.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ltk.core.refactoring_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ltk.ui.refactoring_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.platform_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.platform.doc.user_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.rcp_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.search_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.team.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.team.genericeditor.diff.extension_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.team.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.text_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.browser_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.cheatsheets_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.console_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.editors_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.externaltools_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.forms_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.genericeditor_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.ide_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.ide.application_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.intro_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.intro.quicklinks_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.intro.universal_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.monitoring_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.navigator_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.navigator.resources_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.net_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.themes_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.views_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.views.log_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.views.properties.tabbed_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.workbench_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.ui.workbench.texteditor_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.update.configurator_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.urischeme_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.glassfish.web.javax.servlet.jsp_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.kxml2_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.sat4j.core_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.sat4j.pb_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.tukaani.xz_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.w3c.css.sac_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.w3c.dom.svg_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.xmlpull_*
|
|
|
11dc0f |
%doc %{_eclipsedir}/readme
|
|
|
11dc0f |
%{_eclipsedir}/artifacts.xml
|
|
|
11dc0f |
%{_eclipsedir}/p2
|
|
|
11dc0f |
%{_javadir}/%{name}/core*
|
|
|
11dc0f |
%{_javadir}/%{name}/equinox*
|
|
|
11dc0f |
|
|
|
11dc0f |
%files jdt -f .mfiles-jdt
|
|
|
11dc0f |
%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
|
11dc0f |
|
|
|
11dc0f |
%files pde -f .mfiles-pde -f .mfiles-cvs -f .mfiles-sdk
|
|
|
11dc0f |
%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
|
11dc0f |
|
|
|
11dc0f |
%files p2-discovery -f .mfiles-p2-discovery
|
|
|
11dc0f |
|
|
|
11dc0f |
%if %{without bootstrap} && %{with contrib_tools}
|
|
|
11dc0f |
%files contributor-tools -f .mfiles-contributor-tools
|
|
|
11dc0f |
|
|
|
11dc0f |
%files tests -f .mfiles-tests
|
|
|
11dc0f |
%{_bindir}/eclipse-runTestBundles
|
|
|
11dc0f |
%{_datadir}/eclipse-testing
|
|
|
11dc0f |
%endif
|
|
|
11dc0f |
|
|
|
11dc0f |
%files equinox-osgi -f .mfiles-equinox-osgi
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.osgi_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.osgi.compatibility.state_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.osgi.services_*
|
|
|
11dc0f |
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
|
|
11dc0f |
|
|
|
11dc0f |
%changelog
|
|
|
11dc0f |
* Wed Jul 24 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-6
|
|
|
11dc0f |
- Reenable normal debuginfo generation for the launcher binary on Fedora
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jun 27 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-5
|
|
|
11dc0f |
- Fix NoClassDefFoundError regression in ant support
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jun 20 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-4
|
|
|
11dc0f |
- Fix deps on batik stack
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jun 20 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-3
|
|
|
11dc0f |
- Disable more examples and allow contrib-tools mode to build properly
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Jun 19 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-2
|
|
|
11dc0f |
- Additional fixes for ebz548211
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Jun 17 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-1
|
|
|
11dc0f |
- Update to 2019-06 release
|
|
|
11dc0f |
|
|
|
11dc0f |
* Sun Jun 16 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-15
|
|
|
11dc0f |
- Rebuild against new Jetty, ECF and EMF
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Jun 12 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-14
|
|
|
11dc0f |
- Full rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Jun 12 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-13
|
|
|
11dc0f |
- Add patch for lucene 8 and rebootstrap
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu May 30 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-12
|
|
|
11dc0f |
- Avoid requirement on optional test dependency commons-fileupload
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri May 24 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-11
|
|
|
11dc0f |
- Clean up unused maven metadata
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri May 24 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-10
|
|
|
11dc0f |
- Add missing BR on google-gson
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu May 23 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-9
|
|
|
11dc0f |
- Bump deps on batik and xmlgraphics
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue May 07 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-8
|
|
|
11dc0f |
- Re-instate junit5 dep since dependent modules were fixed
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed May 01 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-7
|
|
|
11dc0f |
- Bump requirements on Jetty
|
|
|
11dc0f |
- Avoid reliance on Javascript in SWT build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Apr 30 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-6
|
|
|
11dc0f |
- Disable hard requirement on ant-junit5
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Apr 25 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-5
|
|
|
11dc0f |
- Fix bootstrap mode to use bcond flags
|
|
|
11dc0f |
- Bump requirements on Jetty, SCR and ICU4j
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Apr 10 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-4
|
|
|
11dc0f |
- Obsolete recommenders package, rhbz#1698504
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Mar 19 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-3
|
|
|
11dc0f |
- Pre-strip debuginfo from the launcher binary to avoid conflicts with other RCP
|
|
|
11dc0f |
applications, which will use identical launcher binaries
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Mar 14 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-2
|
|
|
11dc0f |
- Full build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Mar 11 2019 Mat Booth <mat.booth@redhat.com> - 1:4.11-1
|
|
|
11dc0f |
- Update to 2019-03 release
|
|
|
11dc0f |
- Drop support for 32-bit architectures
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.10.0-3
|
|
|
11dc0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jan 10 2019 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-2
|
|
|
11dc0f |
- No longer recommend Code Recommenders
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Dec 11 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-1
|
|
|
11dc0f |
- Update to 2018-12 release
|
|
|
11dc0f |
- Update eclipse-build snapshot
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Dec 06 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.3
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Build against latest jetty, mockito packages
|
|
|
11dc0f |
- Update requirements on EMF and ECF
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Dec 04 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.2
|
|
|
11dc0f |
- Allow building on Fedora 29
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Nov 29 2018 Mat Booth <mat.booth@redhat.com> - 1:4.10.0-0.1
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Enable bootstrap mode
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Sep 28 2018 Jeff Johnston <jjohnstn@redhat.com> - 1:4.9.0-2
|
|
|
11dc0f |
- Add org.eclipse.equinox.executable for building RCP apps
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Sep 12 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-1
|
|
|
11dc0f |
- Update to final bits for 4.9
|
|
|
11dc0f |
- Fix NPE due to missing agent jar
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Aug 23 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.4
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Full non-bootstrap build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.3
|
|
|
11dc0f |
- Fix prefer x11 patch used on RHEL
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Aug 20 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.2
|
|
|
11dc0f |
- Fix secondary arch build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Sun Aug 19 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.1
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Update license
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.0-4
|
|
|
11dc0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Jun 25 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-3
|
|
|
11dc0f |
- Add patch to use gsettings instead of gconf
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Jun 13 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-2
|
|
|
11dc0f |
- Backport patches for ebz#533655 and ebz#535392
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Jun 12 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-1
|
|
|
11dc0f |
- Update to Photon release
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jun 07 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.8
|
|
|
11dc0f |
- Update to last RC of Photon
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon May 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.7
|
|
|
11dc0f |
- Updated I-build
|
|
|
11dc0f |
- Switch to using upstream tarball
|
|
|
11dc0f |
- Disable unused annotation bundle
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon May 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.6
|
|
|
11dc0f |
- Rebuild to correct permissions
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue May 15 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.5
|
|
|
11dc0f |
- Rebuild against Photon EMF and ECF versions
|
|
|
11dc0f |
- Updated I-build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu May 03 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.4
|
|
|
11dc0f |
- Updated I-build
|
|
|
11dc0f |
- Attempt to fix arm platform launchers
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed May 02 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.3
|
|
|
11dc0f |
- Non-bootstrap build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Sat Apr 28 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.2
|
|
|
11dc0f |
- Update to latest I-build and fix build on 32bit intel platform
|
|
|
11dc0f |
- Tighten deps on batik to prevent runtime bundle resolution errors
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Apr 24 2018 Mat Booth <mat.booth@redhat.com> - 1:4.8.0-0.1
|
|
|
11dc0f |
- Update to Photon I-build
|
|
|
11dc0f |
- Remove conditional for webkit2 (always use it now)
|
|
|
11dc0f |
- Bump requirement on lucene
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Apr 10 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-4
|
|
|
11dc0f |
- Ensure patches apply cleanly
|
|
|
11dc0f |
- Use java API stubs from ecj package
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-3
|
|
|
11dc0f |
- Package java 10 API stubs jar
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-2
|
|
|
11dc0f |
- Backport patches to fix broken table editing
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Apr 09 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3a-1
|
|
|
11dc0f |
- Update to Oxygen.3a release for java 10 support
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3-2
|
|
|
11dc0f |
- Bump jetty dependency
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Mar 15 2018 Mat Booth <mat.booth@redhat.com> - 1:4.7.3-1
|
|
|
11dc0f |
- Update to Oxygen.3 release
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.2-3
|
|
|
11dc0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Jan 09 2018 Merlin Mathesius <mmathesi@redhat.com> - 1:4.7.2-2
|
|
|
11dc0f |
- Cleanup spec file conditionals
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Nov 29 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-1
|
|
|
11dc0f |
- Update to last RC/final release of Oxygen.2
|
|
|
11dc0f |
- Fix x11 crash when running on wayland
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Nov 24 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-0.2
|
|
|
11dc0f |
- Update to latest RC of Oxygen.2
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Nov 21 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.2-0.1
|
|
|
11dc0f |
- Update to latest RC of Oxygen.2
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Nov 17 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-8
|
|
|
11dc0f |
- Make java 9 api stubs available for use
|
|
|
11dc0f |
- Migrate away from deprecated maven depmap macros
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Oct 18 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-7
|
|
|
11dc0f |
- Update to 4.7.1a release
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Oct 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-6
|
|
|
11dc0f |
- Use the jit on 32bit arm to speed up the build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Mon Oct 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-5
|
|
|
11dc0f |
- Drop workaround for metainfo problem
|
|
|
11dc0f |
- Add patch for javascript/webkit2 bug ebz#525340
|
|
|
11dc0f |
- Add missing mocking deps for contributor-tools
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Sep 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-4
|
|
|
11dc0f |
- Add workaround for appstream metainfo bug in RPM on F27
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Sep 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-3
|
|
|
11dc0f |
- Obsolete e4-importer that was moved into platform
|
|
|
11dc0f |
- Add recommends on recommenders from JDT
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Sep 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-2
|
|
|
11dc0f |
- Debootstrap build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Sep 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.1-1
|
|
|
11dc0f |
- Update to Oxygen.1 release
|
|
|
11dc0f |
- Relax restriction on objectweb-asm
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-4
|
|
|
11dc0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-3
|
|
|
11dc0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Jul 04 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-2
|
|
|
11dc0f |
- Use 'protect root' instead of 'protect master'
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Jun 30 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-1
|
|
|
11dc0f |
- Update to final Oxygen release
|
|
|
11dc0f |
- Bump jetty requirement
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Jun 15 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.14
|
|
|
11dc0f |
- Update to latest release candidate build
|
|
|
11dc0f |
- Rebuild for latest EMF and ECF
|
|
|
11dc0f |
- Drop nashorn extension mechanism
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed May 31 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.7.0-0.13
|
|
|
11dc0f |
- Add missing build-requires on Maven plugins
|
|
|
11dc0f |
- Run xmvn in batch mode
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu May 18 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.12
|
|
|
11dc0f |
- Enable Wayland backend by default on F27+
|
|
|
11dc0f |
- Bump some dependency requirements
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue May 16 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.11
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Rebuild for latest EMF
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue May 09 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.10
|
|
|
11dc0f |
- Rebuild for new ECF
|
|
|
11dc0f |
- Obsolete core NLS package
|
|
|
11dc0f |
- Fix cycle introduced between tests and contributor-tools
|
|
|
11dc0f |
|
|
|
11dc0f |
* Sat May 06 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.9
|
|
|
11dc0f |
- Fix build against new felix-gogo
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed May 03 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.8
|
|
|
11dc0f |
- Package missing PDE generic editor extension
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue May 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.7
|
|
|
11dc0f |
- Rebuild for s390x
|
|
|
11dc0f |
- Don't require JDK directly
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Apr 28 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.6
|
|
|
11dc0f |
- Non-bootstrap build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Apr 25 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.5
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
- Update generated ant bundle to 1.10.1
|
|
|
11dc0f |
- Fix missing launcher bundle on s390, rhbz#1445162
|
|
|
11dc0f |
- Add missing BR on libsecret
|
|
|
11dc0f |
|
|
|
11dc0f |
* Fri Apr 21 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.4
|
|
|
11dc0f |
- Fix secondary arch build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Thu Apr 20 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.3
|
|
|
11dc0f |
- Simplify test installation and move machinery out of javadir now
|
|
|
11dc0f |
that java stuff is installed in its own place
|
|
|
11dc0f |
- Enable bootstrap mode
|
|
|
11dc0f |
|
|
|
11dc0f |
* Wed Apr 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.2
|
|
|
11dc0f |
- Update to latest I-build
|
|
|
11dc0f |
|
|
|
11dc0f |
* Tue Apr 04 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.1
|
|
|
11dc0f |
- Update to Oxygen I-build
|
|
|
11dc0f |
- Don't build unsupported GTK2 backend for SWT
|
|
|
11dc0f |
- Move installation to a multilib agnostic location /usr/lib
|
|
|
11dc0f |
|