Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 14:09:13 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Andreas Kohn <andreas.kohn@gmx.net>
Cc:        "'freebsd-java@freebsd.org'" <freebsd-java@freebsd.org>
Subject:   Re: Eclipse 3.1 port?
Message-ID:  <42DA3C59.1070305@ebs.gr>
In-Reply-To: <1121595018.959.21.camel@klamath.syndrom23.de>
References:  <1120942860.19352.7.camel@localhost.eu.mscsoftware.com>	 <42D99A15.7090408@ebs.gr> <1121595018.959.21.camel@klamath.syndrom23.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000106050008020002020703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------000106050008020002020703--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DA3C59.1070305>