| Bug#: 150314 | Product: Gentoo Linux | Version: 2006.1 | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: enhancement | Priority: P2 |
| Resolution: FIXED | Assigned To: dev-tools@gentoo.org | Reported By: federico@fsfe.org | |
| Component: Ebuilds | |||
| URL: http://www.eclipse.org | |||
| Summary: dev-util/eclipse-sdk-3.2.1 patchset update | |||
| Keywords: EBUILD | |||
| Status Whiteboard: | |||
| Opened: 2006-10-06 13:12 0000 | |||
| Description: | Opened: 2006-10-06 13:12 0000 |
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 an attachment (id=98957) [details]
eclipse-sdk-3.2.1-r1.ebuild
Created an attachment (id=98958) [details]
diff from 3.2.1 to 3.2.1-r1
Created an attachment (id=98959) [details]
customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
Created an attachment (id=98960) [details]
eclipse-sdk-3.2.1-build.patch
Created an attachment (id=98961) [details]
eclipse-sdk-3.2.1-buildDocPlugins.patch
Created an attachment (id=98962) [details]
eclipse-sdk-3.2.1-bz162177.patch
Created an attachment (id=98963) [details]
eclipse-sdk-3.2.1-compare-create-api.patch
Created an attachment (id=98964) [details]
eclipse-sdk-3.2.1-disable-junit4-apt.patch
Created an attachment (id=98965) [details]
eclipse-sdk-3.2.1-ecj-classpath.patch
Created an attachment (id=98967) [details]
eclipse-sdk-3.2.1-ecj-gcj.patch
Created an attachment (id=98968) [details]
eclipse-sdk-3.2.1-ecj-rpmdebuginfo.patch
Created an attachment (id=98969) [details]
eclipse-sdk-3.2.1-fileinitializer.patch
Created an attachment (id=98971) [details]
eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch
Created an attachment (id=98972) [details]
eclipse-sdk-3.2.1-gnuformatterjdt.patch
Created an attachment (id=98973) [details]
eclipse-sdk-3.2.1-gnuformatterjdtui.patch
Created an attachment (id=98974) [details]
eclipse-sdk-3.2.1-helpindexbuilder.patch
Created an attachment (id=98975) [details]
eclipse-sdk-3.2.1-icu4j-build-files.patch
Created an attachment (id=98976) [details]
eclipse-sdk-3.2.1-javadoclinks.patch
Created an attachment (id=98977) [details]
eclipse-sdk-3.2.1-launcher-link.patch
Created an attachment (id=98978) [details]
eclipse-sdk-3.2.1-libswt-xpcomgcc4.patch
Created an attachment (id=98979) [details]
eclipse-sdk-3.2.1-libupdatebuild.patch
Created an attachment (id=98981) [details]
eclipse-sdk-3.2.1-libupdatebuild2.patch
Created an attachment (id=98982) [details]
eclipse-sdk-3.2.1-pde.build-add-package-build.patch
Created an attachment (id=98983) [details]
eclipse-sdk-3.2.1-searchindexlucene.patch
Created an attachment (id=98984) [details]
eclipse-sdk-3.2.1-swt-firefox.2.patch
Created an attachment (id=98985) [details]
eclipse-sdk-3.2.1-swt-firefox.patch
Created an attachment (id=98986) [details]
eclipse-sdk-3.2.1-swt-rm-ON_TOP.patch
Created an attachment (id=98987) [details]
eclipse-sdk-3.2.1-swttools.patch
Created an attachment (id=98988) [details]
eclipse-sdk-3.2.1-tomcat55.patch
Created an attachment (id=98989) [details]
eclipse-sdk-3.2.1-tomcat55-build.patch
Created an attachment (id=98990) [details]
eclipse-sdk-3.2.1-updatehomedir.patch
Created an attachment (id=98991) [details]
eclipse-sdk-3.2.1-usebuiltlauncher.patch
Created an attachment (id=98992) [details]
eclipse-sdk-3.2.1-webapp-tomcat55.patch
Created an attachment (id=98993) [details]
splash.bmp
Created an attachment (id=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.