From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 29 17:00:10 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C2EF16A407 for ; Fri, 29 Sep 2006 17:00:10 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6383B43D62 for ; Fri, 29 Sep 2006 16:59:52 +0000 (GMT) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [172.24.144.34]) by corellia.vindaloo.com (Postfix) with ESMTP id 3B0D35C84; Fri, 29 Sep 2006 13:12:40 -0400 (EDT) Received: from dagobah.vindaloo.com (dagobah.vindaloo.com [172.24.145.68]) by yavin.vindaloo.com (Postfix) with ESMTP id 3CFE7253AA; Fri, 29 Sep 2006 12:59:47 -0400 (EDT) Received: from localhost.vindaloo.com (localhost.vindaloo.com [IPv6:::1]) by dagobah.vindaloo.com (8.13.8/8.13.8) with ESMTP id k8TGxatt061252; Fri, 29 Sep 2006 12:59:36 -0400 (EDT) (envelope-from chris@vindaloo.com) From: Christopher Sean Hilton To: Chris Whitehouse In-Reply-To: <451854E6.4090602@childeric.freeserve.co.uk> References: <4516ED94.4000704@childeric.freeserve.co.uk> <1159155010.1139.4.camel@localhost> <451854E6.4090602@childeric.freeserve.co.uk> Content-Type: text/plain Date: Fri, 29 Sep 2006 12:59:36 -0400 Message-Id: <1159549176.1006.19.camel@dagobah.vindaloo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, Tom McLaughlin Subject: Re: nvu css editor X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 17:00:10 -0000 On Mon, 2006-09-25 at 23:15 +0100, Chris Whitehouse wrote: > Do you have any plans for enabling it? > > > I run a small computer suite using FreeBSD. People keep asking if I am > running linux and when I say no they say why not. When I say I prefer > FreeBSD if they are at all knowledgeable they say but nvu doesn't have > CSS editor. usb doesn't have hotplug, blah blah. > > A while ago I ran into this and fixed it locally. In a move that I can only describe as stupid and selfish I didn't share the solution. My bad. All the justice hounds out there can take joy from the fact that I just spent an hour recreating it. The problem is with the .mozconfig script. It has two entries for setting the extensions used for the nvu build. The first one enables cascades, the nvu css editor. The second one resets the extension list back to the default. This patch comments out the second entry and you get a FreeBSD native nvu with the cascades css editor: --- work/mozilla/.mozconfig.orig Fri Sep 29 12:41:03 2006 +++ work/mozilla/.mozconfig Fri Sep 29 12:47:47 2006 @@ -92,7 +92,7 @@ ac_add_options --with-pthreads ac_add_options --x-includes=/usr/X11R6/include ac_add_options --x-libraries=/usr/X11R6/lib -ac_add_options --enable-extensions=default +# ac_add_options --enable-extensions=default ac_add_options --enable-image-decoders=default ac_add_options --enable-necko-protocols=default ac_add_options --with-system-jpeg=/usr/local Please take note that the mozilla build system is complex and I certainly am no expert. I have verified that this patch at least configures nvu to build with cascades. It'll take the port about 25min to finish building here and I'll post a followup when I'm done. I personally think that this is probably a bug and thus submitting a PR is appropriate. The problem appears to be that the port specifies a mozconfig script: PORT_MOZCONFIG= ${WRKSRC}/composer/config/mozconfig.linux but the Build process ignores it choosing to use: ${WRKSRC}/.mozconfig instead Cheers. As I said I will test the newly built nvu for the presence of CaScadeS and post a followup. -- Chris