Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150314 - dev-util/eclipse-sdk-3.2.1 patchset update
Summary: dev-util/eclipse-sdk-3.2.1 patchset update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Development Tools Team
URL: http://www.eclipse.org
Whiteboard:
Keywords: EBUILD
: 150109 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-06 13:12 UTC by Federico Fissore
Modified: 2006-10-08 08:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
eclipse-sdk-3.2.1-r1.ebuild (eclipse-sdk-3.2.1-r1.ebuild,12.14 KB, text/plain)
2006-10-06 13:13 UTC, Federico Fissore
Details
diff from 3.2.1 to 3.2.1-r1 (eclipse.ebuild.diff,11.95 KB, patch)
2006-10-06 13:14 UTC, Federico Fissore
Details | Diff
customBuildCallbacks.xml-add-pre.gather.bin.parts.patch (customBuildCallbacks.xml-add-pre.gather.bin.parts.patch,1.28 KB, patch)
2006-10-06 13:15 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-build.patch (eclipse-sdk-3.2.1-build.patch,1.68 KB, patch)
2006-10-06 13:15 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-buildDocPlugins.patch (eclipse-sdk-3.2.1-buildDocPlugins.patch,1.75 KB, patch)
2006-10-06 13:16 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-bz162177.patch (eclipse-sdk-3.2.1-bz162177.patch,1.43 KB, patch)
2006-10-06 13:16 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-compare-create-api.patch (eclipse-sdk-3.2.1-compare-create-api.patch,36.35 KB, patch)
2006-10-06 13:17 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-disable-junit4-apt.patch (eclipse-sdk-3.2.1-disable-junit4-apt.patch,24.62 KB, patch)
2006-10-06 13:18 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-ecj-classpath.patch (eclipse-sdk-3.2.1-ecj-classpath.patch,557 bytes, patch)
2006-10-06 13:18 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-ecj-gcj.patch (eclipse-sdk-3.2.1-ecj-gcj.patch,52.28 KB, patch)
2006-10-06 13:19 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-ecj-rpmdebuginfo.patch (eclipse-sdk-3.2.1-ecj-rpmdebuginfo.patch,1.94 KB, patch)
2006-10-06 13:19 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-fileinitializer.patch (eclipse-sdk-3.2.1-fileinitializer.patch,17.82 KB, patch)
2006-10-06 13:20 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch (eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch,548 bytes, patch)
2006-10-06 13:20 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-gnuformatterjdt.patch (eclipse-sdk-3.2.1-gnuformatterjdt.patch,13.50 KB, patch)
2006-10-06 13:20 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-gnuformatterjdtui.patch (eclipse-sdk-3.2.1-gnuformatterjdtui.patch,2.95 KB, patch)
2006-10-06 13:21 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-helpindexbuilder.patch (eclipse-sdk-3.2.1-helpindexbuilder.patch,1.02 KB, patch)
2006-10-06 13:21 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-icu4j-build-files.patch (eclipse-sdk-3.2.1-icu4j-build-files.patch,15.95 KB, patch)
2006-10-06 13:21 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-javadoclinks.patch (eclipse-sdk-3.2.1-javadoclinks.patch,4.83 KB, patch)
2006-10-06 13:22 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-launcher-link.patch (eclipse-sdk-3.2.1-launcher-link.patch,6.64 KB, patch)
2006-10-06 13:22 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-libswt-xpcomgcc4.patch (eclipse-sdk-3.2.1-libswt-xpcomgcc4.patch,3.35 KB, patch)
2006-10-06 13:22 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-libupdatebuild.patch (eclipse-sdk-3.2.1-libupdatebuild.patch,1.11 KB, patch)
2006-10-06 13:23 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-libupdatebuild2.patch (eclipse-sdk-3.2.1-libupdatebuild2.patch,783 bytes, patch)
2006-10-06 13:23 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-pde.build-add-package-build.patch (eclipse-sdk-3.2.1-pde.build-add-package-build.patch,11.09 KB, patch)
2006-10-06 13:23 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-searchindexlucene.patch (eclipse-sdk-3.2.1-searchindexlucene.patch,589 bytes, patch)
2006-10-06 13:24 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-swt-firefox.2.patch (eclipse-sdk-3.2.1-swt-firefox.2.patch,1.45 KB, patch)
2006-10-06 13:24 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-swt-firefox.patch (eclipse-sdk-3.2.1-swt-firefox.patch,19.34 KB, patch)
2006-10-06 13:25 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-swt-rm-ON_TOP.patch (eclipse-sdk-3.2.1-swt-rm-ON_TOP.patch,958 bytes, patch)
2006-10-06 13:25 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-swttools.patch (eclipse-sdk-3.2.1-swttools.patch,2.29 KB, patch)
2006-10-06 13:26 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-tomcat55.patch (eclipse-sdk-3.2.1-tomcat55.patch,66.39 KB, patch)
2006-10-06 13:26 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-tomcat55-build.patch (eclipse-sdk-3.2.1-tomcat55-build.patch,11.41 KB, patch)
2006-10-06 13:26 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-updatehomedir.patch (eclipse-sdk-3.2.1-updatehomedir.patch,11.21 KB, patch)
2006-10-06 13:27 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-usebuiltlauncher.patch (eclipse-sdk-3.2.1-usebuiltlauncher.patch,11.41 KB, patch)
2006-10-06 13:27 UTC, Federico Fissore
Details | Diff
eclipse-sdk-3.2.1-webapp-tomcat55.patch (eclipse-sdk-3.2.1-webapp-tomcat55.patch,4.70 KB, patch)
2006-10-06 13:27 UTC, Federico Fissore
Details | Diff
splash.bmp (splash.bmp,394.15 KB, application/octet-stream)
2006-10-06 13:28 UTC, Federico Fissore
Details
emerge_info (emerge_info,3.00 KB, text/plain)
2006-10-06 13:28 UTC, Federico Fissore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Fissore 2006-10-06 13:12:26 UTC
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
Comment 1 Federico Fissore 2006-10-06 13:13:21 UTC
Created attachment 98957 [details]
eclipse-sdk-3.2.1-r1.ebuild
Comment 2 Federico Fissore 2006-10-06 13:14:45 UTC
Created attachment 98958 [details, diff]
diff from 3.2.1 to 3.2.1-r1
Comment 3 Federico Fissore 2006-10-06 13:15:13 UTC
Created attachment 98959 [details, diff]
customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
Comment 4 Federico Fissore 2006-10-06 13:15:49 UTC
Created attachment 98960 [details, diff]
eclipse-sdk-3.2.1-build.patch
Comment 5 Federico Fissore 2006-10-06 13:16:20 UTC
Created attachment 98961 [details, diff]
eclipse-sdk-3.2.1-buildDocPlugins.patch
Comment 6 Federico Fissore 2006-10-06 13:16:38 UTC
Created attachment 98962 [details, diff]
eclipse-sdk-3.2.1-bz162177.patch
Comment 7 Federico Fissore 2006-10-06 13:17:59 UTC
Created attachment 98963 [details, diff]
eclipse-sdk-3.2.1-compare-create-api.patch
Comment 8 Federico Fissore 2006-10-06 13:18:25 UTC
Created attachment 98964 [details, diff]
eclipse-sdk-3.2.1-disable-junit4-apt.patch
Comment 9 Federico Fissore 2006-10-06 13:18:47 UTC
Created attachment 98965 [details, diff]
eclipse-sdk-3.2.1-ecj-classpath.patch
Comment 10 Federico Fissore 2006-10-06 13:19:19 UTC
Created attachment 98967 [details, diff]
eclipse-sdk-3.2.1-ecj-gcj.patch
Comment 11 Federico Fissore 2006-10-06 13:19:33 UTC
Created attachment 98968 [details, diff]
eclipse-sdk-3.2.1-ecj-rpmdebuginfo.patch
Comment 12 Federico Fissore 2006-10-06 13:20:14 UTC
Created attachment 98969 [details, diff]
eclipse-sdk-3.2.1-fileinitializer.patch
Comment 13 Federico Fissore 2006-10-06 13:20:31 UTC
Created attachment 98971 [details, diff]
eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch
Comment 14 Federico Fissore 2006-10-06 13:20:53 UTC
Created attachment 98972 [details, diff]
eclipse-sdk-3.2.1-gnuformatterjdt.patch
Comment 15 Federico Fissore 2006-10-06 13:21:14 UTC
Created attachment 98973 [details, diff]
eclipse-sdk-3.2.1-gnuformatterjdtui.patch
Comment 16 Federico Fissore 2006-10-06 13:21:31 UTC
Created attachment 98974 [details, diff]
eclipse-sdk-3.2.1-helpindexbuilder.patch
Comment 17 Federico Fissore 2006-10-06 13:21:53 UTC
Created attachment 98975 [details, diff]
eclipse-sdk-3.2.1-icu4j-build-files.patch
Comment 18 Federico Fissore 2006-10-06 13:22:15 UTC
Created attachment 98976 [details, diff]
eclipse-sdk-3.2.1-javadoclinks.patch
Comment 19 Federico Fissore 2006-10-06 13:22:37 UTC
Created attachment 98977 [details, diff]
eclipse-sdk-3.2.1-launcher-link.patch
Comment 20 Federico Fissore 2006-10-06 13:22:57 UTC
Created attachment 98978 [details, diff]
eclipse-sdk-3.2.1-libswt-xpcomgcc4.patch
Comment 21 Federico Fissore 2006-10-06 13:23:17 UTC
Created attachment 98979 [details, diff]
eclipse-sdk-3.2.1-libupdatebuild.patch
Comment 22 Federico Fissore 2006-10-06 13:23:37 UTC
Created attachment 98981 [details, diff]
eclipse-sdk-3.2.1-libupdatebuild2.patch
Comment 23 Federico Fissore 2006-10-06 13:23:59 UTC
Created attachment 98982 [details, diff]
eclipse-sdk-3.2.1-pde.build-add-package-build.patch
Comment 24 Federico Fissore 2006-10-06 13:24:25 UTC
Created attachment 98983 [details, diff]
eclipse-sdk-3.2.1-searchindexlucene.patch
Comment 25 Federico Fissore 2006-10-06 13:24:52 UTC
Created attachment 98984 [details, diff]
eclipse-sdk-3.2.1-swt-firefox.2.patch
Comment 26 Federico Fissore 2006-10-06 13:25:12 UTC
Created attachment 98985 [details, diff]
eclipse-sdk-3.2.1-swt-firefox.patch
Comment 27 Federico Fissore 2006-10-06 13:25:36 UTC
Created attachment 98986 [details, diff]
eclipse-sdk-3.2.1-swt-rm-ON_TOP.patch
Comment 28 Federico Fissore 2006-10-06 13:26:09 UTC
Created attachment 98987 [details, diff]
eclipse-sdk-3.2.1-swttools.patch
Comment 29 Federico Fissore 2006-10-06 13:26:30 UTC
Created attachment 98988 [details, diff]
eclipse-sdk-3.2.1-tomcat55.patch
Comment 30 Federico Fissore 2006-10-06 13:26:48 UTC
Created attachment 98989 [details, diff]
eclipse-sdk-3.2.1-tomcat55-build.patch
Comment 31 Federico Fissore 2006-10-06 13:27:09 UTC
Created attachment 98990 [details, diff]
eclipse-sdk-3.2.1-updatehomedir.patch
Comment 32 Federico Fissore 2006-10-06 13:27:39 UTC
Created attachment 98991 [details, diff]
eclipse-sdk-3.2.1-usebuiltlauncher.patch
Comment 33 Federico Fissore 2006-10-06 13:27:54 UTC
Created attachment 98992 [details, diff]
eclipse-sdk-3.2.1-webapp-tomcat55.patch
Comment 34 Federico Fissore 2006-10-06 13:28:24 UTC
Created attachment 98993 [details]
splash.bmp
Comment 35 Federico Fissore 2006-10-06 13:28:54 UTC
Created attachment 98994 [details]
emerge_info

if you care
Comment 36 Federico Fissore 2006-10-06 13:34:22 UTC
don't forget to put the sh file "eclipse-3.2" in your overlay files folder
Comment 37 Federico Fissore 2006-10-06 16:27:29 UTC
to speed things up, I've set up this link
http://www.fridrik.it/files/eclipse-sdk.tar.bz2
Comment 38 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-10-07 03:56:08 UTC
*** Bug 150109 has been marked as a duplicate of this bug. ***
Comment 39 Josh Nichols (RETIRED) gentoo-dev 2006-10-07 19:44:55 UTC
Fixed in 3.2.1-r1. Thanks again for the help!
Comment 40 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-08 06:37:16 UTC
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.
Comment 41 Josh Nichols (RETIRED) gentoo-dev 2006-10-08 08:06:11 UTC
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.