Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157838 - [Java/migrated overlay] eclipse-sdk & swt patches to build/link eclipse to system swt
Summary: [Java/migrated overlay] eclipse-sdk & swt patches to build/link eclipse to sy...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL: https://overlays.gentoo.org/proj/java...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-11 08:20 UTC by Hanno Zysik (geki)
Modified: 2008-01-28 14:23 UTC (History)
1 user (show)

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


Attachments
swt ebuild diff (swt_ebuild.diff,1.40 KB, patch)
2006-12-11 08:22 UTC, Hanno Zysik (geki)
Details | Diff
tweak files/build.xml (swt_buildjar.diff,369 bytes, patch)
2006-12-11 08:22 UTC, Hanno Zysik (geki)
Details | Diff
eclipse-sdk ebuild diff (eclipse_ebuild.diff,12.61 KB, patch)
2006-12-11 08:23 UTC, Hanno Zysik (geki)
Details | Diff
eclipse_disable-swt.diff (eclipse_disable-swt.diff,12.93 KB, patch)
2006-12-11 08:24 UTC, Hanno Zysik (geki)
Details | Diff
manfest file for dev-java/swt (MANIFEST.MF,834 bytes, text/plain)
2006-12-11 08:25 UTC, Hanno Zysik (geki)
Details
properties file for dev-java/swt (fragment.properties,608 bytes, text/plain)
2006-12-11 08:25 UTC, Hanno Zysik (geki)
Details
eclipse-sdk ebuild diff (v2) (eclipse_ebuild2.diff,12.69 KB, patch)
2006-12-12 00:56 UTC, Hanno Zysik (geki)
Details | Diff
eclipse-sdk ebuild diff (v3) (eclipse_ebuild3.diff,10.73 KB, patch)
2006-12-16 04:46 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Zysik (geki) 2006-12-11 08:20:27 UTC
Patches against dev-java/swt from portage and eclipse-sdk from migrated overlay will be attached. Some short summary...

for dev-java/swt:
- generate manifest file
- add properties file
- also delete gcj check-> obsolete

for dev-util/eclipse-sdk:
- strip swt code
- build/link against system swt
- some cleanups
Comment 1 Hanno Zysik (geki) 2006-12-11 08:22:10 UTC
Created attachment 103803 [details, diff]
swt ebuild diff
Comment 2 Hanno Zysik (geki) 2006-12-11 08:22:45 UTC
Created attachment 103804 [details, diff]
tweak files/build.xml
Comment 3 Hanno Zysik (geki) 2006-12-11 08:23:23 UTC
Created attachment 103805 [details, diff]
eclipse-sdk ebuild diff
Comment 4 Hanno Zysik (geki) 2006-12-11 08:24:02 UTC
Created attachment 103806 [details, diff]
eclipse_disable-swt.diff
Comment 5 Hanno Zysik (geki) 2006-12-11 08:25:00 UTC
Created attachment 103807 [details]
manfest file for dev-java/swt
Comment 6 Hanno Zysik (geki) 2006-12-11 08:25:35 UTC
Created attachment 103808 [details]
properties file for dev-java/swt
Comment 7 Federico Fissore 2006-12-11 23:25:47 UTC
huge work! will have a look a it in the next few days. thank you in advance
Comment 8 Hanno Zysik (geki) 2006-12-12 00:33:33 UTC
No problem. dev-java/swt finally builds against firefox again. But that is for bug 157826.
I'd say you add dev-java/swt to migrated and I add firefox/xulrunner support then.
Comment 9 Hanno Zysik (geki) 2006-12-12 00:56:23 UTC
Created attachment 103849 [details, diff]
eclipse-sdk ebuild diff (v2)

update:
- define swt_* variables as local
- delete cruft
Comment 10 Hanno Zysik (geki) 2006-12-16 04:46:12 UTC
Created attachment 104126 [details, diff]
eclipse-sdk ebuild diff (v3)

diff against revision 3381 of migrated-overlay, bugs fixed:
- it removed lucene's parser.jar
- find swt's manifest for proper jar linkname
Comment 11 Hanno Zysik (geki) 2006-12-16 05:05:46 UTC
Just in case someone wonders about ecj-square-bracket-classpath.patch you may have a look at these two RedHat bugreports:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199961

I see it is not in Gentoo's patchset, so here it is:
- applies fine on 3.2.1 here

http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/eclipse/eclipse-ecj-square-bracket-classpath.patch
Comment 12 Hanno Zysik (geki) 2008-01-28 14:22:36 UTC
eclipse-3.3.1.1 is in tree with system swt.