1474 lines
63 KiB
RPMSpec
1474 lines
63 KiB
RPMSpec
# Set to 1 to build Eclipse without circular dependency to eclipse-pde, API
|
|
# generation and docs will not be built and a second run will be required, but
|
|
# this is a way to bootstrap Eclipse on secondary archs.
|
|
%global bootstrap 0
|
|
|
|
Epoch: 1
|
|
|
|
%global eb_commit 8cc50cb75de7aa0d972af59c5dd74b34d793a74e
|
|
%global eclipse_tag I20170426-2000
|
|
|
|
%global _jetty_version 9.4.3
|
|
%global _lucene_version 6.1.0
|
|
|
|
%ifarch %{ix86}
|
|
%global eclipse_arch x86
|
|
%endif
|
|
%ifarch %{arm}
|
|
%global eclipse_arch arm
|
|
%endif
|
|
%ifarch ppc64 ppc64p7
|
|
%global eclipse_arch ppc64
|
|
%endif
|
|
%ifarch s390 s390x x86_64 aarch64 ppc64le
|
|
%global eclipse_arch %{_arch}
|
|
%endif
|
|
|
|
# Desktop file information
|
|
%global app_name %{?app_name_prefix}%{!?app_name_prefix:Eclipse}
|
|
%global app_exec %{?app_exec_prefix} eclipse
|
|
|
|
# See fedora-devel-java-list discussion in September 2008.
|
|
# Prevent brp-java-repack-jars from being run.
|
|
%global __jar_repack %{nil}
|
|
|
|
# Eclipse is arch-specific, but multilib agnostic
|
|
%global _eclipsedir %{_prefix}/lib/eclipse
|
|
|
|
Summary: An open, extensible IDE
|
|
Name: eclipse
|
|
Version: 4.7.0
|
|
Release: 0.7%{?dist}
|
|
License: EPL
|
|
URL: http://www.eclipse.org/
|
|
|
|
# Tarball generated by calling ./get-eclipse.sh
|
|
Source0: R4_platform-aggregator-%{eclipse_tag}.tar.xz
|
|
# Can generate locally with:
|
|
# git archive --format=tar --prefix=org.eclipse.linuxtools.eclipse-build-%%{eb_commit}/ \
|
|
# %%{eb_commit} | xz > org.eclipse.linuxtools.eclipse-build-%%{eb_commit}.tar.xz
|
|
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
|
|
|
|
# Eclipse should not include source for dependencies that are not supplied by this package
|
|
# and should not include source for bundles that are not relevant to our platform
|
|
Patch1: eclipse-no-source-for-dependencies.patch
|
|
|
|
# Remove overly verbose warning from lack of eclipse 2.0 support
|
|
Patch2: eclipse-pluginconverter-warning.patch
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=377515
|
|
Patch3: eclipse-p2-pick-up-renamed-jars.patch
|
|
|
|
# Patch for this was contributed. Unlikely to be released.
|
|
Patch4: eclipse-ignore-version-when-calculating-home.patch
|
|
|
|
# CBI uses timestamps generated from the git commits. We don't have the repo,
|
|
# just source, and we don't want additional dependencies.
|
|
Patch5: eclipse-remove-jgit-provider.patch
|
|
|
|
Patch6: eclipse-test-support.patch
|
|
|
|
Patch7: eclipse-secondary-arches.patch
|
|
|
|
Patch10: eclipse-debug-symbols.patch
|
|
|
|
Patch11: eclipse-fix-startup-class-refresh.patch
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
|
|
Patch12: eclipse-fix-dropins.patch
|
|
|
|
Patch13: eclipse-bug-386377.patch
|
|
|
|
# org.mockito -> org.mockito.mockito-core
|
|
# org.hamcrest-> org.hamcrest.core
|
|
Patch14: eclipse-mockito.patch
|
|
|
|
Patch15: eclipse-support-symlink-bundles.patch
|
|
|
|
# Feature plugin definitions lock onto version of plugin at build-time.
|
|
# If plugin is external, updating it breaks the feature. (version changes)
|
|
# Workaround : Change <plugin> definition to a 'requirement'
|
|
# Also makes the following BSN changes at the same time:
|
|
# com.sun.el -> com.sun.el.javax.el
|
|
# javax.el -> javax.el-api
|
|
# javax.servlet -> javax.servlet-api
|
|
# org.apache.jasper.glassfish -> org.glassfish.web.javax.servlet.jsp
|
|
# javax.annotation -> removed
|
|
# org.w3c.dom.smil -> removed
|
|
Patch16: eclipse-feature-plugins-to-category-ius.patch
|
|
|
|
# Fix various JDT and PDE tests
|
|
Patch20: eclipse-fix-tests.patch
|
|
|
|
# Droplet fixes
|
|
Patch21: eclipse-adjust-droplets.patch
|
|
Patch22: eclipse-pde-tp-support-droplets.patch
|
|
|
|
# Use webkit2 by default and prevent usage of xulrunner
|
|
Patch23: eclipse-webkit2-by-default.patch
|
|
|
|
# Only build gtk3 backend for SWT
|
|
Patch24: eclipse-swt-disable-gtk2.patch
|
|
|
|
# Droplet fixes
|
|
Patch26: eclipse-make-droplets-runnable.patch
|
|
Patch27: eclipse-disable-droplets-in-dropins.patch
|
|
|
|
# Temporary measure until wayland improves
|
|
Patch28: prefer_x11_backend.patch
|
|
|
|
# Fix errors when building ant launcher
|
|
Patch29: fix_ant_build.patch
|
|
|
|
# Hide the p2 Droplets from cluttering Install Wizard Combo
|
|
Patch30: eclipse-hide-droplets-from-install-wizard.patch
|
|
|
|
BuildRequires: tycho >= 0.25.0
|
|
BuildRequires: tycho-extras >= 0.25.0
|
|
BuildRequires: cbi-plugins
|
|
BuildRequires: maven-antrun-plugin
|
|
BuildRequires: maven-enforcer-plugin
|
|
BuildRequires: xml-maven-plugin
|
|
BuildRequires: rhino
|
|
BuildRequires: sonatype-oss-parent
|
|
BuildRequires: rsync
|
|
BuildRequires: make, gcc
|
|
BuildRequires: zip, unzip
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: java-1.8.0-openjdk-devel
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(nspr)
|
|
BuildRequires: pkgconfig(glu)
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(cairo)
|
|
BuildRequires: pkgconfig(xt)
|
|
BuildRequires: pkgconfig(xtst)
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
%if 0%{?rhel}
|
|
# RHEL does not have webkit2
|
|
BuildRequires: pkgconfig(webkitgtk-3.0)
|
|
%else
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
%endif
|
|
BuildRequires: icu4j >= 1:54.1.1-2
|
|
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
BuildRequires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf
|
|
BuildRequires: jsch >= 0:0.1.46-2
|
|
BuildRequires: apache-commons-el >= 1.0-22
|
|
BuildRequires: apache-commons-logging
|
|
BuildRequires: apache-commons-codec
|
|
BuildRequires: apache-commons-jxpath
|
|
BuildRequires: apache-commons-fileupload
|
|
BuildRequires: osgi(org.apache.felix.gogo.shell)
|
|
BuildRequires: osgi(org.apache.felix.gogo.command)
|
|
BuildRequires: osgi(org.apache.felix.scr) >= 2.0.8
|
|
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
BuildRequires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
BuildRequires: lucene-core >= %{_lucene_version}
|
|
BuildRequires: lucene-misc >= %{_lucene_version}
|
|
BuildRequires: lucene-analysis >= %{_lucene_version}
|
|
BuildRequires: lucene-queryparser >= %{_lucene_version}
|
|
BuildRequires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
BuildRequires: junit >= 4.12
|
|
BuildRequires: hamcrest >= 1.3
|
|
BuildRequires: sat4j >= 2.3.5-1
|
|
BuildRequires: objectweb-asm >= 5.0.3-1
|
|
BuildRequires: sac >= 1.3-12
|
|
BuildRequires: batik-css
|
|
BuildRequires: xml-commons-apis
|
|
BuildRequires: atinject
|
|
BuildRequires: atinject-tck
|
|
BuildRequires: eclipse-filesystem
|
|
BuildRequires: eclipse-ecf-core >= 3.13.3-1
|
|
BuildRequires: eclipse-emf-core >= 1:2.12.0-1
|
|
BuildRequires: eclipse-license
|
|
BuildRequires: glassfish-el-api >= 3.0.1
|
|
BuildRequires: glassfish-el >= 3.0.1
|
|
BuildRequires: glassfish-jsp-api >= 2.2.1-4
|
|
BuildRequires: glassfish-jsp >= 2.2.5
|
|
BuildRequires: glassfish-servlet-api >= 3.1.0
|
|
BuildRequires: httpcomponents-core
|
|
BuildRequires: httpcomponents-client
|
|
BuildRequires: xz-java
|
|
BuildRequires: mockito
|
|
BuildRequires: osgi(osgi.annotation)
|
|
%if ! %{bootstrap}
|
|
# Build deps that are excluded when bootstrapping
|
|
BuildRequires: eclipse-pde
|
|
# Build deps needed for contributor tools
|
|
BuildRequires: eclipse-egit >= 4.0.0
|
|
BuildRequires: eclipse-emf-runtime
|
|
%endif
|
|
|
|
%description
|
|
The Eclipse platform is designed for building integrated development
|
|
environments (IDEs), server-side applications, desktop applications, and
|
|
everything in between.
|
|
|
|
%package swt
|
|
Summary: SWT Library for GTK+
|
|
|
|
Requires: java-headless >= 1:1.7.0
|
|
Requires: javapackages-tools
|
|
Requires: eclipse-filesystem
|
|
%if 0%{?rhel}
|
|
# RHEL does not have webkit2
|
|
Requires: gtk3
|
|
Requires: webkitgtk3
|
|
%else
|
|
Requires: webkitgtk4
|
|
%endif
|
|
|
|
%description swt
|
|
SWT Library for GTK+.
|
|
|
|
%package equinox-osgi
|
|
Summary: Eclipse OSGi - Equinox
|
|
Requires: java-headless >= 1:1.7.0
|
|
Requires: javapackages-tools
|
|
Requires: eclipse-filesystem
|
|
Provides: osgi(system.bundle) = %{epoch}:%{version}
|
|
|
|
%description equinox-osgi
|
|
Eclipse OSGi - Equinox
|
|
|
|
%package platform
|
|
Summary: Eclipse platform common files
|
|
Recommends: eclipse-abrt
|
|
Recommends: eclipse-usage
|
|
|
|
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
Requires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf
|
|
Requires: jsch >= 0.1.46-2
|
|
Requires: apache-commons-el >= 1.0-23
|
|
Requires: apache-commons-logging
|
|
Requires: apache-commons-codec
|
|
Requires: apache-commons-jxpath
|
|
Requires: osgi(org.apache.felix.gogo.shell)
|
|
Requires: osgi(org.apache.felix.gogo.command)
|
|
Requires: osgi(org.apache.felix.scr) >= 2.0.8
|
|
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
|
|
Requires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
|
|
Requires: lucene-core >= %{_lucene_version}
|
|
Requires: lucene-misc >= %{_lucene_version}
|
|
Requires: lucene-analysis >= %{_lucene_version}
|
|
Requires: lucene-queryparser >= %{_lucene_version}
|
|
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
|
|
Requires: sat4j >= 2.3.5-1
|
|
Requires: sac >= 1.3-12
|
|
Requires: batik-css
|
|
Requires: xml-commons-apis
|
|
Requires: atinject
|
|
Requires: eclipse-ecf-core >= 3.13.3-1
|
|
Requires: eclipse-emf-core >= 1:2.12.0-1
|
|
Requires: glassfish-el-api >= 3.0.1
|
|
Requires: glassfish-el >= 3.0.1
|
|
Requires: glassfish-jsp-api >= 2.2.1-4
|
|
Requires: glassfish-jsp >= 2.2.5
|
|
Requires: glassfish-servlet-api >= 3.1.0
|
|
Requires: icu4j >= 1:54.1.1-2
|
|
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
|
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
|
|
Requires: httpcomponents-core
|
|
Requires: httpcomponents-client
|
|
%if 0%{?fedora} >= 26
|
|
Requires: ant >= 1.10.1
|
|
Requires: osgi(org.tukaani.xz) >= 1.6
|
|
%else
|
|
Requires: ant >= 1.9.6
|
|
Requires: osgi(org.tukaani.xz)
|
|
%endif
|
|
|
|
%description platform
|
|
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
|
Java Development Tools or the Plugin Development Environment.
|
|
|
|
%package jdt
|
|
Summary: Eclipse Java Development Tools
|
|
BuildArch: noarch
|
|
|
|
Provides: %{name} = %{epoch}:%{version}-%{release}
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
Requires: osgi(org.junit) >= 4.12
|
|
Requires: osgi(org.hamcrest.core) >= 1.3
|
|
|
|
%description jdt
|
|
Eclipse Java Development Tools. This package is required to use Eclipse for
|
|
developing software written in the Java programming language.
|
|
|
|
%package pde
|
|
Summary: Eclipse Plugin Development Environment
|
|
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
|
Requires: objectweb-asm >= 5.0.3-1
|
|
Recommends: eclipse-e4-importer
|
|
|
|
%description pde
|
|
Eclipse Plugin Development Environment. This package is required for
|
|
developing Eclipse plugins.
|
|
|
|
%package p2-discovery
|
|
Summary: Eclipse p2 Discovery
|
|
BuildArch: noarch
|
|
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
# Obsoletes added in F22
|
|
Obsoletes: %{name}-p2-discovery < 1:4.5.0-0.10
|
|
|
|
%description p2-discovery
|
|
The p2 Discovery mechanism provides a simplified and branded front-end for the
|
|
p2 provisioning platform. Discovery can be used as a tool to display and
|
|
install from existing P2 repositories or as a framework to build branded
|
|
installer UIs.
|
|
|
|
%package contributor-tools
|
|
Summary: Tools for Eclipse Contributors
|
|
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
|
|
|
%description contributor-tools
|
|
This package contains tools specifically for Eclipse contributors. It includes
|
|
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
|
|
|
|
%package tests
|
|
Summary: Eclipse Tests
|
|
|
|
Requires: %{name}-contributor-tools = %{epoch}:%{version}-%{release}
|
|
|
|
%description tests
|
|
Eclipse Tests.
|
|
|
|
%prep
|
|
%setup -q %{SOURCE0} -n R4_platform-aggregator-%{eclipse_tag}
|
|
|
|
tar --strip-components=1 -xf %{SOURCE1}
|
|
|
|
%patch1
|
|
%patch2
|
|
%patch3
|
|
%patch4
|
|
%patch5
|
|
%patch6
|
|
%patch7 -p1
|
|
%patch10
|
|
%patch11
|
|
%patch12
|
|
%patch13
|
|
%patch14
|
|
%patch15
|
|
%patch16
|
|
%patch20
|
|
%patch21
|
|
%patch22
|
|
%if ! 0%{?rhel}
|
|
# RHEL does not have webkit2
|
|
%patch23
|
|
%endif
|
|
%patch24
|
|
%patch26
|
|
%patch27
|
|
%patch28
|
|
%patch29
|
|
%patch30
|
|
|
|
# Use ecj when bootstrapping
|
|
%if %{bootstrap}
|
|
sed -i -e 's/groupId>org.eclipse.jdt</groupId>org.eclipse.tycho</' eclipse-platform-parent/pom.xml
|
|
%endif
|
|
|
|
# Resolving the target platform requires too many changes, so don't use it
|
|
%pom_xpath_remove "pom:configuration/pom:target" eclipse-platform-parent
|
|
|
|
# Disable as many products as possible to make the build faster, we care only for the IDE
|
|
%pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module rcp eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module rcp.sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module rcp.config eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module equinox-sdk eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module equinox.starterkit.product eclipse.platform.releng.tychoeclipsebuilder
|
|
%pom_disable_module eclipse.platform.repository eclipse.platform.releng.tychoeclipsebuilder
|
|
|
|
# Disable bundles that we don't ship as part of the remaining products
|
|
%pom_disable_module bundles/org.eclipse.equinox.cm.test rt.equinox.bundles
|
|
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.ip rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.weaving.hook rt.equinox.bundles
|
|
%pom_disable_module features/org.eclipse.equinox.compendium.sdk rt.equinox.bundles
|
|
%pom_disable_module features/org.eclipse.equinox.core.sdk rt.equinox.bundles
|
|
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
|
|
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
|
|
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.reconciler.product rt.equinox.p2
|
|
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
|
|
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
|
|
%pom_disable_module bundles/ie.wombat.jbdiff rt.equinox.p2
|
|
%pom_disable_module bundles/ie.wombat.jbdiff.test rt.equinox.p2
|
|
%pom_disable_module com.google.code.atinject.tck eclipse.platform.runtime/tests
|
|
|
|
# Disable examples
|
|
%pom_disable_module bundles/org.eclipse.sdk.examples eclipse.platform.releng
|
|
%pom_disable_module features/org.eclipse.sdk.examples-feature eclipse.platform.releng
|
|
%pom_disable_module examples/org.eclipse.swt.examples.ole.win32 eclipse.platform.swt
|
|
|
|
# Disable servletbridge stuff
|
|
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
|
|
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
|
|
|
|
# We don't need support for Eclipse 2.x style plugins
|
|
%pom_disable_module features/org.eclipse.osgi.compatibility.plugins.feature rt.equinox.framework
|
|
%pom_disable_module bundles/org.eclipse.osgi.compatibility.plugins rt.equinox.framework
|
|
%pom_xpath_remove "pom:requirement[pom:id='org.eclipse.osgi.compatibility.plugins']" \
|
|
rt.equinox.framework/bundles/org.eclipse.osgi.tests/pom.xml
|
|
sed -i -e '/OldStylePluginTests/d' ./rt.equinox.framework/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java
|
|
|
|
# This part generates secondary fragments using primary fragments
|
|
for dir in rt.equinox.binaries ; do
|
|
utils/ensure_arch.sh "$dir" x86 arm
|
|
utils/ensure_arch.sh "$dir" x86_64 aarch64
|
|
done
|
|
|
|
# Remove platform-specific stuff that we don't care about to reduce build time
|
|
# (i.e., all bundles that are not applicable to the current build platform --
|
|
# this reduces the build time on arm by around 20 minutes per architecture that
|
|
# we are not currently building)
|
|
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
|
|
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
|
|
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
|
|
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
|
|
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
|
|
if [ -n "$module" ] ; then
|
|
%pom_disable_module bundles/$b eclipse.platform.swt.binaries
|
|
%pom_xpath_inject "pom:excludes" "<plugin id='$b'/>" eclipse.platform.ui/features/org.eclipse.e4.rcp
|
|
%pom_xpath_remove "plugin[@id='$b']" eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
|
fi
|
|
done
|
|
for b in `ls rt.equinox.framework/bundles | grep -P -e 'org.eclipse.equinox.launcher\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
|
module=$(grep ">bundles/$b<" rt.equinox.framework/pom.xml || :)
|
|
if [ -n "$module" ] ; then
|
|
%pom_disable_module bundles/$b rt.equinox.framework
|
|
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
|
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
|
|
fi
|
|
done
|
|
for b in `(cd rt.equinox.bundles/bundles && ls -d *{macosx,win32,linux}*) | grep -P -e 'org.eclipse.equinox.security\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
%pom_disable_module bundles/$b rt.equinox.bundles
|
|
%pom_xpath_remove "plugin[@id='$b']" rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
|
|
done
|
|
for b in `ls eclipse.platform.team/bundles/org.eclipse.core.net/fragments/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
|
|
%pom_disable_module bundles/org.eclipse.core.net/fragments/$b eclipse.platform.team
|
|
%pom_xpath_remove "plugin[@id='$b']" eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
|
done
|
|
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
|
|
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
|
|
if [ -n "$module" ] ; then
|
|
%pom_disable_module bundles/$b eclipse.platform.resources
|
|
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
|
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
|
|
fi
|
|
done
|
|
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
|
|
%pom_disable_module org.eclipse.jdt.launching.ui.macosx eclipse.jdt.debug
|
|
%pom_disable_module bundles/org.eclipse.compare.win32 eclipse.platform.team
|
|
%pom_disable_module org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui/bundles
|
|
%pom_disable_module org.eclipse.ui.cocoa eclipse.platform.ui/bundles
|
|
%pom_disable_module org.eclipse.ui.win32 eclipse.platform.ui/bundles
|
|
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86 eclipse.platform.resources
|
|
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
|
|
for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
|
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
|
eclipse.platform.releng/features/org.eclipse.rcp/feature.xml \
|
|
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml ; do
|
|
%pom_xpath_remove -f "plugin[@os='macosx']" $f
|
|
%pom_xpath_remove -f "plugin[@os='win32']" $f
|
|
%pom_xpath_remove -f "plugin[@ws='win32']" $f
|
|
done
|
|
|
|
# We don't need SWT fragments since we only care for current arch
|
|
%pom_disable_module tests/org.eclipse.swt.tests.fragments.feature eclipse.platform.swt
|
|
%pom_xpath_remove "pom:dependency-resolution" eclipse.platform.swt/tests/org.eclipse.swt.tests
|
|
|
|
# Disable contributor tools that have external dependencies during bootstrap
|
|
%if %{bootstrap}
|
|
%pom_disable_module eclipse.platform.ui.tools
|
|
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
|
|
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
|
|
%pom_disable_module bundles/org.eclipse.releng.tests eclipse.platform.releng
|
|
%pom_xpath_remove "plugin[@id='org.eclipse.releng.tests']" \
|
|
eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
%endif
|
|
|
|
# Include some extra features with the product that some other projects may need at
|
|
# build time as part of their target platform definitions
|
|
sed -i -e '169i<feature id="org.eclipse.core.runtime.feature"/>' \
|
|
eclipse.platform.releng.tychoeclipsebuilder/platform/platform.product
|
|
|
|
# Ensure batch compiler gets installed correctly
|
|
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"/>' \
|
|
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
|
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
|
|
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
|
|
|
|
# Remove uneeded hamcrest bundles
|
|
%pom_xpath_remove "plugin[@id='org.hamcrest']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
%pom_xpath_remove "plugin[@id='org.hamcrest.text']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
|
# Use unbundled mockito
|
|
%pom_xpath_remove "plugin[@id='org.mockito']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
%pom_xpath_inject "feature" '<plugin id="org.mockito.mockito-core" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
%pom_xpath_inject "feature" '<plugin id="net.sf.cglib.core" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
|
|
# Include maven descriptors to allow our test execution setup to work
|
|
%pom_xpath_set "pom:plugin[pom:artifactId = 'tycho-packaging-plugin']/pom:configuration/pom:archive/pom:addMavenDescriptor" "true" eclipse-platform-parent
|
|
|
|
# Don't set perms on files for platforms that aren't linux
|
|
for f in rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
|
|
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
|
|
sed -i -e '/^root\./d' $f && cat tmp >> $f
|
|
done
|
|
|
|
# Hack - this can go away once upstream grows arm and aarch64 support
|
|
mkdir -p rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/%{eclipse_arch}
|
|
|
|
# Ensure that bundles with native artifacts are dir-shaped, so no *.so is extracted into user.home
|
|
for f in rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.*/META-INF/MANIFEST.MF \
|
|
eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*/META-INF/MANIFEST.MF \
|
|
eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.*/META-INF/MANIFEST.MF \
|
|
eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.*/META-INF/MANIFEST.MF ; do
|
|
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
|
|
done
|
|
|
|
%if 0%{?rhel}
|
|
# Manually place rhino at correction location in reactor cache
|
|
mkdir rhino
|
|
pushd rhino
|
|
xmvn -o install:install-file -Dfile=%{_root_datadir}/java/rhino.jar -Dpackaging=jar \
|
|
-DgroupId=org.mozilla -DartifactId=rhino -Dversion=1.7R4
|
|
popd
|
|
%endif
|
|
|
|
# Build fake ant bundle that contains symlinks to system jars
|
|
dependencies/fake_ant_dependency.sh
|
|
|
|
# Allow usage of javax.servlet.jsp 2.3.
|
|
sed -i '/javax\.servlet\.jsp/ s/2\.3/2\.4/' rt.equinox.bundles/bundles/org.eclipse.equinox.jsp.jasper/META-INF/MANIFEST.MF
|
|
|
|
# Use javax.servlet-api (Glassfish) instead of javax.servlet (Tomcat)
|
|
find -name feature.xml | xargs sed -i -e 's|"javax.servlet"|"javax.servlet-api"|'
|
|
sed -i -e "2iRequire-Bundle: javax.servlet-api" rt.equinox.bundles/bundles/org.eclipse.equinox.http.{jetty9,servlet}/META-INF/MANIFEST.MF
|
|
|
|
# Pre-compiling JSPs does not currently work
|
|
%pom_remove_plugin org.eclipse.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
|
|
|
|
# Remove generated files not present during bootstrap build
|
|
# org.eclipse.platform.doc.isv, org.eclipse.jdt.doc.isv, org.eclipse.pde.doc.user
|
|
%if %{bootstrap}
|
|
sed -i '18,47d' eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/assembly/assembly.xml
|
|
%endif
|
|
|
|
# Use system osgi.annotation lib
|
|
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
|
|
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
|
|
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.framework/bundles/org.eclipse.osgi.util/lib/
|
|
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/osgi/
|
|
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.bundles/bundles/org.eclipse.equinox.coordinator/lib/
|
|
|
|
# The order of these mvn_package calls is important
|
|
%mvn_package "::pom::" __noinstall
|
|
%mvn_package ":*tests*" tests
|
|
%mvn_package ":org.eclipse.equinox.frameworkadmin.test" tests
|
|
%mvn_package ":org.eclipse.equinox.p2.installer" tests
|
|
%mvn_package ":org.eclipse.jface.examples.databinding" tests
|
|
%mvn_package ":org.eclipse.pde.tools.versioning" tests
|
|
%mvn_package ":org.eclipse.update.core" tests
|
|
%mvn_package "org.eclipse.test:org.eclipse.test" contributor-tools
|
|
%mvn_package ":*examples*" __noinstall
|
|
%mvn_package "::jar:sources{,-feature}:" sdk
|
|
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
|
|
%mvn_package ":org.eclipse.platform.doc.isv" sdk
|
|
%mvn_package "org.eclipse.jdt{,.feature}:" jdt
|
|
%mvn_package ":org.eclipse.ant.{launching,ui}" jdt
|
|
%mvn_package ":org.eclipse.equinox.p2.discovery.{feature,compatibility}" p2-discovery
|
|
%mvn_package ":org.eclipse.equinox.p2{,.ui}.discovery" p2-discovery
|
|
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
|
|
%mvn_package ":org.eclipse.releng.tools" contributor-tools
|
|
%mvn_package ":org.eclipse.swt.tools*" contributor-tools
|
|
%mvn_package "org.eclipse.test{,.feature}:" contributor-tools
|
|
%mvn_package ":org.eclipse.ant.optional.junit" contributor-tools
|
|
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
|
|
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
|
|
%mvn_package "org.eclipse.pde{,.feature}:" pde
|
|
%mvn_package "org.eclipse.ui:org.eclipse.ui.{views.log,trace}" pde
|
|
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
|
|
%mvn_package ":" __noinstall
|
|
|
|
%build
|
|
#This is the lowest value where the build succeeds. 512m is not enough.
|
|
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
|
|
export JAVA_HOME=%{_jvmdir}/java
|
|
|
|
# Qualifier generated from last modification time of source tarball
|
|
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
|
|
|
|
%mvn_build -j -f -- -DforceContextQualifier=$QUALIFIER \
|
|
%if %{bootstrap}
|
|
-P !api-generation,!build-docs \
|
|
%endif
|
|
-Declipse.javadoc=/usr/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
|
|
-Dtycho.local.keepTarget \
|
|
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=X
|
|
|
|
# Location that the product is materialised
|
|
product="eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}"
|
|
|
|
# Re-symlink ant bundle to use system jars
|
|
dependencies/fake_ant_dependency.sh $product/eclipse/plugins/org.apache.ant_*
|
|
|
|
# Symlink necessary plugins that are provided by other packages
|
|
dependencies/replace_platform_plugins_with_symlinks.sh $product/eclipse %{_javadir} %{_jnidir}
|
|
|
|
pushd $product/eclipse
|
|
|
|
#clean up
|
|
rm -rf configuration/org.eclipse.core.runtime
|
|
rm -rf configuration/org.eclipse.equinox.app
|
|
rm -rf configuration/org.eclipse.update
|
|
rm -rf configuration/org.eclipse.osgi
|
|
rm -rf p2/org.eclipse.equinox.p2.core/cache/*
|
|
# no icon needed
|
|
rm -f icon.xpm
|
|
|
|
# EMF and ECF are packaged separately
|
|
rm -rf features/org.eclipse.emf.* plugins/org.eclipse.emf.* \
|
|
features/org.eclipse.ecf.* plugins/org.eclipse.ecf.* plugins/org.eclipse.ecf_*
|
|
|
|
#delete all local repositories. We want to have only "original" by default.
|
|
pushd p2/org.eclipse.equinox.p2.engine/.settings
|
|
sed -i "/repositories\/file/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
sed -i "/repositories\/memory/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
|
|
popd
|
|
|
|
# ini file adjustements
|
|
sed -i "s|-Xms40m|-Xms512m|g" eclipse.ini
|
|
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
|
|
sed -i '1i-protect\nmaster' eclipse.ini
|
|
|
|
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
|
|
cat >> eclipse.ini <<EOF
|
|
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
|
|
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
|
|
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
|
|
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
|
|
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
|
|
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
|
|
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
|
|
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
|
-Dp2.fragments=%{_eclipsedir}/droplets,%{_datadir}/eclipse/droplets
|
|
-Declipse.p2.skipMovedInstallDetection=true
|
|
-Dosgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension
|
|
EOF
|
|
|
|
popd #eclipse
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
# Some directories we need
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_jnidir}
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/eclipse
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
# Install icons
|
|
install -D eclipse.platform/platform/org.eclipse.platform/eclipse32.png \
|
|
$RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/%{name}.png
|
|
install -D eclipse.platform/platform/org.eclipse.platform/eclipse48.png \
|
|
$RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/%{name}.png
|
|
install -D eclipse.platform/platform/org.eclipse.platform/eclipse256.png \
|
|
$RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/%{name}.png
|
|
install -d $RPM_BUILD_ROOT/usr/share/pixmaps
|
|
ln -s /usr/share/icons/hicolor/256x256/apps/%{name}.png \
|
|
$RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png
|
|
|
|
# Install desktop file
|
|
sed -i -e 's/Exec=eclipse/Exec=%{app_exec}/g' desktopintegration/eclipse.desktop
|
|
sed -i -e 's/Name=Eclipse/Name=%{app_name}/g' desktopintegration/eclipse.desktop
|
|
sed -i -e 's/Icon=eclipse/Icon=%{name}/g' desktopintegration/eclipse.desktop
|
|
install -m644 -D desktopintegration/eclipse.desktop $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
desktop-file-validate $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
|
|
|
|
# Install appstream appdata
|
|
install -m644 -D desktopintegration/eclipse.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse.appdata.xml
|
|
install -m644 -D desktopintegration/eclipse-jdt.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
install -m644 -D desktopintegration/eclipse-pde.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
|
|
LOCAL_PWD=`pwd`
|
|
#change the installation p2 files
|
|
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/
|
|
for i in `ls | grep "profile.gz"` ; do \
|
|
echo $i ; \
|
|
gunzip $i ; \
|
|
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 ; \
|
|
gzip *.profile ; \
|
|
done
|
|
popd
|
|
|
|
#installation itself - copy it into right location
|
|
rsync -vrpl eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse \
|
|
$RPM_BUILD_ROOT%{_prefix}/lib
|
|
|
|
# SWT is a directory, but we need to provide jars for others that depend on it
|
|
pushd $RPM_BUILD_ROOT/%{_eclipsedir}/plugins
|
|
SWT_JAR=$(ls | grep swt.gtk.linux)
|
|
(cd ${SWT_JAR} && zip -r "../../swt.jar" * )
|
|
popd
|
|
|
|
# Symlink SWT jar
|
|
pushd $RPM_BUILD_ROOT/%{_jnidir}/
|
|
ln -s $(abs2rel %{_eclipsedir}/swt.jar %{_jnidir})
|
|
popd
|
|
|
|
# Symlink eclipse binary
|
|
pushd $RPM_BUILD_ROOT%{_bindir}
|
|
ln -s %{_eclipsedir}/eclipse
|
|
popd
|
|
|
|
# Symlink eclipse ini
|
|
pushd $RPM_BUILD_ROOT/%{_sysconfdir}/
|
|
ln -s %{_eclipsedir}/eclipse.ini
|
|
popd
|
|
|
|
# List jars to be symlinked into javadir
|
|
pushd $RPM_BUILD_ROOT%{_eclipsedir}/plugins
|
|
EQUINOX_JARS=$(ls . | grep -P '^org.eclipse.equinox(?!.*\.ui[\._])' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
OSGI_JARS=$(ls . | grep '^org.eclipse.osgi' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
|
|
popd
|
|
|
|
# Symlink jars into javadir
|
|
for J in $EQUINOX_JARS $OSGI_JARS core.contenttype core.jobs core.net core.runtime ; do
|
|
pushd $RPM_BUILD_ROOT%{_javadir}/eclipse
|
|
DIR=%{?scl:../../../../}../../../..%{_eclipsedir}
|
|
[ -e "`ls $DIR/plugins/org.eclipse.${J}_*.jar`" ] && ln -s $DIR/plugins/org.eclipse.${J}_*.jar ${J}.jar
|
|
popd
|
|
# Install pom file if there is one
|
|
if [ -e "externalpoms/org.eclipse.${J}.pom" ] ; then
|
|
VER=$(echo $RPM_BUILD_ROOT%{_eclipsedir}/plugins/org.eclipse.${J}_*.jar | sed -e "s/.*${J}_\(.*\)\.jar/\1/")
|
|
sed -i -e "s/@VERSION@/$VER/" externalpoms/org.eclipse.${J}.pom
|
|
install -m 0644 externalpoms/org.eclipse.${J}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.eclipse-${J}.pom
|
|
fi
|
|
done
|
|
|
|
# Install Maven metadata for OSGi jars
|
|
%add_maven_depmap JPP.eclipse-osgi.pom eclipse/osgi.jar -a "org.eclipse:osgi,org.eclipse.tycho:org.eclipse.osgi" -f equinox-osgi
|
|
%add_maven_depmap JPP.eclipse-osgi.compatibility.state.pom eclipse/osgi.compatibility.state.jar -a "org.eclipse.osgi:compatibility.state,org.eclipse.tycho:org.eclipse.osgi.compatibility.state" -f equinox-osgi
|
|
%add_maven_depmap JPP.eclipse-osgi.services.pom eclipse/osgi.services.jar -a "org.eclipse.osgi:services" -f equinox-osgi
|
|
%add_maven_depmap JPP.eclipse-osgi.util.pom eclipse/osgi.util.jar -a "org.eclipse.osgi:util" -f equinox-osgi
|
|
%add_maven_depmap JPP.eclipse-equinox.http.servlet.pom eclipse/equinox.http.servlet.jar -a "org.eclipse.equinox.http:servlet" -f platform
|
|
# Maven metadata for SWT (no POM)
|
|
VER=$(echo $RPM_BUILD_ROOT%{_eclipsedir}/plugins/org.eclipse.swt_*.jar | sed -e "s/.*_\(.*\)\.jar/\1/")
|
|
%add_maven_depmap org.eclipse.swt:org.eclipse.swt:$VER swt.jar -a org.eclipse.swt:swt -f swt
|
|
|
|
# Tests framework
|
|
unzip eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/target/eclipse-junit-tests-bundle.zip \
|
|
-d $RPM_BUILD_ROOT/%{_datadir}/ -x eclipse-testing/runtests.bat eclipse-testing/runtestsmac.sh
|
|
cp utils/splitter.xsl $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing
|
|
rm $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/eclipse-junit-tests-*.zip
|
|
|
|
# These properties are not correct and nested properties won't get resolved
|
|
sed -i '/org.eclipse.equinox.p2.reconciler.test/ d' $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/equinoxp2tests.properties
|
|
|
|
# Package testbundle-to-eclipse-test
|
|
cp -r testbundle-to-eclipse-test $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle/eclipse-runTestBundles $RPM_BUILD_ROOT/%{_bindir}/eclipse-runTestBundles
|
|
|
|
#fix so permissions
|
|
find $RPM_BUILD_ROOT/%{_eclipsedir} -name *.so -exec chmod a+x {} \;
|
|
|
|
# Usage marker
|
|
install -d -m 755 %{buildroot}%{_eclipsedir}/.pkgs
|
|
echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|
|
|
%post platform
|
|
touch --no-create /usr/share/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
gtk-update-icon-cache -q /usr/share/icons/hicolor
|
|
fi
|
|
|
|
%postun platform
|
|
touch --no-create /usr/share/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
gtk-update-icon-cache -q /usr/share/icons/hicolor
|
|
fi
|
|
|
|
%files swt -f .mfiles-swt
|
|
%{_eclipsedir}/plugins/org.eclipse.swt_*
|
|
%{_eclipsedir}/plugins/org.eclipse.swt.gtk.linux.*
|
|
%{_eclipsedir}/swt.jar
|
|
%{_jnidir}/swt.jar
|
|
|
|
%files platform -f .mfiles-platform
|
|
%{_bindir}/eclipse
|
|
%{_eclipsedir}/eclipse
|
|
%{_eclipsedir}/.eclipseproduct
|
|
%{_eclipsedir}/.pkgs
|
|
%config %{_eclipsedir}/eclipse.ini
|
|
%config %{_sysconfdir}/eclipse.ini
|
|
/usr/share/applications/*
|
|
/usr/share/pixmaps/*
|
|
/usr/share/icons/*/*/apps/*
|
|
%{_datadir}/appdata/eclipse.appdata.xml
|
|
%dir %{_eclipsedir}/configuration/
|
|
%dir %{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/
|
|
%{_eclipsedir}/configuration/config.ini
|
|
%{_eclipsedir}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
%{_eclipsedir}/features/org.eclipse.core.runtime.feature_*
|
|
%{_eclipsedir}/features/org.eclipse.e4.rcp_*
|
|
%{_eclipsedir}/features/org.eclipse.equinox.core.feature_*
|
|
%{_eclipsedir}/features/org.eclipse.equinox.p2.core.feature_*
|
|
%{_eclipsedir}/features/org.eclipse.equinox.p2.extras.feature_*
|
|
%{_eclipsedir}/features/org.eclipse.equinox.p2.rcp.feature_*
|
|
%{_eclipsedir}/features/org.eclipse.equinox.p2.user.ui_*
|
|
%{_eclipsedir}/features/org.eclipse.help_*
|
|
%{_eclipsedir}/features/org.eclipse.platform_*
|
|
%{_eclipsedir}/features/org.eclipse.rcp_*
|
|
%{_eclipsedir}/plugins/com.ibm.icu_*
|
|
%{_eclipsedir}/plugins/com.jcraft.jsch_*
|
|
%{_eclipsedir}/plugins/com.sun.el.javax.el_*
|
|
%{_eclipsedir}/plugins/javax.*
|
|
%{_eclipsedir}/plugins/org.apache.*
|
|
%{_eclipsedir}/plugins/org.eclipse.ant.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.compare_*
|
|
%{_eclipsedir}/plugins/org.eclipse.compare.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.commands_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.contenttype_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.databinding.beans_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.databinding.observable_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.databinding.property_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.databinding_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.expressions_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.externaltools_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.filebuffers_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.filesystem*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.jobs_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.net*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.resources_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.runtime_*
|
|
%{_eclipsedir}/plugins/org.eclipse.core.variables_*
|
|
%{_eclipsedir}/plugins/org.eclipse.debug.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.debug.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.commands_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.contexts_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.di_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.annotations_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.di.extensions.supplier_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.core.services_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.emf.xpath_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.bindings_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt.theme_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.di_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.dialogs_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.model.workbench_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.services_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.swt.gtk_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.widgets_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench3_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.addons.swt_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.renderers.swt_*
|
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.workbench.swt_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.app_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.bidi_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.common_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.concurrent_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.console_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.ds_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.event_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.http.jetty_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.http.registry_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.http.servlet_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.launcher.gtk.linux.*_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.artifact.repository_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.console_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.director.app_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.directorywatcher_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.engine_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.extensionlocation_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.garbagecollector_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.jarprocessor_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.metadata.repository_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.operations_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.publisher.eclipse_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.repository.tools_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.transport.ecf_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.importexport_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatechecker_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.p2.updatesite_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.preferences_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.registry_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.security*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
|
%{_eclipsedir}/plugins/org.eclipse.equinox.util_*
|
|
%{_eclipsedir}/plugins/org.eclipse.help_*
|
|
%{_eclipsedir}/plugins/org.eclipse.help.base_*
|
|
%{_eclipsedir}/plugins/org.eclipse.help.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.help.webapp_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jdt.core.compiler.batch_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jetty.*
|
|
%{_eclipsedir}/plugins/org.eclipse.jface_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jface.databinding_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jface.text_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jsch.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.jsch.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ltk.core.refactoring_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ltk.ui.refactoring_*
|
|
%{_eclipsedir}/plugins/org.eclipse.platform_*
|
|
%{_eclipsedir}/plugins/org.eclipse.platform.doc.user_*
|
|
%{_eclipsedir}/plugins/org.eclipse.rcp_*
|
|
%{_eclipsedir}/plugins/org.eclipse.search_*
|
|
%{_eclipsedir}/plugins/org.eclipse.team.core_*
|
|
%{_eclipsedir}/plugins/org.eclipse.team.genericeditor.diff.extension_*
|
|
%{_eclipsedir}/plugins/org.eclipse.team.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.text_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.browser_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.cheatsheets_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.console_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.editors_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.externaltools_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.forms_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.genericeditor_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.ide_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.ide.application_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.intro_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.intro.quicklinks_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.intro.universal_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.monitoring_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.navigator_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.navigator.resources_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.net_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.themes_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.views_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.views.properties.tabbed_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.workbench_*
|
|
%{_eclipsedir}/plugins/org.eclipse.ui.workbench.texteditor_*
|
|
%{_eclipsedir}/plugins/org.eclipse.update.configurator_*
|
|
%{_eclipsedir}/plugins/org.glassfish.web.javax.servlet.jsp_*
|
|
%{_eclipsedir}/plugins/org.kxml2_*
|
|
%{_eclipsedir}/plugins/org.sat4j.core_*
|
|
%{_eclipsedir}/plugins/org.sat4j.pb_*
|
|
%{_eclipsedir}/plugins/org.tukaani.xz_*
|
|
%{_eclipsedir}/plugins/org.w3c.css.sac_*
|
|
%{_eclipsedir}/plugins/org.w3c.dom.svg_*
|
|
%{_eclipsedir}/plugins/org.xmlpull_*
|
|
%doc %{_eclipsedir}/readme
|
|
%{_eclipsedir}/artifacts.xml
|
|
%{_eclipsedir}/p2
|
|
%{_javadir}/%{name}/core*
|
|
%{_javadir}/%{name}/equinox*
|
|
|
|
%files jdt -f .mfiles-jdt
|
|
%{_datadir}/appdata/eclipse-jdt.metainfo.xml
|
|
|
|
%files pde -f .mfiles-pde -f .mfiles-cvs -f .mfiles-sdk
|
|
%{_datadir}/appdata/eclipse-pde.metainfo.xml
|
|
|
|
%files p2-discovery -f .mfiles-p2-discovery
|
|
|
|
%files contributor-tools -f .mfiles-contributor-tools
|
|
|
|
%files tests -f .mfiles-tests
|
|
%{_bindir}/eclipse-runTestBundles
|
|
%{_datadir}/eclipse-testing
|
|
|
|
%files equinox-osgi -f .mfiles-equinox-osgi
|
|
%{_eclipsedir}/plugins/org.eclipse.osgi_*
|
|
%{_eclipsedir}/plugins/org.eclipse.osgi.compatibility.state_*
|
|
%{_eclipsedir}/plugins/org.eclipse.osgi.services_*
|
|
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
|
|
|
%changelog
|
|
* Tue May 02 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.7
|
|
- Rebuild for s390x
|
|
|
|
* Fri Apr 28 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.6
|
|
- Non-bootstrap build
|
|
|
|
* Tue Apr 25 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.5
|
|
- Update to latest I-build
|
|
- Update generated ant bundle to 1.10.1
|
|
- Fix missing launcher bundle on s390, rhbz#1445162
|
|
- Add missing BR on libsecret
|
|
|
|
* Fri Apr 21 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.4
|
|
- Fix secondary arch build
|
|
|
|
* Thu Apr 20 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.3
|
|
- Simplify test installation and move machinery out of javadir now
|
|
that java stuff is installed in its own place
|
|
- Enable bootstrap mode
|
|
|
|
* Wed Apr 19 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.2
|
|
- Update to latest I-build
|
|
|
|
* Tue Apr 04 2017 Mat Booth <mat.booth@redhat.com> - 1:4.7.0-0.1
|
|
- Update to Oxygen I-build
|
|
- Don't build unsupported GTK2 backend for SWT
|
|
- Move installation to a multilib agnostic location /usr/lib
|
|
|
|
* Mon Apr 03 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.3-3
|
|
- Build missing remote ant support jar
|
|
|
|
* Fri Mar 03 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.3-2
|
|
- Re-enable test-framework for platform tests
|
|
- Drop long-time broken efj script
|
|
|
|
* Fri Feb 24 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.3-1
|
|
- Update to Neon.3
|
|
- Upstreamed some changes from RHSCL
|
|
|
|
* Wed Feb 08 2017 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.2-7
|
|
- Hide the p2 Droplets from the Available Software Sites listing.
|
|
- Guard against null URI path in droplet check for Install Wizard Combo.
|
|
- Resolves: rhbz#1413778, rhbz#1420225
|
|
|
|
* Wed Jan 25 2017 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.2-6
|
|
- Fix bug in p2 Droplet detection of feature groups.
|
|
|
|
* Tue Jan 24 2017 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.2-5
|
|
- Hide the p2 Droplets from cluttering Install Wizard Combo.
|
|
- Resolves: rhbz#1413778
|
|
|
|
* Mon Jan 16 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.2-4
|
|
- Fix last javax.annotation reference
|
|
|
|
* Wed Jan 11 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.2-3
|
|
- Drop dep on javax.annotation APIs, these should instead be provided by the JRE
|
|
through the system bundle - rhbx#1392150
|
|
|
|
* Tue Jan 10 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.2-2
|
|
- Non-bootstrap build
|
|
|
|
* Fri Jan 06 2017 Mat Booth <mat.booth@redhat.com> - 1:4.6.2-1
|
|
- Update to Neon.2
|
|
- Bootstrap build due to ant update
|
|
- Port to new ant version
|
|
- Rebuild for ECF update
|
|
- Pull in usage plugin by default
|
|
|
|
* Mon Dec 05 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-7
|
|
- Rebuild for new xz-java
|
|
|
|
* Wed Nov 09 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-6
|
|
- Increase minimum memory for Eclipse/devstudio
|
|
- Enable nashorn extension for javascript tools/devstudio
|
|
- Resolves: rhbz#1380438
|
|
|
|
* Thu Oct 13 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-5
|
|
- Fix build with new Glassfish EL packages
|
|
- Patch to prefer x11 until wayland support improves
|
|
|
|
* Thu Sep 29 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.6.1-4
|
|
- Bump for rebuild.
|
|
|
|
* Thu Sep 15 2016 Dennis Gilmore <dennis@ausil.us> - 1:4.6.1-3
|
|
- set the bootstap macro to 0
|
|
|
|
* Thu Sep 15 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-2
|
|
- Perform non-bootstrap build
|
|
- Rebuild for new eclipse-ecf
|
|
|
|
* Wed Sep 14 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-1
|
|
- Update to Neon.1 release.
|
|
- Set qualifiers at source-modification-time instead of build-time, to
|
|
eliminate descrepancies between architectures, rhbz#1374938
|
|
- Set bootstrap flag for new primary architecture.
|
|
|
|
* Fri Sep 2 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.6.0-7
|
|
- Rebuild for latest jsch.
|
|
|
|
* Thu Aug 18 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-6
|
|
- Disable droplets being loaded by the reconciler.
|
|
- Fix possible NPE in droplet p2.runnable property check.
|
|
|
|
* Fri Aug 05 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-5
|
|
- Improve 'p2.runnable' check in ExtensionLocationArtifactRepository.
|
|
|
|
* Wed Aug 03 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-4
|
|
- Add missing droplets logic to the EngineActivator.
|
|
- Restore 'p2.runnable' property for droplets.
|
|
|
|
* Wed Jul 13 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-3
|
|
- Update eclipse-pde-tp-support-droplets.patch to handle source bundles.
|
|
- Change PopupDialog from SWT.COLOR_INFO* to SWT.COLOR_LIST*.
|
|
|
|
* Thu Jun 16 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.6.0-2
|
|
- BR rhino and it's buildtime deps to unbreak build.
|
|
|
|
* Tue Jun 14 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-1
|
|
- Update to Neon release
|
|
|
|
* Tue May 10 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.6.git201605092000
|
|
- Update to latest I-build (M7)
|
|
|
|
* Fri Apr 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.5.git201604261105
|
|
- Use webkit 2 by default, webkit 1 can still be used by setting SWT_WEBKIT2=0
|
|
in the environment, rhbz#1303912
|
|
- Ignore SWT.MOZILLA style when creating a browser widget and always use webkit
|
|
because we cannot ship xulrunner support, rhbz#1210898
|
|
- Drop unneeded requires from tests package
|
|
- Add missing R on eclipse-filesystem to low-level sub-packages
|
|
|
|
* Tue Apr 26 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.4.git201604261105
|
|
- Drop support for PDE building plug-ins in RPMs
|
|
- Update to latest Neon I-build
|
|
- Drop unnecessary SCL macros
|
|
|
|
* Fri Apr 22 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.3.git201604190800
|
|
- Perform non-bootstrap build
|
|
|
|
* Fri Apr 22 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.2.git201604190800
|
|
- PDE package cannot be noarch due to containing arch-specific source bundles
|
|
|
|
* Tue Apr 19 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.1.git201604190800
|
|
- Update to Neon I-build (bootstrap build)
|
|
- Drop upstreamed patches
|
|
- Install all plugins with xmvn
|
|
- JDT and PDE are now able to be noarch packages
|
|
|
|
* Sat Apr 16 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-10
|
|
- Rebuild for new ECF
|
|
|
|
* Thu Apr 07 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.2-9
|
|
- Support reading BundleInfo from p2 Droplets enabled installations.
|
|
|
|
* Tue Mar 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-8
|
|
- Backport patch for ebz#486069, NPE in SWT when running on Wayland
|
|
- Eliminate more test failures due to missing resources
|
|
|
|
* Fri Mar 25 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-7
|
|
- Update e-b snapshot for updated ant dependency
|
|
|
|
* Thu Mar 24 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-6
|
|
- Fix failure to run tests and backport patch for ebz#489953 in order to fix
|
|
some unit tests
|
|
|
|
* Wed Mar 16 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-5
|
|
- Rebuild for ECF and disable the build of some bundles that are not shipped
|
|
|
|
* Fri Mar 04 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-4
|
|
- Backport patch for ebz#488226 for incorrect content assist colors,
|
|
fixes rhbz#1253651 and rhbz#1196736
|
|
- Fix broken link to mockito in tests
|
|
|
|
* Wed Mar 02 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-3
|
|
- Fix mis-named Java 1.9 profile
|
|
|
|
* Mon Feb 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-2
|
|
- Fix Lucene patch on F22
|
|
|
|
* Mon Feb 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-1
|
|
- Update to Mars.2 release
|
|
- Update eclipse-build snapshot
|
|
|
|
* Mon Feb 29 2016 Michael Simacek <msimacek@redhat.com> - 1:4.5.1-17
|
|
- Rebuild for lucene-5.5.0
|
|
|
|
* Mon Feb 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.1-16
|
|
- Rebuild for httpcomponents-client 4.5.2
|
|
|
|
* Thu Feb 25 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-15
|
|
- Make BRs portable (thanks to Nicolas Lécureuil)
|
|
|
|
* Wed Feb 24 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-14
|
|
- Gracefully handle broken symbolic links on initialization.
|
|
|
|
* Wed Feb 17 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-13
|
|
- Preserve more test data that we cannot generate from source
|
|
- Eliminate unnecessary manual requires from swt package
|
|
|
|
* Wed Feb 17 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-12
|
|
- Make test framework correctly delete symlinks so that test suites may complete
|
|
when e.g. pydev is installed rhbz#1290685
|
|
- Backport patch to fix a webkit crash ebz#487712
|
|
|
|
* Mon Feb 08 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-11
|
|
- Fix java declaration view rhbz#1305107
|
|
|
|
* Wed Feb 03 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-10
|
|
- Fix symlinks for new lucene
|
|
- Use %%global instead of %%define and other macro improvements
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.5.1-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jan 21 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.1-8
|
|
- Rebuild for Lucene 5.4.0.
|
|
|
|
* Mon Jan 04 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-7
|
|
- [GTK3.16+] gtk_widget_override_background_color is deprecated.
|
|
- [GTK3] Eclipse IDE consumes CPU when idle
|
|
- [GTK] Empty repositories view links have white backgrounds
|
|
- Resolves: rhbz#1294697, rhbz#1269892
|
|
- ebz#483096, ebz#484696, ebz#484729
|
|
|
|
* Sat Dec 05 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-6
|
|
- Fix issues with background colour in some dialogs
|
|
- ebz#478962, ebz#479998
|
|
- Rebuild for new eclipse-ecf
|
|
- Preserve jars containing runtime stubs used in tests
|
|
|
|
* Fri Nov 27 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-5
|
|
- Fix some visual glitches when on recent versions of GTK
|
|
- ebz#466314, ebz#481122, ebz#466500
|
|
|
|
* Tue Nov 03 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-4
|
|
- Fix "Workspace chooser won't launch" on Wayland.
|
|
- Resolves: rhbz#1277594
|
|
|
|
* Mon Nov 2 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.1-3
|
|
- Rebuild for new eclipse-ecf
|
|
|
|
* Tue Oct 13 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-2
|
|
- Add patch for editor scrolling problem, rhbz#1198217
|
|
|
|
* Wed Sep 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-1
|
|
- Update to Mars.1
|
|
- Fix JDT javafx and annotation processor tests
|
|
|
|
* Wed Sep 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-19
|
|
- Rebuild for new eclipse-ecf
|
|
|
|
* Wed Sep 9 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-18
|
|
- Rebuild for new eclipse-ecf
|
|
|
|
* Mon Sep 07 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-17
|
|
- Rebuild for httpcomponents-core-4.4.2
|
|
|
|
* Tue Sep 01 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-16
|
|
- Modify copy-platform script to support p2 Droplets.
|
|
|
|
* Thu Aug 27 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-15
|
|
- Add support for p2 Droplets.
|
|
|
|
* Wed Aug 26 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-14
|
|
- Rebuild for new ECF
|
|
|
|
* Thu Aug 20 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-13
|
|
- Add patch for rhbz#1255150
|
|
- Always use UTC timestamps to prevent rpmdiff failures
|
|
- Move eclipse provides away from PDE rhbz#1253898
|
|
|
|
* Tue Aug 11 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-12
|
|
- Rebuild for new ECF
|
|
|
|
* Thu Aug 6 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-11
|
|
- Update to newer e-b snapshot fixing appdata validation.
|
|
|
|
* Thu Jul 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-10
|
|
- Preserve JDT core test data
|
|
|
|
* Wed Jul 22 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-9
|
|
- Fix JDT Feature path for TargetDefinitionPersistenceTests (PDE)
|
|
- SimpleConfiguratorUtils should handle base == null for tests
|
|
- Locate the compressed platform archive for p2 AbstractReconcilerTest
|
|
|
|
* Mon Jul 20 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-8
|
|
- Disable tests for Eclipse 2.x style plug-in support that we don't ship
|
|
|
|
* Fri Jul 17 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-7
|
|
- Less PermSize settings - simply ignored in Java 8.
|
|
|
|
* Thu Jul 16 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-6
|
|
- Eclipse.ini has no place in swt subpackage.
|
|
|
|
* Wed Jul 15 2015 Sopot Cela <scela@redhat.com> 1:4.5.0-5
|
|
- Replaced javax.annotation provider from geronimo to glassfish
|
|
|
|
* Tue Jul 7 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-4
|
|
- Add Maven metadata for SWT
|
|
|
|
* Thu Jul 02 2015 Sopot Cela <scela@redhat.com> 1:4.5.0-3
|
|
- Patch dark theme patch to work on rawhide
|
|
|
|
* Wed Jul 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-2
|
|
- Organise BR/Rs and drop ancient provides/obsoletes on rcp package
|
|
|
|
* Fri Jun 26 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-1
|
|
- Update to tagged 4.5 release.
|
|
- Switch to new e-b snapshot that properly symlinks all new deps.
|
|
|
|
* Thu Jun 25 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.33.git201506012000
|
|
- Rebuild to include all deps of Lucene.
|
|
|
|
* Wed Jun 24 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.32.git201506012000
|
|
- Non-boostrap build.
|
|
|
|
* Tue Jun 23 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.31.git201506012000
|
|
- Rebuild against Lucene 5.x in bootstrap mode.
|
|
|
|
* Fri Jun 19 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-0.30.git201506012000
|
|
- Fix Eclipse test framework.
|
|
|
|
* Fri Jun 19 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.29.git201506012000
|
|
- Rebuild after the F23 mass rebuild to get metadata correct.
|
|
|
|
* Mon Jun 15 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.28.git201506012000
|
|
- Non-bootstrap build
|
|
|
|
* Thu Jun 11 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.27.git201506012000
|
|
- Include p2 directives for non-upstream arches
|
|
|
|
* Wed Jun 10 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.26.git201506012000
|
|
- Add patch for stricter feature packaging.
|
|
- Avoid incorrect servlet-api when building on F22
|
|
- Add recommends on e4-importer
|
|
- Bootstrap build to get the ball rolling again.
|
|
|
|
* Thu Jun 04 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-0.25.git201506012000
|
|
- Rebuild after ecf rebuild
|
|
|
|
* Tue Jun 02 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.24.git201506012000
|
|
- Fix pattern matching for x86/x86_64 arches
|
|
|
|
* Tue Jun 02 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.23.git201506012000
|
|
- Update to latest I-build
|
|
- Don't build contributor tools with external deps during bootstrap builds
|
|
- Build only for the current architecture
|
|
- Rebuild for EMF update
|
|
|
|
* Sun May 31 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.22.git201505272010
|
|
- Rebuild after emf change.
|
|
|
|
* Fri May 29 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.21.git201505272010
|
|
- Fix building without tomcat-servlet again.
|
|
|
|
* Fri May 29 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.20.git201505272010
|
|
- BR gcc not gcc-c++ as there is no cpp sources built.
|
|
|
|
* Thu May 28 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.19.git201505272010
|
|
- Update to latest I-build
|
|
- Require latest egit for the releng tools.
|
|
|
|
* Tue May 19 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.18.git201505172000
|
|
- Update to latest I-build.
|
|
- Drop unneeded env variable export.
|
|
|
|
* Wed May 13 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.17.git201505122100
|
|
- Rebuild for ECF 3.10.0
|
|
- Update to latest I-build
|
|
|
|
* Tue May 05 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.16.git201505042000
|
|
- Update to latest I-build to fix bundle dep cycle in PDE builds
|
|
- Add test framework to contributor tools subpackage
|
|
- Update eclipse-build snapshot to symlink and require xz-java
|
|
|
|
* Wed Apr 29 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.15.git201504280100
|
|
- Contibutor-tools subpackage should be archful due to native methods
|
|
|
|
* Wed Apr 22 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.14.git201504280100
|
|
- Rebuilt to eliminate optional dependencies of jxpath
|
|
- Update to latest I-build
|
|
|
|
* Wed Apr 08 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.13.git201504081100
|
|
- Update to latest I-build
|
|
- Update eclipse-build snapshot
|
|
- Simplify installation of PDE build scripts
|
|
- Drop upstreamed hamcrest patch
|
|
|
|
* Wed Apr 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.12.git201503310800
|
|
- Organise patches
|
|
|
|
* Wed Apr 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.11.git201503310800
|
|
- Begin using mvn_install for installing dropins
|
|
- This allows us to make sub-packages noarch
|
|
|
|
* Tue Mar 31 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.10.git201503310800
|
|
- Update for latest I-build
|
|
- New sub-package for contributor-tools
|
|
- Unbundle osgi.annotations compile time dep
|
|
- Rebuild for new eclipse-ecf/httpcomponents
|
|
- Revert "Use better AppData screenshots" this is fixed upstream
|
|
- Update eclipse-build snapshot
|
|
|
|
* Tue Mar 31 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-0.9.git201503172000
|
|
- Rebuild for eclipse-ecf update
|
|
|
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 1:4.5.0-0.8.git201503172000
|
|
- Use better AppData screenshots
|
|
|
|
* Wed Mar 25 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-0.7.git201503172000
|
|
- Rebuild for jetty update
|
|
|
|
* Thu Mar 19 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-0.6.git201503172000
|
|
- Rebuild for eclipse-ecf update
|
|
|
|
* Tue Mar 17 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.5.git201503172000
|
|
- Update to latest I-build
|
|
|
|
* Wed Mar 04 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.4.git201503030800
|
|
- Update to latest I-build
|
|
- JDT requires only hamcrest-core
|
|
- Rebuild for SR2 release of EMF
|
|
|
|
* Wed Feb 25 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.3.git201502240800
|
|
- Update to latest I-build
|
|
- Require jetty 9.2.9
|
|
- Fix arm-build
|
|
|
|
* Wed Feb 18 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.2.git201502170800
|
|
- Update to latest I-build
|
|
- Unbundle third party libs from tests subpackage rhbz#1150185
|
|
- Rebuild for new eclipse-ecf/httpcomponents
|
|
|
|
* Fri Jan 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.1.git201502100800
|
|
- Update to latest 4.5.0 I-build
|
|
- Drop upstreamed jetty9/servlet and workspace picker patches
|
|
- Drop upstreamed patches for bug 903537 and bug 444143
|
|
- Update eclipse-build snapshot for ant dependency
|
|
- Ship missing features used by some other projects' target platform
|
|
- Build with mvn_build macro
|
|
- Some spec file clean-up
|