Eclipse 3.1 port?

Andreas Kohn andreas.kohn at gmx.net
Sun Jul 17 11:41:42 GMT 2005


On Sun, 2005-07-17 at 14:09 +0300, Panagiotis Astithas wrote:
> Andreas Kohn wrote:
> > On Sun, 2005-07-17 at 02:36 +0300, Panagiotis Astithas wrote:
> >>
> >>I have a WIP here (a patch for the current port, or a shell archive with 
> >>the full thing):
> >>
> >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz
> >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.shar.gz
> > 
> > 
> > I'm getting a nice error when extracting the shar:
> > /tmp/eclipse-devel-3.1.shar: 519: Syntax error: Illegal eof marker for
> 
> Thanks, I'll have it fixed in the next snapshot.
> 
> > The patch worked fine, though, and the build completed. There is one
> > problem I'm seeing: The PDE doesn't find any plugins
> > (Window>Preferences>Plug-in Development>Target Platform, the list is
> > empty), and therefore all plugin projects of mine are marked broken
> > because of missing dependent plugins.
> > 
> > It does not help to define my platform to -os linux, but I assume it
> > must be something along these lines, because clicking on reload in the
> > Target Platform preferences iterates through the plugins, it just
> > doesn't put them into the list, probably because some metadata is wrong.
> 
> I can't replicate it here. You can see in the attached image that I get 
> a full list. Does the log contain anything enlightening? Also, are you 
> building the gtk/x86 version too, or perhaps motif/x86 or gtk/amd64?

gtk/x86. 
If the PDE works for you, it must be some kind of local, or locally
triggered problem. I will try to find it, but due to exams next week I
won't have too much time unfortunately.


> 
> > I'm also using attached patch to allow me to install both eclipse and
> > eclipse-devel, but I tried without and the problem stays the same.
> > (Installing both eclipses is really good-thing-to-have if you need a
> > working eclipse and want to test the new 3.1 only)
> 
> Another way to do this would be like that (after commenting out the 
> CONFLICTS line of course):
> 
> env PREFIX=/var/tmp/test make install
That would certainly be possible, but wouldn't generate the effect I
wanted to get:

> What puzzles me is the following change, though. What does 
> --strip-components do? I can't seem to find it in tar(1), gtar(1) or 
> libarchive(3).
> > -	@${TAR} -xzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX}
> > +	@${TAR} -xzf ${WRKSRC}/result/*.tar.gz --strip-components 1 -C ${PORTDESTDIR}
> 

(from my bsdtar manpage, -CURRENT :)

     --strip-components count (-W strip-components=count)
             (x and t mode only) Remove the specified number of leading
path
             elements.  Pathnames with fewer elements will be silently
             skipped.  Note that the pathname is edited after checking
inclu-
             sion/exclusion patterns but before security checks.


The generated tar.gz contains everything in a directory eclipse/. But I
want my eclipse-devel in a folder /usr/local/eclipse-devel.
--strip-components just removes the eclipse/ folder, and the -C (changed
from /usr/local to /usr/local/eclipse-devel) puts all the files nicely
into /usr/local/eclipse-devel.

Unfortunately, --strip-components seems to be a bsdtar-only feature, so
this may not work on old(ish) FreeBSDs w/o bsdtar. But it's fine as a
local hack :)

Regards,
Andreas

-- 
<TalisA> was macht man eigentlich auf einer linux-gamer lan ? hl server
aufsetzen und freuen ? *duck* ^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20050717/6d502221/attachment.bin


More information about the freebsd-java mailing list