From owner-freebsd-java@FreeBSD.ORG Sun Jul 17 11:41:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2003A16A41C for ; Sun, 17 Jul 2005 11:41:42 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4E48643D49 for ; Sun, 17 Jul 2005 11:41:40 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 17 Jul 2005 11:41:39 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp023) with SMTP; 17 Jul 2005 13:41:39 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Panagiotis Astithas 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zFR8SBG5IwjfewSbDi6h" Date: Sun, 17 Jul 2005 13:41:37 +0200 Message-Id: <1121600497.959.30.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: "'freebsd-java@freebsd.org'" Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 11:41:42 -0000 --=-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 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--