New build instructions for Nvu 0.17
By glazou on Friday 20 February 2004, 14:42 - Nvu - Permalink
- the link to the sources tarball and the link to the patch that has to be applied to Mozilla trunk have changed
- the corresponding command lines to execute have been updated
And this should solve the compilation errors some people reported in this blog
If you're not familiar with Mozilla build process, the following is for you.
If you are familiar with it, read it and you'll know what to change to match your own settings.
- First read the instructions in this document
- get mozilla/client.mk
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
the password for the anonymous account is anonymous.
- If you're using Windows, save this file
in the mozilla
directory the previous command just created and edit it.
If you are using Linux, save this file in the mozilla directory the previous command just created and edit it.
In both cases the name of the file is .mozconfig (dot mozconfig).
Then carefully read the Mozilla build instructions for Windows or the detailed Mozilla build instructions for Linux and domake -f client.mk pull_all
- get the Nvu specific code:
- delete the composer directory from the mozilla directory
- save this file
and uncompress it into the mozilla
directory created above
tar xfz nvu-0.17-source.tar.gz
- save this
patch file, uncompress it and apply it from the mozilla
directory created above
gunzip trunk-0.17.patch.gz
patch -p 0 < trunk-0.17.patch
- build the code
make -f client.mk build_all
- after the build, there is in the mozilla/dist/bin (Linux) or mozilla\dist\bin (Windows) directory a file called nvu or nvu.exe. Just run it to start Nvu BUT don't forget to take a look at this article first...

Comments
Still, trunk-0.17.patch was rejected at /cvsroot/mozilla/xpfe/components/Makefile.in
Anyway, I'm patching it with my hand and now compiling on MacOS X .... hope it will success...
Fail at build step of creating MacOS X Application pacage...
Buld script needs mozilla/composer/app/macbuild directory and it's contents but not exist.
I have copy macbuild folder from mozilla/xpfe/bootstrap/ and mozilla/calender/subnbird/app/
and modify the macbuild/Contents/info.plist to run nvu-bin insted mozilla-bin file.
Then I build it again, process ended. but many files not copied into Application package like this.
adding: skin/classic/editor/aboutDialog.css (stored 0%)
adding: skin/classic/editor/icons/align-center-active.gif (stored 0%)
adding: skin/classic/editor/icons/align-center-disabled.gif (stored 0%)
adding: skin/classic/editor/icons/align-center-hover.gif (stored 0%)
It seems incomplete. many Icons, dtds,xuls not copyed.
When I double-clicked Nvu Application, Nvy start but it looks very old-styled classic theme not orbit. And sidebar's Sitemanager not loaded and show text "This tab is not available right now."
I was trying to build 0.17. #3 (patch) gives errors against today's (Feb 22) trunk.
Also, source .tar has references to cvs.nvudev.org. So, when trying to pull_all (refresh) over the current /composer folder, cvs fails. I just deleted /composer and got it off cvs again.
Oh well, my build fails again with the same error as I had las time:
webperso.easyconnect.fr/d...
So, there must be something wrong with my setup, and not with pulled files (incomplete?) as I thought before. I tried to follow directions though.
Perhaps the patch needs to be patched :p
I'm trying to make an cvs ebuild for Gentoo but this patch fails while the one for 0.15 works. I'm concentrating on 0.15 for now.
Successful compile with new trunk file.
Merci