Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112537 - version bump: dev-util/eclipse-sdk-3.2_rc1
Summary: version bump: dev-util/eclipse-sdk-3.2_rc1
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 11:55 UTC by Maik Schreiber
Modified: 2006-07-04 11:08 UTC (History)
6 users (show)

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


Attachments
eclipse-sdk-3.2_pre3.ebuild (eclipse-sdk-3.2_pre3.ebuild,10.46 KB, text/plain)
2005-11-14 11:56 UTC, Maik Schreiber
Details
06-path-fixups-3.2m3.patch (06-path-fixups-3.2m3.patch,4.06 KB, patch)
2005-11-14 11:56 UTC, Maik Schreiber
Details | Diff
eclipse-sdk-3.2_pre4.ebuild (eclipse-sdk-3.2_pre4.ebuild,10.46 KB, text/plain)
2006-01-06 03:06 UTC, Brian Merrill
Details
06-path-fixups-3.2m4.patch (06-path-fixups-3.2m4.patch,5.22 KB, patch)
2006-01-06 03:08 UTC, Brian Merrill
Details | Diff
eclipse-3.2.desktop (eclipse-3.2.desktop,226 bytes, text/plain)
2006-01-06 03:08 UTC, Brian Merrill
Details
Eclipse 3.2rc1 ebuild (eclipse-sdk-3.2_rc1.ebuild,8.80 KB, text/plain)
2006-04-20 22:15 UTC, Mikko Tiihonen
Details
old patch allowing compile of the native update.so library (07-path-fixups-3.2.patch,1.79 KB, patch)
2006-04-20 22:16 UTC, Mikko Tiihonen
Details | Diff
Fixes for eclipse build bugs + one old sed fix converted to a Makefile patch (08-eclipse-build-problems.patch,2.46 KB, patch)
2006-04-20 22:19 UTC, Mikko Tiihonen
Details | Diff
eclipse-sdk-3.2_rc2.ebuild (eclipse-sdk-3.2_rc2.ebuild,8.54 KB, text/plain)
2006-04-29 11:52 UTC, Mikko Tiihonen
Details
3.1.2-r2 vs 3.2_rc2 ebuild (eclipse-sdk-3.2_rc2.ebuild.diff,11.46 KB, patch)
2006-04-29 11:52 UTC, Mikko Tiihonen
Details | Diff
07-eclipse-3.2.patch (07-eclipse-3.2.patch,3.04 KB, patch)
2006-04-29 11:54 UTC, Mikko Tiihonen
Details | Diff
eclipse-3.2 - startup wrapper (eclipse-3.2,1.40 KB, text/plain)
2006-04-29 11:55 UTC, Mikko Tiihonen
Details
eclipse-3.1 vs eclipse-3.2 - startup wrapper (eclipse-3.2.diff,1.36 KB, patch)
2006-04-29 11:58 UTC, Mikko Tiihonen
Details | Diff
eclipse-sdk-3.2_rc2.ebuild vs eclipse-sdk-3.2_rc4.ebuild (eclipse-sdk-3.2.ebuild.patch,1.15 KB, patch)
2006-05-14 23:13 UTC, Brian Merrill
Details | Diff
eclipse-sdk-3.2_rc4.ebuild (eclipse-sdk-3.2_rc4.ebuild,8.57 KB, text/plain)
2006-05-14 23:14 UTC, Brian Merrill
Details
07-eclipse-3.2.patch (07-eclipse-3.2.patch,2.42 KB, patch)
2006-05-14 23:17 UTC, Brian Merrill
Details | Diff
diff of new eclipse-3.2 startup wrapper (eclipse-3.2.startup.patch,352 bytes, patch)
2006-05-14 23:21 UTC, Brian Merrill
Details | Diff
new eclipse-3.2 startup wrapper (eclipse-3.2,1.55 KB, text/plain)
2006-05-14 23:22 UTC, Brian Merrill
Details
eclipse-sdk-3.2_rc5.ebuild (eclipse-sdk-3.2_rc5.ebuild,8.62 KB, patch)
2006-05-27 13:11 UTC, Mikko Tiihonen
Details | Diff
07-eclipse-3.2.patch (07-eclipse-3.2.patch,3.11 KB, patch)
2006-05-27 13:14 UTC, Mikko Tiihonen
Details | Diff
eclipse-sdk-3.2_rc7.ebuild (eclipse-sdk-3.2_rc7.ebuild,8.62 KB, patch)
2006-06-22 02:40 UTC, Mirko Stocker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maik Schreiber 2005-11-14 11:55:37 UTC
Please find attached modified ebuild and patch file for
dev-util/eclipse-sdk-3.2_pre3
Comment 1 Maik Schreiber 2005-11-14 11:56:19 UTC
Created attachment 72891 [details]
eclipse-sdk-3.2_pre3.ebuild
Comment 2 Maik Schreiber 2005-11-14 11:56:43 UTC
Created attachment 72892 [details, diff]
06-path-fixups-3.2m3.patch
Comment 3 Maik Schreiber 2005-11-14 11:57:09 UTC
One more note: I have only tested the ebuild under x86 and sun-jdk.
Comment 4 Brian Merrill 2006-01-06 03:06:59 UTC
Created attachment 76315 [details]
eclipse-sdk-3.2_pre4.ebuild
Comment 5 Brian Merrill 2006-01-06 03:08:00 UTC
Created attachment 76316 [details, diff]
06-path-fixups-3.2m4.patch
Comment 6 Brian Merrill 2006-01-06 03:08:40 UTC
Created attachment 76317 [details]
eclipse-3.2.desktop
Comment 7 Brian Merrill 2006-01-06 03:15:11 UTC
Updated the previous M3 ebuild for eclipse 3.2 M4.  Also updated the 06-path-fixups-3.2m4.patch with fixes for x86_64.  I have successfully compiled this ebuild on x86_64(blackdown-jdk-4.2.03) and x86(sun-jdk-1.4.2.10).
Comment 8 Henning Rogge 2006-03-16 15:07:57 UTC
Eclipse 3.2_M5a is there... is it difficult to update the ebuild/patch ?
Comment 9 Thomas Fischer 2006-03-17 05:44:58 UTC
(In reply to comment #8)
> Eclipse 3.2_M5a is there... is it difficult to update the ebuild/patch ?
I tried to used the M4 ebuild (not tested myself) and modified it for M5. The main difference is, that you have to supply the path to Java 5 (some module requires it, see [1] for details). Currently, it is hardcoded in my ebuild script, but a better way would be if java-config could be told to return the home of the lastest Java 5 installation.
When I start to build M5, however, it stops after some time with the message, that org.eclipse.core.runtime.IPluginDescriptor cannot be resolved. Detailed logs can be provided upon request. But maybe someone has some better ebuilds/patches...

[1] http://download.eclipse.org/eclipse/downloads/drops/S-3.2M5a-200602231656/srcIncludedBuildInstructions.html
Comment 10 Mike Slinn 2006-04-15 16:06:18 UTC
Eclipse 3.2RC1 is now available, it's time to switch over, I think.  Would some kind soul please put together an ebuild?
Comment 11 Josh Nichols (RETIRED) gentoo-dev 2006-04-15 22:41:30 UTC
I haven't had any luck getting any of the 3.2 series to build thus far.

Another set back is that some parts of eclipse need Java 1.5 to compile. And as you may know, it is currently package.mask'd.
Comment 12 Mike Slinn 2006-04-16 00:19:17 UTC
It seems that getting eclipse-3.2 to build will be difficult, especially since JDK 5 support isn't really there in Gentoo yet.  Perhaps a binary install is a good solution for now.  I tend to use the binary distributions for large packages whenever possible (OpenOffice, FireFox, Thunderbird, etc.)

I've almost got a binary installation of Eclipse 3.2rc1 working. See http://forums.gentoo.org/viewtopic-t-454181-highlight-.html for details - help is appreciated.  
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-04-20 08:13:16 UTC
(In reply to comment #1)
> Created an attachment (id=72891) [edit]
> eclipse-sdk-3.2_pre3.ebuild
> 

In the future, please submit diffs against the existing ebuilds. This allows people (in particular developers) to easily see what changes you made. This is particularly important for giant ebuilds like eclipse-sdk.
Comment 14 Mikko Tiihonen 2006-04-20 22:15:30 UTC
Created attachment 85088 [details]
Eclipse 3.2rc1 ebuild

Eclipse 3.2rc1 ebuild. Tested only with amd64, if upstream x86/ppc builds are as buggy then needs some more work for those architectures too.

Anyway, contains support for glx useflag, restores the cairo useflag (now cairo >1.0 required). Requires Java 1.5 JVM (does not use at all Java 1.4 JVM when building). Now passes gentoo CFLAGS to the native code makefiles.
Comment 15 Mikko Tiihonen 2006-04-20 22:16:56 UTC
Created attachment 85089 [details, diff]
old patch allowing compile of the native update.so library
Comment 16 Mikko Tiihonen 2006-04-20 22:19:25 UTC
Created attachment 85090 [details, diff]
Fixes for eclipse build bugs + one old sed fix converted to a Makefile patch

the last two parts of this patch might need similar adjustment on x86 and ppc
Comment 17 Josh Nichols (RETIRED) gentoo-dev 2006-04-21 06:07:52 UTC
(In reply to comment #14)
Like I stated earlier(In reply to comment #14)
> Created an attachment (id=85088) [edit]
> Eclipse 3.2rc1 ebuild
> 
As I requested earlier, please try to submit patches to existing ebuilds in portage, rather than attach entire ebuilds.

You may want to be careful about what you tweak in an ebuild, especially when it concerns architectures you can't test on. In particular, you removed a bit in pkg_setup that would likely prevent building on x86.

The cario dependencies should be in RDEPEND, as you probably need those at runtime.

I know you copied the bits for calling pkgconfig out of one of the scripts, but a cleaner way of doing it is:

if pkg-config --exists firefox-xpcom ; then
   ......
elif pkg-config --exists mozilla-xpcom ; then
  ........
fi
Comment 18 Mikko Tiihonen 2006-04-29 11:52:10 UTC
Created attachment 85785 [details]
eclipse-sdk-3.2_rc2.ebuild
Comment 19 Mikko Tiihonen 2006-04-29 11:52:54 UTC
Created attachment 85786 [details, diff]
3.1.2-r2 vs 3.2_rc2 ebuild
Comment 20 Mikko Tiihonen 2006-04-29 11:54:25 UTC
Created attachment 85787 [details, diff]
07-eclipse-3.2.patch

merged all required eclipse patches to one. The rc2 fixed most of the problems in rc1 so the patch is now smaller and has no architecture specific parts.
Comment 21 Mikko Tiihonen 2006-04-29 11:55:40 UTC
Created attachment 85788 [details]
eclipse-3.2 - startup wrapper
Comment 22 Mikko Tiihonen 2006-04-29 11:58:14 UTC
Created attachment 85789 [details, diff]
eclipse-3.1 vs eclipse-3.2 - startup wrapper

contains a fix to passing parameters that contains spaces to the real eclipse binary
Comment 23 Mikko Tiihonen 2006-04-29 13:35:45 UTC
I have tested the 3.2rc2 ebuild on amd64 with both sun (5.0.06) and ibm jdk (5.0SR1). Both compiled and ran fine. I just also noticed that the amd64 ibm-jdk 5.0 headers are now fixed and the workaround for them could be removed from the ebuild.

Also I would like to add a comment on why I removed the 'dangerous' CFLAGS detection: I already tried to remove it a year ago with my 3.1 ebuild when I noticed that eclipse builds all native code with either -O0 or -O1 level and does not respect any gentoo CFLAGS (I even added a TODO entry to the ebuild about using gentoo cflags). Thus any problems that users might have seen definitely were not about cflags but most likely just buggy JVM. I know that at least the blackdown jdk has been very unstable with larger java programs. Luckily the new ebuild requires java 5.0 which seems to be much more stable on many platforms.

On the other hand the latest ebuild modifies the eclipse makefiles to use gentoo CFLAGS and some new problems might pop up, but they will be totally separate from the previous -O0 or -O1 problems and we should only add the flag warning when we really know that some flags are dangerous.
Comment 24 UncleOwen 2006-05-08 08:57:09 UTC
Just a FYI: I'm using migration-overlay and java-experimental-overlay. Yesterday I compiled eclipse-sdk-3.2_rc3 using the rc1-r1 ebuild from java-experimental-overlay. The only change was the DATESTAMP line.

Running it right now, seems to work fine.
Comment 25 Henning Rogge 2006-05-09 10:53:46 UTC
I just tried it with a modified (renamed and changed date) 3.2-rc2 ebuild... it did not work.

* Failed Patch: 07-eclipse-3.2.patch !
*  ( /usr/local/portage/dev-util/eclipse-sdk/files/07-eclipse-3.2.patch )
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/eclipse-sdk-3.2_rc3/temp/07-eclipse-3.2.patch-10343.out
Comment 26 UncleOwen 2006-05-10 14:23:41 UTC
I'm assuming you're talking about the ebuild from this bug, not the one from the java-experimental overlay? Did you remember to put the 07-eclipse-3.2.patch from this bug in /usr/local/portage/dev-util/eclipse-sdk/files/07-eclipse-3.2.patch? What's in /var/tmp/portage/eclipse-sdk-3.2_rc3/temp/07-eclipse-3.2.patch-10343.out?
Comment 27 Brian Merrill 2006-05-14 23:13:12 UTC
Created attachment 86787 [details, diff]
eclipse-sdk-3.2_rc2.ebuild vs eclipse-sdk-3.2_rc4.ebuild
Comment 28 Brian Merrill 2006-05-14 23:14:11 UTC
Created attachment 86788 [details]
eclipse-sdk-3.2_rc4.ebuild
Comment 29 Brian Merrill 2006-05-14 23:17:07 UTC
Created attachment 86789 [details, diff]
07-eclipse-3.2.patch
Comment 30 Brian Merrill 2006-05-14 23:21:24 UTC
Created attachment 86790 [details, diff]
diff of new eclipse-3.2 startup wrapper
Comment 31 Brian Merrill 2006-05-14 23:22:42 UTC
Created attachment 86791 [details]
new eclipse-3.2 startup wrapper
Comment 32 Brian Merrill 2006-05-14 23:26:42 UTC
Updated the ebuild for eclipse-3.2_rc4
Updated the patches for eclipse-3.2_rc4
Updated the eclipse-3.2 startup wrapper to set the MOZILLA_FIVE_HOME environment variable
Comment 33 Mikko Tiihonen 2006-05-27 13:11:32 UTC
Created attachment 87685 [details, diff]
eclipse-sdk-3.2_rc5.ebuild
Comment 34 Mikko Tiihonen 2006-05-27 13:14:00 UTC
Created attachment 87686 [details, diff]
07-eclipse-3.2.patch
Comment 35 Mikko Tiihonen 2006-05-27 13:18:20 UTC
Only changes to rc5 ebuild since rc4 are:
- increased memory amount from 768M to 896M because otherwise I got OutOfMemory when building it on one of my machines
- added a die check to make sure that liblocalfile.so is built correctly
Comment 36 Mirko Stocker 2006-06-22 02:40:13 UTC
Created attachment 89787 [details, diff]
eclipse-sdk-3.2_rc7.ebuild
Comment 37 Mirko Stocker 2006-06-22 02:40:44 UTC
Comment on attachment 89787 [details, diff]
eclipse-sdk-3.2_rc7.ebuild

bump to rc7
Comment 38 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-06-22 09:02:04 UTC
Not sure if you know, but new ebuilds for eclipse-sdk, with several useful patches, are located in the java-migration-packages overlay. You first need to start using java-migration overlay with the guide at https://projects.gentooexperimental.org/expj/wiki/Using_migration-overlay .
This will be soon (few weeks?) in the main tree. Then you can similarly svn checkout the java-migration-packages overlay and there are the new eclipse ebuilds.
Comment 39 Josh Nichols (RETIRED) gentoo-dev 2006-07-04 11:06:51 UTC
Added rc7 to portage. It uses the new Java system:
http://www.gentoo.org/proj/en/java/java-upgrade.xml

Note: There are only minor changes between rc7 and the official release. Will see about using our patchset against the official release, and add it when it's all worked out.
Comment 40 Josh Nichols (RETIRED) gentoo-dev 2006-07-04 11:08:56 UTC
Also, forgot to mention that it is package.mask'd for testing.