From 921a570b8642cabdce193bab6f9d999fa0eb8098 Mon Sep 17 00:00:00 2001 From: Andrew Overholt Date: Mon, 24 Jan 2005 15:23:02 +0000 Subject: [PATCH] - build for Fedora with native bits - downgrade from previous 3.1M4 builds with epoch - add Epoch to Requires sub-packages references - build ecj and then use that ecj to build the rest - add native compilation and files to respective %files - add resources.jar.so workaround - update patches for 3.0.1 - add new patches --- eclipse.spec | 469 +++++++++++++++++++++++++++------------------------ sources | 1 - 2 files changed, 244 insertions(+), 226 deletions(-) diff --git a/eclipse.spec b/eclipse.spec index ab8f296..5d499a5 100644 --- a/eclipse.spec +++ b/eclipse.spec @@ -3,21 +3,18 @@ # The intersection of the IBM-supported platforms and # the platforms we want. -ExclusiveArch: i386 ppc ppc64 +ExclusiveArch: i386 +Epoch: 1 %define pkg_summary An open extensible IDE %define section free -%define swt_version 3116 +%define swt_version 3063 %define corelib_version 2_1_0b %define eclipse_major 3 -%define eclipse_minor 1 +%define eclipse_minor 0 %define eclipse_majmin %{eclipse_major}.%{eclipse_minor} -%define eclipse_oldmajmin 3.0 -%define eclipse_micro 0 -%define eclipse_milestone M4 -%define full_version %{eclipse_major}.%{eclipse_minor}%{eclipse_milestone} +%define eclipse_micro 1 %define libname libswt3 -%define selfbuild 1 %ifarch %{ix86} %define eclipse_arch x86 @@ -54,12 +51,12 @@ ExclusiveArch: i386 ppc ppc64 Summary: %{pkg_summary} Name: eclipse -Version: %{eclipse_majmin} -Release: 0.%{eclipse_milestone}.21 +Version: %{eclipse_majmin}.%{eclipse_micro}_fc +Release: 7 License: CPL Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ -Source0: ftp://download.eclipse.org/S-3.1M4-200412162000/eclipse-sourceBuild-srcIncluded-3.1M4.zip +Source0: http://download.eclipse.org/downloads/drops/R-3.0.1-200409161125/eclipse-sourceBuild-srcIncluded-3.0.1.zip Source1: %{name}.script Source2: %{name}.desktop Source3: %{name}-16.gif @@ -76,10 +73,14 @@ Source18: %{name}-redhat-splash.png Source20: %{name}-rhdocs-r20041017.tar.gz Source21: %{name}-copy-platform.sh Source22: %{name}-tutorials.pdf +Source23: %{name}-jdt.jarswithnativelibs +Source24: %{name}-pde.jarswithnativelibs +Source25: %{name}-platform.jarswithnativelibs Patch0: %{name}-make-gtk.patch Patch1: %{name}-make-core.patch Patch2: %{name}-make-gtk2.patch +Patch9: %{name}-org.eclipse.core.resources-Makefile.patch Patch16: %{name}-make-gtk3.patch Patch17: %{name}-platformOptions.patch # We don't use this one yet but we want to keep it around. @@ -89,11 +90,11 @@ Patch19: %{name}-jnigen.patch Patch20: %{name}-gtk-launcher.patch Patch21: %{name}-org.eclipse.help.appserver-host.patch Patch22: %{name}-welcome-screen.patch -Patch25: %{name}-webappcpfix.patch -Patch26: %{name}-webappcompiler.patch -Patch27: %{name}-textsearch.patch -Patch28: %{name}-swtbuild.patch -Patch29: %{name}-launcher.patch +Patch23: %{name}-cvs-permission-bits.patch +Patch24: %{name}-cvs-permission-bits2.patch +Patch25: %{name}-search.patch +Patch26: %{name}-textsearch.patch +Patch27: %{name}-webappcpfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: ant @@ -115,8 +116,8 @@ BuildRequires: gtk2-devel # RH 8.0, 9, FC 1: glib2-devel # BuildRequires: %{_libdir}/pkgconfig/gthread-2.0.pc BuildRequires: glib2-devel -BuildRequires: gcc4-java >= 4.0.0-0.17 -BuildRequires: java-1.4.2-gcj4-compat-devel >= 1.4.2 +BuildRequires: gcc4-java >= 4.0.0-0.21 +BuildRequires: java-1.4.2-gcj4-compat-devel >= 1.4.2.0-2jpp %description @@ -130,6 +131,7 @@ Summary: Eclipse Compiler for Java Group: Development/Languages Obsoletes: ecj Provides: ecj +Requires: gcc4-java >= 4.0.0-0.21 %description ecj Eclipse compiler for Java. @@ -143,6 +145,7 @@ Provides: %{name}-sdk Requires: java >= 1.4.2 Requires: %{name}-gtk2 Requires: /usr/bin/perl +Requires: gcc4-java >= 4.0.0-0.21 %description platform Eclipse platform common files. In addition to this, you'll need a UI package @@ -151,9 +154,9 @@ Eclipse platform common files. In addition to this, you'll need a UI package %package gtk2 Summary: GTK2 UI for the Eclipse IDE Group: Text Editors/Integrated Development Environments (IDE) -Provides: %{name}-ui = %{version}-%{release} -Requires: %{name}-platform = %{version}-%{release} -Requires: %{libname}-gtk2 = %{version}-%{release} +Provides: %{name}-ui = %{epoch}:%{version}-%{release} +Requires: %{name}-platform = %{epoch}:%{version}-%{release} +Requires: %{libname}-gtk2 = %{epoch}:%{version}-%{release} Requires: /usr/bin/mozilla %description gtk2 @@ -162,8 +165,9 @@ GTK2 UI for the Eclipse IDE. %package jdt Summary: Eclipse Java development tools Group: Text Editors/Integrated Development Environments (IDE) -Requires: %{name}-ui = %{version}-%{release} -Requires: %{name}-ecj = %{version}-%{release} +Requires: %{name}-ui = %{epoch}:%{version}-%{release} +Requires: %{name}-ecj = %{epoch}:%{version}-%{release} +Requires: gcc4-java >= 4.0.0-0.21 %description jdt Eclipse Java developments tools. @@ -178,9 +182,10 @@ Eclipse Source. %package pde Summary: Eclipse PDE Group: Text Editors/Integrated Development Environments (IDE) -Requires: %{name}-ui = %{version}-%{release} -Requires: %{name}-source = %{version}-%{release} -Requires: %{name}-jdt = %{version}-%{release} +Requires: %{name}-ui = %{epoch}:%{version}-%{release} +Requires: %{name}-source = %{epoch}:%{version}-%{release} +Requires: %{name}-jdt = %{epoch}:%{version}-%{release} +Requires: gcc4-java >= 4.0.0-0.21 %description pde Eclipse PDE. @@ -200,8 +205,9 @@ popd pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" %patch0 -p0 popd -%patch1 -p0 -%patch2 -p0 +%patch1 -p1 +%patch2 -p1 +%patch9 -p0 pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" %patch16 -p0 popd @@ -216,15 +222,18 @@ popd pushd "plugins/org.eclipse.platform" %patch22 -p0 popd -%if %selfbuild -pushd "plugins" -%patch25 -p1 +pushd "plugins/org.eclipse.team.cvs.core" +%patch23 -p0 +popd +pushd "plugins/org.eclipse.team.cvs.ui" +%patch24 -p0 +popd +pushd "plugins/org.eclipse.search" +%patch25 -p0 popd -%endif %patch26 -p0 %patch27 -p0 -%patch28 -p0 -%patch29 -p0 + # Red Hat splash screen. pushd plugins/org.eclipse.platform @@ -250,7 +259,7 @@ perl -pi -e 's|failonerror="[A-Za-z]*"|failonerror="yes"|g' \ # extend it later if need be. src= dest= -%ifarch sparc64 +%ifarch ia64 ppc64 sparc64 src=amd64 dest=%{eclipse_arch} %endif @@ -268,53 +277,46 @@ if test -n "$src"; then fi %build -export ANT_OPTS=-Xmx768m -%if %selfbuild -### -------- ecj build -------- -## Build ecj that we can use for the rest of the build -## +## -------- ecj build -------- +# Build ecj that we can use for the rest of the build # -## We're going to muck with this, so let's keep a clean copy -#cp -r plugins/org.eclipse.jdt.core plugins/org.eclipse.jdt.core.original -# -#pushd plugins/org.eclipse.jdt.core -#cp model/org/eclipse/jdt/core/Signature.java compiler/org/eclipse/jdt/core -#cp -r batch/org/eclipse/jdt/internal/compiler/batch \ -# compiler/org/eclipse/jdt/internal/compiler -#cd compiler -#for f in `find -name '*.java' -o -name '*.properties' | cut -c 3-`; do -# gcj4 -I. -Wno-deprecated -C $f -#done -# -#find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\ -# xargs jar cf ../../../ecj-bootstrap.jar -# -#popd -# -## Let's return o.e.jdt.core to its original src state -#rm -rf plugins/org.eclipse.jdt.core -#mv plugins/org.eclipse.jdt.core.original plugins/org.eclipse.jdt.core -# -## Now use this built ecj for the rest of the build -#export CLASSPATH=`pwd`/ecj-bootstrap.jar:$CLASSPATH -# FIXME: gcj PR 19295 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19295 -export CLASSPATH=`pwd`/jdtcore.jar:$CLASSPATH + +# We're going to muck with this, so let's keep a clean copy +cp -r plugins/org.eclipse.jdt.core plugins/org.eclipse.jdt.core.original + +pushd plugins/org.eclipse.jdt.core +cp model/org/eclipse/jdt/core/Signature.java compiler/org/eclipse/jdt/core +cp -r batch/org/eclipse/jdt/internal/compiler/batch \ + compiler/org/eclipse/jdt/internal/compiler +cd compiler +for f in `find -name '*.java' -o -name '*.properties' | cut -c 3-`; do + gcj -I. -Wno-deprecated -C $f +done + +find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\ + xargs jar cf ../../../ecj-bootstrap.jar + +popd + +# Let's return o.e.jdt.core to its original src state +rm -rf plugins/org.eclipse.jdt.core +mv plugins/org.eclipse.jdt.core.original plugins/org.eclipse.jdt.core + +# Now use this built ecj for the rest of the build +export CLASSPATH=`pwd`/ecj-bootstrap.jar:$CLASSPATH +javac -version # -------- ecj build -------- -%endif pushd plugins/org.eclipse.swt.tools rm -f swttools.jar %{ant} \ -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ - -DjavacVerbose=false -DjavacFailOnError=true \ -Dbuild.compiler=modern \ + -DjavacVerbose=false -DjavacFailOnError=true \ -Dbootclasspath= popd -%if %selfbuild -# I had to add stuff to the bootclasspath to get this to work with -# our pseudo-java-gcj-compat setup. --overholt mkdir -p './JNI Generation/org/eclipse/swt/tools/internal/' %{ant} -buildfile build.xml \ -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ @@ -322,15 +324,6 @@ mkdir -p './JNI Generation/org/eclipse/swt/tools/internal/' -DjavacVerbose=false -DjavacFailOnError=true \ -Dbootclasspath=%{_datadir}/java/libgcj-4.0.0.jar:%{_datadir}/java/xml-commons-apis-1.0.jar \ compile -%else -mkdir -p './JNI Generation/org/eclipse/swt/tools/internal/' -%{ant} -buildfile build.xml \ - -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ - -Dbuild.compiler=modern \ - -DjavacVerbose=false -DjavacFailOnError=true \ - -Dbootclasspath= \ - compile -%endif # FIXME: need a gjdoc RPM ## Overwrite eclipse.org documentation with our own and then build the docs @@ -339,7 +332,7 @@ mkdir -p './JNI Generation/org/eclipse/swt/tools/internal/' #for buildDoc in `/usr/bin/gzip -dc %{SOURCE20} | tar -vxf - | grep build.xml`; do # pushd `echo $buildDoc | sed -e 's/build.xml//g'` # if [ -e buildDoc.xml ]; then -# %{ant} -f buildDoc.xml +# java -cp ../../startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -v -f buildDoc.xml # fi # popd #done @@ -367,26 +360,21 @@ pushd "plugins/org.eclipse.swt${suff}/Eclipse SWT PI/gtk/library" swtflags= %ifarch alpha ia64 ppc64 sparc64 x86_64 swtflags='SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64' -%ifarch x86_64 +%ifarch ia64 # Sigh. -swtflags="$swtflags XTEST_LIB_PATH=/usr/X11R6/lib64" -%else swtflags="$swtflags XTEST_LIB_PATH=/usr/X11R6/lib" %endif %endif -# FIXME: /usr/lib/gcc is because /usr/lib64/gcc... isn't correct on x86_64 make \ $swtflags \ JAVA_HOME="%{java_home}" \ JAVA_JNI="%{java_home}/include" \ AWT_LIB_PATH="%{java_home}/jre/bin" \ -JPACKAGE_CFLAGS="$RPM_OPT_FLAGS -DNO_LONG -I%{java_home}/include \ --I%{java_home}/include/linux \ --I/usr/lib/gcc/%{arch}-redhat-linux/4.0.0/include/"\ +JPACKAGE_CFLAGS="$RPM_OPT_FLAGS -DNO_LONG -I%{java_home}/include -I%{java_home}/include/linux" \ MOZILLA_HOME="" \ MOZILLA_INCLUDE_BASE="/usr/include/mozilla-1.4.2" \ MOZILLA_LIBFLAG="" \ --f make_linux.mak all +-f make_gtk.mak all mkdir -p ../../../os/linux/%{eclipse_arch} cp -p libswt-*.so ../../../os/linux/%{eclipse_arch} popd @@ -399,34 +387,32 @@ DEFAULT_OS_ARCH="%{eclipse_arch}" \ DEFAULT_WS="gtk" \ PROGRAM_OUTPUT="eclipse" \ PROGRAM_NAME="Eclipse" \ --f make_linux.mak clean all -mkdir -p ../../bin/gtk/linux/%{eclipse_arch} -cp -p eclipse ../../bin/gtk/linux/%{eclipse_arch} +-f make_gtk.mak clean all +cp -p eclipse ../../bin/linux/gtk popd -cp -p plugins/platform-launcher/bin/gtk/linux/%{eclipse_arch}/eclipse . +cp -p plugins/platform-launcher/bin/linux/gtk/eclipse . pushd plugins/org.eclipse.core.resources.linux/src -make JPACKAGE_CFLAGS="$RPM_OPT_FLAGS" +make JDK_INCLUDE="%{java_home}/include" JPACKAGE_CFLAGS="$RPM_OPT_FLAGS -I%{java_home}/include -I%{java_home}/include/linux" mkdir -p ../os/linux/%{eclipse_arch} cp -p libcore_*.so ../os/linux/%{eclipse_arch} popd -# This could probably be done with build.xml in this directory pushd plugins/org.eclipse.update.core.linux/src -gcc $RPM_OPT_FLAGS -fPIC -o libupdate.so -shared *.c -I. -I%{java_home}/include +gcc $RPM_OPT_FLAGS -fPIC -o libupdate.so -shared *.c -I. -I%{java_home}/include -I%{java_home}/include/linux +popd + +pushd plugins/org.eclipse.team.cvs.core/library +make \ +JAVA_HOME="%{java_home}" \ +OS="linux" \ +clean all popd %install rm -rf $RPM_BUILD_ROOT -# FIXME: gcj PR 19295 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19295 -#export CLASSPATH=`pwd`/ecj-bootstrap.jar:$CLASSPATH -export CLASSPATH=`pwd`/jdtcore.jar:$CLASSPATH - -#export ANT_OPTS=-Xmx768m -# I had to add stuff to the bootclasspath to get this to work with our -# pseudo java-gcj-compat setup. --overholt -%if %selfbuild +export CLASSPATH=`pwd`/ecj-bootstrap.jar:$CLASSPATH %{ant} \ -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ -Dbuild.compiler=modern \ @@ -434,22 +420,14 @@ export CLASSPATH=`pwd`/jdtcore.jar:$CLASSPATH -Djavadoc=%{javadoc} \ -Dbootclasspath=%{_datadir}/java/libgcj-4.0.0.jar:%{_datadir}/java/xml-commons-apis-1.0.jar \ install -%else -%{ant} \ - -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ - -Dbuild.compiler=modern \ - -DjavacVerbose=false -DjavacFailOnError=true \ - -Dbootclasspath= \ - -Djavadoc=%{javadoc} \ - install -%endif + install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} find result -type f -name "*.zip" -exec unzip -d $RPM_BUILD_ROOT%{_datadir} {} \; install -m 644 plugins/org.eclipse.platform/startup.jar $RPM_BUILD_ROOT%{_datadir}/%{name}/startup.jar rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_*/startup.jar -install -m 644 plugins/platform-launcher/bin/gtk/linux/x86/icon.xpm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm +install -m 644 plugins/platform-launcher/bin/linux/gtk/icon.xpm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm # binaries and libs install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name} @@ -471,7 +449,7 @@ suff=.gtk64/src cp -p plugins/org.eclipse.update.core.linux/src/libupdate*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ cp -p plugins/org.eclipse.core.resources.linux/os/linux/%{eclipse_arch}/libcore_*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ cp -p plugins/org.eclipse.swt${suff}/os/linux/%{eclipse_arch}/libswt*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ -#cp -p plugins/org.eclipse.team.cvs.core/library/libcvs.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ +cp -p plugins/org.eclipse.team.cvs.core/library/libcvs.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ pushd $RPM_BUILD_ROOT%{_libdir}/%{name} chmod 755 eclipse *.so @@ -481,8 +459,8 @@ install -d -m 755 $RPM_BUILD_ROOT%{_jnidir} install -d -m 755 $RPM_BUILD_ROOT%{_libdir} ### begin core lib symlinks -install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.core.resources.linux_%{eclipse_oldmajmin}.%{eclipse_micro}/os/linux/%{eclipse_arch} -pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.core.resources.linux_%{eclipse_oldmajmin}.%{eclipse_micro}/os/linux/%{eclipse_arch} +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.core.resources.linux_%{eclipse_majmin}.%{eclipse_micro}/os/linux/%{eclipse_arch} +pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.core.resources.linux_%{eclipse_majmin}.%{eclipse_micro}/os/linux/%{eclipse_arch} ln -sf %{_libdir}/%{name}/libcore_%{corelib_version}.so libcore_%{corelib_version}.so popd @@ -501,8 +479,8 @@ done popd pushd $RPM_BUILD_ROOT%{_jnidir} -ln -sf %{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_%{eclipse_majmin}.%{eclipse_micro}/ws/gtk/swt.jar swt-gtk-%{full_version}.jar -ln -sf %{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_%{eclipse_majmin}.%{eclipse_micro}/ws/gtk/swt-pi.jar swt-pi-gtk-%{full_version}.jar +ln -sf %{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_%{eclipse_majmin}.%{eclipse_micro}/ws/gtk/swt.jar swt-gtk-%{version}.jar +ln -sf %{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_%{eclipse_majmin}.%{eclipse_micro}/ws/gtk/swt-pi.jar swt-pi-gtk-%{version}.jar popd mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_%{eclipse_majmin}.%{eclipse_micro}/os/linux/%{eclipse_arch} @@ -617,19 +595,33 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/java ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}/jdtcore.jar \ $RPM_BUILD_ROOT%{_datadir}/java/jdtcore.jar -%if %selfbuild -# FIXME: gcj PR 19295 -#rm ecj-bootstrap.jar -%endif +rm ecj-bootstrap.jar -%post platform -# FIXME: we will need to put the proper .sos in the proper sub-packages' %post -# sections -for j in `cat %{_datadir}/%{name}/eclipsecompiledjars.list`; do +%post ecj +gcj-dbtool4 -a %{_libdir}/%{name}/eclipse.db \ + %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}/jdtcore.jar \ + %{_libdir}/%{name}/jdtcore.jar.so +gcj-dbtool4 -a %{_libdir}/%{name}/eclipse.db \ + %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}/jdtCompilerAdapter.jar \ + %{_libdir}/%{name}/jdtCompilerAdapter.jar.so + +%post jdt +for j in `cat %{SOURCE23}`; do gcj-dbtool4 -a %{_libdir}/%{name}/eclipse.db \ $j %{_libdir}/%{name}/`basename $j`.so; done +%post pde +for j in `cat %{SOURCE24}`; do + gcj-dbtool4 -a %{_libdir}/%{name}/eclipse.db \ + $j %{_libdir}/%{name}/`basename $j`.so; +done + +%post platform +for j in `cat %{SOURCE25}`; do + gcj-dbtool4 -a %{_libdir}/%{name}/eclipse.db \ + $j %{_libdir}/%{name}/`basename $j`.so; +done %clean rm -rf $RPM_BUILD_ROOT @@ -639,26 +631,10 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/%{name} %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_3.* %{_datadir}/java/jdtcore*.jar -%{_libdir}/%{name}/jdtcore.jar.so - -%files platform -f %{name}-platform.install -%defattr(0644,root,root,0755) -%dir %{_datadir}/%{name} -%dir %{_libdir}/%{name} -%{_libdir}/%{name}/*.so -%{_datadir}/%{name}/.eclipseproduct -%{_datadir}/%{name}/eclipsecompiledjars.list +# Native bits %{_libdir}/%{name}/eclipse.db -%{_datadir}/%{name}/startup.jar -%{_datadir}/%{name}/icon.xpm -%{_datadir}/%{name}/eclipse -%attr(0755,root,root) %{_datadir}/%{name}/buildscripts/copy-platform -# formerly in scripts -%attr(0755,root,root) %{_bindir}/eclipse -%{_datadir}/applications/* -%{_datadir}/pixmaps/* -%{_datadir}/icons/*/*/apps/* -%config(noreplace) %{_sysconfdir}/eclipse.conf +%attr(0644,root,root) %{_libdir}/%{name}/jdtcore.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/jdtCompilerAdapter.jar.so %files gtk2 -f %{name}-gtk.install %defattr(0644,root,root,0755) @@ -666,7 +642,7 @@ rm -rf $RPM_BUILD_ROOT %files -n %{libname}-gtk2 %defattr(0644,root,root,0755) -/usr/share/eclipse/plugins/org.eclipse.swt.gtk*_3.* +%{_datadir}/%{name}/plugins/org.eclipse.swt.gtk*_3.* %attr(0755,root,root) %{_libdir}/%{name}/libswt-gnome-gtk-*.so %attr(0755,root,root) %{_libdir}/%{name}/libswt-gtk-*.so %attr(0755,root,root) %{_libdir}/%{name}/libswt-pi-gtk-*.so @@ -674,101 +650,144 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libswt-*.so %{_jnidir}/swt-gtk*.jar %{_jnidir}/swt-pi-gtk*.jar +%attr(0664,root,root) %{_libdir}/%{name}/swt-mozilla.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/swt-pi.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/swt.jar.so %files jdt -f %{name}-jdt.install %defattr(0644,root,root,0755) +# Native bits +%{_libdir}/%{name}/eclipse.db +%attr(0664,root,root) %{_libdir}/%{name}/jdiui.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/snippetsupport.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/jdimodel.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/jdi.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/junitsupport.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/junitruntime.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/launching.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/launchingsupport.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/jdt.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/junit.jar.so %files source -f %{name}-source.install %defattr(0644,root,root,0755) %files pde -f %{name}-pde.install %defattr(0644,root,root,0755) +# Native bits +%{_libdir}/%{name}/eclipse.db +%attr(0664,root,root) %{_libdir}/%{name}/pdebuild-ant.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdebuild.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdecore.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdejunit.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdert.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdeuiant.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pdeui.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pde.jar.so +%attr(0664,root,root) %{_libdir}/%{name}/pde-ant.jar.so + +%files platform -f %{name}-platform.install +%defattr(0644,root,root,0755) +%dir %{_datadir}/%{name} +%dir %{_libdir}/%{name} +%{_datadir}/%{name}/.eclipseproduct +%{_datadir}/%{name}/eclipsecompiledjars.list +%{_datadir}/%{name}/startup.jar +%{_datadir}/%{name}/icon.xpm +%attr(0755,root,root) %{_libdir}/%{name}/libcore* +%attr(0755,root,root) %{_libdir}/%{name}/libupdate* +%{_datadir}/%{name}/eclipse +%attr(0755,root,root) %{_datadir}/%{name}/buildscripts/copy-platform +%attr(0755,root,root) %{_libdir}/%{name}/libcvs.so +# formerly in scripts +%attr(0755,root,root) %{_bindir}/eclipse +%{_datadir}/applications/* +%{_datadir}/pixmaps/* +%{_datadir}/icons/*/*/apps/* +# Native bits +%{_libdir}/%{name}/eclipse.db +%attr(0644,root,root) %{_libdir}/%{name}/parser.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/antsupport.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/compare.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/boot.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/expressions.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/filebuffers.jar.so +# FIXME: re-add resources.jar to eclipse-platform.jarswithnativelibs +#%attr(0644,root,root) %{_libdir}/%{name}/resources.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/runtime.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/variables.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/dtcore.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/dtui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/helpbase.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/helpide.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/helpui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/appserver.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/help.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/jface.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/jfacetext.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/refcore.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/refui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/services.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/util.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/activeHelpSample.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/platform.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/search.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/team.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/cvs.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/teamcvsssh.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/jsch-0.1.16.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/teamcvsui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/teamui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/text.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/cheatsheets.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/console.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/externaltools.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/forms.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/ide.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/intro.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/ui.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/workbench.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/compatibility.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/texteditor.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/editors.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/r21.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/views.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/configurator.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/updatecore.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/scheduler.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/updateui.jar.so +# FIXME until libgcj contains gnujaxp (libgcj PR 19301) +%attr(0644,root,root) %{_libdir}/%{name}/xalan-j2-2.6.0.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/xerces-j2-2.6.2.jar.so +%attr(0644,root,root) %{_libdir}/%{name}/xml-commons-apis-1.0.jar.so +# The rest of the native libraries +%{_libdir}/%{name}/*.so +%config(noreplace) %{_sysconfdir}/eclipse.conf + %changelog -* Tue Jan 18 2005 Andrew Overholt 3.1-0.M4.21 -- explicitly require java-1.4.2-gcj4-compat-devel +* Fri Jan 21 2005 Andrew Overholt 1:3.0.1_fc-1 +- build for Fedora with native bits +- downgrade from previous 3.1M4 builds with epoch +- add Epoch to Requires sub-packages references +- build ecj and then use that ecj to build the rest +- add native compilation and files to respective %files +- add resources.jar.so workaround -* Mon Jan 17 2005 Andrew Overholt 3.1-0.M4.20 -- add ppc64 +* Tue Jan 11 2005 Aaron Luchko 3.0.1-8 +- fixed minor typo in eclipse-redhat-splash.png -* Mon Jan 17 2005 Andrew Overholt 3.1-0.M4.19 -- more 64-bit platform and launching script fixes -- add ppc +* Tue Jan 11 2005 Aaron Luchko 3.0.1-7 +- updated copyright date on eclipse-redhat-splash.png -* Sat Jan 15 2005 Andrew Overholt 3.1-0.M4.18 -- script path fixes -- x86_64 fixes +* Wed Jan 5 2005 Aaron Luchko 3.0.1-6 +- fixed problem in search.patch -* Fri Jan 14 2005 Andrew Overholt 3.1-0.M4.17 -- sed typo +* Fri Dec 17 2004 Aaron Luchko 3.0.1-5 +- added search.patch a backported bugfix from 3.1.0 -* Fri Jan 14 2005 Andrew Overholt 3.1-0.M4.15 -- fix /usr/share -> /usr/lib error in launcher script -- only add to the db those jar-so combinations that we've compiled - -* Fri Jan 14 2005 Andrew Overholt 3.1-0.M4.12 -- typos in %files - -* Fri Jan 14 2005 Andrew Overholt 3.1-0.M4.11 -- remove ppc for now - -* Fri Jan 14 2005 Andrew Overholt 3.1-0.M4.10 -- make PDE depend upon JDT -- move precompiled db to %{_libdir}/eclipse -- modify launching script to use compiled .sos -- rename compiled .sos to be .jar.so instead of .so -- for now, do dbtool adding in platform install - -* Wed Jan 12 2005 Andrew Overholt 3.1-0.M4.9 -- add ppc -- add launcher and swt patches - -* Wed Jan 12 2005 Andrew Overholt 3.1-0.M4.7 -- make jdtcore*.jar part of eclipse-ecj - -* Wed Jan 12 2005 Andrew Overholt 3.1-0.M4.6 -- use installed java-devel rpm instead of bootstrapping one - -* Tue Jan 11 2005 Andrew Overholt 3.1-0.M4.5 -- fix when we set JAVA_HOME variable - -* Tue Jan 11 2005 Andrew Overholt 3.1-0.M4.2 -- fix typos - -* Tue Jan 11 2005 Andrew Overholt 3.1-0.M4.1 -- fix versioning and release to upgrade cleanly - -* Tue Jan 11 2005 Andrew Overholt 3.1.M4-9 -- add Provides: ecj for eclipse-ecj - -* Tue Jan 11 2005 Andrew Overholt 3.1.M4-9 -- update patches - -* Tue Jan 11 2005 Andrew Overholt 3.1.M4-5 -- import all necessary patches - -* Mon Jan 10 2005 Andrew Overholt 3.1.M4-4 -- fix /usr/lib -> %{_datadir} to be /usr/lib -> %{_libdir} in - %{_bindir}/eclipse - -* Mon Jan 10 2005 Andrew Overholt 3.1.M4-3 -- add xerces - -* Mon Jan 10 2005 Andrew Overholt 3.1.M4-2 -- fold ecj-native into ecj -- add FIXMEs for necessary work -- add xml .jar->.so compilations so we can work without gnujaxp -- modify launching script to take this into account - -* Wed Jan 05 2005 Andrew Overholt 3.1.M4-1 -- new upstream milestone build -- re-organize sub-rpms - -* Mon Dec 20 2004 Andrew Overholt 3.0.1-4 -- build ecj first and use it to build the rest -- add %selfbuild to toggle between builds with java-gcj-compat style and other - JREs -- fold scripts into platform +* Mon Dec 06 2004 Aaron Luchko 3.0.1-4 +- changed eclipse.script to use /usr/bin/java when no jvm is supplied * Mon Nov 22 2004 Ben Konrath 3.0.1-3 - split cvs-permission-bits.patch in two diff --git a/sources b/sources index 7570b86..7f2025d 100644 --- a/sources +++ b/sources @@ -1,4 +1,3 @@ c95561df899a47fc05261531ed0b9221 eclipse-sourceBuild-srcIncluded-3.0.1.zip 87c0c34661b3e033a9d994ed8015d4c2 eclipse-rhdocs-r20041017.tar.gz 423393fad6f9c220037d38d1098ffcec eclipse-tutorials.pdf -9d529492c9cac1add34e96192504ac22 eclipse-sourceBuild-srcIncluded-3.1M4.zip