Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse 3.1 port?



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?

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

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}

Thanks,

Panagiotis