nvu to portage. This took awhile but I'm sure many people will be happy. Package...
authorChris White <chriswhite@gentoo.org>
Thu, 14 Oct 2004 23:17:00 +0000 (23:17 +0000)
committerChris White <chriswhite@gentoo.org>
Thu, 14 Oct 2004 23:17:00 +0000 (23:17 +0000)
net-www/nvu/ChangeLog [new file with mode: 0644]
net-www/nvu/Manifest [new file with mode: 0644]
net-www/nvu/files/.mozconfig [new file with mode: 0644]
net-www/nvu/files/digest-nvu-0.50 [new file with mode: 0644]
net-www/nvu/files/nvu-0.50-prefix.patch [new file with mode: 0644]
net-www/nvu/files/nvu.desktop [new file with mode: 0644]
net-www/nvu/metadata.xml [new file with mode: 0644]
net-www/nvu/nvu-0.50.ebuild [new file with mode: 0644]

diff --git a/net-www/nvu/ChangeLog b/net-www/nvu/ChangeLog
new file mode 100644 (file)
index 0000000..1d3e6e5
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for net-www/nvu
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/nvu/ChangeLog,v 1.1 2004/10/14 23:17:00 chriswhite Exp $
+
+*nvu-0.50 (14 Oct 2004)
+
+  14 Oct 2004; Chris White <chriswhite@gentoo.org> +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.
+
diff --git a/net-www/nvu/Manifest b/net-www/nvu/Manifest
new file mode 100644 (file)
index 0000000..97e38a2
--- /dev/null
@@ -0,0 +1,7 @@
+MD5 bc61cc925d247769cbe0ca88da9aeff4 nvu-0.50.ebuild 1367
+MD5 61e0760385f6cbd59f2e755773e22932 metadata.xml 226
+MD5 33ce65619be42a1e19656afb61766694 ChangeLog 512
+MD5 a2a4021bb009aff30f530f05e97611cd files/.mozconfig 2105
+MD5 f04489cb980dbc4f22e78024f3e611e0 files/digest-nvu-0.50 71
+MD5 aae073cc843ae213edb20559a512ee71 files/nvu-0.50-prefix.patch 331
+MD5 4f757ecfc69252df6ebc3c62bb4713f1 files/nvu.desktop 182
diff --git a/net-www/nvu/files/.mozconfig b/net-www/nvu/files/.mozconfig
new file mode 100644 (file)
index 0000000..853f049
--- /dev/null
@@ -0,0 +1,61 @@
+export MOZILLA_OFFICIAL=1
+export BUILD_OFFICIAL=1
+
+export MOZ_STANDALONE_COMPOSER=1
+mk_add_options MOZ_STANDALONE_COMPOSER=1
+
+# if you want don't want to use gcc and g++ or want to use
+# a specific version of the compilers, specify it in the
+# two following lines and uncomment them
+#export CC="gcc-3.0"
+#export CXX="g++-3.0"
+
+# Uncomment the 3 following lines on Debian (this includes
+# Linspire)
+#export OS_LIBS="-lc -lpthread"
+#export CFLAGS="-DDEBIAN"
+#export CXXFLAGS="-DDEBIAN"
+
+# Uncomment the two following lines on Linspire
+#export LINSPIRE=1
+#mk_add_options LINSPIRE=1
+
+# Uncomment and edit this line if you want to build
+# outside of the source tree
+#mk_add_options MOZ_OBJDIR=/home/glazman/nvu-0.50
+
+# Uncomment the following lines for an optimized build
+ac_add_options --enable-optimize
+ac_add_options --disable-debug
+
+# You may need to uncomment and edit that line. On Linspire,
+# just uncomment it
+#ac_add_options --with-default-mozilla-five-home=/usr/lib/mozilla
+
+# You probably have nothing to change below that line
+ac_add_options  --disable-svg
+ac_add_options  --without-system-mng
+ac_add_options  --without-system-png
+ac_add_options  --disable-ldap
+ac_add_options  --disable-mailnews
+ac_add_options  --disable-installer
+ac_add_options  --disable-activex
+ac_add_options  --disable-activex-scripting
+ac_add_options  --disable-tests
+ac_add_options  --disable-oji
+ac_add_options  --disable-necko-disk-cache
+ac_add_options  --disable-profilesharing
+ac_add_options  --enable-extensions=wallet,spellcheck,xmlextras,pref,universalchardet,editor/cascades,venkman,inspector
+ac_add_options  --enable-image-decoders=png,gif,jpeg
+ac_add_options  --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data
+ac_add_options  --disable-pedantic
+ac_add_options  --disable-short-wchar
+ac_add_options  --enable-xprint
+ac_add_options  --enable-strip-libs
+ac_add_options  --enable-crypto
+ac_add_options  --disable-mathml
+ac_add_options  --with-system-zlib
+ac_add_options  --enable-freetype2
+ac_add_options  --enable-toolkit=gtk2
+ac_add_options  --enable-default-toolkit=gtk2
+ac_add_options  --enable-xft
diff --git a/net-www/nvu/files/digest-nvu-0.50 b/net-www/nvu/files/digest-nvu-0.50
new file mode 100644 (file)
index 0000000..a2f1b74
--- /dev/null
@@ -0,0 +1 @@
+MD5 cd2f677aebc3a7e90df4bdb848774788 nvu-0.50-sources.tar.bz2 31368442
diff --git a/net-www/nvu/files/nvu-0.50-prefix.patch b/net-www/nvu/files/nvu-0.50-prefix.patch
new file mode 100644 (file)
index 0000000..bd22cfc
--- /dev/null
@@ -0,0 +1,11 @@
+--- configure_old      2004-10-14 18:25:24.851365664 +0900
++++ configure  2004-10-14 18:25:31.244393776 +0900
+@@ -14,7 +14,7 @@
+ 
+ # Defaults:
+ ac_help=
+-ac_default_prefix=/usr/local
++ac_default_prefix=/usr
+ # Any additions from configure.in:
+ ac_help="$ac_help
+   --with-macos-sdk=dir   Location of platform SDK to use (Mac OS X only)"
diff --git a/net-www/nvu/files/nvu.desktop b/net-www/nvu/files/nvu.desktop
new file mode 100644 (file)
index 0000000..ae87144
--- /dev/null
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Nvu
+Comment=WYSIWYG Web Editor
+Exec=nvu
+Icon=/usr/lib/nvu/icons/mozicon16.xpm
+Terminal=false
+Type=Application
+Categories=Application;Development;
+Encoding=UTF-8
diff --git a/net-www/nvu/metadata.xml b/net-www/nvu/metadata.xml
new file mode 100644 (file)
index 0000000..6c17fdc
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mozilla</herd>
+<maintainer>
+  <email>chriswhite@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-www/nvu/nvu-0.50.ebuild b/net-www/nvu/nvu-0.50.ebuild
new file mode 100644 (file)
index 0000000..ae67d6f
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/nvu/nvu-0.50.ebuild,v 1.1 2004/10/14 23:17:00 chriswhite 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"
+IUSE="kde gnome"
+DEPEND="sys-apps/gawk
+               dev-lang/perl
+               app-doc/doxygen"
+
+S=${WORKDIR}/mozilla
+
+src_compile() {
+
+       # 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}
+
+       # It "sort of" has a standard configure system
+       # Here's how I fix the prefix issue. - Chris
+       epatch ${FILESDIR}/${P}-prefix.patch
+
+       # 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*'
+
+       make -f client.mk build_all
+}
+
+src_install() {
+       make -f client.mk DESTDIR=${D} install || die
+
+       #menu entry for gnome
+       if use gnome
+       then
+               insinto /usr/share/gnome/apps/Applications
+               doins ${FILESDIR}/nvu.desktop
+       fi
+
+       #menu entry for kde
+       if use kde
+       then
+               insinto /usr/share/applnk/Development
+               doins ${FILESDIR}/nvu.desktop
+       fi
+}