From owner-freebsd-java@FreeBSD.ORG Tue Jul 20 12:24:34 2004 Return-Path: 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 EFF9616A4CE for ; Tue, 20 Jul 2004 12:24:34 +0000 (GMT) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E52B43D67 for ; Tue, 20 Jul 2004 12:24:32 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.6/8.12.9) with ESMTP id i6KCOUSs030249; Tue, 20 Jul 2004 15:24:30 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.52] (edgar.ebs.gr [10.1.1.52]) by ebs.gr (8.12.11/8.12.11) with ESMTP id i6KCORLB094397; Tue, 20 Jul 2004 15:24:29 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <40FD0EF4.70209@ebs.gr> Date: Tue, 20 Jul 2004 15:24:20 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremy Faulkner References: <40FC1289.1030702@gldis.ca> In-Reply-To: <40FC1289.1030702@gldis.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Eclipse CDT 2.0 port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:24:35 -0000 Jeremy Faulkner wrote: > Submitted for testing. The Eclipse 3 port needs to have its package name > adjusted to indicate which WS is being used to allow plugin ports to use > the correct WS. If there are no complaints/comments/etc. by the end of > the week I will send-pr this port. > > http://www.gldis.ca/gldisater/eclipse-cdt.tar.gz Nice work, thanks. Some observations: - You would probably want to change the runtime dependency from eclipse-3 to eclipse, since when the port is updated it would have the same name. - Perhaps you would consider performing the same gymnastics that we perform in the eclipse port for JDT, i.e. substitute "linux" for "freebsd". You only need to bring along a largish chunk of eclipse/scripts/configure and fix the pkg-plist accordingly. - There are erroneous version numbers in pkg-plist that refer to the 1.2.0 version, despite having installed the 2.0 version. You can verify this by observing 'make deinstall' fail. The method I used to create the pkg-plist contents for eclipse is something along these lines (from memory): # make install # cd /usr/local # find eclipse -type f | sort > /tmp/pkg-plist # find eclipse -type d | sort -r > /tmp/plist.d # sed -e "s/^eclipse/@dirrm eclipse/g" < /tmp/plist.d >> /tmp/pkg-plist - In pkg-plist you hard-code the gtk versions regardless of the user's choice while building the port. You may look for an alternative in the eclipse port where there are PLIST_SUB directives for stuff like that. While you are there, why not do the same automation for the version number in order to minimize future port updates? Ain't porting fun? :-) 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