Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 00:10:51 +0100
From:      Chris Whitehouse <chris@childeric.freeserve.co.uk>
To:        Christopher Sean Hilton <chris@vindaloo.com>
Cc:        gnome@freebsd.org, Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Subject:   Re: nvu css editor
Message-ID:  <451DA7FB.2030103@childeric.freeserve.co.uk>
In-Reply-To: <1159549176.1006.19.camel@dagobah.vindaloo.com>
References:  <4516ED94.4000704@childeric.freeserve.co.uk>	 <op.tgexyzgr9aq2h7@mezz.mezzweb.com> <1159155010.1139.4.camel@localhost>	 <op.tge0c0om9aq2h7@mezz.mezzweb.com>	 <451854E6.4090602@childeric.freeserve.co.uk> <1159549176.1006.19.camel@dagobah.vindaloo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Sean Hilton wrote:
> On Mon, 2006-09-25 at 23:15 +0100, Chris Whitehouse wrote:
> 
>> Do you have any plans for enabling it?
>>
>> <background>
>> 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.
>> </background>
>>
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?451DA7FB.2030103>