From owner-freebsd-ports@FreeBSD.ORG Fri Aug 12 02:00:54 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF39E1065673 for ; Fri, 12 Aug 2011 02:00:54 +0000 (UTC) (envelope-from citric@cubicone.tmetic.com) Received: from host.tmetic.com (host.tmetic.com [69.55.236.131]) by mx1.freebsd.org (Postfix) with SMTP id 8B1448FC1A for ; Fri, 12 Aug 2011 02:00:54 +0000 (UTC) Received: (qmail 36540 invoked by uid 0); 12 Aug 2011 01:34:13 -0000 Received: from unknown (HELO ?192.168.1.17?) (drench@unknown) by unknown with SMTP; 12 Aug 2011 01:34:13 -0000 Message-ID: <4E448311.7040704@cubicone.tmetic.com> Date: Thu, 11 Aug 2011 20:34:09 -0500 From: Daniel Rench User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: dsh References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: spidermonkey-1.7.0 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: Fri, 12 Aug 2011 02:00:54 -0000 On 8/11/11 9:39 AM, dsh wrote: > Hi, > > I intend to create an Apache Tuscany (native) port for FreeBSD. Apache > Tuscany uses the newly introduced JSON API which is available in > Spidermonkey libmozjs 1.8.5 [1]. Would it be possible to upgrade the > existing SpiderMonkey 1.7.0 port or would it make more sense to > introduce an additional spidermonkey185 port that would exist in > parallel? I would rather see lang/spidermonkey upgraded to 1.8.x rather than have multiple versioned ports. There are only a handful of ports that have spidermonkey as a dependency, so if an upgrade breaks any of them, we give those maintainers a heads up before committing. > I already started creating the port descriptor files for an additional > spidermonkey185 port but I am stuck right now at a point where the > compiler bails out because it doesn't find a header file that would be > found if compiling SpiderMonkey 1.8.5 standalone on FreeBSD without > using the ports infrastructure. I would appreciate some guidance on > the above question and on the actual port I created so far if you > would say it does make sense to go ahead with an additional > spidermonkey185 port instead of updating the existing one. Do you have your port-in-progress up anywhere public? Several weeks ago I started my own attempt at upgrading the port to 1.8.5. I just pushed this incomplete upgrade to github at https://github.com/drench/FreeBSD-spidermonkey/tree/js185 . If you're a github user you can fork my version and contribute from there if you like. > [1] https://developer.mozilla.org/en/SpiderMonkey > > Cheers > Daniel