Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 13:34:45 GMT
From:      Christopher Sean Hilton <chris@vindaloo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103850: ports: www/nvu does not build the editor/cascades extension.
Message-ID:  <200609301334.k8UDYjm8067465@www.freebsd.org>
Resent-Message-ID: <200609301340.k8UDeOxi033791@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103850
>Category:       ports
>Synopsis:       ports: www/nvu does not build the editor/cascades extension.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 30 13:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Sean Hilton
>Release:        6.1 STABLE
>Organization:
>Environment:
FreeBSD dagobah.vindaloo.com 6.1-STABLE FreeBSD 6.1-STABLE #3: Sun Sep  3 14:32:32 EDT 2006 root@dagobah:/usr/obj/usr/src/sys/HP6230  i386

>Description:
The www/nvu port does not enable the editor/cascades extension. The reason for this is because the configuration script contains a line which initially enables the extension but then a line later in the file disables it.
>How-To-Repeat:
Build the www/nvu port. Start the application. Pullup the "Tools" menu. Note the lack of an entry for the CSS Editor which is documented at the nvu project site.
>Fix:
--- 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. I'm not sure if this is the right fix to the problem. The configuration script setup process for the port appears to be borked. 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

>Release-Note:
>Audit-Trail:
>Unformatted:



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