You are not logged in.

#1 2005-01-12 04:47:54

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

[extra:editors] nvu 1.0 with KDE mimetypes

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 KDE mimetypes version.  For the non 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-1.0PR-kdesitemanager.patch
j. nvu-nonroot.tar.gz
2. Create the folder to store the files with the name nvu-kde on your abs/local folder

$ mkdir /var/abs/local/nvu-kde

3. Put the files on that directory

$ cp * /var/abs/local/nvu-kde

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

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

5. Install the package

 # pacman -U nvu-kde-1.0-1.pkg.tar.gz  (Upgrading a previous version installed, or)
 # pacman -A nvu-kde-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-07-01 (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-05 (0.80-1) Updated to 0.80.
2005-01-19 (0.70-2) Freetype2 fix, file structure matches other mozilla apps. Mozilla-common dependency added.
2005-01-12 (0.70-1) First version with KDE mimetypes support.

Hope you enjoy it.

Offline

#2 2005-01-13 22:29:04

Mith
Member
From: out there
Registered: 2004-10-05
Posts: 163

Re: [extra:editors] nvu 1.0 with KDE mimetypes

thx for your work!
took a while to compile though but it looks good and the kde-mimetypes really are a nice thing to have!


ArchLinux (x86_64) w/ kdemod

Offline

#3 2005-01-18 04:53:41

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

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

#4 2005-01-18 22:42:26

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

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

#5 2005-01-20 00:16:41

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Please test the new revision (pkgrel 2) 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

#6 2005-01-23 18:53:09

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: [extra:editors] nvu 1.0 with KDE mimetypes

hi,
thx for your great work. but i got a problem:
I need the download link for the launcher.patch!

==> ERROR: launcher.patch was not found in the build directory and is not a proper URL.
==> Aborting...

THX!!
cu matsche

Offline

#7 2005-01-24 04:02:29

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Sorry, I uploaded the file, but skip the link on this page, get it here

Offline

#8 2005-01-24 17:48:16

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Note another thing:
All opera (or other browsers) user have to install mozilla (pacman -S mozilla) if not you get this error:

run-mozilla.sh: Cannot execute /opt/mozilla/lib/nvu-0.70/nvu-bin.pure.

@darkcoder: Maybe you add this step at number one!! :-)


THX!!
cu matsche

Offline

#9 2005-01-24 19:37:00

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Thanks I'm giving it a try. I've been nominated to maintain our curling club web page.


Norm

Offline

#10 2005-01-26 04:50:02

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

matsche wrote:

Note another thing:
All opera (or other browsers) user have to install mozilla (pacman -S mozilla) if not you get this error:

run-mozilla.sh: Cannot execute /opt/mozilla/lib/nvu-0.70/nvu-bin.pure.

@darkcoder: Maybe you add this step at number one!! :-)

Can you give me more information about this, maybe I´m missing something since I'm not a mozilla expert, but with or without mozilla installed always got the same error:

run-mozilla.sh: Cannot execute

Offline

#11 2005-01-26 04:52:15

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

the nvu package follows the same install procedure as other mozilla based applications on Arch.  And they are invoked from its name (like firefox, thunderbird).  Never seen that message before.

Offline

#12 2005-01-27 13:34:10

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [extra:editors] nvu 1.0 with KDE mimetypes

hi.

I compiled nvu without an error. But i can´t start it.
I get this error:

[volker@LegBox ~]$ nvu
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
.
.
.
.

And nothing else happens

Offline

#13 2005-01-29 00:11:42

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

I'm not sure what's the problem, but try this after installing nvu:

1. remove the file /opt/mozilla/nvu/chrome/chrome.rdf   and the directory /opt/mozilla/nvu/extensions.

2. Run nvu as root first.

3. Run nvu as a normal user.  Post your results here.

More info
http://lists.freebsd.org/pipermail/free … 07178.html

Offline

#14 2005-01-31 12:29:35

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [extra:editors] nvu 1.0 with KDE mimetypes

No Nvu works without problems!!

Thank you

Offline

#15 2005-02-03 19:49:27

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

I'm working right now with the 0.80 version, but have some difficulties with it.  For the latest info visit http://bbs.archlinux.org/viewtopic.php? … highlight=

Offline

#16 2005-02-03 19:50:32

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Can I find a compiled package for this?
I'm not very fond of compiling anymore sad


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

Offline

#17 2005-02-03 23:19:05

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

still not, but I plan to host them for the time being, but only after fixing the problems with the packages.  At the end, I hope it became hosted either by Arch repos or by nvu.com itself.

Offline

#18 2005-02-05 16:50:03

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

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

#19 2005-02-06 17:39:02

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Not sure about anyone else but I had to alter the PKGBUILD so that the URL was

 http://glazman.org/nvu/releases/0.80/source/nvu-0.80-sources.tar.bz2 

instead of

 http://glazman.org/nvu/releases/0.80/sources/nvu-0.80-sources.tar.bz2 

That is: there's no 's' on the end of 'source' in the URL.

Compiling now, hope it works big_smile Have to do a project soon

Offline

#20 2005-02-06 18:22:20

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Thanks, it's fixed now.

Offline

#21 2005-02-06 19:31:45

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Yup it does run, haven't tried using it yet tho!

Can I use PHP/MySQL easily with it? Probably the wrong place to ask actually...

Thanks dc
T

Offline

#22 2005-02-08 16:41:28

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

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

#23 2005-02-09 03:49:42

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

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

#24 2005-02-13 22:51:56

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

Re: [extra:editors] nvu 1.0 with KDE mimetypes

New package for the 0.81 version. 

In addition to the updated version, I made the following enhancements or changes to the package:

1. Remove some locale directories bundle with nvu which belongs to mac and windows architectures.

2. Added a mozilla-ext script which is execute a predefined browser either when the browse button is pressed or a hyperlink from the help menu entries is clicked.  Previous versions do nothing on those actions.  The default browser is firefox, but the file can be edited if your current browser is other.  Just edit /opt/mozilla/bin/mozilla-ext, comment the first browser which is firefox, and uncomment the one you want to use.

3. The most important in terms of usage and future package maintenance is the replacement of the nonroot.tar.gz file with  the -register option.  That change takes out the most difficult and time consuming patch  of the package.  That means faster releases. big_smile

Since many changes were done to the package, please test it and post any success or failure.

Offline

#25 2005-02-22 06:04:04

billbar
Member
Registered: 2004-02-14
Posts: 100

Re: [extra:editors] nvu 1.0 with KDE mimetypes

Two points:
gawk is required - simple enough.

Not simple -
[root@billbar nvu-kde]# makepkg
==> Making package: nvu-kde  (Tue Feb 22 00:56:44 CST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Downloading nvu-0.81-sources.tar.bz2
--00:56:47--  http://glazman.org/nvu/releases/0.81/so … es.tar.bz2
           => `nvu-0.81-sources.tar.bz2'
Resolving glazman.org... 66.33.223.92
Connecting to glazman.org[66.33.223.92]:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
00:56:47 ERROR 403: Forbidden.

==> ERROR: Failed to download nvu-0.81-sources.tar.bz2
==> Aborting...
[root@billbar nvu-kde]#                             

Do we need another url or maybe this is a temporary connection problem?

Thanks,
Bill Barnes

Offline

Board footer

Powered by FluxBB