Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 12:59:36 -0400
From:      Christopher Sean Hilton <chris@vindaloo.com>
To:        Chris Whitehouse <chris@childeric.freeserve.co.uk>
Cc:        gnome@freebsd.org, Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Subject:   Re: nvu css editor
Message-ID:  <1159549176.1006.19.camel@dagobah.vindaloo.com>
In-Reply-To: <451854E6.4090602@childeric.freeserve.co.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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