rpms/eclipse/F-12 eclipse.sh.in,NONE,1.1 eclipse.spec,1.671,1.672
Andrew Overholt
overholt at fedoraproject.org
Fri Oct 30 12:38:15 UTC 2009
Author: overholt
Update of /cvs/pkgs/rpms/eclipse/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15736/F-12
Modified Files:
eclipse.spec
Added Files:
eclipse.sh.in
Log Message:
* Fri Oct 30 2009 Andrew Overholt <overholt at redhat.com> 1:3.5.1-3
- Make /usr/bin/eclipse a wrapper script due to rhbz#531675 (e.o#290395).
--- NEW FILE eclipse.sh.in ---
#!/bin/sh
# Work around bugs.eclipse.org/290395
export GDK_NATIVE_WINDOWS=true
/usr/lib/eclipse/eclipse "$@"
Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/F-12/eclipse.spec,v
retrieving revision 1.671
retrieving revision 1.672
diff -u -p -r1.671 -r1.672
--- eclipse.spec 28 Oct 2009 11:47:31 -0000 1.671
+++ eclipse.spec 30 Oct 2009 12:38:14 -0000 1.672
@@ -29,12 +29,13 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
Source0: %{download_url}eclipse-build-0.4.0RC0.tar.gz
Source1: %{download_url}eclipse-R3_5_1-fetched-src.tar.bz2
+Source2: eclipse.sh.in
Source17: efj.sh.in
# This file contains the types of files we'd like to extract from the jars
# when using the FileInitializer
@@ -481,6 +482,13 @@ SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
ant -DdestDir=$RPM_BUILD_ROOT -Dprefix=/usr -DbuildArch=%{eclipse_arch} -Dmultilib=true install
+# Set GDK_NATIVE_WINDOWS=true
+# https://bugzilla.redhat.com/531675 (https://bugs.eclipse.org/290395)
+rm $RPM_BUILD_ROOT/%{_bindir}/%{name}
+install -p -D -m0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
+sed --in-place "s:/usr/lib:%{_libdir}:" \
+ $RPM_BUILD_ROOT%{_bindir}/%{name}
+
cp $RPM_BUILD_ROOT%{_libdir}/eclipse/eclipse.ini eclipse.ini-real
# Some directories we need
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
@@ -1160,6 +1168,9 @@ fi
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
%changelog
+* Fri Oct 30 2009 Andrew Overholt <overholt at redhat.com> 1:3.5.1-3
+- Make /usr/bin/eclipse a wrapper script due to rhbz#531675 (e.o#290395).
+
* Wed Oct 28 2009 Alexander Kurtakov <akurtako at redhat.com> 1:3.5.1-2
- Don't install 2 desktop files. (rhbz #530450)
More information about the fedora-extras-commits
mailing list