Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2004 10:39:19 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Panagiotis Astithas <past@ebs.gr>
Cc:        Jeremy Faulkner <gldisater@gldis.ca>
Subject:   Re: An alternative Eclipse 3 port
Message-ID:  <40EE4BA7.30207@ebs.gr>
In-Reply-To: <40E93D58.2090408@ebs.gr>
References:  <40CFFE0F.6040403@noc.ntua.gr> <20040616171610.3ad2fde7.nork@FreeBSD.org> <40D982A5.8050701@noc.ntua.gr> <40DE0929.6040509@noc.ntua.gr> <20040628102239.GF66588@anyware12.anyware> <40E043FC.4090408@noc.ntua.gr> <40E0EEC7.1030507@hkfanatic.com> <20040629053401.GA16198@misty.eyesbeyond.com> <40E111FE.9080602@noc.ntua.gr> <40E8A7A9.60406@gldis.ca> <40E93D58.2090408@ebs.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Panagiotis Astithas wrote:
> Jeremy Faulkner wrote:
> 
>> LIB_DEPENDS -> GTK is not a run depend of the motif port.
> 
> 
> The Motif port does depend on GTK libraries, since it creates 
> swt-gtk.jar and libswt-gtk-motif-3062.so. But maybe LIB_DEPENDS is 
> superfluous, since we conditionally use USE_GNOME=gtk20 later on. I will 
> verify your patch.

I fixed that and made a few more cleanups.

>> BUILD_DEPENDS -> Mozilla is not a build depend of motif port.
> 
> 
> You may be right here, I will verify your diff when I get some time.

Eclipse now depends on Mozilla only in the GTK build (although there are 
some bogus harmless references to mozilla in platfrom-launcher that I 
found).

The diff against the previous port skeleton is here (watch out for 
whitespace mangling):

diff -ruN eclipse/Makefile eclipse-new/Makefile
--- eclipse/Makefile    Mon Jun 28 19:07:34 2004
+++ eclipse-new/Makefile        Thu Jul  8 20:19:57 2004
@@ -16,11 +16,8 @@
  DISTNAME=      ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION}
  DIST_SUBDIR=   eclipse

-LIB_DEPENDS=   gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
  BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
-               gmake:${PORTSDIR}/devel/gmake \
-               mozilla:${PORTSDIR}/www/mozilla \
-               pkg-config:${PORTSDIR}/devel/pkgconfig
+               gmake:${PORTSDIR}/devel/gmake

  ONLY_FOR_ARCHS=        i386
  USE_ZIP=       yes
@@ -44,17 +41,18 @@
  PLIST_SUB+=    MOTIF:=""
  .else
  ECLIPSE_WS=    gtk
+BUILD_DEPENDS+=        mozilla:${PORTSDIR}/www/mozilla
  PLIST_SUB+=    GTK:=""
  PLIST_SUB+=    MOTIF:="@comment "
  .endif

  .if defined(WITHOUT_GNOMEVFS)
  MAKE_GNOME=
-USE_GNOME=     gtk20
+USE_GNOME=     gtk20 pkgconfig
  PLIST_SUB+=    GNOME:="@comment "
  .else
  MAKE_GNOME=    make_gnome
-USE_GNOME=     gtk20 gnomevfs2 libgnome libgnomeui
+USE_GNOME=     gtk20 gnomevfs2 libgnome libgnomeui pkgconfig
  PLIST_SUB+=    GNOME:=""
  .endif



Due to me changing jobs, the updated port skeleton is in a new URL:
http://netmode.ntua.gr/~past/freebsd/eclipse3-port.tgz

Cheers,
-- 
Panagiotis Astithas, PhD
R&D Manager
EBS, Electronic Business Systems Ltd.
18 Evgenidou Street, 115 25, Athens GREECE
Phone: +30 210 674 7631
Fax: +30 210 674 7601
http://www.ebs.gr



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