summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/nvu/ChangeLog7
-rw-r--r--app-editors/nvu/Manifest28
-rw-r--r--app-editors/nvu/files/digest-nvu-0.90-r11
-rw-r--r--app-editors/nvu/nvu-0.90-r1.ebuild73
4 files changed, 90 insertions, 19 deletions
diff --git a/app-editors/nvu/ChangeLog b/app-editors/nvu/ChangeLog
index e35c8b2bea79..39b54dd7b795 100644
--- a/app-editors/nvu/ChangeLog
+++ b/app-editors/nvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/nvu
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/ChangeLog,v 1.4 2005/04/19 10:22:44 beu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nvu/ChangeLog,v 1.5 2005/04/28 21:55:50 anarchy Exp $
+
+*nvu-0.90-r1 (28 Apr 2005)
+
+ 28 Apr 2005; Jory A. Pratt <anarchy@gentoo.org> +nvu-0.90-r1.ebuild:
+ marking stable test being requested for other archs
19 Apr 2005; Elfyn McBratney <beu@gentoo.org> metadata.xml:
Remove retired developer from metadata.xml.
diff --git a/app-editors/nvu/Manifest b/app-editors/nvu/Manifest
index 1c863d3d98f7..9f7a0ee6e91f 100644
--- a/app-editors/nvu/Manifest
+++ b/app-editors/nvu/Manifest
@@ -1,24 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 115af5ff4677b00f8a860748338ce4bf metadata.xml 310
-MD5 0b709cd46768416fdaffaa513476fd00 ChangeLog 3089
MD5 e3b4ccc9cb447cc7e5827c82f31d2579 nvu-0.81.ebuild 2301
-MD5 a242ea1eef3d40a59e5c249fc8063345 nvu-0.90.ebuild 2301
MD5 ff6b8f0a36c4b037f82406291ded2b97 nvu-1.0_pre.ebuild 2757
-MD5 952edf776beb47f9ddeeed1eb3a9407f files/nvu-0.50-freetype-compile.patch 13641
-MD5 7880f1109c0f8a9df0830238e70b0d62 files/nvu-0.50-nvu.patch 674
-MD5 841f7a0a89c5d8be3841444ce2dd0b85 files/nvu-0.50-dir.patch 713
+MD5 0b709cd46768416fdaffaa513476fd00 ChangeLog 3089
+MD5 a242ea1eef3d40a59e5c249fc8063345 nvu-0.90.ebuild 2301
+MD5 eb60e5bf4176284ba297a5d2b0d2d57b nvu-0.90-r1.ebuild 2299
MD5 2c903c369e8f7450ba419eb7ea8050f1 files/digest-nvu-0.81 71
-MD5 ed3ccc4c9deab00dc6df2930061efd76 files/digest-nvu-1.0_pre 72
-MD5 fedceb24f98d16efe7580f4c2877afca files/nvu.desktop 182
MD5 ffdec5b2a9933225ba5f03bafd9fcc2a files/digest-nvu-0.90 71
-MD5 91bb5e61f505e2e53aa42345431c8fa7 files/mozconfig2 2160
+MD5 ed3ccc4c9deab00dc6df2930061efd76 files/digest-nvu-1.0_pre 72
MD5 565f1133c57a789f0cf51c02510a6f9c files/mozconfig-1.0PR 1367
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCZNwYjUHll2nfF60RAotSAKCJcind52JPs63mM4dTlhnqQEmdSQCgtoDQ
-5iV2uhQWIQvBRDeu+o4NSpE=
-=ghpH
------END PGP SIGNATURE-----
+MD5 91bb5e61f505e2e53aa42345431c8fa7 files/mozconfig2 2160
+MD5 841f7a0a89c5d8be3841444ce2dd0b85 files/nvu-0.50-dir.patch 713
+MD5 952edf776beb47f9ddeeed1eb3a9407f files/nvu-0.50-freetype-compile.patch 13641
+MD5 7880f1109c0f8a9df0830238e70b0d62 files/nvu-0.50-nvu.patch 674
+MD5 fedceb24f98d16efe7580f4c2877afca files/nvu.desktop 182
+MD5 ffdec5b2a9933225ba5f03bafd9fcc2a files/digest-nvu-0.90-r1 71
diff --git a/app-editors/nvu/files/digest-nvu-0.90-r1 b/app-editors/nvu/files/digest-nvu-0.90-r1
new file mode 100644
index 000000000000..2b85be282b8e
--- /dev/null
+++ b/app-editors/nvu/files/digest-nvu-0.90-r1
@@ -0,0 +1 @@
+MD5 d88dd587250afdc3e84e864e8e2b3cc2 nvu-0.90-sources.tar.bz2 29785795
diff --git a/app-editors/nvu/nvu-0.90-r1.ebuild b/app-editors/nvu/nvu-0.90-r1.ebuild
new file mode 100644
index 000000000000..063986baa7be
--- /dev/null
+++ b/app-editors/nvu/nvu-0.90-r1.ebuild
@@ -0,0 +1,73 @@
+# 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-r1.ebuild,v 1.1 2005/04/28 21:55:50 anarchy Exp $
+
+inherit eutils mozilla flag-o-matic
+
+DESCRIPTION="A WYSIWG 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
+ app-doc/doxygen
+ >=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}/nvu-0.50-dir.patch
+ epatch ${FILESDIR}/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}/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
+}