From 976ff40c72e433c8db94f0f1897c7f93e7cbcdf6 Mon Sep 17 00:00:00 2001 From: Krzysztof Daniel Date: Jul 23 2013 12:09:33 +0000 Subject: - Take ownerhsip of /usr/share/eclipse dir (RHBZ#986160). - Include fix for Eclipse bug 408505. - Added rpmlint builder to the fedora package. Conflicts: eclipse.spec --- diff --git a/.gitignore b/.gitignore index 8b97960..dd94bab 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ eclipse-3.8.0-I20120314-1800-src.tar.bz2 eclipse-build-2c0f2ac34e3aee110187aa1dea28430bec724bdb.tar.xz eclipse-4.2.0-I20120405-1114-src.tar.bz2 eclipse-build-5b8ee4c44320ee145596a3ce98fef1aa199055dd.tar.xz -/.project eclipse-build-6df9efbd645d64284c969e9775d51be63fec7627.tar.xz eclipse-build-bbaaeebc6916cc28848e3f7f8f2ae5b8390c2ee3.tar.xz /R4_platform-aggregator-* diff --git a/.project b/.project new file mode 100644 index 0000000..ce73bb7 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + eclipse + + + + + + org.eclipse.linuxtools.rpm.rpmlint.rpmlintBuilder + + + + + + org.eclipse.linuxtools.rpm.rpmlint.rpmlintNature + + diff --git a/eclipse-bug-408505.patch b/eclipse-bug-408505.patch new file mode 100644 index 0000000..f83afe0 --- /dev/null +++ b/eclipse-bug-408505.patch @@ -0,0 +1,21 @@ +--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java.bak 2013-01-28 12:16:08.000000000 +0100 ++++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java 2013-02-19 13:22:29.529926456 +0100 +@@ -987,7 +987,17 @@ int setBounds (int x, int y, int width, int height, boolean move, boolean resize + allocation.width = width; + allocation.height = height; + } +- OS.gtk_widget_size_allocate (topHandle, allocation); ++ /* ++ * The widget needs to be shown before its size is allocated ++ * in GTK 3.8 otherwise its allocation return 0 ++ */ ++ if (OS.GTK_VERSION >= OS.VERSION (3, 8, 0) && !OS.gtk_widget_get_visible(handle)) { ++ OS.gtk_widget_show(handle); ++ OS.gtk_widget_size_allocate (topHandle, allocation); ++ OS.gtk_widget_hide(handle); ++ } else { ++ OS.gtk_widget_size_allocate (topHandle, allocation); ++ } + } + /* + * Bug in GTK. Widgets cannot be sized smaller than 1x1. diff --git a/eclipse.spec b/eclipse.spec index 3b645fa..157ea5e 100644 --- a/eclipse.spec +++ b/eclipse.spec @@ -51,7 +51,7 @@ fi; Summary: An open, extensible IDE Name: %{?scl_prefix}eclipse Version: %{eclipse_version} -Release: 2%{?dist} +Release: 3%{?dist} License: EPL Group: Development/Tools URL: http://www.eclipse.org/ @@ -121,6 +121,8 @@ Patch25: %{pkg_name}-fix-startup-class-refresh.patch Patch26: %{pkg_name}-fix-dropins.patch +Patch27: %{pkg_name}-bug-408505.patch + BuildRequires: ant >= 1.8.3 BuildRequires: rsync BuildRequires: jpackage-utils >= 0:1.5, make, gcc @@ -342,6 +344,7 @@ tar --strip-components=1 -xf %{SOURCE1} %{!?scl:%patch23} %patch25 %patch26 +%patch27 #Disable as many things as possible to make the build faster. We care only for Eclipse. %pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder @@ -777,6 +780,7 @@ fi /usr/share/icons/*/*/apps/* %{_libdir}/%{pkg_name}/eclipse %dir %{_libdir}/%{pkg_name}/dropins +%dir %{_datadir}/%{pkg_name}/ %dir %{_datadir}/%{pkg_name}/dropins %dir %{_libdir}/%{pkg_name}/configuration/ %{_libdir}/%{pkg_name}/configuration/config.ini @@ -1001,6 +1005,11 @@ fi %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.util_* %changelog +* Tue Jul 23 2013 Krzysztof Daniel 1:4.3.0-3 +- Take ownerhsip of /usr/share/eclipse dir (RHBZ#986160). +- Include fix for Eclipse bug 408505. +- Added rpmlint builder to the fedora package. + * Mon Jun 24 2013 Krzysztof Daniel 1:4.3.0-2 - Consume Kepler EMF.