On Friday 24 October 2008 5:41:45 pm Will wrote: > I just booted my 4.4 box and am using OpenBSD as a desktop for the first time > :) > > I had a question regarding the eclipse package. The ports version is > becoming dated relative to eclipse releases, and the eclipse project > refuses to package a version for the BSDs. Are there any major > setbacks with porting over a newer version? I have noticed that SWT > may be a problem and was curious how the current port was created. > Does it use a BSD patchset for a SWT package, or does the port > directly patch eclipse? > > I don't know if I could be of much help, but I would be willing to try > if pointed in the right direction.
The only major setback is available time. :-) I have made other things a priority so this has not been updated in a release or two. Your welcome to help but its one of the more complicated ports to cut your teeth on. Everything you need is located here: /usr/ports/devel/eclipse/sdk files/prepatch.sh copies the relavant linux source and replaces linux with openbsd. The Makefile will extract the eclipse source, run the prepatch script, then apply the patches in the patches dir. After that it builds it using ant. To update you need to update the Makefile. Identify all the linux source that needs to be copied and update the prepatch script, then merge and update the 60 patches to the source. After that its normal porting work like update plists, wantlib, etc. FreeBSD has moved ahead to newer versions so you can get a big jumpstart from looking at their port. You have to be very detail oriented since missing one of the patches can result in subtile failures in eclipse. Regards, -Kurt
