From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 29 23:40:35 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 C131516A407 for ; Fri, 29 Sep 2006 23:40:35 +0000 (UTC) (envelope-from chris@childeric.freeserve.co.uk) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B69043D49 for ; Fri, 29 Sep 2006 23:40:22 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GTRxr-0006QS-KR; Sat, 30 Sep 2006 00:40:19 +0100 Received: from [82.35.115.93] (helo=[192.168.10.60]) by asmtp-out3.blueyonder.co.uk with esmtpa (Exim 4.52) id 1GTRVM-00079B-CM; Sat, 30 Sep 2006 00:10:52 +0100 Message-ID: <451DA7FB.2030103@childeric.freeserve.co.uk> Date: Sat, 30 Sep 2006 00:10:51 +0100 From: Chris Whitehouse User-Agent: Thunderbird 1.5 (X11/20060417) MIME-Version: 1.0 To: Christopher Sean Hilton References: <4516ED94.4000704@childeric.freeserve.co.uk> <1159155010.1139.4.camel@localhost> <451854E6.4090602@childeric.freeserve.co.uk> <1159549176.1006.19.camel@dagobah.vindaloo.com> In-Reply-To: <1159549176.1006.19.camel@dagobah.vindaloo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 23:40:35 -0000 Christopher Sean Hilton wrote: > 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 > That's brilliant thank you, I'll have a go at building it here too. If there is no other reason for CaScadesS to not be enabled it probably is a bug in which case are you planning on doing a PR or should I? Chris