From owner-freebsd-ports@FreeBSD.ORG Thu Apr 9 04:30:10 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA6781065672 for ; Thu, 9 Apr 2009 04:30:10 +0000 (UTC) (envelope-from heliocentric@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 712958FC16 for ; Thu, 9 Apr 2009 04:30:10 +0000 (UTC) (envelope-from heliocentric@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so304853yxm.13 for ; Wed, 08 Apr 2009 21:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=vF69dVx6o46SXyGtEwFvPwhaa+4KfBQ8oPDWh02SC3U=; b=SrL7OeZGILlK1ymNHlHb/wuKe/5r28OCJRny6WOPlv89yqxrQtyPCuCuscpAZvPIse ITjxUG/2sJCUC2yvX9Qfb57dcFCkNvadJ5NtY56N4uD3EX8xSnYvlQ32bqgKJa0oXinD u6iIlx80WgUf1u0PoL+jQPcAoYGMl2IspVYXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=NvyKhSOu5pISzcvStXL8wqcp/7Qtmc/ClfJFJpJkHcB/yA6H/r4Hhq5kfE+/kPWhP0 iBTi5zDkdtBoByGrFdul9qyRJQaA9H6StpO2kPbtQg06w5MycdCnSakxjgyHKPPti1gx NF4BqNyJS242xMAMjP9smredvoDXiEZ51jIDk= MIME-Version: 1.0 Sender: heliocentric@gmail.com Received: by 10.90.79.17 with SMTP id c17mr1947386agb.95.1239249680273; Wed, 08 Apr 2009 21:01:20 -0700 (PDT) In-Reply-To: <1239190152.20664.1309561451@webmail.messagingengine.com> References: <1239190152.20664.1309561451@webmail.messagingengine.com> Date: Thu, 9 Apr 2009 00:01:20 -0400 X-Google-Sender-Auth: f0d090894b80bea9 Message-ID: From: Dylan Cochran To: Jochen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Porting ROX applications X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 04:30:11 -0000 On 4/8/09, Jochen wrote: > Hello, > I'm new to FreeBSD and was looking for a system that runs on old > hardware. > I found ROX performs very well on old hardware and has a nice look & > feel. > Some ROX applications (e.g. rox-filer, rox-session) are already ported > to FreeBSD, but many are missing. > I want try to complete porting all ROX apps, but I'm not very familar > with the ports system, maybe someone can help a newbie making the first > steps. ;-) > > I have already ported some apps, but did not make the ports structure > for submitting those ports. > > There is something special with the ROX apps. They are not installed > file by file, but they consist of a whole directory tree that is > installed into /usr/local/apps. It is not necessary to unpack them into > a working dir, instead the tarball is extracted to /usr/local/apps and > then "/usr/local/apps/mynewapp/AppRun --compile" is run, if the app > contains some C code (many apps only consist of some python code and > need not be compiled). This may be the wrong way to go about it, as in the ROX world, 0install is the preferred method of distributing and installing software. The only impetus for this working entirely as expected on FreeBSD, is 0compile (which handles C compiling). If that portion of 0install is fixed, then it becomes a matter of downloading ROX-All, extracting it to your home directory, and clicking on the apps you want to run; with this in place the ports for ROX are down to two, rox-apps (effectively extracting ROX-All to /usr/local/apps/, and zeroinstall-injector. This has been an item on my todo list for over a year, but due to time it has never been explored. I will gladly support any attempt to fix it that you may make, though :) > The task would be: unpack the tarball into /usr/local/apps, make some > patches, run "AppRun --compile". > > 1. How can I do this with the ports system? > > My next problem is, finding the right dependices. My first port, > ROX-CLib, depends on the following libraries: > > gtk+-2.0 >= 2.0.1 > glib-2.0 >= 2.0.3 > libxml-2.0 >= 2.4.0 > > 2. How can I find out the correct entries for the LIB_DEPENDS (name of > the lib, package which contains this lib). > > Jochen > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >