Hi all This is, from top to bottom, an explanation of the changes: * Changed SRC_URI as I'm currently storing patches in my local "files" folder. That's easier * Changed dev-java/ant dependency. This solves bug #148974 * src_unpack function now calls, at its end, the function "apply-patchset": (almost) all patches moved there * Cleaned up src_install: commented insinto e moved exeinto * apply-patchset function: here is where I've collected the fedora patchset. Patches are applied in the same order as in fedora's file "eclipse.spec" (rows: 381 to 486). Two patch "subsets" weren't applied because they make the build fail. Further investigation will follow. Attached you find the whole patcheset (even the patches that I can't apply) * fix-swt-targets function: here the missing patch (that causes the "almost" at point 3) is applied. Its file is named "-gentoo-" as the original fedora patch did not apply: I had to review it, even removing the last lines as thery are handled by "if use gnome..." checks. The trick here is to enable -O2 when building native things. Eclipse actually seems a bit faster than before. * Final note: I've tried with a branded splash screen :) Remove it if you dislike it: I won't care. Just remember to comment the second-last "pushd" sequence in apply-patchset function I think this ebuild also solves bug #147217 as the patch customBuildCallbacks.xml-add-pre.gather.bin.parts.patch adds an empty "pre.gather.bin.parts" ant target That's all. I look forward for some feedback
Created attachment 98957 [details] eclipse-sdk-3.2.1-r1.ebuild
Created attachment 98958 [details, diff] diff from 3.2.1 to 3.2.1-r1
Created attachment 98959 [details, diff] customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
Created attachment 98960 [details, diff] eclipse-sdk-3.2.1-build.patch
Created attachment 98961 [details, diff] eclipse-sdk-3.2.1-buildDocPlugins.patch
Created attachment 98962 [details, diff] eclipse-sdk-3.2.1-bz162177.patch
Created attachment 98963 [details, diff] eclipse-sdk-3.2.1-compare-create-api.patch
Created attachment 98964 [details, diff] eclipse-sdk-3.2.1-disable-junit4-apt.patch
Created attachment 98965 [details, diff] eclipse-sdk-3.2.1-ecj-classpath.patch
Created attachment 98967 [details, diff] eclipse-sdk-3.2.1-ecj-gcj.patch
Created attachment 98968 [details, diff] eclipse-sdk-3.2.1-ecj-rpmdebuginfo.patch
Created attachment 98969 [details, diff] eclipse-sdk-3.2.1-fileinitializer.patch
Created attachment 98971 [details, diff] eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch
Created attachment 98972 [details, diff] eclipse-sdk-3.2.1-gnuformatterjdt.patch
Created attachment 98973 [details, diff] eclipse-sdk-3.2.1-gnuformatterjdtui.patch
Created attachment 98974 [details, diff] eclipse-sdk-3.2.1-helpindexbuilder.patch
Created attachment 98975 [details, diff] eclipse-sdk-3.2.1-icu4j-build-files.patch
Created attachment 98976 [details, diff] eclipse-sdk-3.2.1-javadoclinks.patch
Created attachment 98977 [details, diff] eclipse-sdk-3.2.1-launcher-link.patch
Created attachment 98978 [details, diff] eclipse-sdk-3.2.1-libswt-xpcomgcc4.patch
Created attachment 98979 [details, diff] eclipse-sdk-3.2.1-libupdatebuild.patch
Created attachment 98981 [details, diff] eclipse-sdk-3.2.1-libupdatebuild2.patch
Created attachment 98982 [details, diff] eclipse-sdk-3.2.1-pde.build-add-package-build.patch
Created attachment 98983 [details, diff] eclipse-sdk-3.2.1-searchindexlucene.patch
Created attachment 98984 [details, diff] eclipse-sdk-3.2.1-swt-firefox.2.patch
Created attachment 98985 [details, diff] eclipse-sdk-3.2.1-swt-firefox.patch
Created attachment 98986 [details, diff] eclipse-sdk-3.2.1-swt-rm-ON_TOP.patch
Created attachment 98987 [details, diff] eclipse-sdk-3.2.1-swttools.patch
Created attachment 98988 [details, diff] eclipse-sdk-3.2.1-tomcat55.patch
Created attachment 98989 [details, diff] eclipse-sdk-3.2.1-tomcat55-build.patch
Created attachment 98990 [details, diff] eclipse-sdk-3.2.1-updatehomedir.patch
Created attachment 98991 [details, diff] eclipse-sdk-3.2.1-usebuiltlauncher.patch
Created attachment 98992 [details, diff] eclipse-sdk-3.2.1-webapp-tomcat55.patch
Created attachment 98993 [details] splash.bmp
Created attachment 98994 [details] emerge_info if you care
don't forget to put the sh file "eclipse-3.2" in your overlay files folder
to speed things up, I've set up this link http://www.fridrik.it/files/eclipse-sdk.tar.bz2
*** Bug 150109 has been marked as a duplicate of this bug. ***
Fixed in 3.2.1-r1. Thanks again for the help!
One strong point of Gentoo is not to force any branding realted stuff on users. Please revert the splash change or make it optional via the branding use flag.
USE=branding it is then. In the future, please open a separate bug for this type of thing, instead of re-opening the bug that brought it into being.