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

next in thread | previous in thread | raw e-mail | index | archive | help

--=-zFR8SBG5IwjfewSbDi6h
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 wit=
h=20
> >>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
> >=20
> >=20
> > I'm getting a nice error when extracting the shar:
> > /tmp/eclipse-devel-3.1.shar: 519: Syntax error: Illegal eof marker for
>=20
> Thanks, I'll have it fixed in the next snapshot.
>=20
> > 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.
> >=20
> > 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=
.
>=20
> I can't replicate it here. You can see in the attached image that I get=20
> a full list. Does the log contain anything enlightening? Also, are you=20
> building the gtk/x86 version too, or perhaps motif/x86 or gtk/amd64?

gtk/x86.=20
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.


>=20
> > 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)
>=20
> Another way to do this would be like that (after commenting out the=20
> CONFLICTS line of course):
>=20
> env PREFIX=3D/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=20
> --strip-components do? I can't seem to find it in tar(1), gtar(1) or=20
> libarchive(3).
> > -	@${TAR} -xzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX}
> > +	@${TAR} -xzf ${WRKSRC}/result/*.tar.gz --strip-components 1 -C ${PORT=
DESTDIR}
>=20

(from my bsdtar manpage, -CURRENT :)

     --strip-components count (-W strip-components=3Dcount)
             (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

--=20
<TalisA> was macht man eigentlich auf einer linux-gamer lan ? hl server
aufsetzen und freuen ? *duck* ^^

--=-zFR8SBG5IwjfewSbDi6h
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBC2kPxYucd7Ow1ygwRAmXKAJ4oGEk+LgcHjkhej2bmM+x34QxzqQCfbhuQ
cc2BRTAsg9XwHuUaCLsSpgE=
=qNjY
-----END PGP SIGNATURE-----

--=-zFR8SBG5IwjfewSbDi6h--




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