ChangeLog

# ChangeLog for app-editors/nvu
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/ChangeLog,v 1.28 2008/02/12 16:14:52 armin76 Exp $

12 Feb 2008; Raúl Porcel nvu-1.0-r4.ebuild:
Remove useless file, bug #209807

02 Mar 2007; Raúl Porcel nvu-1.0-r4.ebuild:
Fix has_version syntax, bug 168892

12 Feb 2007; Raúl Porcel
+files/1.0/nvu-1.0-const.patch, -nvu-1.0-r2.ebuild, nvu-1.0-r4.ebuild:
Add patch to make nvu compile with >freetype-2.1, bug 166401 and remove
unneeded version

24 Jan 2007; Marius Mauch nvu-1.0-r2.ebuild,
nvu-1.0-r4.ebuild:
Replacing einfo with elog

23 Oct 2006; Bryan Østergaard nvu-1.0-r2.ebuild,
nvu-1.0-r4.ebuild:
Typo fix, bug 150065.

29 Sep 2006; nvu-1.0-r4.ebuild:
Stable on x86, bug #148885.

26 Sep 2006; Jason Wever nvu-1.0-r4.ebuild:
Stable on SPARC wrt bug #148885.

25 Sep 2006; nvu-1.0-r4.ebuild:
Stable on ppc wrt bug 148885

24 Sep 2006; nvu-1.0-r4.ebuild:
stable on amd64

15 Jul 2006; Bryan Østergaard metadata.xml:
Remove anarchy from metadata.xml as he's retired.

09 May 2006; Jory A. Pratt
+files/1.0/mozilla-1.7.13-as-needed.patch, nvu-1.0-r4.ebuild:
as-needed patch added

*nvu-1.0-r4 (30 Mar 2006)

30 Mar 2006; Jory A. Pratt
+files/1.0/mozilla-rpath-3.patch, -nvu-1.0-r3.ebuild, +nvu-1.0-r4.ebuild:
Included rpath to cleanup for prelink

*nvu-1.0-r3 (20 Mar 2006)

20 Mar 2006; Jory A. Pratt
+files/010_glibc-2.4.patch, +nvu-1.0-r3.ebuild:
Glibc-2.4 fix wrt bug #125832

02 Jan 2006; Jory A. Pratt nvu-1.0-r2.ebuild:
DEPEND correction wrt bug#115339

*nvu-1.0-r2 (18 Nov 2005)

18 Nov 2005; +files/1.0/nvu-1.0-gcc4-1.patch,
-nvu-1.0-r1.ebuild, +nvu-1.0-r2.ebuild:
gcc-4 patch update

17 Nov 2005; Herbie Hopkins nvu-1.0-r1.ebuild:
Fix multilib-strict issue, bug 104431.

24 Oct 2005; -nvu-0.90-r1.ebuild, nvu-0.90-r2.ebuild,
-nvu-1.0.ebuild, nvu-1.0-r1.ebuild:
removed unneeded dep/removed stale ebuilds

*nvu-1.0-r1 (03 Oct 2005)
*nvu-0.90-r2 (03 Oct 2005)

03 Oct 2005; +nvu-0.90-r2.ebuild, +nvu-1.0-r1.ebuild:
changed from mozilla.eclass to mozconfig.eclass to clean up gtk2

*nvu-1.0 (01 Jul 2005)

01 Jul 2005; Jory A. Pratt +files/1.0/nvu-0.50-dir.patch,
+files/1.0/nvu-0.50-freetype-compile.patch, +files/1.0/nvu-0.50-nvu.patch,
-files/mozconfig2, -files/nvu-0.50-dir.patch,
-files/nvu-0.50-freetype-compile.patch, -files/nvu-0.50-nvu.patch,
+files/1.0/mozconfig-1.0, +files/1.0/nvu-1.0-gcc4.patch,
-files/mozconfig-1.0PR, -files/nvu-1.0_pre-gcc4.patch,
+files/1.0/nvu.desktop, -files/nvu.desktop, -nvu-0.81.ebuild,
-nvu-0.90.ebuild, nvu-0.90-r1.ebuild, +nvu-1.0.ebuild:
revision bump 1.0 final. CleanUp.

20 Jun 2005; files/nvu.desktop:
fixed bug #96532

20 Jun 2005; Mark Loeser
+files/nvu-1.0_pre-gcc4.patch, nvu-1.0_pre.ebuild:
GCC4 compile fix (bug #94753), and fix slight typo in ebuild

01 Jun 2005; Jory A. Pratt nvu-1.0_pre.ebuild:
modified ebuild to include die if patches or make fails

29 Apr 2005; Tom Martin nvu-0.90-r1.ebuild:
Marked stable on amd64 and sparc, resolves bug 90773.

*nvu-0.90-r1 (28 Apr 2005)

28 Apr 2005; Jory A. Pratt +nvu-0.90-r1.ebuild:
marking stable test being requested for other archs

19 Apr 2005; Elfyn McBratney metadata.xml:
Remove retired developer from metadata.xml.

*nvu-1.0_pre (14 Apr 2005)

14 Apr 2005;
+files/mozconfig-1.0PR, +nvu-1.0_pre.ebuild
-files/mozconfig, -nvu-0.50.ebuild, -nvu-0.60.ebuild :
Bumped to version 1.0PR

23 Mar 2005; Seemant Kulleen
+files/nvu-0.50-dir.patch, +files/nvu-0.50-freetype-compile.patch,
+files/nvu-0.50-nvu.patch, +files/mozconfig, +files/mozconfig2,
+files/nvu.desktop, +metadata.xml, +nvu-0.50.ebuild, +nvu-0.60.ebuild,
+nvu-0.81.ebuild, +nvu-0.90.ebuild:
Moved from net-www/nvu to app-editors/nvu.

*nvu-0.90 (13 Mar 2005)

13 Mar 2005; Chris White +nvu-0.90.ebuild:
Bump to version 0.90.

*nvu-0.81 (11 Mar 2005)

11 Mar 2005; Chris White +files/mozconfig2,
+files/nvu-0.50-freetype-compile.patch, +nvu-0.81.ebuild:
New version of nvu, latest comming once I figure out where they hid it.
Thanks to Jory A. Pratt for both the patches and putting up with me :P.

22 Dec 2004; Chris White files/nvu.desktop:
Fixed a typo in the .desktop file as per Bug #75010.

*nvu-0.60 (09 Dec 2004)

09 Dec 2004; Chris White +nvu-0.60.ebuild:
Bumped to version 0.60 as per bug #73532. Thanks to basic
for the ebuild diff submission.

27 Nov 2004; Chris White nvu-0.50.ebuild:
Fixed LICENSE per bug #72559.

23 Oct 2004; Simon Stelling nvu-0.50.ebuild:
added ~amd64

17 Oct 2004; Jason Wever nvu-0.50.ebuild:
Added ~sparc keyword.

18 Oct 2004; Joseph Jezak nvu-0.50.ebuild:
Added ~ppc.

21 Oct 2004; Chris White metadata.xml:
Updated metadata with .

16 Oct 2004; Chris White files/mozconfig,
+files/nvu-0.50-dir.patch, +files/nvu-0.50-nvu.patch, nvu-0.50.ebuild:
Fixed directory issues, .desktop issue, and fixed bug #67658 by patching nvu
script.

15 Oct 2004; Chris White -files/.mozconfig,
+files/mozconfig, nvu-0.50.ebuild:
One more fix for QA. Made the .mozconfig file visable in the files/ directory
so people can see it :).

15 Oct 2004; Chris White files/.mozconfig,
nvu-0.50.ebuild:
Fixed ebuild to use the global entry for .desktop files. Fixed .mozconfig to
use a more standard /usr/lib/nvu path, which also fixed the .desktop entry
icon not showing.

*nvu-0.50 (14 Oct 2004)

14 Oct 2004; Chris White +metadata.xml,
+files/.mozconfig, +files/nvu-0.50-prefix.patch, +files/nvu.desktop,
+nvu-0.50.ebuild:
Intial import to the tree. Thanks goes to the people of Bug #40821 for their
help. Package.masked as it is a testing version.

Manifest

AUX 010_glibc-2.4.patch 2628 RMD160 77d35dec11624ef1b3ad84d72eb437068cbc9f0f SHA1 0e408a5e7e19b6ed06beed1bc3977b35b109cdba SHA256 5a64ffadb56c3c2316202e57ce82b6439c3037c6f4a5a1d4783d03173741e5cd
AUX 1.0/mozconfig-1.0 1367 RMD160 cf760e7b9ba734b989f6e5d204b0fb6c9142e76b SHA1 8767394f6622a2a84f13a82e98ccfdb89ff8afc4 SHA256 9ffca88736697d620cfef8ce907e2e7e973eac51a71825831ec0ce96839df8cf
AUX 1.0/mozilla-1.7.13-as-needed.patch 305 RMD160 408ef402944928bf263c12ce4a83022cc12a85ef SHA1 9cffbf00d1cc083dea30cf65cb291d93f30d7e29 SHA256 a3c2b79822275455fda2e7ab71a9e4ce29c9f82eb65bd02615b66fd0c9a8e20e
AUX 1.0/mozilla-rpath-3.patch 410 RMD160 6c75912ccc4f9e5a34c523f14b318609c88cc7f5 SHA1 d4031cb4cffe858ae56ec18f442b53bedf1c1834 SHA256 71d88f260190d67cb03f94ab8a6ea1fc6623e6d86e83058d42a710781c5afce4
AUX 1.0/nvu-0.50-dir.patch 713 RMD160 7a30d72bf54fff4be8d04798d1b9ca26a367c3b8 SHA1 1bf5988b4314afb2c0ef00522ebe068a42224126 SHA256 ab6628e84162eeb42aaf5619bc56e5f046f2ad5c46757e42bf676cad00a19f37
AUX 1.0/nvu-0.50-freetype-compile.patch 13641 RMD160 676fe412adbc68a1dc63a4b949b5827271bb901f SHA1 97b057707563151a867d11b3499bd49e0c768de1 SHA256 9d8b96fe66f3647f7a757c3a8325b0b24d2cd017c9aa8228eb5894c3ef64eefc
AUX 1.0/nvu-0.50-nvu.patch 674 RMD160 da79cbb283eb7f621b330f4ab94b2684c9871941 SHA1 e6431a34a8f65827683a399ea46babd82a1ec79a SHA256 85eca4e5171d7845efe333000b1b1106355f117fc7eef5ef592b4f2895759555
AUX 1.0/nvu-1.0-const.patch 1820 RMD160 1d5f7b632625883c4354a4bc2f912b1030e44e5d SHA1 d4146cc77b94bc51134b60f3e8746001f368eab8 SHA256 f9629a4ea5e5d66ad389ed43e07f1650a337c93dbb246938aa2481c79c91669c
AUX 1.0/nvu-1.0-gcc4-1.patch 6860 RMD160 d7d47cbe00ac05045eb7f92a69c1c8703925c3d2 SHA1 48f87a9750fdce479c26da6e77929d6a53de4437 SHA256 a8ccffaf13ffc4b0711d28727d16ab751e17aa104ad6da9f4ad88bae4f774c5e
AUX 1.0/nvu-1.0-gcc4.patch 1924 RMD160 7f7220aca0df6e801b9f5cfd33725bc11e301906 SHA1 bef4e8ba5522fc458605e12a6946e2b1d92ca5e8 SHA256 8d01c0973fc17858a0d40afca67f30c3f54762b6abcc4e1fb1aed8f110e7b255
AUX 1.0/nvu.desktop 182 RMD160 1775dfae770da3c90dc9a83934b36876bfce5009 SHA1 390896de07a0b3006dd67f2d00e5bc5f22c5c798 SHA256 d2b439f20bf4ef0547f799a562e34d67e01490d1a17b6fd1b2e63c86926c0397
AUX mozconfig2 2160 RMD160 b3b57ca4815386f85f91b666ce41d4d9b45b9f64 SHA1 2c565bfb0705108e99c949ce3e9dd394e6413081 SHA256 9067662d295e1bf58da656d4693589977b8345d0ead9065b5515979d64a26ad5
DIST nvu-0.90-sources.tar.bz2 29785795 RMD160 2bf315436bbc667f82625e9830a9db800a6939ba SHA1 6e38fe71c37b8931160ec3e149ad02b3beb74a83 SHA256 76e1d72d797ee8db55bc65159cb092e403b72dafa1e90a3fe9a40e3d8999ddfe
DIST nvu-1.0-sources.tar.bz2 29687976 RMD160 6d6fdb747d79e8602a4757e8eff8bbb21db6df8c SHA1 438b1633cb820bbede503ef2da90f46d4e96bee8 SHA256 9ec892e352c3596a4f734a885c6e085028574714cf0d44c2dac32b0d89b4b630
EBUILD nvu-0.90-r2.ebuild 2298 RMD160 1f46ec8498b28dc49dd20899425089168ca12037 SHA1 de8a63632d9dd5cc04e77b1575dc6fa96934f144 SHA256 7b0a45946c0399084e4ed0d0b50bbd861fb9e665596e24d444c88f0b6e8ac5ab
EBUILD nvu-1.0-r4.ebuild 3580 RMD160 8da8c0c1326c7d3e61f1703ec20b3b4ef6acb9f0 SHA1 1756b50ffd3d661b72e78841f7427918e0117711 SHA256 1869ef2a668c7d73c807aca10460d0ad860550e795927bfbdc00b9fd952f6078
MISC ChangeLog 6665 RMD160 bf19a90958f76973ff4d2ed77b286f490d85494b SHA1 3662d42baf05cdcd415733499928163538d597c8 SHA256 0f1e5e4e5d8e28c491b3a24a6a644117a91ace99b10f29a5def6629812cfd4b3
MISC metadata.xml 321 RMD160 9405136d7fd9c0713a43d04c8bc503d3b451c523 SHA1 ac61d600a727a900c2eac5e2a1712cd56b4a73be SHA256 c67e5db85db44f0f010d1b96fed9acf384763511e6c1e683aa76281baa96462f

files

metadata.xml




mozilla
A WYSIWYG type editor, similiar to Dreamweaver for *nix systems. It's based on the mozilla layout system Gecko.

nvu-0.90-r2.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/nvu-0.90-r2.ebuild,v 1.2 2005/10/23 01:17:30 anarchy Exp $

inherit eutils mozconfig flag-o-matic

DESCRIPTION="A WYSIWYG web editor for linux similiar to Dreamweaver"
HOMEPAGE="http://www.nvu.com/"
SRC_URI="http://cvs.nvu.com/download/${P}-sources.tar.bz2"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="x86 ppc sparc amd64"
IUSE=""
DEPEND="sys-apps/gawk
dev-lang/perl
>=media-libs/freetype-2.1.9-r1"

S=${WORKDIR}/mozilla

src_unpack() {
unpack ${A}
cd ${S}
# Fix those darn directories! Make something more "standard"
# That can extend to future versions with much more ease. - Chris
epatch ${FILESDIR}/1.0/nvu-0.50-dir.patch
epatch ${FILESDIR}/1.0/nvu-0.50-freetype-compile.patch

# I had to manually edit the mozconfig.linux file as it
# has some quirks... just copy the darn thing over :) - Chris
# cp ${FILESDIR}/mozconfig ${S}/.mozconfig
# remove --enable-optimize and let the code below
# add the appropriate one - basic
grep -v enable-optimize ${FILESDIR}/mozconfig2 > .mozconfig

# copied from mozilla.eclass (modified slightly),
# otherwise it defaults to -O which crashes on startup for me - basic
# Set optimization level based on CFLAGS
if is-flag -O0; then
echo 'ac_add_options --enable-optimize=-O0' >> .mozconfig
elif [[ ${ARCH} == alpha || ${ARCH} == amd64 || ${ARCH} == ia64 ]]; then
# more than -O1 causes segfaults on 64-bit (bug 33767)
echo 'ac_add_options --enable-optimize=-O1' >> .mozconfig
elif is-flag -O1; then
echo 'ac_add_options --enable-optimize=-O1' >> .mozconfig
else
# mozilla fallback
echo 'ac_add_options --enable-optimize=-O2' >> .mozconfig
fi
}

src_compile() {
# The build system is a weeee bit sensitive to naughty -O flags.
# filter them out and let the build system figure out what
# won't let it die :) - Chris
filter-flags '-O*'
# epatch ${FILESDIR}/nvu-0.80-mozconfig.patch

make -f client.mk build_all
}

src_install() {

# patch the final nvu binary to workaround bug #67658
epatch ${FILESDIR}/1.0/nvu-0.50-nvu.patch

make -f client.mk DESTDIR=${D} install || die

#menu entry for gnome/kde
insinto /usr/share/applications
doins ${FILESDIR}/nvu.desktop
}

nvu-1.0-r4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/nvu-1.0-r4.ebuild,v 1.11 2008/02/12 16:14:52 armin76 Exp $

inherit eutils mozconfig flag-o-matic multilib

DESCRIPTION="A WYSIWYG web editor for linux similiar to Dreamweaver"
HOMEPAGE="http://www.nvu.com/"
SRC_URI="http://cvs.nvu.com/download/${P}-sources.tar.bz2"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="amd64 ppc sparc x86"
IUSE=""
DEPEND="x11-proto/printproto
sys-apps/gawk
dev-lang/perl
>=media-libs/freetype-2.1.9-r1"

S=${WORKDIR}/mozilla

src_unpack() {
unpack ${A}
cd ${S}
# Fix those darn directories! Make something more "standard"
# That can extend to future versions with much more ease. - Chris
epatch ${FILESDIR}/1.0/nvu-0.50-dir.patch || die "failed to apply dir. patch"
epatch ${FILESDIR}/1.0/nvu-0.50-freetype-compile.patch || die "failed to patch for freetype"
epatch ${FILESDIR}/1.0/mozilla-rpath-3.patch || die "failed to apply rpath patch"
epatch ${FILESDIR}/1.0/${P}-gcc4-1.patch || die "failed to apply gcc-4 patch"
epatch "${FILESDIR}/010_glibc-2.4.patch" || die "failed to apply glibc-2.4 patch"
epatch ${FILESDIR}/1.0/mozilla-1.7.13-as-needed.patch || die "failed to apply as-needed patch"

# >freetype-2.1* compile patch #166401
if has_version '>=media-libs/freetype-2.2'; then
epatch "${FILESDIR}/1.0/${P}-const.patch"
fi

# I had to manually edit the mozconfig.linux file as it
# has some quirks... just copy the darn thing over :) - Chris
# cp ${FILESDIR}/mozconfig ${S}/.mozconfig
# remove --enable-optimize and let the code below
# add the appropriate one - basic
# Also set mozilla-five-home (and libdir) below - herbs
grep -v 'enable-optimize\|mozilla-five-home' \
${FILESDIR}/1.0/mozconfig-1.0 > .mozconfig

# Set the lib directory
echo "ac_add_options --libdir=/usr/$(get_libdir)" >> .mozconfig
echo "ac_add_options --with-default-mozilla-five-home=/usr/$(get_libdir)/nvu" >> .mozconfig

# copied from mozilla.eclass (modified slightly),
# otherwise it defaults to -O which crashes on startup for me - basic
# Set optimization level based on CFLAGS
if is-flag -O0; then
echo 'ac_add_options --enable-optimize=-O0' >> .mozconfig
elif is-flag -O1; then
echo 'ac_add_options --enable-optimize=-O1' >> .mozconfig
else
# mozilla fallback
echo 'ac_add_options --enable-optimize=-O2' >> .mozconfig
fi
}

src_compile() {
# The build system is a weeee bit sensitive to naughty -O flags.
# filter them out and let the build system figure out what
# won't let it die :) - Chris
filter-flags '-O*'
# epatch ${FILESDIR}/nvu-0.80-mozconfig.patch

make -f client.mk build_all || die "Make failed"
}

src_install() {

# patch the final nvu binary to workaround bug #67658
epatch ${FILESDIR}/1.0/nvu-0.50-nvu.patch

make -f client.mk DESTDIR=${D} install || die

#menu entry for gnome/kde
insinto /usr/share/applications
sed -e "s:/usr/lib/nvu:/usr/$(get_libdir)/nvu:" \
${FILESDIR}/1.0/nvu.desktop > ${T}/nvu.desktop
doins ${T}/nvu.desktop

# Remove useless file which collides with nspr
rm ${D}/usr/share/aclocal/nspr.m4
}

pkg_postinst() {
elog "If you choose to setup the webbrowser feature to execute urls"
elog "under the HELP section please refer to"
elog "http://www.nvu.com/Building_From_Source.php#tipsandhints ."
elog "Make sure you follow the instructions to the letter if you have"
elog "any problems email me at anarchy@gentoo.org I will be more then"
elog "happy to assist you. DO NOT file a bug report on this issue."
}