You are not logged in.

#1 2005-01-07 00:01:07

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

[extra:editors] nvu 1.0

Introduction

The Nvu WYSIWYG web editor is available on two flavors:  the standard build which do not require KDE, and another one which use KDE to provide mimetypes icons on the Site Manager. This thread supports only the non KDE version.  For the KDE version, look here.

Below is a comparison picture of both Site Managers so you can compare and decide then which version do you want to install.

sitemanager_comp.png

Note: Both packages share the same directory structure, which means only one of them can be installed at the same time. That's the reason a conflict restriction exists between them.


Pre Install Notes

1. If upgrading from 0.80 or earlier, remove the .nvu dir in your home folder.  Already have 0.90 or later?  Can keep your dir and settings.

2. Look the Change Log at the botton for a summary of the changes.


Installation

1. Grab a gziped tar from on AUR site here, or the splited files below:
a. PKGBUILD
b. mozconfig
c. nvu.desktop
d. mozilla-1.7.3-ft2.patch or get it from /var/abs/network/mozilla-firefox (or mozilla-thunderbird)
e. nvu-0.70-domainfix.patch
f. launcher.patch
g. mozilla-ext
h. nvu-browser-ext
i. nvu-nonroot.tar.gz
2. Create the folder to store the files with the name nvu on your abs/local folder

$ mkdir /var/abs/local/nvu

3. Put the files on that directory

$ cp * /var/abs/local/nvu

4. Change to /var/abs/local/nvu dir and build the package

 # cd /var/abs/local/nvu && makepkg 

5. Install the package

 # pacman -U nvu-1.0-1.pkg.tar.gz  (Upgrading a previous version installed, or)
 # pacman -A nvu-1.0-1.pkg.tar.gz  (Adding or installing a new program)

Post Installation & Enhancements

After installing Nvu and recommended prior to its first execution, but can be done anytime, visit this link which allow the normal user to add themes & extensions to Nvu and in fact, to all mozilla product line installed on your computer.

This step will not be included on the package until the changes explained on that HOWTO became adopted by other Arch mozilla packages.


Troubleshooting:

Click the icon and doesn't run:  Run it from the console, and if you got a loop message with the phrase "Loading the extensions datasource", then as root type:

 $ nvu -register

and run nvu again as a user, and report your sucess or failure here.

Loading the extensions datasource message on shell:  Look above for the workaround.


FAQ

1. Browse button and help hyperlinks open mozilla-firefox and I would like to open another browser. Edit your /opt/mozilla/bin/mozilla-ext, comment the line exec $MOZILLA_FIVE_HOME/firefox $url and uncomment one of the other lines.  Currently you can choose between firefox, mozilla, opera and konqueror.


Current Issues

Nothing at the moment


TODO

Nothing at the moment


Change Log

Doc modified 2005-07-01: Updated info.
Files modified in 2005-06-31:  PKGBUILD, nvu-nonroot.tar.gz

2005-06-30 (1.0-1) Upgraded to 1.0, smaller nonroot patch.
2005-04-15 (1.0PR-1) Upgrade to 1.0PR, return to nonroot patch so Gnome users can compile without root.
2005-03-11 (0.90-1) Upgrade to 0.90.
2005-02-13 (0.81-1) Upgraded to 0.81, nonroot patch replaced by nvu -register, new script to activate browse button and help hyperlinks. Locale dirs of win and mac removed.
2005-02-04 (0.80-1) Updated to 0.80.
2005-01-19 (0.70-3) Freetype2 fix, file structure matches other mozilla apps. Mozilla-common dependency added.
2005-01-12 (0.70-2) Provide a 0.70 with KDE mimetypes, add conclict entry to prevent overwrite between nvu and nvu-kde.
2005-01-06 (0.70-1) Updated to 0.70. (0.60 on older thread)

Hope you enjoy it.

Offline

#2 2005-01-07 00:18:31

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Forget to mention, that an icon is created for the application.

KDE users:   K Menu -> Development -> Nvu

Gnome users:  Gnome Menu -> Programming -> Nvu

also a symlink /usr/bin/nvu for easy shell access.

Enjoy it.

Offline

#3 2005-01-07 11:03:26

blum
Member
From: Plovdiv, Bulgaria
Registered: 2004-04-05
Posts: 77
Website

Re: [extra:editors] nvu 1.0

Hello darkcoder, i get this error on the compilation:

+++     skin,install,url,jar:resource:/chrome/venkman.jar!/skin/modern/venkman/
error: file './skin/venkman-overlay.css' doesn't exist at ../../../config/make-jars.pl line 418.
make[5]: *** [libs] Error 2


anything in mind? smile


..,

Offline

#4 2005-01-07 11:22:33

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: [extra:editors] nvu 1.0

My nvu compiled without any problems at all - thank you for your work, darkcoder! big_smile


To err is human... to really foul up requires the root password.

Offline

#5 2005-01-07 14:25:33

blum
Member
From: Plovdiv, Bulgaria
Registered: 2004-04-05
Posts: 77
Website

Re: [extra:editors] nvu 1.0

I succeeded too... it was one of theese stupid copy-paste mistakes. Wrap new line while paste to nano.
Thank you darkcoder smile


..,

Offline

#6 2005-01-12 03:48:21

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

I'm working right now with the KDE mimetypes support.  And don't worry, it will be supplied as another package. That way non KDE users will not be affected.  The only drawback is that only one of them must be installed at the same time.  When the test is complete, I will add a conflict entry to this package to prevent installation of the new one.  Btw, the new package require a new mozconfig, and a new patch (7 files in total  :shock: )

Offline

#7 2005-01-12 04:26:56

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Nvu with KDE mimetypes support compile and its working.  And damn, that Site Manager is looking good.

2005-02-04 For pictures look above

Offline

#8 2005-01-18 04:52:56

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

From forum.nvudev.org got a link to a patch that fixes the freetype2 compile problem, with the patch that option can be re-enabled again.  But my question is:  Since we got antialias fonts anyway without it, Can we get an advantage by applying the patch?  Better antialias, or a faster one?   The patch can also be applied to Firefox and Mozilla.  Dunno if Thunberbird, but probably can.

Nvudev forum article here
Patch from fedora here

Offline

#9 2005-01-18 07:07:35

blum
Member
From: Plovdiv, Bulgaria
Registered: 2004-04-05
Posts: 77
Website

Re: [extra:editors] nvu 1.0

Anyway I don't use anti-aliasing.. and I don't have an idea if there will be any difference with that patch.
But I prefer it without anti-aliasing (and as faster as it can be smile).


..,

Offline

#10 2005-01-18 22:37:20

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Anyway right now they look antialiased.

Offline

#11 2005-01-18 22:41:41

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Well I still do not know it's speed or stability gains, but since all other mozilla programs on Arch already applied the patch, I will submit a new package revision as soon as I made the test.

Offline

#12 2005-01-19 22:19:22

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Please test the new revision (pkgrel 3) and tell me any problem you may find.

It now installs under /opt/mozilla/lib following the Arch mozilla based programs location and put its startup scripts under /opt/mozilla/bin.  With the new mozilla-common now a symlink is not needed and was removed.

Offline

#13 2005-01-24 04:12:38

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

The original package repost of 2005/01/19 do not include the file launcher.patch.  You can download it here.

Offline

#14 2005-02-02 12:43:57

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: [extra:editors] nvu 1.0

NVU 0.80 is out, i tried compiling it with the existing PKGBUILD & all the files , but then it doesn't start.

that would be nice, if you update your PKGBUILD , there might be something different since 0.70.

good job though!


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

#15 2005-02-03 03:48:16

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

I see the release today, and now I´m working on that.

Offline

#16 2005-02-03 05:15:01

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: [extra:editors] nvu 1.0

Hey there, i tried to build this package, and it built, and installed ok. when i went the command line and typed nvu it printed this over and over
Loading the extensions datasource
Loading the extensions datasource
Loading the extensions datasource
Loading the extensions datasource
Loading the extensions datasource
Loading the extensions datasource

over and over.
any ideas?

Offline

#17 2005-02-03 05:41:38

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

You need to run Nvu as root for the first time. But need to do it from a GUI (like kdesu)

Apparently there was a change in some of the Extension files that the current nvu-nonroot.patch cannot handle (with 0.80). Right now I'm in the process of repackaging Nvu.  Just for the curious, the process to make the complete package (without root) involves this:  compile nvu (without the nonroot changes), install it, make a backup of its directory, run as root, diff the changes and repackage nvu again with the patch.  Interesting ehh 8)

PS.  And do the same process with nvu-kde. :cry:

Offline

#18 2005-02-03 05:45:17

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: [extra:editors] nvu 1.0

THanks fixed me right up
way to go, this is great

Offline

#19 2005-02-03 14:14:26

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

This latest nvu is giving me a little headache.  Got the list of files it modify when invoke as root, and either as a diff patch, or as a tar, it doesn't accept it, keeps giving the extension error when running non-root.  I will check nvu forums for an answer.

Offline

#20 2005-02-03 19:41:12

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

The Good, the Bad, and the Ugly.

The Good:   I think found the problem.  Nvu support themes now, and it's default theme is not registered upon startup.

The Bad: I will need some time for compilation and testing before releasing the patch and/or a new PKGBUILD just to make sure it works.

The Ugly: There is a posibility that the non-root patch be changed from a diff to a tar.gz like those found on Thunderbird, Firefox, and Mozilla.

Also read on glazblog site that the .nvu directory (your profile), and probably the root/.nvu one (if exists) must be removed prior to running this new version.

Offline

#21 2005-02-03 20:00:54

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: [extra:editors] nvu 1.0

Great job Darkcoder,

i think we really appreciate what you're doing!

keep up the good work.  big_smile

THANKS!

Regards, Stanislav


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

#22 2005-02-04 18:37:51

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

All posts bellow this point refer to nvu 0.80

Just a reminder to myself so I will not be lost in space. :shock:  lol

Offline

#23 2005-02-06 01:40:05

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: [extra:editors] nvu 1.0

Thanks darkcoder for your hard work. Your PKGBUILD worked for me too.
Nvu runs fine and I could even symlink to Polish dictionary from mozilla and use it with nvu spellcheck. Nice.

Offline

#24 2005-02-08 16:40:37

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Those who want to add the flexibility of adding themes & extensions to Nvu and in fact, to all mozilla product line installed on your computer, check http://bbs.archlinux.org/viewtopic.php? … highlight=

Offline

#25 2005-02-09 03:44:48

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [extra:editors] nvu 1.0

Forgot to mention, my previous post hint fix problems with permisions on nvu folder which include errors displayed and sometimes SiteManager hang,  when first executing and no .nvu folder exists on your directory.

Offline

Board footer

Powered by FluxBB