Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45972 - NVU: web authoring WYSISYG tool [ebuild]
Summary: NVU: web authoring WYSISYG tool [ebuild]
Status: RESOLVED DUPLICATE of bug 40821
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.nvu.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-28 04:11 UTC by Emanuele Tamponi
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Tamponi 2004-03-28 04:11:57 UTC
Hi,

I've found in Internet this new software, very interesting for me: NVU (New
View) : based on Mozilla, it is similar to Dreamweaver and to Frontpage. It is
still at 0.17 release but is quite stable.

Problem: the developers want to publicate the source from the 1.0 release...
so now there is a CVS source or a binary package. Then, as there are no ebuild
for NVU, I wrote this one for the binary package:

DESCRIPTION="NVU: New View Web Authoring Tool"
HOMEPAGE="http://www.nvu.com/"
SRC_URI="http://www.nvu.com/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="virtual/glibc"

RESTRICT="nomirror"

src_unpack() {
        unpack ${A}
}

src_install() {
        dodir /opt/${P}
        dodir /usr/lib
        dodir /usr/bin
        dosym /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5.0.5 /usr/lib/libstdc++.so.3

        cd ${WORKDIR}/
        cp -a * ${D}/opt/${P}/

        dosym /opt/${P}/nvu /usr/bin/nvu

        chown -R root:root ${D}/opt/${P}
}

I hope that you will add soon this to the portage tree :)

Greetings

Emanuele
Comment 1 Emanuele Tamponi 2004-03-28 06:35:57 UTC
Mh, first bug in this ebuild :)

It works with version 0.1, but with version 0.17 you must change this line

cd ${WORKDIR}/

to:

cd ${WORKDIR}/${PN}/

Excuse me
Comment 2 Emanuele Tamponi 2004-03-28 06:41:46 UTC
Ops, it seems that it still doesn't work..

Then, this work REALLY (for version 0.17):

Change:

cd ${WORKDIR}/${PN}/

to:

cd ${WORKDIR}/

and then change:

dosym /opt/${P}/nvu /usr/bin/nvu

to:

dosym /opt/${P}/nvu/nvu /usr/bin/nvu

I've tested it and it worked fine!
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-03-28 07:31:26 UTC
Emanuele, there is already a request for nvu (Bug 40821). Also, when writing an ebuild, attach it and read http://www.gentoo.org/doc/en/ebuild-mistakes.xml  before doing so.
Comment 4 Emanuele Tamponi 2004-03-28 09:44:08 UTC
Mh, OK

Excuse me for the mistakes and for the duplicate report...
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-28 09:59:29 UTC

*** This bug has been marked as a duplicate of 40821 ***