nvu css editor
Christopher Sean Hilton
chris at vindaloo.com
Fri Sep 29 10:00:10 PDT 2006
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
More information about the freebsd-gnome
mailing list