Andrew Overholt 0143965
# TODO:
Andrew Overholt 0143965
# - look at startup script and launcher patches
Andrew Overholt f5370cf
# - get Ganymede update site pre-configured (https://bugs.eclipse.org/249133)
Andrew Overholt 3b58fa1
# - investigate bi-arch requirements
Andrew Overholt 3bc4ced
# - see why about.html isn't being copied on ppc
b663c7d
# - fix ant libs
Ben Konrath 84d4ee7
Epoch:  1
cvsdist 38d0d0c
cvsdist 38d0d0c
%define eclipse_major   3
Andrew Overholt 0143965
%define eclipse_minor   4
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
2adf754
%define eclipse_micro   2
2adf754
%define swtver          3.4.1.v3452b
Andrew Overholt e2e5468
%define initialize      1
cvsdist 38d0d0c
Andrew Overholt eb1eea2
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt c6ac089
%ifarch %{ix86}
Andrew Overholt c6ac089
%define eclipse_arch    x86
Andrew Overholt c6ac089
%else
Andrew Overholt c6ac089
%define eclipse_arch   %{_arch}
Andrew Overholt c6ac089
%endif
Andrew Overholt c6ac089
Andrew Overholt f5370cf
# FIXME:  update java packaging guidelines for this.  See
Andrew Overholt f5370cf
# fedora-devel-java-list discussion in September 2008.
Andrew Overholt bdf2871
#
Andrew Overholt f5370cf
# Prevent brp-java-repack-jars from being run.
Andrew Overholt f5370cf
%define __jar_repack 0
Andrew Overholt f5370cf
Andrew Overholt 18ed7dc
Summary:        An open, extensible IDE
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 2ea3ea7
Version:        %{eclipse_majmin}.%{eclipse_micro}
Andrew Overholt 2893eea
Release:        10%{?dist}
104ab55
License:        EPL
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
2adf754
Source0:        http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-sourceBuild-srcIncluded-3.4.2.zip
cvsdist 38d0d0c
Source2:        %{name}.desktop
Andrew Overholt 0143965
#Source3:        eclipse.in
Andrew Overholt 40637f0
# cvs -d :pserver:anonymous@sources.redhat.com:/cvs/eclipse export \
2adf754
#   -r fedoraeclipse-3_4_2 branding/org.fedoraproject.ide.platform
Andrew Overholt 40637f0
# cd branding
2adf754
# zip -r org.fedoraproject.ide.platform-3.4.2.zip \
Andrew Overholt 40637f0
#   org.fedoraproject.ide.platform
Andrew Overholt ffef388
Source4:        org.fedoraproject.ide.platform-%{version}.zip
Andrew Overholt b80b7f9
# cvs -d :pserver:anonymous@sources.redhat.com:/cvs/eclipse export \
Andrew Overholt b80b7f9
#   -r fedoraeclipsefeature-1_0_0 branding/org.fedoraproject.ide-feature
Andrew Overholt b80b7f9
# cd branding
Andrew Overholt b80b7f9
# zip -r org.fedoraproject.ide.feature-1.0.0.zip \
Andrew Overholt b80b7f9
#   org.fedoraproject.ide-feature
Andrew Overholt b80b7f9
Source5:        org.fedoraproject.ide.feature-1.0.0.zip
Ben Konrath 3ab757b
Source16:       %{name}-copy-platform.sh
Ben Konrath 2f9a66d
Source17:       efj.sh.in
Andrew Overholt eb1eea2
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt eb1eea2
# when using the FileInitializer
Andrew Overholt c18750b
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 51e09a3
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
Andrew Overholt bdf2871
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/
Andrew Overholt 51e09a3
# (generated 2006-11-01 18:48 UTC)
Andrew Overholt 51e09a3
Source20:       %{name}-fileinitializerapp.tar.bz2
Andrew Overholt 5799696
# Script to wrap PDE Build calls for bundle builds
Andrew Overholt 5799696
Source21:       %{name}-pdebuild.sh
Andrew Overholt 0143965
# config.ini to run the director for provisioning the installation
Andrew Overholt 0143965
Source22:       %{name}-config.ini.director
Andrew Overholt 0143965
Source24:       fetch-ecf.sh
Andrew Overholt 0143965
# This was fetched using the above script.
Andrew Overholt 0143965
# We will eventually have an eclipse-ecf package but since the ECF
Andrew Overholt 0143965
# filetransfer bits that are part of the SDK actually require the SDK >=
Andrew Overholt 0143965
# 3.4 to build, I'm going to build them here and have them be owned by
Andrew Overholt 0143965
# the SDK packages for now. -- overholt, 2008-07-07
Andrew Overholt 0143965
Source25:       ecf-filetransfer-v20080611-1715.tar.bz2
Andrew Overholt 0143965
# Create a simple feature for building ECF's filetransfer plugins
Andrew Overholt 0143965
Source26:       ecf-filetransfer-feature.xml
Andrew Overholt 0143965
Source27:       ecf-filetransfer-build.properties
Andrew Overholt 402eb27
# This script copies the platform sub-set of the SDK for generating metadata
Andrew Overholt 402eb27
Source28:       %{name}-mv-Platform.sh
Andrew Overholt 465153c
# Test feature and plugins
Andrew Overholt 465153c
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
Andrew Overholt 465153c
# mkdir %{name}-%{version}-testframework; cd %{name}-%{version}-testframework
Andrew Overholt 465153c
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse export -r R3_4 \
Andrew Overholt 465153c
#   org.eclipse.test \
Andrew Overholt 465153c
#   org.eclipse.test.performance \
Andrew Overholt 465153c
#   org.eclipse.test-feature \
Andrew Overholt 465153c
#   org.eclipse.ant.optional.junit
Andrew Overholt 465153c
# tar cjf %{name}-%{version}-testframework.tar.bz2 \
Andrew Overholt 465153c
#   %{name}-%{version}-testframework
b663c7d
# (generated 2008-10-03)
Andrew Overholt 465153c
Source30:       %{name}-%{version}-testframework.tar.bz2
Ben Konrath 6d33386
Andrew Overholt 8e97dec
# Build swttools.jar before generation on 64-bit platforms.
Andrew Overholt 8e97dec
# Build SWT native libraries
Andrew Overholt 066aed0
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Andrew Overholt 8e97dec
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=221908
Andrew Overholt 8e97dec
# https://bugs.eclipse.org/bugs/attachment.cgi?id=105593
Andrew Overholt 8e97dec
Patch4:         %{name}-buildswtnatives.patch
Andrew Overholt 8e97dec
Patch32:        %{name}-compilelibs.patch
Andrew Overholt 8e97dec
Andrew Overholt eb1eea2
# This does two things:
Andrew Overholt eb1eea2
# 1. allows the launcher to be in /usr/bin and
Andrew Overholt eb1eea2
# 2. ensures that the OSGi configuration directory
Andrew Overholt eb1eea2
#    (which contains the JNI .sos) is in %{_libdir}
Andrew Overholt eb1eea2
# We should investigate whether or not this can go upstream
Andrew Overholt 0143965
#Patch12:        %{name}-launcher-set-install-dir-and-shared-config.patch
Ben Konrath 02a0b82
# generic releng plugins that can be used to build plugins
Andrew Overholt bdf2871
# see this thread for details:
Ben Konrath 02a0b82
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Ben Konrath 84d4ee7
Patch15:        %{name}-pde.build-add-package-build.patch
Andrew Overholt d7477b6
Patch24:        %{name}-add-ppc64-sparc64-s390-s390x.patch
Andrew Overholt d7477b6
Patch28:        %{name}-add-ppc64-sparc64-s390-s390x-2.patch
Andrew Overholt d7477b6
Patch30:        %{name}-addfragmentsforotherplatforms.patch
Andrew Overholt 1fcf3f0
Patch38:        %{name}-addrootfiles.patch
Ben Konrath 3c5aeb6
#FIXME: file a bug upstream
Ben Konrath 3c5aeb6
Patch26:        %{name}-launcher-fix-java-home.patch
Andrew Overholt 0143965
# Default max heap size too low for lots of people.  Bump to 512 MB.
Andrew Overholt 104b878
# Max perm size:
Andrew Overholt 78522af
# https://bugzilla.redhat.com/show_bug.cgi?id=352361
Andrew Overholt 104b878
# JVM crash:
Andrew Overholt 104b878
# http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
Andrew Overholt 104b878
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092
Michal Nowak 5d9f68f
# https://bugzilla.redhat.com/show_bug.cgi?id=461860 (mnowak)
Andrew Overholt 104b878
Patch29:        %{name}-memorypermsizeandjvmcrash.patch
Andrew Overholt eb1eea2
Andrew Overholt d7477b6
Patch31:	%{name}-ia64-packaging.patch
Andrew Overholt 0143965
Andrew Overholt 0143965
# Make ECF bundles have the same qualifier as they do upstream
Andrew Overholt 0143965
Patch35:	%{name}-ecf-qualifier.patch
Andrew Overholt 0143965
Andrew Overholt 0143965
# Don't pack the icu4j source bundle.  Can go away when we re-build
Andrew Overholt 0143965
# icu4j against a 3.4 SDK.
Andrew Overholt 0143965
Patch36:	%{name}-dontpackicu4jsource.patch
Andrew Overholt 0143965
Andrew Overholt 0143965
# Our dependent JARs have different signatures than the ones included
Andrew Overholt 0143965
# upstream so remove the signatures in the manifests
Andrew Overholt 0143965
Patch37:	%{name}-nojarsignatures.patch
Andrew Overholt b381f93
Andrew Overholt 24f2f2a
## Back-port patches from 3.4.x stream.  These will be in 3.4.1.
Andrew Overholt 24f2f2a
## https://bugs.eclipse.org/bugs/show_bug.cgi?id=242632
Andrew Overholt 24f2f2a
#Patch39:        %{name}-profilesync-e.o242632.patch
Andrew Overholt 24f2f2a
#Patch40:        %{name}-profilesync-e.o242632-2.patch
Andrew Overholt 24f2f2a
Andrew Overholt 465153c
# Remove win32 fragment from test feature
Andrew Overholt 465153c
Patch41:        %{name}-nowin32testfragment.patch
Andrew Overholt 465153c
Andrew Overholt 465153c
# Some fixes for library.xml
Andrew Overholt 465153c
# FIXME:  submit upstream
Andrew Overholt 465153c
Patch42:        %{name}-tests-libraryXml.patch
Andrew Overholt 465153c
b663c7d
Patch43:		%{name}-osgi-classpath.patch
1065497
Patch44:		%{name}-fix-javahome64.patch
b663c7d
Andrew Overholt ba91294
# Since we're building against XULRunner, build using XR flags
Andrew Overholt ba91294
# https://bugs.eclipse.org/226356
Andrew Overholt 3b5177a
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131059
Andrew Overholt 3b5177a
# At present, libxul.pc contains -lxpcomglue_s.  Chris Aillon and myself think
Andrew Overholt 3b5177a
# it should perhaps be -lxpcomglue.  This patch uses that instead but will
Andrew Overholt 3b5177a
# be replaced with the former when libxul.pc is fixed.
Andrew Overholt 3b5177a
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131060
Andrew Overholt ba91294
Patch45:        %{name}-swt-buildagainstxulrunner.patch
Andrew Overholt 5126008
# Work with changed interface in XULRunner 1.9.1
Andrew Overholt 5126008
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=268651
Andrew Overholt 5126008
# https://bugs.eclipse.org/bugs/attachment.cgi?id=130611
Andrew Overholt 5126008
Patch46:        %{name}-swt-xulrunner191.patch
Andrew Overholt ba91294
Andrew Overholt eb1eea2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt 7c41ca3
BuildRequires:  gnome-vfs2-devel
Andrew Overholt 7c41ca3
BuildRequires:  gtk2-devel
Andrew Overholt 7c41ca3
BuildRequires:  glib2-devel
Andrew Overholt 376a964
BuildRequires:  libgnome-devel
Andrew Overholt 376a964
BuildRequires:  libgnomeui-devel
Andrew Overholt b735554
BuildRequires:  gcc-c++
30161c5
BuildRequires:  gecko-devel >= 1.9
Andrew Overholt 6c22b1e
BuildRequires:  nspr-devel
Andrew Overholt 45bd4ee
BuildRequires:  libXtst-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGL-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 1b72b0d
BuildRequires:  cairo >= 1.0
e416a0a
BuildRequires:  unzip
Andrew Overholt 2aaf4bc
BuildRequires:  icu4j-eclipse >= 3.8.1-3
Andrew Overholt 14b136d
BuildRequires:  tomcat5-jasper-eclipse >= 5.5.26-1.5
Ben Konrath d18a00b
BuildRequires:  desktop-file-utils
Ben Konrath db0c095
BuildRequires:  java-devel >= 1.6.0
Andrew Overholt b193241
BuildRequires:  java-javadoc
Ben Konrath b3a6954
BuildRequires:  libXt-devel
cvsdist 38d0d0c
Andrew Overholt ffef388
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
Andrew Overholt 1cc05a0
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 24f2f2a
BuildRequires: jsch >= 0:0.1.39
Andrew Overholt 170a499
BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
Andrew Overholt 41cf33c
BuildRequires: jakarta-commons-el >= 1.0-9
Andrew Overholt 170a499
BuildRequires: jakarta-commons-logging >= 1.0.4-6jpp.3
Andrew Overholt f335515
BuildRequires: mx4j >= 2.1
Andrew Overholt cb08fe4
BuildRequires: jetty >= 5.1.14-1.6
Andrew Overholt 24f2f2a
BuildRequires: lucene >= 2.3.1-3.4
Andrew Overholt 24f2f2a
BuildRequires: lucene-contrib >= 2.3.1-3.4
Andrew Overholt bdf2871
BuildRequires: regexp
Ben Konrath 41ba94d
BuildRequires: junit >= 3.8.1-3jpp
Ben Konrath ddd7ee4
BuildRequires: junit4
97b1609
BuildRequires: sat4j >= 2.0.3
Andrew Overholt 0143965
BuildRequires: objectweb-asm
cvsdist df631d8
cvsdist df631d8
%description
Andrew Overholt d7477b6
The Eclipse platform is designed for building integrated development
Andrew Overholt d7477b6
environments (IDEs), server-side applications, desktop applications, and
Andrew Overholt d7477b6
everything in between.
cvsdist 38d0d0c
Andrew Overholt 0143965
%package     swt
Andrew Overholt eb1eea2
Summary:        SWT Library for GTK+-2.0
Ben Konrath 6d33386
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 2b7d0eb
# %{_libdir}/java directory owned by jpackage-utils
Andrew Overholt 2b7d0eb
Requires:       jpackage-utils
Andrew Overholt eb1eea2
Requires:       gtk2
30161c5
Requires:       gecko-libs >= 1.9
Ben Konrath 84d4ee7
Conflicts:      mozilla
Andrew Overholt 0143965
Provides:       libswt3-gtk2 = 1:%{version}-%{release}
Andrew Overholt 0143965
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
Andrew Overholt 0143965
# but I want to leave some room in case we need to do an F9 update.
Andrew Overholt 0143965
Obsoletes:       libswt3-gtk2 < 1:3.3.2-20
Ben Konrath 6d33386
Andrew Overholt 0143965
%description swt
Andrew Overholt eb1eea2
SWT Library for GTK+-2.0.
Ben Konrath 6d33386
Ben Konrath 6d33386
%package        rcp
Ben Konrath 6d33386
Summary:        Eclipse Rich Client Platform
Ben Konrath 6d33386
Group:          Development/Languages
Andrew Overholt 0143965
Requires:       %{name}-swt = %{epoch}:%{version}-%{release}
Andrew Overholt 0143965
# FIXME:  investigate.  Can we just add a %{arch} to the above?
Andrew Overholt 0143965
## This file-level requirement is for the bi-arch multilib case
Andrew Overholt 0143965
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
Andrew Overholt 2aaf4bc
Requires:       icu4j-eclipse >= 3.8.1-3
Ben Konrath db0c095
Requires:       java >= 1.6.0
Ben Konrath 6d33386
Ben Konrath 6d33386
%description    rcp
Ben Konrath 6d33386
Eclipse Rich Client Platform
Ben Konrath 6d33386
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt eb1eea2
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt 0143965
# FIXME:  investigate.  Can we just add a %{arch} to the above?
Andrew Overholt 0143965
## This file-level requirement is for the bi-arch multilib case
Andrew Overholt 0143965
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
Andrew Overholt ffef388
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
Andrew Overholt 1cc05a0
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 170a499
Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
Andrew Overholt 41cf33c
Requires: jakarta-commons-el >= 1.0-9
Andrew Overholt 170a499
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
Andrew Overholt f335515
Requires: mx4j >= 2.1
Andrew Overholt 14b136d
Requires: tomcat5-jasper-eclipse >= 5.5.26-1.5
Andrew Overholt cb08fe4
Requires: jetty >= 5.1.14-1.6
Andrew Overholt 24f2f2a
Requires: jsch >= 0.1.39
Andrew Overholt 24f2f2a
Requires: lucene >= 2.3.1-3.4
Andrew Overholt 24f2f2a
Requires: lucene-contrib >= 2.3.1-3.4
Ben Konrath 22a1ac6
Requires: regexp
97b1609
Requires: sat4j >= 2.0.3
Andrew Overholt 0143965
Provides: eclipse-cvs-client = 1:%{version}-%{release}
Andrew Overholt 0143965
Obsoletes: eclipse-cvs-client < 1:3.3.2-20
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Ben Konrath 3d1244e
The Fedora Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt eb1eea2
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        jdt
Andrew Overholt eb1eea2
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath cbe3cfd
Requires:       %{name}-cvs-client = %{epoch}:%{version}-%{release}
d941e6a
Requires:       junit >= 3.8.1-3jpp
Ben Konrath ddd7ee4
Requires:       junit4
Andrew Overholt eb1eea2
Requires:       java-javadoc
Andrew Overholt db88ac0
Requires:       java-devel
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
Andrew Overholt eb1eea2
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt eb1eea2
developing software written in the Java programming language.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        pde
Andrew Overholt eb1eea2
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt e89f824
Provides:	eclipse
Ben Konrath eb3947e
Provides:	eclipse-sdk
Ben Konrath 1d5cef7
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 76e1a94
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Andrew Overholt 0143965
Requires:       objectweb-asm
Andrew Overholt 5799696
# For PDE Build wrapper script
Andrew Overholt 5799696
Requires:       bash
Andrew Overholt 1fcf3f0
Provides:       %{name}-pde-runtime = 1:%{version}-%{release}
Andrew Overholt 1fcf3f0
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
Andrew Overholt 1fcf3f0
# but I want to leave some room in case we need to do an F9 update.
Andrew Overholt 1fcf3f0
Obsoletes:       %{name}-pde-runtime < 1:3.3.2-20
Andrew Overholt 357a573
Andrew Overholt 00fc6fa
%description    pde
Andrew Overholt eb1eea2
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt eb1eea2
developing Eclipse plugins.
Ben Konrath 02a0b82
cvsdist df631d8
%prep
cvsdist 3a48756
%setup -q -c
Andrew Overholt 357a573
Ben Konrath e9c9d5e
sed --in-place "s/java5.home/java.home/" build.xml
b663c7d
sed --in-place "s|JavaSE-1.6=|JavaSE-1.6=%{java_home}|" build.xml
Andrew Overholt 8e97dec
# Build swttools.jar and native libraries
Andrew Overholt eb1eea2
%patch4 -p0
Andrew Overholt 8e97dec
%patch32 -p0
Ben Konrath 2f9a66d
Ben Konrath dd1603a
# liblocalfile fixes
Ben Konrath dd1603a
sed --in-place "s/JAVA_HOME =/#JAVA_HOME =/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath dd1603a
sed --in-place "s/OPT_FLAGS=-O/OPT_FLAGS=-O2 -g/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath dd1603a
Ben Konrath 26ff742
# launcher patches
Ben Konrath 26ff742
rm plugins/org.eclipse.platform/launchersrc.zip
Ben Konrath 26ff742
pushd features/org.eclipse.equinox.executable
Andrew Overholt 0143965
#%patch12 -p0
Ben Konrath 3c5aeb6
%patch26 -p0
Andrew Overholt 0143965
# FIXME:  deal with this
Andrew Overholt 0143965
## put the configuration directory in an arch-specific location
Andrew Overholt 0143965
#sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Andrew Overholt bdf2871
## make the eclipse binary relocatable
Andrew Overholt 0143965
#sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 26ff742
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
Andrew Overholt 0700394
popd
Andrew Overholt eb1eea2
Andrew Overholt 3c6a91d
# Use our system-installed javadocs, reference only what we built, and
Andrew Overholt 3c6a91d
# don't like to osgi.org docs (FIXME:  maybe we should package them?)
Andrew Overholt 3c6a91d
sed -i -e "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 3c6a91d
   -e "/osgi\.org/d" \
Ben Konrath 7f825eb
   plugins/org.eclipse.platform.doc.isv/platformOptions.txt
Andrew Overholt 3c6a91d
sed -i -e "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 3c6a91d
   -e "s/win32.win32.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 3c6a91d
   plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \
Ben Konrath 7f825eb
   plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
Andrew Overholt 3c6a91d
sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 3c6a91d
   -e "s/motif.linux.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 3c6a91d
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
Ben Konrath 7f825eb
   plugins/org.eclipse.pde.doc.user/pdeOptions
Ben Konrath 26ff742
Ben Konrath 02a0b82
pushd plugins/org.eclipse.pde.build
Andrew Overholt eb1eea2
%patch15
Andrew Overholt 0143965
sed --in-place "s:/usr/share/eclipse:%{_libdir}/%{name}:" templates/package-build/build.properties
Ben Konrath 02a0b82
popd
Ben Konrath 02a0b82
Andrew Overholt 0143965
pushd features/org.eclipse.platform
Andrew Overholt 2aaf4bc
# FIXME:  fixed in 3.4.1
Andrew Overholt 0143965
# Move this file around due a bug in the metadata generator/parser that
Andrew Overholt 0143965
# can't work with the compiler exclude
Andrew Overholt 0143965
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=238240
Andrew Overholt 0143965
cp -p gtk/eclipse.ini{,.orig}
Andrew Overholt 0143965
%patch29
Andrew Overholt 0143965
mv gtk/eclipse.ini{,.patched}
Andrew Overholt 0143965
mv gtk/eclipse.ini{.orig,}
Andrew Overholt 0143965
popd
Andrew Overholt 0143965
Andrew Overholt 0143965
%patch36
Andrew Overholt 0143965
%patch37
Andrew Overholt 0143965
Andrew Overholt 24f2f2a
#pushd plugins/org.eclipse.equinox.p2.reconciler.dropins
Andrew Overholt 24f2f2a
#%patch39
Andrew Overholt 24f2f2a
#popd
Andrew Overholt 24f2f2a
#
Andrew Overholt 24f2f2a
#pushd plugins/org.eclipse.equinox.p2.touchpoint.eclipse
Andrew Overholt 24f2f2a
#%patch40
Andrew Overholt 24f2f2a
#popd
Andrew Overholt 24f2f2a
Andrew Overholt 3b5177a
pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"
Andrew Overholt 3b5177a
%patch45 -p3
Andrew Overholt 3b5177a
popd
Andrew Overholt 5126008
pushd plugins/org.eclipse.swt
Andrew Overholt 5126008
%patch46
Andrew Overholt 5126008
popd
Andrew Overholt ba91294
Andrew Overholt 0143965
# Remove signatures for JARs
Andrew Overholt 0143965
find -iname \*.sf | xargs rm
Andrew Overholt 0143965
find -iname \*.rsa | xargs rm
Andrew Overholt 0143965
Ben Konrath 2f9a66d
# all output should be directed to stdout
Andrew Overholt eb1eea2
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
Ben Konrath 2f9a66d
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2f9a66d
Ben Konrath ddd7ee4
# Remove existing .sos and binary launcher
Ben Konrath 02a0b82
find -name \*.so | xargs rm
Ben Konrath ddd7ee4
find features/org.eclipse.equinox.executable -type f -name eclipse | xargs rm
Andrew Overholt 357a573
Andrew Overholt 0739fc7
# FIXME:  do this as part of Linux distros project
Andrew Overholt 0143965
#
Andrew Overholt 0739fc7
# the swt version is set to HEAD on s390x but shouldn't be
Andrew Overholt d7477b6
# get swt version
Andrew Overholt d7477b6
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt d7477b6
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt d7477b6
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Andrew Overholt d7477b6
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Andrew Overholt 0739fc7
swt_frag_ver_s390x=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Andrew Overholt 0739fc7
sed --in-place "s/$swt_frag_ver_s390x/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
Andrew Overholt 0739fc7
                                                      plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF \
Andrew Overholt 0739fc7
                                                      plugins/org.eclipse.swt.gtk.linux.s390x.source/META-INF/MANIFEST.MF \
Andrew Overholt 0739fc7
                                                      plugins/org.eclipse.swt.gtk.linux.s390x.source/build.xml \
Andrew Overholt 0739fc7
                                                      assemble.org.eclipse.sdk.linux.gtk.s390x.xml \
Andrew Overholt d7477b6
						      features/org.eclipse.rcp/build.xml
Andrew Overholt d7477b6
Andrew Overholt d7477b6
# Nasty hack to get suppport for ppc64, sparc{,64} and alpha
Andrew Overholt d7477b6
%patch24 -p1
Andrew Overholt d7477b6
%patch28
Andrew Overholt d7477b6
%patch30
Andrew Overholt d7477b6
%patch31 -p1
Andrew Overholt 1fcf3f0
%patch38
Andrew Overholt d7477b6
Andrew Overholt d7477b6
# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
Andrew Overholt d7477b6
sed -i "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" \
Andrew Overholt d7477b6
  features/org.eclipse.equinox.executable/target.build.xml
Andrew Overholt 0739fc7
Andrew Overholt bdf2871
# Copy all of the s390x directories and files to ppc64 or sparc{,64} or alpha dirs and replace
Andrew Overholt 0739fc7
# the s390x strings with ppc64, etc.
Andrew Overholt 8e97dec
%ifnarch %{ix86} x86_64
Andrew Overholt 3c6a91d
  cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
Andrew Overholt 8e97dec
%endif
ad50b31
%ifarch ppc64 sparc64 alpha
Andrew Overholt 0739fc7
  for f in $(find -name \*s390x\*); do
Andrew Overholt 0739fc7
    tofile=$(echo $f | sed "s/s390x/%{_arch}/")
Andrew Overholt 1796366
    cp -rp $f $tofile
Andrew Overholt 1796366
    for g in $(find $tofile -type f); do
Andrew Overholt 1796366
	sed -i "s/s390x/%{_arch}/g" $g
Andrew Overholt 0739fc7
    done
Andrew Overholt d7477b6
  done
Andrew Overholt d7477b6
  OLDIFS=$IFS
Andrew Overholt d7477b6
IFS='
Andrew Overholt d7477b6
'
Andrew Overholt d7477b6
  for f in $(find -type f ! -name \*.java -a ! -name feature.xml -a ! -name \*.gif \
Andrew Overholt d7477b6
  -a ! -name \*.png -a ! -name \*.htm* -a ! -name \*.jar -a ! -name \
Andrew Overholt 0739fc7
  \*.exe -a ! -name \*.pm -a ! -name \*.jpg -a ! -name \*win32\* | grep -v win32); do
Andrew Overholt 0739fc7
   sed -i -e "s/s390x/%{_arch}/g" $f
Andrew Overholt d7477b6
  done
Andrew Overholt d7477b6
  IFS=$OLDIFS
Andrew Overholt d7477b6
%endif
ad50b31
#base 32 bit sparc on ppc
ad50b31
%ifarch sparc sparcv9
ad50b31
  for f in $(find -name \*ppc\*); do
ad50b31
    tofile=$(echo $f | sed "s/ppc/%{_arch}/")
ad50b31
    cp -rp $f $tofile
ad50b31
    for g in $(find $tofile -type f); do
ad50b31
        sed -i "s/ppc/%{_arch}/g" $g
ad50b31
    done
ad50b31
  done
ad50b31
  OLDIFS=$IFS
ad50b31
IFS='
ad50b31
'
ad50b31
  for f in $(find -type f ! -name \*.java -a ! -name feature.xml -a ! -name \*.gif \
ad50b31
  -a ! -name \*.png -a ! -name \*.htm* -a ! -name \*.jar -a ! -name \
ad50b31
  \*.exe -a ! -name \*.pm -a ! -name \*.jpg -a ! -name \*win32\* | grep -v win32); do
ad50b31
   sed -i -e "s/ppc/%{_arch}/g" $f
ad50b31
  done
ad50b31
  IFS=$OLDIFS
ad50b31
%endif
Andrew Overholt d7477b6
Andrew Overholt d7477b6
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
Andrew Overholt d7477b6
IFS='
Andrew Overholt d7477b6
'
Andrew Overholt d4ba4a6
  # Fragments for these arches
Andrew Overholt d4ba4a6
  rm -rf plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
Andrew Overholt d4ba4a6
  mv plugins/org.eclipse.equinox.launcher.gtk.linux.{ppc,%{_arch}}
Andrew Overholt d7477b6
  pushd plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
Andrew Overholt d7477b6
    for f in $(find -type f); do
Andrew Overholt d7477b6
      sed -i -e "s/ppc/%{_arch}/g" $f
Andrew Overholt d4ba4a6
      tofile=$(echo $f | sed "s/ppc/%{_arch}/")
Andrew Overholt d4ba4a6
      if [ $tofile != $f ]; then
Andrew Overholt d4ba4a6
        cp -rp $f $tofile
Andrew Overholt d4ba4a6
      fi
Andrew Overholt d7477b6
    done
Andrew Overholt d7477b6
  popd
Andrew Overholt d4ba4a6
  rm -rf plugins/org.eclipse.core.filesystem.linux.%{_arch}
Andrew Overholt d4ba4a6
  mv plugins/org.eclipse.core.filesystem.linux.{ppc,%{_arch}}
Andrew Overholt d7477b6
  pushd plugins/org.eclipse.core.filesystem.linux.%{_arch}
Andrew Overholt d7477b6
    for f in $(find -type f); do
Andrew Overholt d7477b6
      sed -i -e "s/ppc/%{_arch}/g" $f
Andrew Overholt d4ba4a6
      tofile=$(echo $f | sed "s/ppc/%{_arch}/")
Andrew Overholt d4ba4a6
      if [ $tofile != $f ]; then
Andrew Overholt d4ba4a6
        cp -rp $f $tofile
Andrew Overholt d4ba4a6
      fi
Andrew Overholt d7477b6
    done
Andrew Overholt d7477b6
  popd
Andrew Overholt d7477b6
  IFS=$OLDIFS
Andrew Overholt 0143965
Andrew Overholt bdf2871
%endif
Andrew Overholt 69fbd5c
Andrew Overholt 69fbd5c
# Don't build for non-linux,gtk,%%{_arch} targets
Andrew Overholt 69fbd5c
pushd features
Andrew Overholt 69fbd5c
for f in */build.xml; do
Andrew Overholt 3c6a91d
    for platform in win32 macosx carbon hpux solaris aix qnx motif; do
Andrew Overholt 69fbd5c
      sed -i "/<ant antfile=\"build.xml\" dir=.*$platform.*target=\"/,/<\/ant>/ d" $f
Andrew Overholt 3c6a91d
      sed -i "/idReplacer/ s/org.eclipse\.\([a-z0-9A-Z_]\+\.\)\+$platform\(\.[a-z0-9A-Z_]\+\)*:0.0.0,[0-9\.Ivf\-]\+,//g" $f
Andrew Overholt 69fbd5c
    done
Andrew Overholt 69fbd5c
done
Andrew Overholt 69fbd5c
popd
Andrew Overholt 69fbd5c
Andrew Overholt 69fbd5c
arches=$(grep "antfile=\"build.xml\" dir=\".*gtk\.linux\.*" \
Andrew Overholt 69fbd5c
  features/org.eclipse.rcp/build.xml | awk '{ print $3 }' | awk -F . \
Andrew Overholt 69fbd5c
  '{ print $NF }' | sort -u | tr -d '"' | tr "\n" " ")
Andrew Overholt 69fbd5c
Andrew Overholt 3c6a91d
arches=$(echo $arches | sed s/%{eclipse_arch}//)
Andrew Overholt 69fbd5c
Andrew Overholt 69fbd5c
# Don't build for arches other than the one on which we're building
Andrew Overholt 69fbd5c
pushd features
Andrew Overholt 69fbd5c
for f in */build.xml; do
Andrew Overholt 69fbd5c
    for arch in $arches; do
Andrew Overholt 3c6a91d
      sed -i "/<ant antfile=\"build.xml\" dir=.*$arch\" target=\"/,/<\/ant>/ d" $f
Andrew Overholt 3c6a91d
      sed -i "/idReplacer/ s/org.eclipse\.\([a-z0-9A-Z_]\+\.\)\+$arch:0.0.0,[0-9I\.vf\-]\+,//g" $f
Andrew Overholt 69fbd5c
    done
Andrew Overholt 69fbd5c
done
Andrew Overholt 69fbd5c
popd
Andrew Overholt 0739fc7
Andrew Overholt 357a573
# Symlinks
Andrew Overholt 0143965
rm plugins/org.sat4j*
2adf754
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.0.3.v20081021.jar
2adf754
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.0.3.v20081021.jar
Andrew Overholt 0143965
Andrew Overholt 0143965
ASMPLUGINVERSION=$(ls plugins | grep org.objectweb.asm_ | \
Andrew Overholt 0143965
  sed 's/org.objectweb.asm_//')
Andrew Overholt 0143965
rm plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
Andrew Overholt 0143965
  plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 357a573
Andrew Overholt 357a573
## BEGIN ANT ##
Andrew Overholt 0143965
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
Andrew Overholt 0143965
rm $ANTDIR/lib/*
Andrew Overholt 0143965
ANTDIR=$ANTDIR/lib
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
Andrew Overholt ffef388
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
Andrew Overholt ffef388
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt eb1eea2
Andrew Overholt 69bb738
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
Andrew Overholt 69bb738
rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 69bb738
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 69bb738
Ben Konrath 26ff742
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
Ben Konrath 26ff742
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
d941e6a
Ben Konrath ddd7ee4
rm plugins/org.junit4/junit.jar
Ben Konrath ddd7ee4
ln -s %{_javadir}/junit4.jar plugins/org.junit4/junit.jar
Ben Konrath ddd7ee4
Ben Konrath 26ff742
# link to the jsch jar
Andrew Overholt 0143965
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | \
Andrew Overholt 0143965
  sed 's/com.jcraft.jsch_//')
Andrew Overholt 0143965
rm plugins/com.jcraft.jsch_*.jar
Andrew Overholt 0143965
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
Ben Konrath 1621a2a
Ben Konrath 26ff742
# link to the icu4j stuff
Andrew Overholt 0143965
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
Andrew Overholt 0143965
rm plugins/com.ibm.icu_*.jar
Andrew Overholt 2aaf4bc
ln -s %{_libdir}/eclipse/plugins/com.ibm.icu_*.jar plugins/com.ibm.icu_$ICUVERSION
Ben Konrath ccb00c7
Ben Konrath a940d69
# link to lucene
Andrew Overholt 0143965
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
Andrew Overholt 0143965
  sed 's/org.apache.lucene_//')
Andrew Overholt 0143965
rm plugins/org.apache.lucene_*
Andrew Overholt 0143965
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
Andrew Overholt 0143965
rm plugins/org.apache.lucene.analysis_*
Andrew Overholt 0143965
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
Andrew Overholt 0143965
  plugins/org.apache.lucene.analysis_$LUCENEVERSION
Ben Konrath 182b6dd
Ben Konrath 182b6dd
# link to commons-logging
Andrew Overholt 0143965
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
Andrew Overholt 0143965
  sed 's/org.apache.commons.logging_//')
Andrew Overholt 0143965
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/commons-logging.jar \
Andrew Overholt 0143965
  plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Ben Konrath a940d69
Ben Konrath 46992bc
# link to commons-el
Andrew Overholt 0143965
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
Andrew Overholt 0143965
  sed 's/org.apache.commons.el_//')
Andrew Overholt 0143965
rm plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/commons-el.jar \
Andrew Overholt 0143965
  plugins/org.apache.commons.el_$COMMONSELVERSION
Ben Konrath 46992bc
Ben Konrath bae8ad8
# link to jasper
Andrew Overholt 0143965
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
Andrew Overholt 0143965
  sed 's/org.apache.jasper_//')
Andrew Overholt 0143965
rm plugins/org.apache.jasper_*.jar
Andrew Overholt 0143965
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
Andrew Overholt 0143965
   plugins/org.apache.jasper_$JASPERVERSION
Ben Konrath bae8ad8
Andrew Overholt 170a499
# link to servlet-api
Andrew Overholt 0143965
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
Andrew Overholt 0143965
  sed 's/javax.servlet_//')
Andrew Overholt 0143965
rm plugins/javax.servlet_*
Andrew Overholt 0143965
ln -s %{_javadir}/tomcat5-servlet-2.4-api.jar \
Andrew Overholt 0143965
  plugins/javax.servlet_$SERVLETAPIVERSION
Ben Konrath bae8ad8
Ben Konrath bae8ad8
# link to jsp-api
Andrew Overholt 0143965
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
Andrew Overholt 0143965
  sed 's/javax.servlet.jsp_//')
Andrew Overholt 0143965
rm plugins/javax.servlet.jsp_*
Andrew Overholt 0143965
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
Andrew Overholt 0143965
  plugins/javax.servlet.jsp_$JSPAPIVERSION
Ben Konrath bae8ad8
Ben Konrath ccb00c7
# delete included jars
Ben Konrath 38b635f
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
Ben Konrath ccb00c7
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
Ben Konrath ccb00c7
   plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath ccb00c7
   plugins/org.eclipse.swt.tools/swttools.jar \
Ben Konrath 26ff742
   plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
Ben Konrath 26ff742
   plugins/org.eclipse.osgi/osgi/osgi.core.jar \
Ben Konrath 26ff742
   plugins/org.eclipse.osgi/supplement/osgi/osgi.jar
Ben Konrath ccb00c7
Andrew Overholt 0143965
# FIXME:  figure out a way to symlink to something.  Alternatively,
Andrew Overholt 0143965
# patch out of package.org.eclipse.sdk*.xml.
Andrew Overholt 0143965
# Delete unnecessary-for-build source JARs
Andrew Overholt 0143965
#rm plugins/*.source_*.jar
Andrew Overholt 0143965
Ben Konrath 02a0b82
# make sure there are no jars left
Ben Konrath 6ebb2cd
JARS=""
Ben Konrath 6ebb2cd
for j in $(find -name \*.jar); do
Ben Konrath 6ebb2cd
  if [ ! -L $j ]; then
Andrew Overholt 0143965
    JARS="$JARS `echo $j`"
Ben Konrath 6ebb2cd
  fi
Ben Konrath 6ebb2cd
done
Ben Konrath 6ebb2cd
if [ ! -z "$JARS" ]; then
Andrew Overholt eb1eea2
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2f9a66d
   #FIXME: enable  exit 1
Ben Konrath 6ebb2cd
fi
Ben Konrath 02a0b82
Andrew Overholt 51e09a3
tar jxf %{SOURCE20}
Andrew Overholt 51e09a3
Andrew Overholt 0143965
# ECF filetransfer plugins
Andrew Overholt 0143965
tar jxf %{SOURCE25}
Andrew Overholt 0143965
pushd org.eclipse.ecf
Andrew Overholt 0143965
%patch35
Andrew Overholt 0143965
mkdir -p features/org.eclipse.ecf.filetransfer-feature
Andrew Overholt 0143965
pushd features/org.eclipse.ecf.filetransfer-feature
Andrew Overholt 0143965
cp -p %{SOURCE26} feature.xml
Andrew Overholt 0143965
cp -p %{SOURCE27} build.properties
Andrew Overholt 0143965
popd
Andrew Overholt 465153c
popd
Andrew Overholt 465153c
Andrew Overholt 465153c
# Test framework
Andrew Overholt 465153c
tar jxf %{SOURCE30}
Andrew Overholt 465153c
pushd %{name}-%{version}-testframework
Andrew Overholt 465153c
%patch41
Andrew Overholt ce60880
pushd org.eclipse.test
Andrew Overholt 465153c
%patch42
Andrew Overholt ce60880
popd
Andrew Overholt 465153c
sed -i "s:/usr/lib/eclipse:%{_libdir}/%{name}:" org.eclipse.test/library.xml
Andrew Overholt 465153c
popd
Andrew Overholt 0143965
b663c7d
%patch43
1065497
%patch44
b663c7d
Andrew Overholt 29362a4
%build
Andrew Overholt 29362a4
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 29362a4
Ben Konrath 26ff742
# Bootstrapping:
Andrew Overholt 0143965
# 1. Build ecj with javac
Ben Konrath 26ff742
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 29362a4
Ben Konrath 26ff742
# 2. Use this ecj to rebuild itself
d941e6a
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Ben Konrath 26ff742
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 29362a4
Andrew Overholt 29362a4
# Build the rest of Eclipse
d941e6a
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 02a0b82
export JAVA_HOME=%{java_home}
Andrew Overholt 357a573
ant \
Andrew Overholt 357a573
  -Dnobootstrap=true \
Andrew Overholt c6ac089
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Andrew Overholt 0143965
  -Dlibsconfig=true \
Andrew Overholt 0143965
  -DJavaSE-1.6=%{_jvmdir}/java/jre/lib/rt.jar \
Andrew Overholt 0143965
  -DcompilerArg="-encoding ISO-8859-1 -nowarn"
Andrew Overholt bdf2871
Andrew Overholt 0143965
# Build the FileInitializer application
Ben Konrath 1f4a330
SDK=$(cd eclipse && pwd)
Ben Konrath ad232e6
mkdir -p home
Ben Konrath ad232e6
homedir=$(cd home && pwd)
Ben Konrath ad232e6
LAUNCHERVERSION=$(ls $SDK/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Andrew Overholt 0143965
PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build_ | sed 's/org.eclipse.pde.build_//')
Ben Konrath 1f4a330
pushd equinox-incubator
Ben Konrath ad232e6
mkdir -p build
Ben Konrath 1f4a330
Ben Konrath 1f4a330
# This can go away when package build handles plugins (not just features)
Ben Konrath 1f4a330
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
Ben Konrath 1f4a330
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
Ben Konrath 1f4a330
Ben Konrath 26ff742
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 1621a2a
     -Duser.home=$homedir                              \
Ben Konrath 26ff742
      org.eclipse.core.launcher.Main \
Ben Konrath 1f4a330
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 1f4a330
     -Dtype=plugin                                    \
Ben Konrath 1f4a330
     -Did=org.eclipse.equinox.initializer                   \
Ben Konrath 1f4a330
     -DsourceDirectory=$(pwd)                          \
Ben Konrath 1f4a330
     -DbaseLocation=$SDK \
Ben Konrath 1f4a330
     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Ben Konrath 1f4a330
     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Ben Konrath 1f4a330
Ben Konrath 1f4a330
pushd build/plugins/org.eclipse.equinox.initializer
Ben Konrath 26ff742
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 1621a2a
     -Duser.home=$homedir                              \
Ben Konrath 26ff742
      org.eclipse.core.launcher.Main \
Ben Konrath 6525abd
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 1f4a330
     -f build.xml build.update.jar
Ben Konrath 1f4a330
popd
Ben Konrath 1f4a330
popd
Ben Konrath 2f9a66d
Andrew Overholt 0143965
# Build the ECF filetransfer plugins
Andrew Overholt 0143965
pushd org.eclipse.ecf
Andrew Overholt 0143965
mkdir -p build
Andrew Overholt 0143965
Andrew Overholt 0143965
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 0143965
     -Duser.home=$homedir                              \
Andrew Overholt 0143965
      org.eclipse.core.launcher.Main \
Andrew Overholt 0143965
     -application org.eclipse.ant.core.antRunner       \
Andrew Overholt 0143965
     -Dtype=feature                                    \
Andrew Overholt 0143965
     -Did=org.eclipse.ecf.filetransfer_feature                   \
Andrew Overholt 0143965
     -DsourceDirectory=$(pwd)                          \
Andrew Overholt 0143965
     -DbaseLocation=$SDK \
Andrew Overholt 0143965
     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Andrew Overholt 0143965
     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Andrew Overholt 0143965
Andrew Overholt 0143965
popd
Andrew Overholt 0143965
Andrew Overholt 465153c
# Build the test framework
Andrew Overholt 465153c
pushd %{name}-%{version}-testframework
Andrew Overholt 465153c
mkdir -p build
Andrew Overholt 465153c
Andrew Overholt 465153c
# The qualifier is what is in upstream's release:
Andrew Overholt 465153c
# http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/eclipse-test-framework-3.4.zip
Andrew Overholt 465153c
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 465153c
     -Duser.home=$homedir                              \
Andrew Overholt 465153c
      org.eclipse.core.launcher.Main \
Andrew Overholt 465153c
     -application org.eclipse.ant.core.antRunner       \
Andrew Overholt 465153c
     -Dtype=feature                                    \
Andrew Overholt 465153c
     -Did=org.eclipse.test                   \
Andrew Overholt 465153c
     -DsourceDirectory=$(pwd)                          \
Andrew Overholt 465153c
     -DbaseLocation=$SDK \
Andrew Overholt 465153c
     -DforceContextQualifier=v20080507 \
Andrew Overholt 465153c
     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Andrew Overholt 465153c
     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Andrew Overholt 465153c
Andrew Overholt 465153c
unzip build/rpmBuild/org.eclipse.test.zip
Andrew Overholt 465153c
# These are already in the SDK
Andrew Overholt 465153c
rm eclipse/epl-v10.html eclipse/notice.html
Andrew Overholt e5a9ced
rm -rf eclipse/plugins/org.junit*
Andrew Overholt 465153c
rm build/rpmBuild/org.eclipse.test.zip
Andrew Overholt 465153c
zip -r build/rpmBuild/org.eclipse.test.zip eclipse
Andrew Overholt 465153c
popd
Andrew Overholt 465153c
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
cvsdist df631d8
Andrew Overholt eb1eea2
# Get swt version
Ben Konrath d7c0cf4
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath d7c0cf4
Andrew Overholt eb1eea2
# Some directories we need
Andrew Overholt 402eb27
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 402eb27
install -d -m 755 $sdkDir
Andrew Overholt 402eb27
install -d -m 755 $sdkDir/plugins
Andrew Overholt 402eb27
install -d -m 755 $sdkDir/features
Andrew Overholt 85c506d
# FIXME:  We can probably get rid of the links directory (for the
Andrew Overholt 85c506d
# datadir.link file) when we ensure all plugins are installing into
Andrew Overholt 85c506d
# dropins (either in libdir or datadir).
Andrew Overholt ebc2719
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
Andrew Overholt d2bc60d
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt 85c506d
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/dropins
Andrew Overholt 85c506d
Andrew Overholt 85c506d
# FIXME:  Please don't install stuff to these directories.  They're only
Andrew Overholt 85c506d
# still here for legacy plugins (which probably won't function in 3.4).
Andrew Overholt 85c506d
# We'll remove these later.
Andrew Overholt d2bc60d
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/features
Andrew Overholt d2bc60d
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt eb1eea2
Andrew Overholt eb1eea2
# Explode the resulting SDK tarball
Andrew Overholt 0143965
tar -C $RPM_BUILD_ROOT%{_libdir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
cvsdist df631d8
Andrew Overholt 0143965
# ECF filetransfer plugins we built
Andrew Overholt 402eb27
rm $sdkDir/plugins/org.eclipse.ecf*.jar
Andrew Overholt 0143965
unzip -d $RPM_BUILD_ROOT%{_libdir} \
Andrew Overholt bdf2871
  org.eclipse.ecf/build/rpmBuild/org.eclipse.ecf.filetransfer_feature.zip
Andrew Overholt 0143965
# Remove the feature we used for building
Andrew Overholt 0143965
rm -rf \
Andrew Overholt 402eb27
  $sdkDir/features/org.eclipse.ecf.filetransfer_feature_*
Ben Konrath ad232e6
Andrew Overholt 465153c
# Test framework
Andrew Overholt 465153c
unzip -d $RPM_BUILD_ROOT%{_libdir} \
Andrew Overholt 465153c
  %{name}-%{version}-testframework/build/rpmBuild/org.eclipse.test.zip
Andrew Overholt 465153c
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins/org.eclipse.test{_3.2.0,}
Andrew Overholt 465153c
Andrew Overholt 402eb27
LAUNCHERVERSION=$(ls $sdkDir/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Ben Konrath 26ff742
Ben Konrath 3d1244e
# Install the file initializer app
Andrew Overholt 0143965
cp -p equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
Andrew Overholt 402eb27
  $sdkDir/plugins
Andrew Overholt 51e09a3
Ben Konrath 3d1244e
# Install the Fedora Eclipse product plugin
Andrew Overholt 402eb27
unzip -qq -d $sdkDir/plugins %{SOURCE4}
Andrew Overholt b80b7f9
# Install the Fedora Eclipse product feature
Andrew Overholt 402eb27
unzip -qq -d $sdkDir/features %{SOURCE5}
Andrew Overholt 0143965
Andrew Overholt 402eb27
installDir=$sdkDir-Platform
Andrew Overholt 402eb27
metadataDir=$installDir/metadata-Platform
Andrew Overholt 402eb27
provisionDir=$installDir-provisioned
Andrew Overholt 402eb27
profileId=PlatformProfile
Andrew Overholt ff09126
Andrew Overholt 402eb27
# Copy just the platform
Andrew Overholt 402eb27
mkdir $installDir
Andrew Overholt 402eb27
pushd $installDir
Andrew Overholt 402eb27
sh %{SOURCE28} $sdkDir
Andrew Overholt 1fcf3f0
mv plugins/*.source* $sdkDir/plugins
Andrew Overholt ff09126
popd
Andrew Overholt ff09126
Andrew Overholt 402eb27
# Generate metadata for the platform
Andrew Overholt 0143965
java \
Andrew Overholt 0143965
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 0143965
org.eclipse.core.launcher.Main \
Andrew Overholt 0143965
-application \
Andrew Overholt 0143965
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
Andrew Overholt 0143965
-metadataRepository file:$metadataDir \
Andrew Overholt 0143965
-artifactRepository file:$metadataDir \
Andrew Overholt 0143965
-source $installDir \
Andrew Overholt 402eb27
-root "Fedora Eclipse Platform" \
Andrew Overholt ff09126
-rootVersion %{version} \
Andrew Overholt 0143965
-flavor tooling \
Andrew Overholt 0143965
-publishArtifacts \
Andrew Overholt 0143965
-append \
Andrew Overholt 0143965
-artifactRepositoryName "Fedora Eclipse" \
Andrew Overholt 0143965
-metadataRepositoryName "Fedora Eclipse"
Andrew Overholt 0143965
Andrew Overholt 1fcf3f0
# JDT
Andrew Overholt 1fcf3f0
jdtDir=$sdkDir-JDT
Andrew Overholt 1fcf3f0
jdtMetadata=$jdtDir/metadata-JDT
Andrew Overholt 1fcf3f0
Andrew Overholt 1fcf3f0
mkdir $jdtDir
Andrew Overholt 1fcf3f0
pushd $jdtDir
Andrew Overholt 1fcf3f0
mkdir features plugins
Andrew Overholt 1fcf3f0
mv $sdkDir/features/org.eclipse.jdt_* features
Andrew Overholt 1fcf3f0
for plugin in org.eclipse.jdt \
Andrew Overholt 1fcf3f0
  org.eclipse.ant.ui \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.apt.core \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.apt.ui \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.apt.pluggable.core \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.compiler.apt \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.compiler.tool \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.core \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.core.manipulation \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.debug.ui \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.debug \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.junit \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.junit.runtime \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.junit4.runtime \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.launching \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.ui \
Andrew Overholt 1fcf3f0
  org.junit \
Andrew Overholt 1fcf3f0
  org.junit4 \
Andrew Overholt 1fcf3f0
  org.eclipse.jdt.doc.user; do
Andrew Overholt 1fcf3f0
  mv $sdkDir/plugins/${plugin}_* plugins
Andrew Overholt 1fcf3f0
done
Andrew Overholt 1fcf3f0
popd
Andrew Overholt 1fcf3f0
Andrew Overholt 1fcf3f0
# Generate metadata for JDT
Andrew Overholt 1fcf3f0
java \
Andrew Overholt 1fcf3f0
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 1fcf3f0
org.eclipse.core.launcher.Main \
Andrew Overholt 1fcf3f0
-application \
Andrew Overholt 1fcf3f0
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
Andrew Overholt 1fcf3f0
-metadataRepository file:$jdtMetadata \
Andrew Overholt 1fcf3f0
-artifactRepository file:$jdtMetadata \
Andrew Overholt 1fcf3f0
-source $jdtDir \
Andrew Overholt 1fcf3f0
-root "Fedora Eclipse JDT" \
Andrew Overholt 1fcf3f0
-rootVersion %{version} \
Andrew Overholt 1fcf3f0
-flavor tooling \
Andrew Overholt 1fcf3f0
-append \
Andrew Overholt d36e6b5
-artifactRepositoryName "Fedora Eclipse JDT" \
Andrew Overholt d36e6b5
-metadataRepositoryName "Fedora Eclipse JDT"
Andrew Overholt 1fcf3f0
Andrew Overholt 1fcf3f0
# SDK
Andrew Overholt 1fcf3f0
sdkMetadata=$sdkDir/metadata-SDK
Andrew Overholt 1fcf3f0
Andrew Overholt 1fcf3f0
# Generate metadata for SDK
Andrew Overholt 1fcf3f0
java \
Andrew Overholt 1fcf3f0
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 1fcf3f0
org.eclipse.core.launcher.Main \
Andrew Overholt 1fcf3f0
-application \
Andrew Overholt 1fcf3f0
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
Andrew Overholt 1fcf3f0
-metadataRepository file:$sdkMetadata \
Andrew Overholt 1fcf3f0
-artifactRepository file:$sdkMetadata \
Andrew Overholt 1fcf3f0
-source $sdkDir \
Andrew Overholt 1fcf3f0
-root "Fedora Eclipse SDK" \
Andrew Overholt 1fcf3f0
-rootVersion %{version} \
Andrew Overholt 1fcf3f0
-flavor tooling \
Andrew Overholt 1fcf3f0
-publishArtifacts \
Andrew Overholt 1fcf3f0
-append \
Andrew Overholt d36e6b5
-artifactRepositoryName "Fedora Eclipse SDK" \
Andrew Overholt d36e6b5
-metadataRepositoryName "Fedora Eclipse SDK"
Andrew Overholt 1fcf3f0
Andrew Overholt 0143965
# Director config.ini
Andrew Overholt ff09126
mv $installDir/configuration/config.ini{,.bak}
Andrew Overholt 0143965
cp -p %{SOURCE22} $installDir/configuration/config.ini
Andrew Overholt 0143965
Andrew Overholt ff09126
# Debugging?  Add -debug and -consolelog
Andrew Overholt ff09126
# Provision with director
Andrew Overholt 3fe64fd
java \
Andrew Overholt 9fecb54
-Declipse.p2.data.area=file://$provisionDir/p2 \
Andrew Overholt 3fe64fd
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt 3fe64fd
org.eclipse.core.launcher.Main \
Andrew Overholt 0143965
-application \
Andrew Overholt 0143965
org.eclipse.equinox.p2.director.app.application \
Andrew Overholt 0143965
-flavor tooling \
Andrew Overholt 402eb27
-installIU "Fedora Eclipse Platform" \
Andrew Overholt 0143965
-version %{version} \
Andrew Overholt 0143965
-p2.os linux \
Andrew Overholt 0143965
-p2.ws gtk \
Andrew Overholt 0143965
-p2.arch %{eclipse_arch} \
Andrew Overholt 0143965
-roaming \
Andrew Overholt 63b5773
-profile $profileId \
Andrew Overholt 0143965
-profileProperties org.eclipse.update.install.features=true \
Andrew Overholt 0143965
-metadataRepository file:$metadataDir \
Andrew Overholt 0143965
-artifactRepository file:$metadataDir \
Andrew Overholt 402eb27
-destination $provisionDir \
Andrew Overholt 9fecb54
-bundlepool $provisionDir
Andrew Overholt ff09126
Andrew Overholt 402eb27
# Stuff in JDT, PDE, SDK
Andrew Overholt 1fcf3f0
for f in about.html about_files \.eclipseproduct epl-v10.html notice.html readme; do
Andrew Overholt 1fcf3f0
    if 	[ -e $installDir/$f ]; then
Andrew Overholt 1fcf3f0
      mv $installDir/$f $provisionDir
Andrew Overholt 1fcf3f0
    fi
Andrew Overholt ff09126
done
Andrew Overholt 24f2f2a
# FIXME:  should add artifacts.xml here
Andrew Overholt 1fcf3f0
dropins=$provisionDir/dropins
Andrew Overholt 24f2f2a
mkdir -p $dropins/jdt $dropins/sdk
Andrew Overholt 24f2f2a
mv $jdtDir/features $dropins/jdt
Andrew Overholt 24f2f2a
mv $jdtDir/plugins $dropins/jdt
Andrew Overholt 1fcf3f0
mv $jdtMetadata/content.xml $dropins/jdt
Andrew Overholt 1fcf3f0
Andrew Overholt 24f2f2a
mv $sdkDir/features $dropins/sdk
Andrew Overholt 24f2f2a
mv $sdkDir/plugins $dropins/sdk
Andrew Overholt 1fcf3f0
mv $sdkMetadata/content.xml $dropins/sdk
Andrew Overholt 1fcf3f0
rm -rf $metadataDir $jdtDir $sdkDir $installDir
Andrew Overholt 402eb27
mv $provisionDir $sdkDir
Andrew Overholt ff09126
Andrew Overholt 402eb27
# Fix paths in p2 data
Andrew Overholt 402eb27
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt 402eb27
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
Andrew Overholt 402eb27
sed -i "s|file\:$provisionDir/\ -\ bundle\ pool|Fedora Eclipse|g" \
Andrew Overholt 402eb27
  $sdkDir/artifacts.xml
Andrew Overholt 402eb27
profileDir=$sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry
Andrew Overholt 402eb27
pushd $profileDir
Andrew Overholt 402eb27
  sed -i "s|$provisionDir|%{_libdir}/%{name}|g" \
Andrew Overholt 402eb27
    PlatformProfile.profile/*
Andrew Overholt 402eb27
  sed -i "s|$RPM_BUILD_ROOT||g" PlatformProfile.profile/*
Andrew Overholt ff09126
popd
Ben Konrath 365f2e6
Andrew Overholt 0143965
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
Andrew Overholt 402eb27
cp -p features/org.eclipse.platform/gtk/eclipse.ini $sdkDir
Andrew Overholt 0143965
%endif
Andrew Overholt eb1eea2
Andrew Overholt 0143965
cp -p features/org.eclipse.platform/gtk/eclipse.ini.patched \
Andrew Overholt 402eb27
  $sdkDir/eclipse.ini
Andrew Overholt 85c506d
# We have /usr/share/eclipse/dropins in eclipse.ini
Andrew Overholt 85c506d
sed -i "s|/usr/share|%{_datadir}|" $sdkDir/eclipse.ini
d8ca150
# Use our own splash
d8ca150
sed -i "s|org.eclipse.platform|org.fedoraproject.ide.platform|" $sdkDir/eclipse.ini
d8ca150
Andrew Overholt eb1eea2
Andrew Overholt 0143965
# Add a compatibility symlink to startup.jar
Andrew Overholt 402eb27
pushd $sdkDir
Andrew Overholt 0143965
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
Andrew Overholt 0143965
ln -s plugins/$LAUNCHERNAME startup.jar
Andrew Overholt 0143965
popd
Ben Konrath b0e9bcf
Andrew Overholt e2e5468
# Remove the unnecessary configuration data
Andrew Overholt e2e5468
rm -r $sdkDir/configuration/org.eclipse.update
Andrew Overholt e2e5468
Andrew Overholt e2e5468
%if %{initialize}
Ben Konrath 3f0aaa6
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt eb1eea2
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt eb1eea2
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt eb1eea2
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt eb1eea2
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt bdf2871
#
Andrew Overholt c18750b
# Extract .so files
Andrew Overholt c18750b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 51e09a3
pushd $RPM_BUILD_ROOT
Andrew Overholt e2e5468
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins  $RPM_BUILD_ROOT/dropins
Andrew Overholt e2e5468
mkdir $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt 51e09a3
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
Andrew Overholt 51e09a3
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
Andrew Overholt 0143965
     -cp $libdir_path/startup.jar \
Ben Konrath 3f0aaa6
     org.eclipse.core.launcher.Main \
Ben Konrath 3f0aaa6
     -consolelog \
Andrew Overholt 51e09a3
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 3f0aaa6
     -fileInitializer %{SOURCE19}
d941e6a
popd
Andrew Overholt e2e5468
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt e2e5468
mv $RPM_BUILD_ROOT/dropins $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt e2e5468
Andrew Overholt e2e5468
# Do this again after we've run the file initializer
Andrew Overholt e2e5468
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt e2e5468
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
Andrew Overholt e2e5468
pushd $profileDir
Andrew Overholt e2e5468
  sed -i "s|$RPM_BUILD_ROOT||g" *.profile/*
Andrew Overholt e2e5468
popd
d941e6a
Andrew Overholt 0143965
# Remove the unnecessary configuration data
Andrew Overholt 402eb27
rm -r $sdkDir/configuration/org.eclipse.core.runtime
Andrew Overholt 402eb27
rm -r $sdkDir/configuration/org.eclipse.equinox.app
Andrew Overholt 402eb27
rm -r $sdkDir/configuration/.settings
Andrew Overholt 1fcf3f0
rm -rf $sdkDir/configuration/*.log
Andrew Overholt 402eb27
dataDirs=$(find $sdkDir/configuration \
Andrew Overholt 63b5773
  -type d -name data)
Andrew Overholt 63b5773
for dataDir in $dataDirs; do
Andrew Overholt 63b5773
    rm -rf `dirname $dataDir`
Andrew Overholt 63b5773
done
Andrew Overholt 63b5773
Andrew Overholt 9b8a6bd
pushd $sdkDir
Andrew Overholt e2e5468
# Create file listings for the extracted shared libraries
Andrew Overholt e2e5468
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt e2e5468
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Andrew Overholt e2e5468
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Andrew Overholt e2e5468
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{name}-swt.install;
Andrew Overholt e2e5468
  else
Andrew Overholt e2e5468
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt e2e5468
  fi
Andrew Overholt bdf2871
done
Andrew Overholt e2e5468
popd
Andrew Overholt e2e5468
Andrew Overholt e2e5468
# Install symlinks to the SWT JNI shared libraries in %%{_libdir}/eclipse
Andrew Overholt e2e5468
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt bdf2871
for lib in $(find configuration -name libswt\*.so); do
Andrew Overholt e2e5468
  ln -s $lib `basename $lib`
Andrew Overholt e2e5468
done
e37a1cd
popd
Andrew Overholt e2e5468
Andrew Overholt e2e5468
# Ensure the shared libraries have the correct permissions
Andrew Overholt bdf2871
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt e2e5468
for lib in `find configuration -name \*.so`; do
Andrew Overholt e2e5468
   chmod 755 $lib
Andrew Overholt e2e5468
done
Andrew Overholt 63b5773
popd
Andrew Overholt e2e5468
%endif
cvsdist df631d8
Andrew Overholt bdf2871
# Set eclipse.product to org.fedoraproject.ide.platform
Andrew Overholt 728d61d
sed --in-place "s/plugins\/org.eclipse.platform/plugins\/org.fedoraproject.ide.platform/" \
Andrew Overholt 728d61d
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Andrew Overholt 728d61d
sed --in-place "s/eclipse.product=org.eclipse.platform.ide/eclipse.product=org.fedoraproject.ide.platform.product/" \
Andrew Overholt 728d61d
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Andrew Overholt 728d61d
Ben Konrath 26ff742
# Install the Eclipse binary wrapper
Andrew Overholt 357a573
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 0143965
ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt 0143965
#install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 0143965
#cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt 0143965
#sed --in-place "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt 0143965
#ECLIPSELIBSUFFIX=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux*/*.so | sed "s/.*.launcher.gtk.linux.//")
Andrew Overholt 0143965
#sed --in-place "s|@ECLIPSELIBSUFFIX@|$ECLIPSELIBSUFFIX|" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt 357a573
f425a38
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/links
Andrew Overholt 85c506d
# FIXME:  We can probably get rid of the links file when we ensure all
Andrew Overholt 85c506d
# plugins are installing into dropins (either in libdir or datadir).
Andrew Overholt d2bc60d
# Set up an extension location and a link file for the arch-independent dir
8953fb5
echo "path:%{_datadir}" > \
Andrew Overholt 85c506d
  $sdkDir/links/datadir.link
Andrew Overholt d2bc60d
Andrew Overholt 0143965
# Ensure the launcher binary has the correct permissions
Andrew Overholt 3ed293b
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{name}
Andrew Overholt a4a105d
Ben Konrath 848f208
# Install the SWT jar symlinks in libdir
Andrew Overholt eb1eea2
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 365f2e6
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 1fcf3f0
ln -s plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2f9a66d
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
Andrew Overholt ebc2719
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar
Andrew Overholt ebc2719
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Andrew Overholt eb1eea2
# Icons
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
Andrew Overholt ffef388
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse48.png \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt ffef388
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse32.png \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt ffef388
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse.png \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
Ben Konrath 3d1244e
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
cvsdist df631d8
Andrew Overholt bdf2871
# Install the efj wrapper script
Ben Konrath bd6a7ae
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Andrew Overholt 0143965
sed --in-place "s:startup.jar:%{_libdir}/%{name}/startup.jar:" \
Andrew Overholt bdf2871
  $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath bd6a7ae
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
Andrew Overholt f5370cf
desktop-file-install --vendor="fedora" \
Andrew Overholt f5370cf
--dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt 0143965
cp -p %{SOURCE16} copy-platform
cvsdist 38d0d0c
(
Andrew Overholt 0143965
  cd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 3bc4ced
  ls -d * | egrep -v '^(plugins|features|about_files|dropins)$'
Andrew Overholt 1fcf3f0
  ls -d plugins/* features/*
cvsdist 38d0d0c
) |
a69cc9c
sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
Andrew Overholt 0143965
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
b9dff52
mv copy-platform $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
Andrew Overholt 1fcf3f0
copyPlatform=$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/copy-platform
Andrew Overholt 1fcf3f0
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 24f2f2a
for p in $(ls -d dropins/jdt/plugins/*); do
Andrew Overholt 1fcf3f0
    plugin=$(basename $p)
Andrew Overholt 1fcf3f0
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt 1fcf3f0
done
Andrew Overholt 24f2f2a
for p in $(ls -d dropins/sdk/plugins/*); do
Andrew Overholt 1fcf3f0
    plugin=$(basename $p)
Andrew Overholt 1fcf3f0
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt 1fcf3f0
done
Andrew Overholt 1fcf3f0
popd
Ben Konrath c6cf50d
Andrew Overholt ad48c56
# Install the PDE Build wrapper script.
Andrew Overholt ad48c56
install -p -D -m0755 %{SOURCE21} \
Andrew Overholt 0143965
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt 24f2f2a
PDEBUILDVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/sdk/plugins \
Andrew Overholt 1fcf3f0
  | grep org.eclipse.pde.build_ | \
Andrew Overholt 1fcf3f0
  sed 's/org.eclipse.pde.build_//')
Andrew Overholt 1fcf3f0
sed -i "s/@PDEBUILDVERSION@/$PDEBUILDVERSION/g" \
Andrew Overholt 1fcf3f0
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt 0143965
Andrew Overholt 0143965
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 0143965
rm plugins/org.sat4j*
2adf754
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.0.3.v20081021.jar
2adf754
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.0.3.v20081021.jar
Andrew Overholt 0143965
Andrew Overholt 24f2f2a
ASMPLUGINVERSION=$(ls dropins/sdk/plugins | grep org.objectweb.asm_ | \
Andrew Overholt 0143965
  sed 's/org.objectweb.asm_//')
Andrew Overholt 24f2f2a
rm dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
Andrew Overholt 24f2f2a
  dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt ad48c56
Andrew Overholt 357a573
## BEGIN ANT ##
Andrew Overholt 0143965
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
Andrew Overholt 0143965
rm $ANTDIR/lib/*
Andrew Overholt 0143965
ANTDIR=$ANTDIR/lib
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
Andrew Overholt ffef388
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
Andrew Overholt ffef388
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
Andrew Overholt 0143965
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
Andrew Overholt 0143965
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt eb1eea2
Andrew Overholt 69bb738
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
Andrew Overholt 69bb738
rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 69bb738
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 69bb738
Andrew Overholt 24f2f2a
pushd dropins/jdt
Andrew Overholt 7f96ff5
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt 357a573
Andrew Overholt 0143965
JUNIT4VERSION=$(ls plugins | grep org.junit4_ | sed 's/org.junit4_//')
Andrew Overholt 0143965
rm plugins/org.junit4_$JUNIT4VERSION/junit.jar
Andrew Overholt 0143965
ln -s %{_javadir}/junit4.jar plugins/org.junit4_$JUNIT4VERSION/junit.jar
Andrew Overholt 1fcf3f0
popd
Ben Konrath ddd7ee4
Andrew Overholt 0143965
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | sed 's/com.jcraft.jsch_//')
Andrew Overholt 0143965
rm plugins/com.jcraft.jsch_$JSCHVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
Ben Konrath 0a684ca
Ben Konrath 8408714
# link to the icu4j stuff
Andrew Overholt 0143965
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
Andrew Overholt 0143965
rm plugins/com.ibm.icu_*.jar
Ben Konrath 8408714
Ben Konrath a940d69
# link to lucene
Andrew Overholt 0143965
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
Andrew Overholt 0143965
  sed 's/org.apache.lucene_//')
Andrew Overholt 0143965
rm plugins/org.apache.lucene_*
Andrew Overholt 0143965
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
Andrew Overholt 0143965
rm plugins/org.apache.lucene.analysis_*
Andrew Overholt 0143965
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
Andrew Overholt 0143965
  plugins/org.apache.lucene.analysis_$LUCENEVERSION
Ben Konrath 182b6dd
Ben Konrath 182b6dd
# link to commons-logging
Andrew Overholt 0143965
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
Andrew Overholt 0143965
  sed 's/org.apache.commons.logging_//')
Andrew Overholt 0143965
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/commons-logging.jar \
Andrew Overholt 0143965
  plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Ben Konrath a940d69
Ben Konrath 46992bc
# link to commons-el
Andrew Overholt 0143965
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
Andrew Overholt 0143965
  sed 's/org.apache.commons.el_//')
Andrew Overholt 0143965
rm plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt 0143965
ln -s %{_javadir}/commons-el.jar \
Andrew Overholt 0143965
  plugins/org.apache.commons.el_$COMMONSELVERSION
Ben Konrath 46992bc
Ben Konrath bae8ad8
# link to jasper
Andrew Overholt 0143965
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
Andrew Overholt 0143965
  sed 's/org.apache.jasper_//')
Andrew Overholt 0143965
rm plugins/org.apache.jasper_*.jar
Andrew Overholt 0143965
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
Andrew Overholt 0143965
   plugins/org.apache.jasper_$JASPERVERSION
Ben Konrath bae8ad8
Andrew Overholt 0143965
# link to servlet-api
Andrew Overholt 0143965
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
Andrew Overholt 0143965
  sed 's/javax.servlet_//')
Andrew Overholt 0143965
rm plugins/javax.servlet_*
Andrew Overholt 0143965
ln -s %{_javadir}/tomcat5-servlet-2.4-api.jar \
Andrew Overholt 0143965
  plugins/javax.servlet_$SERVLETAPIVERSION
Ben Konrath bae8ad8
Ben Konrath bae8ad8
# link to jsp-api
Andrew Overholt 0143965
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
Andrew Overholt 0143965
  sed 's/javax.servlet.jsp_//')
Andrew Overholt 0143965
rm plugins/javax.servlet.jsp_*
Andrew Overholt 0143965
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
Andrew Overholt 0143965
  plugins/javax.servlet.jsp_$JSPAPIVERSION
Ben Konrath bae8ad8
Ben Konrath 8408714
popd
Ben Konrath 8408714
Andrew Overholt 357a573
%clean
Andrew Overholt 357a573
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 4aa52c0
Andrew Overholt 76e1a94
%post platform
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
cvsdist 38d0d0c
Andrew Overholt 75af349
%postun platform
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
Ben Konrath 0b18469
Andrew Overholt e2e5468
%if %{initialize}
Andrew Overholt 0143965
%files swt -f %{name}-swt.install
Andrew Overholt e2e5468
%else
Andrew Overholt e2e5468
%files swt
Andrew Overholt e2e5468
%endif
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath c7a0f84
%dir %{_libdir}/%{name}
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/plugins
Andrew Overholt e2e5468
%if %{initialize}
Andrew Overholt e2e5468
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Andrew Overholt e2e5468
%endif
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt ebc2719
%{_libdir}/%{name}/swt.jar
Andrew Overholt ebc2719
%{_libdir}/java/swt.jar
cvsdist 38d0d0c
Ben Konrath 6d33386
%files rcp
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath bae8ad8
%dir %{_libdir}/%{name}/features
Andrew Overholt d2bc60d
%dir %{_datadir}/%{name}
Andrew Overholt d2bc60d
%dir %{_datadir}/%{name}/features
Andrew Overholt d2bc60d
%dir %{_datadir}/%{name}/plugins
Andrew Overholt e2e5468
%if %{initialize}
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt e2e5468
%endif
Andrew Overholt ff09126
%config %{_libdir}/%{name}/configuration/config.ini
Andrew Overholt ff09126
%config %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Andrew Overholt ff09126
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator
Andrew Overholt 0143965
%{_libdir}/%{name}/notice.html
Andrew Overholt 0143965
%{_libdir}/%{name}/epl-v10.html
Andrew Overholt d2bc60d
%{_libdir}/%{name}/links
ad50b31
%ifnarch ppc sparc sparcv9
Andrew Overholt 0143965
%{_libdir}/%{name}/about.html
Andrew Overholt 2048bca
%endif
Andrew Overholt 0faaa45
%ifarch x86_64
Andrew Overholt 0143965
%{_libdir}/%{name}/about_files
Andrew Overholt 0faaa45
%endif
Andrew Overholt 0143965
%{_libdir}/%{name}/readme
Andrew Overholt 0143965
%{_libdir}/%{name}/startup.jar
Ben Konrath b0e9bcf
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 26ff742
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.help_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.osgi_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
Ben Konrath 26ff742
Andrew Overholt e2e5468
%if %{initialize}
Andrew Overholt 76e1a94
%files platform -f %{name}-platform.install
Andrew Overholt e2e5468
%else
Andrew Overholt e2e5468
%files platform
Andrew Overholt e2e5468
%endif
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 3f0aaa6
%attr(0755,root,root) %{_bindir}/%{name}
Andrew Overholt 40a27d1
%config %{_libdir}/%{name}/eclipse.ini
Andrew Overholt 402eb27
%{_libdir}/%{name}/.eclipseproduct
Andrew Overholt 402eb27
%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 6d33386
%{_datadir}/applications/*
Ben Konrath 6d33386
%{_datadir}/pixmaps/*
Ben Konrath 6d33386
%{_datadir}/icons/*/*/apps/*
Andrew Overholt 0143965
%{_libdir}/%{name}/eclipse
Andrew Overholt 1fcf3f0
%dir %{_libdir}/%{name}/dropins
Andrew Overholt 85c506d
%dir %{_datadir}/%{name}/dropins
Andrew Overholt 0143965
%{_libdir}/%{name}/features/org.eclipse.platform_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/javax.servlet_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.ant_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.commons.el_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.commons.logging_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.lucene_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.lucene.analysis_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.boot_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_*
Andrew Overholt 0143965
%{_libdir}/%{name}/features/org.fedoraproject.ide.feature_*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.net_*
Andrew Overholt 0e57d3a
%ifarch %{ix86}
Andrew Overholt 0faaa45
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.x86_*
Andrew Overholt 0e57d3a
%endif
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.core.variables_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.debug.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.debug.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.help.appserver_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 26ff742
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.jface.text_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.jsch.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.jsch.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.osgi.services_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.osgi.util_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.platform_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.search_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.text_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.browser_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.console_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.editors_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.forms_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.net_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 26ff742
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.update.scheduler_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.update.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.mortbay.jetty_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.cvs_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/features/org.eclipse.cvs_*
Andrew Overholt 0143965
%{_libdir}/%{name}/features/org.eclipse.help_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.apache.jasper_*
Andrew Overholt 3b58fa1
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
Andrew Overholt 3b58fa1
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
Andrew Overholt 3b58fa1
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
Andrew Overholt 0143965
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.user.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.engine_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.jarprocessor_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.repository_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.artifact.repository_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.exemplarysetup_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.console_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.generator_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatesite_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security.ui_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.extensionlocation_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director.app_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.ssl_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf.ssl_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf.filetransfer_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.eclipse.ecf.identity_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.sat4j.core_*
Andrew Overholt 0143965
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
Andrew Overholt 3b58fa1
# Put this in -platform since we're putting the p2 stuff here
Andrew Overholt 3b58fa1
%{_libdir}/%{name}/artifacts.xml
Andrew Overholt 1fcf3f0
# FIXME: should we ship content.xml for the platform?
Andrew Overholt ff09126
#%{_libdir}/%{name}/metadata
Andrew Overholt 402eb27
%{_libdir}/%{name}/p2
Andrew Overholt 3b58fa1
Andrew Overholt 3b58fa1
%files jdt
Andrew Overholt 3b58fa1
%defattr(-,root,root)
Andrew Overholt 3b58fa1
%{_bindir}/efj
1e2225a
%{_libdir}/%{name}/dropins/jdt
Ben Konrath 6d33386
Ben Konrath 6d33386
%files pde
Ben Konrath 6d33386
%defattr(-,root,root)
Andrew Overholt 0143965
%{_libdir}/%{name}/buildscripts
Andrew Overholt 1fcf3f0
%{_libdir}/%{name}/dropins/sdk
Andrew Overholt 0143965
# FIXME:  where should this go?
fe1b864
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
Ben Konrath 6d33386
Andrew Overholt 357a573
%changelog
Andrew Overholt 2893eea
* Tue Apr 21 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-10
Andrew Overholt 2893eea
- Update "package build" patch to not nest symlinks (Elliott Baron).
Andrew Overholt 2893eea
- RHBZ#496963.
Andrew Overholt 2893eea
Andrew Overholt 3b5177a
* Mon Apr 6 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-9
Andrew Overholt 3b5177a
- Re-add patch to build libswt-xulrunner instead of libswt-mozilla.
Andrew Overholt 3b5177a
- RHBZ#484453
Andrew Overholt 3b5177a
- Eclipse.org BZ#226356
Andrew Overholt 3b5177a
1e2225a
* Mon Apr 6 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-8
1e2225a
- Fix jdt owning dropins/jdt folder.
1e2225a
Andrew Overholt 5126008
* Thu Apr 2 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-7
Andrew Overholt 5126008
- Add patch from upstream to work with XULRunner 1.9.1.
Andrew Overholt 5126008
- Red Hat bugzilla #483832 (and its duplicates).
Andrew Overholt 5126008
ad50b31
* Mon Mar 30 2009 Dennis Gilmore <dennis@ausil.us> 1:3.4.2-6
ad50b31
- base sparcv9 and sparc on ppc
ad50b31
2c92a56
* Fri Mar 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-5
2c92a56
- Disable XULRunner-specific patch.
2c92a56
- Make pdebuild script to not generate p2 repo. 
2c92a56
Andrew Overholt ba91294
* Mon Mar 16 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-4
Andrew Overholt ba91294
- Build with XULRunner-specific flags since we're building against XULRunner.
Andrew Overholt ba91294
Andrew Overholt 7d910f9
* Mon Mar 9 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-3
Andrew Overholt 7d910f9
- Remove ecj sub-package as it is replaced by standalone ecj package.
Andrew Overholt 7d910f9
97b1609
* Thu Feb 26 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-2
97b1609
- Strict R/BR for sat4j >= 2.0.3.
97b1609
2adf754
* Thu Feb 26 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-1
2adf754
- Update to 3.4.2.
2adf754
81364e4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.1-16
81364e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
81364e4
4d7ff17
* Wed Feb 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.1-15
4d7ff17
- Rebuild for new xulrunner.
4d7ff17
Andrew Overholt db88ac0
* Fri Jan 23 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.1-14
Andrew Overholt db88ac0
- Add R:java-devel for -jdt (rh#480979).
Andrew Overholt db88ac0
f2ed904
* Mon Jan 19 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.1-13
f2ed904
- Fix pdebuild to auto-set javacSouce based on BREE.
f2ed904
Andrew Overholt 262784e
* Fri Dec 19 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-12
Andrew Overholt 262784e
- Fixed GCJ AOT compilation (Gary Benson).
Andrew Overholt 262784e
Andrew Overholt 262784e
* Mon Dec 15 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-11
Andrew Overholt 18fb930
- Update pdebuild and package-build patch to include -z option.
Andrew Overholt d703cd9
- Make ecj default to 1.5 (rh#354721).
Andrew Overholt 36ae633
- Add GCJ AOT bits for ecj (rh#473674).
Andrew Overholt 18fb930
Andrew Overholt 577aa1e
* Fri Dec 5 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-10
Andrew Overholt 577aa1e
- Remove MaxPermSize from sysproperty lists in library.xml as it was causing the
Andrew Overholt 577aa1e
  JVM to not start.
Andrew Overholt 577aa1e
Andrew Overholt ce60880
* Thu Dec 4 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-8
Andrew Overholt ce60880
- Increase MaxPermSize when running tests.
Andrew Overholt ce60880
643d8ea
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1:3.4.1-8
643d8ea
- Rebuild for Python 2.6
643d8ea
Andrew Overholt bdf2871
* Thu Nov 20 2008 Andrew Overholt <overholt@redhat.com> 3.4.1-7
Andrew Overholt bdf2871
- Update and re-enable patch for always generating debuginfo for class files
Andrew Overholt bdf2871
  when doing an RPM build.
Andrew Overholt bdf2871
- Resolves rh#472292.
Andrew Overholt bdf2871
Andrew Overholt 582f721
* Mon Oct 27 2008 Andrew Overholt <overholt@redhat.com> 3.4.1-6
Andrew Overholt e89f824
- Keep Provides: eclipse on -pde (different than Fedora 9 but probably
Andrew Overholt e89f824
  more correct).
Andrew Overholt 582f721
d8ca150
* Thu Oct 23 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-5
d8ca150
- Fix splashscreen (#467259).
d8ca150
Andrew Overholt e2adc12
* Fri Oct 17 2008 Andrew Overholt <overholt@redhat.com> 3.4.1-4
Andrew Overholt e2adc12
- Fix quoting bug in pdebuild.sh again.
Andrew Overholt e2adc12
e37a1cd
* Fri Oct 16 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-3
e37a1cd
- Fix swt symlinks in %%libdir/eclipse.
e37a1cd
2c7dcbc
* Thu Oct 16 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-2
2c7dcbc
- Fix quoting bug in pdebuild.sh.
2c7dcbc
b9dff52
* Wed Oct 16 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-1
b9dff52
- Move copy-platform instead of copying it.
b9dff52
Andrew Overholt e2e5468
* Wed Oct 15 2008 Andrew Overholt <overholt@redhat.com> 3.4.1-1
Andrew Overholt e2e5468
- Add conditionals around Equinox initialization to enable debugging.
Andrew Overholt e2e5468
2dbad0f
* Fri Oct 13 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-1
Andrew Overholt bdf2871
- Symlink to ant-apache-bsf and ant-commons-net.
Andrew Overholt ffef388
- Update branding.
Andrew Overholt f5370cf
- Don't re-pack JARs (see fedora-devel-java-list discussion in September 2008).
2dbad0f
- Update desktop-file-install usage and add --vendor=fedora. (Andrew Overholt)
2dbad0f
- Resolves #466476. Fix pdebuild script. (Jeff Johnston)
Andrew Overholt bdf2871
- Remove dropins contents while running initializer.
1065497
- Add patch for wrong javaHome on x86_64 in the native build.(Alexander Kurtakov)
Andrew Overholt ffef388
b663c7d
* Thu Oct 03 2008 Alexander Kurtakov <akurtako@redhat.com> 3.4.1-0
b663c7d
- 3.4.1
b663c7d
- Update nojarsignatures patch.
b663c7d
- Added osgi-classpath.patch fixes broken bootclasspath (Sean Flanigan).
Andrew Overholt bdf2871
- Removed patches 33 and 34 - not needed anymore.
b663c7d
Michal Nowak 5d9f68f
* Thu Sep 25 2008 Michal Nowak <mnowak@redhat.com> 3.4.0-24
Michal Nowak 5d9f68f
- exclude parts of eclipse-pydev from JIT compilation
Michal Nowak 5d9f68f
- Resolves: bug 461860
Michal Nowak 5d9f68f
Andrew Overholt 2aaf4bc
* Tue Sep 02 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-23
Andrew Overholt 2aaf4bc
- Use icu4j in its new place.
Andrew Overholt 2aaf4bc
Andrew Overholt 465153c
* Wed Aug 27 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-22
Andrew Overholt 465153c
- Add test framework
Andrew Overholt 465153c
- Remove two duplicate lines in eclipse-mv-Platform.sh
Andrew Overholt 465153c
- Modify package-build and pdebuild so they can build the SDK tests
Andrew Overholt 465153c
Andrew Overholt e29c035
* Wed Aug 13 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-21
Andrew Overholt e29c035
- Fix ecj-gcj (rhbz#458921)
Andrew Overholt e29c035
Andrew Overholt cb08fe4
* Tue Aug 12 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-20
Andrew Overholt cb08fe4
- Require release of jetty which requires tomcat bits with proper metadata
Andrew Overholt df2c916
- Fix pdebuild for moved JDT and PDE plugins (Alexander Kurtakov)
Andrew Overholt 41cf33c
- Add version to jakarta-commons-el requirement
Andrew Overholt cb08fe4
Andrew Overholt 24f2f2a
* Mon Aug 11 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-19
Andrew Overholt 24f2f2a
- Move jdt and sdk dropins contents to non-eclipse-sub-dir place which
Andrew Overholt 24f2f2a
  makes dropins reconciler see them as dropins and not extension
Andrew Overholt 24f2f2a
  locations
Andrew Overholt 24f2f2a
- Add versions to jetty, lucene, and jsch Requires
Andrew Overholt 24f2f2a
Andrew Overholt 4cef8d3
* Thu Aug 07 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-18
Andrew Overholt 4cef8d3
- Add %%{_libdir}/eclipse/dropins/jdt to ecj files list
Andrew Overholt 4cef8d3
Andrew Overholt 8fa0c06
* Wed Aug 06 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-17
Andrew Overholt 58053f3
- Add p2 metadata generation to pdebuild
Andrew Overholt 8fa0c06
- Fix symlinking to %%{_libdir}/eclipse/dropins/* stuff in
Andrew Overholt 8fa0c06
  copy-platform
Andrew Overholt 8fa0c06
- Fix brightness in splash screen
Andrew Overholt 8fa0c06
- Fix icon symlinks
Andrew Overholt 58053f3
- Bump icu4j-eclipse requirement
Andrew Overholt 8fa0c06
Andrew Overholt 85c506d
* Tue Aug 05 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-16
Andrew Overholt 85c506d
- Ensure %%{_datadir}/eclipse/dropins gets watched in eclipse.ini
Andrew Overholt 85c506d
- Move JDT and SDK bits to dropins/{jdt,sdk}/eclipse for consistency
Andrew Overholt 85c506d
- Update copy-platform to add %%{_datadir}/dropins
Andrew Overholt 85c506d
8953fb5
* Mon Aug 04 2008 Sean Flanigan <sflaniga@redhat.com> 3.4.0-15
8953fb5
- Removed buildroot from path in datadir.link
8953fb5
f425a38
* Mon Aug 04 2008 Sean Flanigan <sflaniga@redhat.com> 3.4.0-14
f425a38
- Created missing directory for link file
f425a38
Andrew Overholt d2bc60d
* Fri Aug 01 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-13
Andrew Overholt d2bc60d
- Update patch to avoid Hotspot crashing
Andrew Overholt d2bc60d
- Add links folder for noarch plugins
Andrew Overholt d2bc60d
- Create and add ownership of %%{_datadir}/eclipse/{plugins,features}
Andrew Overholt d2bc60d
Andrew Overholt 728d61d
* Thu Jul 31 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-12
Andrew Overholt 728d61d
- Set product to Fedora Eclipse
Andrew Overholt 64b42fe
- Remove pde-runtime %%package section
Andrew Overholt 64b42fe
- Remove unnecessary Requires(post,postun)s
Andrew Overholt 728d61d
Andrew Overholt 3bc4ced
* Wed Jul 30 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-11
Andrew Overholt 3bc4ced
- Update copy-platform to work with dropins
Andrew Overholt 3bc4ced
- Update JVM-crashing patch
Andrew Overholt 3bc4ced
Andrew Overholt 1fcf3f0
* Mon Jul 28 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-10
Andrew Overholt 1fcf3f0
- Move JDT and PDE/SDK bits to dropins/{jdt,sdk}
Andrew Overholt 1fcf3f0
- Drop versionless PDE Build symlink (put logic into pdebuild script)
Andrew Overholt 1fcf3f0
- Make SWT JAR symlinks relative
Andrew Overholt 1fcf3f0
- Fold pde-runtime into pde
Andrew Overholt 1fcf3f0
- Add patch to add root files for non-upstream arches
Andrew Overholt d4ba4a6
- Fix building of fragments for non-upstream arches
Andrew Overholt 2048bca
- Remove about.html from files list on ppc (will fix later)
Andrew Overholt 1fcf3f0
Andrew Overholt 1fcf3f0
* Fri Jul 25 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-10
Andrew Overholt 1fcf3f0
- Add ability for pdebuild (-o) to work with Orbit-style dependencies
Andrew Overholt 1fcf3f0
Andrew Overholt 8e97dec
* Fri Jul 25 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-9
Andrew Overholt 8e97dec
- Collapse patches to build SWT native bits into two
Andrew Overholt 8e97dec
- Copy about* from x86 to all non-x86{_64} platforms
Andrew Overholt 8e97dec
Andrew Overholt 69fbd5c
* Wed Jul 23 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-8
Andrew Overholt 69fbd5c
- Don't build for arch/ws/os combos other than the one on which we're
Andrew Overholt 69fbd5c
  building
Andrew Overholt 69fbd5c
Andrew Overholt 0739fc7
* Wed Jul 23 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-7
Andrew Overholt 0739fc7
- More work on non-upstream arches
Andrew Overholt 0739fc7
Andrew Overholt d7477b6
* Mon Jul 21 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-6
Andrew Overholt d7477b6
- Update description to be a bit more current
Andrew Overholt d7477b6
- Attempt ppc64, etc. builds
Andrew Overholt d7477b6
Andrew Overholt 0e57d3a
* Mon Jul 21 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-5
Andrew Overholt 0e57d3a
- Add core.net fragment in %%files for x86
Andrew Overholt 0e57d3a
- I spoke with author about above and no .so is built because it is
Andrew Overholt 0e57d3a
  currently not used by the fragment
Andrew Overholt 0faaa45
- Update ecj-gcj addition (Tom Tromey)
Andrew Overholt 0e57d3a
Andrew Overholt 402eb27
* Fri Jul 18 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-4
Andrew Overholt 402eb27
- Un-do crazy config.ini, bundles.info, etc. shuffling
Andrew Overholt 402eb27
- Update patch for building native libraries
Andrew Overholt 14b136d
- Re-add missing BR on tomcat5-jasper-eclipse
Andrew Overholt 2d6da44
- Add patch for 64-bit platforms to build SWT
Andrew Overholt 3fe64fd
- Don't try to resolve http://bundles.osgi.org for javadocs
Andrew Overholt 3fe64fd
- Provision with java -cp instead of binary launcher
Andrew Overholt 402eb27
Andrew Overholt ff09126
* Thu Jul 17 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-3
Andrew Overholt ff09126
- Generate metadata and provision each sub-package
Andrew Overholt ff09126
- Do crazy config.ini, bundles.info, and *.profile shuffling
Andrew Overholt ff09126
- Add post and postun sections to update the config.ini, bundles.info, and
Andrew Overholt ff09126
  *.profile files
Andrew Overholt ff09126
Andrew Overholt 63b5773
* Wed Jul 16 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-1
Andrew Overholt 3b58fa1
- Fix files lists
Andrew Overholt 3b58fa1
Andrew Overholt 3b58fa1
* Wed Jul 16 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-1
Andrew Overholt 63b5773
- Update branding
Andrew Overholt 63b5773
- Fix p2 stuff so p2 UI works
Andrew Overholt 63b5773
Andrew Overholt 0143965
* Mon Jul 14 2008 Andrew Overholt <overholt@redhat.com> 3.4.0-1
Andrew Overholt 0143965
- 3.4
Andrew Overholt 0143965
- Remove gcj compilation
Andrew Overholt 0143965
- Update versions of dependencies
Andrew Overholt 0143965
- Rename libswt3-gtk2 to eclipse-swt
Andrew Overholt 0143965
- Move "Provides: eclipse" to PDE from JDT
Andrew Overholt 0143965
- Remove unnecessary old Obsoletes/Provides
Andrew Overholt 0143965
- Remove tomcat stuff since it's no longer used
Andrew Overholt 0143965
- Move stuff from %%{_datadir}/eclipse to %%{_libdir}/eclipse
Andrew Overholt 0143965
- Add BRs/Rs on objectweb-asm and sat4j
Andrew Overholt 0143965
- Build ECF filetransfer stuff as part of this SRPM until we have a
Andrew Overholt 0143965
  separate eclipse-ecf package (which will require this version of the
Andrew Overholt 0143965
  SDK)
Andrew Overholt 0143965
16c3ef2
* Sat Jun 14 2008 Dennis Gilmore <dennis@ausil.us> 3.3.2-13
Andrew Overholt bdf2871
- make changes to support sparcv9
16c3ef2
Andrew Overholt b381f93
* Wed May 14 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-12
Andrew Overholt b381f93
- Back-port patch for e.o#206432 (rh#446064).
Andrew Overholt b381f93
a69cc9c
* Sat Apr 26 2008 Mat Booth <fedora@matbooth.co.uk> 3.3.2-11
a69cc9c
- Fixed some benign errors in copy-platform when calling pdebuild
a69cc9c
  multiple times.
a69cc9c
Andrew Overholt 104b878
* Fri Apr 25 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-10
Andrew Overholt 104b878
- Bump maximum heap size from 256 MB to 512 MB.
Andrew Overholt 104b878
- Add patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092
Andrew Overholt 104b878
  (which is really
Andrew Overholt 104b878
  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100).
Andrew Overholt 104b878
- Some jiggery-pokery for spaces in SWT paths for buildagainstxulrunner
Andrew Overholt 104b878
  patch.
Andrew Overholt 104b878
Andrew Overholt 1ff1639
* Wed Apr 09 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-9
Andrew Overholt 1ff1639
- Fix patch level for xulrunner build patch.
Andrew Overholt 1ff1639
Andrew Overholt b193241
* Wed Apr 09 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-8
Andrew Overholt b193241
- Rather than removing java-javadoc, just add Requirement in all cases
Andrew Overholt b193241
  (gcj or not).
Andrew Overholt b193241
Andrew Overholt 346e90b
* Wed Apr 09 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-7
Andrew Overholt 346e90b
- Remove explicit java-javadoc requirements as OpenJDK's -devel package
Andrew Overholt 346e90b
  provides it.
Andrew Overholt 346e90b
- Patch SWT build to find libxul.pc.
Andrew Overholt 346e90b
Andrew Overholt 167aa44
* Fri Apr 04 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-6
Andrew Overholt 167aa44
- Fix path of pdebuild in %%files.  Gah.
Andrew Overholt 167aa44
Andrew Overholt ad48c56
* Fri Apr 04 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-5
Andrew Overholt ad48c56
- Move pdebuild to better location (buildscripts).
Andrew Overholt ad48c56
Andrew Overholt 0d3121d
* Fri Apr 04 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-4
Andrew Overholt 0d3121d
- Fix SWT version in Requires.
Andrew Overholt 0d3121d
Andrew Overholt 53e74f9
* Thu Apr 03 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-3
Andrew Overholt 53e74f9
- Add missing line continuation.
Andrew Overholt 53e74f9
Andrew Overholt b2ed30a
* Thu Apr 03 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-2
Andrew Overholt b2ed30a
- Change ecj Provides from <= to = (rhbz#439825).
Andrew Overholt b2ed30a
Andrew Overholt a8d1541
* Thu Apr 03 2008 Andrew Overholt <overholt@redhat.com> 3.3.2-1
Andrew Overholt a8d1541
- 3.3.2
Andrew Overholt a8d1541
- Update Obsoletes/Provides for ecj and make more ecj symlinks
Andrew Overholt a8d1541
  (rhbz#439825).
Andrew Overholt a8d1541
Andrew Overholt 5799696
* Mon Mar 31 2008 Andrew Overholt <overholt@redhat.com> 3.3.1.1-18
Andrew Overholt 5799696
- Add PDE Build wrapper script (%%{_datadir}/eclipse/pdebuild) for
Andrew Overholt 5799696
  packaging guidelines.
Andrew Overholt 5799696
Andrew Overholt 40a27d1
* Mon Mar 03 2008 Andrew Overholt <overholt@redhat.com> 3.3.1.1-17
Andrew Overholt 40a27d1
- Mark eclipse.ini as %%config.
Andrew Overholt 40a27d1
c3be9d6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:3.3.1.1-16
c3be9d6
- Autorebuild for GCC 4.3
c3be9d6
Andrew Overholt 489360c
* Fri Feb 08 2008 Andrew Overholt <overholt@redhat.com> 3.3.1.1-15
Andrew Overholt 489360c
- Add ia64 patches from Doug Chapman.
Andrew Overholt 489360c
- rhbz#431963.
Andrew Overholt 489360c
30161c5
* Wed Dec 05 2007 Martin Stransky <stransky@redhat.com> 3.3.1.1-14
30161c5
- rebuilt against XUL Runner (gecko-libs 1.9)
4abdc40
- removed .png extension from the desktop file
30161c5
Andrew Overholt 197ae35
* Tue Dec 04 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-13
Andrew Overholt 197ae35
- Remove Fedora log from splash screen.
Andrew Overholt 197ae35
Andrew Overholt b396d3a
* Mon Dec 03 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-12
Andrew Overholt b396d3a
- Update splash screen.
Andrew Overholt b396d3a
Andrew Overholt fd40d05
* Fri Nov 30 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-11
Andrew Overholt fd40d05
- Fix PermSize option (thanks to Mary Ellen Foster for testing).
Andrew Overholt fd40d05
Andrew Overholt 50edf43
* Fri Nov 23 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-10
Andrew Overholt 50edf43
- Move eclipse.ini for real.
Andrew Overholt 50edf43
Andrew Overholt 3463fee
* Fri Nov 23 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-9
Andrew Overholt 3463fee
- Move eclipse.ini in %%files section.
Andrew Overholt 3463fee
Andrew Overholt 1117836
* Thu Nov 22 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-8
Andrew Overholt 1117836
- Re-enable gcj_support.
Andrew Overholt 1117836
Andrew Overholt 48d9029
* Thu Nov 22 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-7
Andrew Overholt 48d9029
- Un-break non-ppc64 platforms.
Andrew Overholt 48d9029
Andrew Overholt 2b7d0eb
* Mon Nov 19 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-6
Andrew Overholt 2b7d0eb
- Require jpackage-utils (courtesy Patrice Dumas).
Andrew Overholt 2b7d0eb
- Fix ppc64 (and hopefully other unsupported-by-upstream arches).
Andrew Overholt 2b7d0eb
- Move eclipse.ini to %%{_libdir}/eclipse where it gets read.
Andrew Overholt 2b7d0eb
- Resolves:  rhbz#394161.
Andrew Overholt 2b7d0eb
Andrew Overholt 411c9a5
* Fri Nov 16 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-5
Andrew Overholt 411c9a5
- Remove extraneous build.index comment (from test build again).
Andrew Overholt 411c9a5
Andrew Overholt 924c9fa
* Fri Nov 16 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-4
Andrew Overholt 924c9fa
- Enable gcj support (disabled for test build).
Andrew Overholt 924c9fa
Andrew Overholt 9626741
* Fri Nov 16 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-3
Andrew Overholt 9626741
- Update tomcat patches.
Andrew Overholt 2b7d0eb
- Resolves:  rhbz#380121.
Andrew Overholt 9626741
Andrew Overholt 13fecdd
* Wed Nov 14 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-2
Andrew Overholt 13fecdd
- Bump release to tag non-corrupted source zip.
Andrew Overholt 13fecdd
Andrew Overholt 3ed293b
* Thu Nov 01 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-1
Andrew Overholt 3ed293b
- Update branding.
Andrew Overholt 3ed293b
- Work around e.o#195897 by setting the VM arg explicitly.
Andrew Overholt 3ed293b
Andrew Overholt 78522af
* Fri Oct 26 2007 Andrew Overholt <overholt@redhat.com> 3.3.1.1-1
Andrew Overholt 78522af
- 3.3.1.1
Andrew Overholt 78522af
- Add patch for memory issues with IcedTea.
Andrew Overholt 78522af
Andrew Overholt 97f2dab
* Mon Oct 22 2007 Andrew Overholt <overholt@redhat.com> 3.3.1-1
Andrew Overholt 97f2dab
- 3.3.1
Andrew Overholt 97f2dab
- Update icu4j requirement for new version number.
Andrew Overholt 97f2dab
Andrew Overholt ebc2719
* Thu Oct 11 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-27
Andrew Overholt ebc2719
- Add patch to have unversioned swt.jar symlink (courtesy Patrice
Andrew Overholt ebc2719
  Dumas).
Andrew Overholt ebc2719
Andrew Overholt 05f3019
* Sat Oct 06 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-26
Andrew Overholt 05f3019
- Add encoding to desktop file.
Andrew Overholt 05f3019
- Fix %%files list again.
Andrew Overholt 05f3019
Andrew Overholt 84f4a10
* Fri Oct 05 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-25
Andrew Overholt 84f4a10
- Fix %%files list for Fedora Eclipse feature.
Andrew Overholt 84f4a10
Andrew Overholt b80b7f9
* Fri Oct 05 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-24
Andrew Overholt b80b7f9
- Update branding plugin.
Andrew Overholt b80b7f9
- Add branding feature.  This fixes the update manager issue when using
Andrew Overholt b80b7f9
  the Fedora-branded product.
Andrew Overholt b80b7f9
- Thanks to Alexander Kurtakov and Pascal Rapicault for helping track
Andrew Overholt b80b7f9
  down this issue.
Andrew Overholt b80b7f9
Andrew Overholt 40637f0
* Wed Oct 03 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-23
Andrew Overholt 40637f0
- Build gcj bits on x86 and x86_64.
Andrew Overholt 40637f0
- Add instructions for how to get source of branding plugin.
Andrew Overholt 40637f0
- Fix splash screen typo.
Andrew Overholt 40637f0
- Resolves:  rhbz#301871.
Andrew Overholt 40637f0
Andrew Overholt 12a66d5
* Wed Sep 26 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-21
Andrew Overholt 12a66d5
- Add patch to generate 1.6 bytecode on a 1.7 VM (kudos to Olivier
Andrew Overholt 12a66d5
  Thomann)
Andrew Overholt 12a66d5
- Resolves:  rhbz#288991.
Andrew Overholt 12a66d5
Andrew Overholt c02008b
* Tue Sep 18 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-20
Andrew Overholt c02008b
- Move requirements on subclipse, cdt, mylyn, etc. to comps.xml.
Andrew Overholt c02008b
Andrew Overholt 964db4e
* Mon Sep 10 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-19
Andrew Overholt 964db4e
- Don't require subclipse, cdt, or rpm-editor on ppc64.
Andrew Overholt 964db4e
Ben Konrath ad232e6
* Fri Sep 07 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-18
Ben Konrath ad232e6
- Build 1.6 plugins when building with IcedTea.
Ben Konrath ad232e6
Ben Konrath ca25e33
* Fri Sep 07 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-17
Ben Konrath ca25e33
- Update Fedora Eclipse product plugin to fix Welcome page.
Ben Konrath ca25e33
Ben Konrath 9e4e45e
* Thu Sep 06 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-16
Ben Konrath 9e4e45e
- Compile SDK to 1.5 bytecode and disable 1.6 plugins.
Ben Konrath 9e4e45e
Andrew Overholt 170a499
* Wed Sep 05 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-15
Andrew Overholt 170a499
- Update tomcat5, commons-el, and commons-logging to required releases
Andrew Overholt 170a499
  with proper OSGi manifests.
Andrew Overholt 170a499
Ben Konrath 3d1244e
* Mon Sep 04 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-14
Ben Konrath 3d1244e
- Add Fedora Eclipse product plugin.
Ben Konrath 3d1244e
- Add Requires: eclipse-rpm-editor to platform subpackage.
Ben Konrath 3d1244e
Ben Konrath b3a6954
* Thu Aug 30 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-13
Ben Konrath b3a6954
- Move *-sdk subpackages to pde subpackage.
Ben Konrath b3a6954
- Add BuildRequires: libXt-devel for IcedTea build.
Ben Konrath 3c5aeb6
- Add launcher-fix-java-home.patch.
Ben Konrath b3a6954
Ben Konrath ddb3868
* Tue Aug 28 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-12
Ben Konrath 06f1397
- Require mylyn on all archs except ppc64 alpha.
Ben Konrath 4e2eed0
- Use IcedTea on x86_64 and x86.
Ben Konrath 4e2eed0
- Remove hacks for s390{,x} as they are now included in upstream build.
Ben Konrath eb3947e
Andrew Overholt 69bb738
* Tue Aug 28 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-11
Andrew Overholt 69bb738
- Symlink to jetty.
Andrew Overholt 69bb738
Ben Konrath 09bafdb
* Tue Aug 28 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-10
Ben Konrath 1d5cef7
- Add requires eclipse-cvs-client, eclipse-subclipse, eclipse-mylyn,
Ben Konrath 1d5cef7
  eclipse-mylyn-ide, eclipse-mylyn-bugzilla, eclipse-mylyn-trac
Ben Konrath ce9604f
  and eclipse-changelog to platform package.
Ben Konrath 1d5cef7
- Add requires eclipse-mylyn-java to jdt.
Ben Konrath 1d5cef7
- Add requires eclipse-mylyn-pde to pde.
Ben Konrath 1d5cef7
- Remove pde-sdk and sdk sub-packages
Ben Konrath 09bafdb
Ben Konrath cbe3cfd
* Thu Aug 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-9
Ben Konrath cbe3cfd
- Add Requires: eclipse-cvs-client to jdt package.
Ben Konrath cbe3cfd
Ben Konrath ddd7ee4
* Tue Aug 14 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-8
Ben Konrath ddd7ee4
- Link to junit4 jar.
Ben Konrath ddd7ee4
- Remove included eclipse binaries.
Ben Konrath ddd7ee4
- Add Provides: eclipse to sdk subpackage.
Ben Konrath ddd7ee4
9a85727
* Mon Aug 13 2007 Oliver Falk <oliver@linux-kernel.at> 3.3.0-7
9a85727
- Also explode SDK tarball on alpha
9a85727
- Resolves: #251958
9a85727
Ben Konrath bae8ad8
* Tue Aug 07 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-6
Ben Konrath bae8ad8
- Add links for jsp api, servlet api and jasper.
Ben Konrath bae8ad8
- Add %%{_libdir}/%%{name}/features to the rcp %%files listing.
Ben Konrath bae8ad8
Ben Konrath 6420a0b
* Fri Aug 03 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-5
Ben Konrath 6420a0b
- Add patch to fix double free bug in launcher library.
Ben Konrath 6420a0b
- Resolves: #248798.
Ben Konrath 6420a0b
Ben Konrath 46992bc
* Tue Jul 31 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-4
Ben Konrath 46992bc
- Link to commons-el.jar.
Ben Konrath 46992bc
- Remove ant 1.7 hacks.
Ben Konrath 6c08b44
Ben Konrath 1063e3d
* Wed Jul 18 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-3
Ben Konrath 1063e3d
- Add links for lucene and lucene.analysis.
Ben Konrath 1063e3d
- Remove icu4j symlink from /usr/share/eclipse/plugins.
Ben Konrath 1063e3d
- Resolves: #248749.
Ben Konrath 1063e3d
Ben Konrath 182b6dd
* Mon Jul 16 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-2
Ben Konrath a940d69
- Fix dep in rcp sub-package.
Ben Konrath 182b6dd
- Add Alpha support.
Ben Konrath 182b6dd
- Link to commons-logging.jar
Ben Konrath 182b6dd
- Resolves: #248359.
Ben Konrath a940d69
Ben Konrath 5d4e764
* Fri Jun 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-1
Ben Konrath 5d4e764
- 3.3.
Ben Konrath 5d4e764
Ben Konrath 7195c41
* Wed Jun 27 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.RC4
Ben Konrath 7195c41
- Restore ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 7195c41
- Restore multilib support.
Ben Konrath 7195c41
Ben Konrath 26ff742
* Tue Jun 19 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC4
Ben Konrath 26ff742
- Use icu4j-eclipse sub-package instead of building icu4j here.
Ben Konrath 26ff742
- Use exec in binary wrapper.
Ben Konrath 26ff742
- Add 3.3.0 splashscreen.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Tue Jun 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC4
Ben Konrath 26ff742
- 3.3RC4.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Mon Jun 11 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC3
Ben Konrath 26ff742
- Update launching strategy for 3.3.
Ben Konrath 26ff742
- Pull in package-build fix from F-7.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC3
Ben Konrath 26ff742
- 3.3RC3.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC2
Ben Konrath 26ff742
- 3.3RC2.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC1
Ben Konrath 26ff742
- 3.3RC1.
Ben Konrath 26ff742
- Pull in changes from F-7.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Mon Feb 26 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M5eh
Ben Konrath 26ff742
- 3.3M5.
Andrew Overholt bdf2871
- Remove launcher-addplatformtotildeeclipse.patch as it's only needed
Ben Konrath 26ff742
  for FC-5 -> FC-6.
Ben Konrath 26ff742
- Remove swt firefox patches as they are no longer needed.
Ben Konrath 26ff742
- Remove ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 26ff742
- Remove use-built-launcher patch.
Ben Konrath 26ff742
- Update set-launcher-and-configuration-dir patch.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Mon Jan 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.M4
Ben Konrath 26ff742
- Enable updated ecj square brackets patch.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Fri Jan 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.M4
Ben Konrath 26ff742
- Pull in fixes from rawhide.
Ben Konrath 26ff742
Ben Konrath 26ff742
* Wed Dec 20 2006 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M4
Ben Konrath 26ff742
- 3.3M4.
Ben Konrath 26ff742
- Update patches for 3.3M4.
Ben Konrath 26ff742
- Remove SWT JNI symlinks in %%{_libdir}.
Ben Konrath 3f14355
Ben Konrath c7a0f84
* Wed Dec 6 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-25
Ben Konrath c7a0f84
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
Ben Konrath c7a0f84
- Resolves: #211008.
Ben Konrath c7a0f84
Andrew Overholt eb1eea2
* Tue Dec 5 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-24
Andrew Overholt eb1eea2
- Specfile review with Ben Konrath.
Andrew Overholt eb1eea2
- Lots of cleanups.
Andrew Overholt eb1eea2
Andrew Overholt f521f4b
* Tue Nov 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-23
Andrew Overholt f521f4b
- Move back to ~/.eclipse for update site pending upstream comments.
Andrew Overholt f521f4b
- Add patch to add platform to ~/.eclipse's platform.xml.  This maintains
Andrew Overholt 6e68df6
  user-installed plugins but allows us to remove the pre-configured
Andrew Overholt 6e68df6
  platform.xml in the OSGi configuration area.
Andrew Overholt f521f4b
Andrew Overholt d43e125
* Mon Nov 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-22
Andrew Overholt d43e125
- Use ~/.eclipseplugins instead of ~/.eclipse in update site - homedir patch.
Andrew Overholt d43e125
- Bump release.
Andrew Overholt d43e125
Ben Konrath ddd3836
* Fri Nov 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-21
Ben Konrath ddd3836
- Add patch to workaround an xml parsing bug in libgcj (gcc bug #29853).
Ben Konrath ddd3836
- Resolves: #209393.
Ben Konrath ddd3836
Andrew Overholt 94d2ca8
* Fri Nov 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-20
Andrew Overholt 94d2ca8
- Revise gre64 patch to just do ppc64 addition and not ordering change.
Andrew Overholt 94d2ca8
Andrew Overholt 69fddf9
* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-19
Andrew Overholt 69fddf9
- Add patch to look at gre64.conf on ppc64.
Andrew Overholt 69fddf9
Ben Konrath 1d4ed3d
* Fri Nov 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-18
Ben Konrath 1d4ed3d
- Remove SWT ON_TOP patch as it is fixed in 3.2.1.
Ben Konrath 1d4ed3d
Ben Konrath 049a20d
* Thu Nov 09 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-17
Ben Konrath 049a20d
- Add file level requirement for swt fragment to rcp and platform packages.
Ben Konrath 049a20d
  This is needed so that the rcp and platform packages pull in the swt package
Ben Konrath 049a20d
  of the correct word size.
Ben Konrath 049a20d
Ben Konrath 817e881
* Mon Nov 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-16
Ben Konrath 817e881
- Move copy-platform back to %%{_datadir}/eclipse.
Ben Konrath 817e881
- Require gjdoc >= 0.7.7-14 as it generates consistent html across archs.
Andrew Overholt bdf2871
- Move most of the doc plugins back to %%{_datatdir}/eclipse now that gjdoc
Andrew Overholt bdf2871
  is fixed.
Ben Konrath 817e881
Andrew Overholt a10e445
* Fri Nov 03 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-15
Andrew Overholt a10e445
- Make sdk require config.ini itself rather than the package to deal with the
Andrew Overholt a10e445
  bi-arch installation situation.
Andrew Overholt a10e445
- Move sdk feature and plugin to %%{_libdir} so we can check for its existence
Andrew Overholt a10e445
  in the post scripts.
Andrew Overholt a10e445
Andrew Overholt bfa8a41
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-14
Andrew Overholt bfa8a41
- Remove post sections that munge eclipse.product; always set it to
Andrew Overholt bfa8a41
  org.eclipse.platform.ide or org.eclipse.sdk.ide.
Andrew Overholt bfa8a41
- Remove changelogs prior to 3.2.0.
Andrew Overholt bfa8a41
Ben Konrath 49bd3cd
* Thu Nov 02 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-12
Ben Konrath 49bd3cd
- Move doc plugins to %%{_libdir}/eclipse/plugins because of html is being
Ben Konrath 49bd3cd
  generated differently on different arches.
Ben Konrath 49bd3cd
- Fix multilib problem when there are two or more jars within a jar.
Andrew Overholt afeeac0
- BR dos2unix always (for mac2unix).
Ben Konrath 49bd3cd
Ben Konrath 4792512
* Wed Nov 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-11
Ben Konrath 365f2e6
- Move copy-platform to %%{_libdir}/eclipse
Ben Konrath 365f2e6
- Move the platform.source, icu4j, icu4j.source, help.webapp and
Ben Konrath 49bd3cd
  update.core.linux plugins to %%{_libdir}/eclipse/plugins because these plugins
Ben Konrath 49bd3cd
  have platform specific content. Some of the platform specific content may be
Ben Konrath 49bd3cd
  a result of bugs in libgcj. These need to be investigated.
Ben Konrath 365f2e6
- Disable building the help indexes on all archs so that we have the same doc
Andrew Overholt aa463b7
  plugins on all archs.
Ben Konrath 365f2e6
- Remove org.apache.ant_1.6.5/bin/runant.py to avoid multilib conflicts.
Andrew Overholt bdf2871
- Repack all the jars and the jars within those jars. This is needed
Ben Konrath 365f2e6
  to make this package multilib compatible.
Andrew Overholt bdf2871
- Put SWT symlinks in %%{_libdir}/eclipse instead of
Ben Konrath 365f2e6
  %%{_libdir}/eclipse/plugins.
Ben Konrath 365f2e6
Ben Konrath 4792512
* Wed Nov 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt 51e09a3
- Use equinox initializer instead of old patch to core.runtime.
Andrew Overholt 51e09a3
- Run initializer *after* splitting install into arch-specific and
Andrew Overholt 51e09a3
  arch-independent locations.
Andrew Overholt 6903f2e
- Move copy-platform to arch-specific location.
Andrew Overholt ba28612
- Get rid of broken symlinks in tomcat plugin.
Andrew Overholt 51e09a3
Andrew Overholt f20de88
* Tue Oct 31 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt f20de88
- Fix copy-platform to work with split install.
Andrew Overholt f20de88
Ben Konrath 4f5dfda
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-10
Ben Konrath 4f5dfda
- Add 3.2.1 splash screen.
Ben Konrath 4f5dfda
- Sort the java source files before building (#209249).
Ben Konrath 4f5dfda
- Remove Fedora ifdefs.
Ben Konrath 4f5dfda
- Resolves: #209249.
Ben Konrath 4f5dfda
Ben Konrath 64c07e2
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
Ben Konrath 64c07e2
- Re-enable building of the icu4j plugins.
Ben Konrath 64c07e2
Ben Konrath 224c683
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
Ben Konrath 224c683
- Temporarily disable building of icu4j plugin.
Ben Konrath 224c683
Andrew Overholt 6e85ee3
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
Andrew Overholt 6e85ee3
- Fix eclipse-ecj symlink to point to correct location.
Andrew Overholt 6e85ee3
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
Andrew Overholt 6e85ee3
  target-dependent.
Andrew Overholt 6e85ee3
Ben Konrath a0475b3
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
Ben Konrath 3f0aaa6
- Add patch for ecj [] classpath problem.
Andrew Overholt bdf2871
- Remove configuration files from rcp files list.
Ben Konrath 3f0aaa6
- Add patch set bindir and shared config patch to allow the eclipse binary
Ben Konrath 3f0aaa6
  to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
Ben Konrath 3f0aaa6
  set osgi.sharedConfiguration.area config on a per build basis so that the
Ben Konrath 3f0aaa6
  configuration directory can be arch dependant.
Ben Konrath 3f0aaa6
- Remove launcher link patch as the bindir patch removes the requirement for
Ben Konrath 3f0aaa6
  this patch.
Ben Konrath 3f0aaa6
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
Ben Konrath 3f0aaa6
- Add Requies(post,postun) to all packages to ensure that no files are left
Ben Konrath 3f0aaa6
  behind when eclipse is un-installed.
Ben Konrath 3f0aaa6
- Many spec file clean ups.
Ben Konrath 3f0aaa6
- Resolves: #199961, #202585, #210764, #207016.
Ben Konrath 3f0aaa6
- Related: #175547.
Ben Konrath 3f0aaa6
Andrew Overholt 5dbd5e5
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 7036396
- Remove unneeded tomcat symlinks.
Andrew Overholt 7036396
Andrew Overholt 7036396
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 5dbd5e5
- Remove unnecessary bits of configuration.
Andrew Overholt 5dbd5e5
- Resolves: #210764, #202585.
Andrew Overholt 5dbd5e5
Ben Konrath 2224362
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
Ben Konrath 2224362
- Remove perl dependancy.
Ben Konrath 2224362
- Fix offsets in libswt-enableallandO2 patch.
Ben Konrath 2224362
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
Ben Konrath 2224362
  uninstalling the java stack.
Ben Konrath 9a1ee3b
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
Ben Konrath 9a1ee3b
  plugins have dependancies on some plugins in rcp.
Ben Konrath 2224362
Andrew Overholt a0f3f71
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
Andrew Overholt a0f3f71
- Fix triggerpostun to include epoch of previous releases.
Andrew Overholt a0f3f71
Ben Konrath fdbfdd8
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
Ben Konrath fdbfdd8
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
Ben Konrath fdbfdd8
  postun scripts work correctly.
Ben Konrath fdbfdd8
Andrew Overholt ae97910
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
Andrew Overholt 77f0f3e
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
Andrew Overholt 77f0f3e
  (rh#207442, rh#207013).
Andrew Overholt ae97910
Andrew Overholt f8a8826
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
Andrew Overholt 77f0f3e
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
Andrew Overholt f8a8826
Ben Konrath b2eb34a
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
Ben Konrath b2eb34a
- 3.2.1 final.
Ben Konrath b2eb34a
Ben Konrath b2eb34a
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
Andrew Overholt 2487868
- Use new swt-firefox patch and consolidate others into one.
Andrew Overholt 2487868
Ben Konrath 4bb03b3
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
Ben Konrath 84d4ee7
- Fix typo in %%postun of -sdk and -platform.
Ben Konrath 4453b3c
- Disable help index generation on ia64.
Ben Konrath 4bb03b3
Ben Konrath f876b7b
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
Ben Konrath 84d4ee7
- Don't set eclipse.product incorrectly in %%postun of -sdk and -platform.
Ben Konrath f876b7b
Andrew Overholt bdf2871
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1
Ben Konrath ccb00c7
- M20060921-0945 (3.2.1 pre-release).
Ben Konrath ccb00c7
- Upadate patches to 3.2.1.
Ben Konrath ccb00c7
- Add icu4j 3.4.5 sources.
Ben Konrath ccb00c7
- Add Fedora version to platform about.mappings as well as sdk.
Ben Konrath ccb00c7
Andrew Overholt 146eb27
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
Andrew Overholt 146eb27
- Remove unused eclipse.conf.
Andrew Overholt 146eb27
- Remove unused gre64.conf patch (applied upstream).
Andrew Overholt 146eb27
Ben Konrath 7ab720b
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
Ben Konrath 7ab720b
- Use real SWT version on ia64, ppc64, s390 and s390x.
Andrew Overholt bdf2871
- Remove the swt native libs from the rcp sub-package because they are
Ben Konrath 7ab720b
  already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
Ben Konrath 7ab720b
- Set correct eclipse.product in post and postun of sdk and platform
Ben Konrath 7ab720b
  sub-packages (rh bug # 207442)
Ben Konrath 7ab720b
- Don't set the .eclipseproduct twice.
Ben Konrath 7ab98f8
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
Ben Konrath 7ab98f8
- Move Requires: firefox to libswt3-gtk2.
Ben Konrath 7ab720b
Andrew Overholt 19b36dd
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
Andrew Overholt f3d2f35
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
Andrew Overholt f3d2f35
- Fix tomcat symlinking in %%install to make help work (rh#199453).
Andrew Overholt 19b36dd
Ben Konrath 6d33386
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
Ben Konrath 6d33386
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
Andrew Overholt bdf2871
- Re-work files list to match upstream and remove rebuild-sdk-features
Ben Konrath 6d33386
  (rh bug # 205933).
Ben Konrath 6d33386
Ben Konrath afc2c0d
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
Ben Konrath afc2c0d
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
Ben Konrath 096db9a
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
Ben Konrath 096db9a
- Disable help index generation on s390.
Ben Konrath afc2c0d
Ben Konrath c203e4b
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
Ben Konrath c203e4b
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
Ben Konrath c203e4b
  it has not been applied upstream.
Ben Konrath c203e4b
- Minor spec file clean ups.
Andrew Overholt bdf2871
- Add %%{name} to the -devel package Provides so that upgrading from
Ben Konrath c203e4b
  FC-5 to FC-6 works.
Ben Konrath c203e4b
- Re-enable natively compiling the ant.ui plugin.
Ben Konrath c203e4b
- Re-enable natively compiling the team.cvs.core plugin on ia64.
Ben Konrath c203e4b
Ben Konrath d8e9287
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
Ben Konrath d8e9287
- Use the system tomcat on ppc64 and s390x.
Ben Konrath d8e9287
Andrew Overholt 18ed7dc
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
Andrew Overholt 18ed7dc
- Don't use pkg_summary.
Andrew Overholt 18ed7dc
Ben Konrath d509af1
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
Ben Konrath d509af1
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
Ben Konrath 33017f6
- Require java-gcj-compat >= 1.0.64.
Ben Konrath d509af1
Andrew Overholt 839e68f
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
Andrew Overholt 839e68f
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
Andrew Overholt 839e68f
Andrew Overholt 52e37ff
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
Andrew Overholt 03777cc
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
Andrew Overholt 03777cc
  jars that don't exist.
Andrew Overholt 03777cc
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
Andrew Overholt 03777cc
Andrew Overholt b42fa00
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
Andrew Overholt b42fa00
- Use firefox-devel instead of mozilla-devel.
Andrew Overholt b42fa00
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
Andrew Overholt b42fa00
Ben Konrath 760970d
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
Ben Konrath 760970d
- Use sed instead of patches for tomcat version numbers.
Ben Konrath 760970d
Ben Konrath 2069262
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
Ben Konrath 8a9d80d
- Disable build.index doc generation on i386.
Ben Konrath 2069262
Ben Konrath 2069262
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
Andrew Overholt 75b1498
- Remove org.eclipse.ant.ui* from %%files.
Andrew Overholt 75b1498
Ben Konrath 7466a63
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
Ben Konrath e6fae42
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
Ben Konrath 7466a63
9b82965
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
9b82965
- Rebuilt
9b82965
Andrew Overholt 9428e79
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
Andrew Overholt 9428e79
- New splash screen from Diana Fong (rh#199456).
Andrew Overholt 9428e79
Andrew Overholt 9fa962a
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
Andrew Overholt 9fa962a
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
Andrew Overholt 9fa962a
- Fix SWT symlinks.
Andrew Overholt 9fa962a
Igor Foox 4003a9d
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
Igor Foox 4003a9d
- Rebuild.
Igor Foox 4003a9d
Ben Konrath 6387764
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
Ben Konrath 6387764
- Rebuild.
Ben Konrath 6387764
Andrew Overholt 0be4fd5
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt e267f4a
- Temporarily add webapp patch for ppc64 and s390x.
Andrew Overholt a9ae1f6
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
Andrew Overholt 0be4fd5
Andrew Overholt d5d15bb
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt d5d15bb
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
Andrew Overholt d9d5122
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
Andrew Overholt 67abf2a
- Update webapp build patch.
Andrew Overholt 67abf2a
- Use commons-* instead of jakarta-commons-*.
Andrew Overholt e85dc4d
- Don't delete jars in %%install.
Andrew Overholt cbe8e80
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
Andrew Overholt 4fdd733
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
Andrew Overholt 4fdd733
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
Andrew Overholt d5d15bb
Ben Konrath daf6772
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt bdf2871
- Fix tomcat symlinks.
Ben Konrath daf6772
Andrew Overholt 7f96ff5
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 7f96ff5
- 3.2.0.
Andrew Overholt 7f96ff5
- Remove Provides:  eclipse-sdk from eclipse-platform.
Andrew Overholt 7f96ff5
- Use build-jar-repository where appropriate.
Andrew Overholt 7f96ff5
Ben Konrath 9507d8b
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
Ben Konrath 9507d8b
- Rename -devel packages to -sdk to match upstream names.
Andrew Overholt bdf2871
- Add Provides eclipse-sdk to platform-sdk.
Ben Konrath 9507d8b
- Remove zip re-pack code.
Ben Konrath 9507d8b
Ben Konrath 9d1c677
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
Ben Konrath 9d1c677
- Bump release again.
Ben Konrath 9d1c677
Ben Konrath 76119c4
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
Ben Konrath 76119c4
- Bump release.
Ben Konrath 76119c4
Ben Konrath 708ba39
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
Ben Konrath 708ba39
- Require java-gcj-compat 1.0.52.
Ben Konrath 708ba39
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
Ben Konrath 708ba39
- Really fix swt symlinks rh #194500.
Ben Konrath 708ba39
Ben Konrath 6ebb2cd
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2f9a66d
- Enable ppc64, s390 and s390x.
Ben Konrath 2f9a66d
- Add check for jars at the end of prep.
Ben Konrath 2f9a66d
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2f9a66d
- Fix swt symlinks rh #194500.
Ben Konrath 2f9a66d
- Add versionless pde.build symlink.
Ben Konrath 2f9a66d
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2f9a66d
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2f9a66d
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 6ebb2cd
Andrew Overholt 3b7f759
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3b7f759
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3b7f759
Ben Konrath 3ab757b
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 3ab757b
- 3.2RC7.
Ben Konrath 3ab757b
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Andrew Overholt bdf2871
  jsch.jar.
Andrew Overholt bdf2871
- Work around ia64 compile problem in aot-compile-rpm.
Ben Konrath 3ab757b
Ben Konrath 02a0b82
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 02a0b82
- 3.2RC6.