summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-08 14:11:45 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-08 14:11:45 +0000
commit984e21d0d2d1eb4ef0408003d2f879e49ce4b4af (patch)
tree950e41060d283c516b1896d2de49a30cd6499f76 /www-client
parentStable on sparc wrt #62626 (Manifest recommit) (diff)
downloadgentoo-2-984e21d0d2d1eb4ef0408003d2f879e49ce4b4af.tar.gz
gentoo-2-984e21d0d2d1eb4ef0408003d2f879e49ce4b4af.tar.bz2
gentoo-2-984e21d0d2d1eb4ef0408003d2f879e49ce4b4af.zip
Moved from net-www/w3mmee to www-client/w3mmee.
Diffstat (limited to 'www-client')
-rw-r--r--www-client/w3mmee/ChangeLog73
-rw-r--r--www-client/w3mmee/Manifest7
-rw-r--r--www-client/w3mmee/files/digest-w3mmee-0.3.2_p24-r42
-rw-r--r--www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff23
-rw-r--r--www-client/w3mmee/metadata.xml5
-rw-r--r--www-client/w3mmee/w3mmee-0.3.2_p24-r4.ebuild156
6 files changed, 266 insertions, 0 deletions
diff --git a/www-client/w3mmee/ChangeLog b/www-client/w3mmee/ChangeLog
new file mode 100644
index 000000000000..b6f44f0acba2
--- /dev/null
+++ b/www-client/w3mmee/ChangeLog
@@ -0,0 +1,73 @@
+# ChangeLog for www-client/w3mmee
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/w3mmee/ChangeLog,v 1.1 2004/09/08 14:11:45 usata Exp $
+
+*w3mmee-0.3.2_p24-r4 (08 Sep 2004)
+
+ 08 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +files/w3mmee-w3mman-gentoo.diff, +w3mmee-0.3.2_p24-r4.ebuild:
+ Moved from net-www/w3mmee to www-client/w3mmee.
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ w3mmee-0.3.2_p24-r4.ebuild:
+ Masked w3mmee-0.3.2_p24-r4.ebuild stable for ppc
+
+ 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> w3mmee-0.3.2_p24-r3.ebuild,
+ w3mmee-0.3.2_p24-r4.ebuild:
+ QA - fix use invocation
+
+ 03 May 2004; Jason Wever <weeve@gentoo.org> w3mmee-0.3.2_p24-r4.ebuild:
+ Stable on sparc.
+
+ 26 Apr 2004; David Holm <dholm@gentoo.org> w3mmee-0.3.2_p24-r4.ebuild:
+ Added to ~ppc.
+
+ 26 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> w3mmee-0.3.2_p24-r1.ebuild,
+ w3mmee-0.3.2_p24-r2.ebuild, w3mmee-0.3.2_p24-r3.ebuild,
+ w3mmee-0.3.2_p24-r4.ebuild:
+ inherit eutils for epatch. Marked stable on x86. Removed old ebuilds.
+
+ 11 Apr 2004; Jason Wever <weeve@gentoo.org> w3mmee-0.3.2_p24-r3.ebuild:
+ Stable on sparc.
+
+*w3mmee-0.3.2_p24-r4 (25 Mar 2004)
+
+ 25 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> w3mmee-0.3.2_p24-r3.ebuild,
+ w3mmee-0.3.2_p24-r4.ebuild, w3mmee-0.3.2_p24.ebuild:
+ w3mmee-p24-20 was released.
+
+ 22 Mar 2004; Jason Wever <weeve@gentoo.org> w3mmee-0.3.2_p24-r2.ebuild,
+ w3mmee-0.3.2_p24-r3.ebuild:
+ Marked 0.3.2_p24-r2 stable on sparc and added ~sparc keyword to 0.3.2_p24-r3.
+
+ 01 Mar 2004; Jason Wever <weeve@gentoo.org> w3mmee-0.3.2_p24-r2.ebuild:
+ Reach out and ~sparc someone.
+
+*w3mmee-0.3.2_p24-r3 (19 Jan 2004)
+
+ 19 Jan 2004; Mamoru KOMACHI <usata@gentoo.org> w3mmee-0.3.2_p24-r2.ebuild,
+ w3mmee-0.3.2_p24-r3.ebuild:
+ Removed cjk IUSE flag and make multilingual enhancement enabled by default to
+ fix bug #38608
+
+*w3mmee-0.3.2_p24-r2 (06 Dec 2003)
+
+ 06 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> metadata.xml,
+ w3mmee-0.3.2_p24-r1.ebuild, w3mmee-0.3.2_p24-r2.ebuild,
+ w3mmee-0.3.2_p24.ebuild, files/w3mmee-w3mman-gentoo.diff:
+ w3mmee-p24-19 was released.
+
+*w3mmee-0.3.2_p24-r1 (22 Aug 2003)
+
+ 22 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> w3mmee-0.3.2_p24-r1.ebuild:
+ Fixed escape character problem of viewing Japanese manpages with w3mmeeman.
+ Creates symlinks if w3m is not present
+
+*w3mmee-0.3.2_p24 (08 Aug 2003)
+
+ 22 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> w3mmee-0.3.2_p24.ebuild:
+ Marked stable on x86 and ppc
+
+ 08 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> :
+ Initial import
+
diff --git a/www-client/w3mmee/Manifest b/www-client/w3mmee/Manifest
new file mode 100644
index 000000000000..12fe70d40271
--- /dev/null
+++ b/www-client/w3mmee/Manifest
@@ -0,0 +1,7 @@
+MD5 644541cad7104065944a35499a286f7a ChangeLog 2418
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+MD5 6142d3d450b6856989836a1c66d9dac5 w3mmee-0.3.2_p24-r3.ebuild 3660
+MD5 918213e4e446b7f2a06987c9f322cb17 w3mmee-0.3.2_p24-r4.ebuild 3664
+MD5 60d6392393f2f69cea53fbacc9447fe0 files/digest-w3mmee-0.3.2_p24-r3 122
+MD5 06e2f7d92b34d5dad6ae24fba7b1abe8 files/digest-w3mmee-0.3.2_p24-r4 122
+MD5 ea771adfe70c29aec2c33d9cc4717eb3 files/w3mmee-w3mman-gentoo.diff 1037
diff --git a/www-client/w3mmee/files/digest-w3mmee-0.3.2_p24-r4 b/www-client/w3mmee/files/digest-w3mmee-0.3.2_p24-r4
new file mode 100644
index 000000000000..cce5ccc21af7
--- /dev/null
+++ b/www-client/w3mmee/files/digest-w3mmee-0.3.2_p24-r4
@@ -0,0 +1,2 @@
+MD5 82cd0a79d5a24332556f610bc54c0412 w3mmee-p24-20.tar.gz 686907
+MD5 15492b14ca7b9a9e035238611e9cd1e3 gc6.2.tar.gz 750883
diff --git a/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff b/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff
new file mode 100644
index 000000000000..967e679f02b2
--- /dev/null
+++ b/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff
@@ -0,0 +1,23 @@
+diff -urN w3mmee-p24-19.ORIG/scripts/w3mman/w3mman.in w3mmee-p24-19/scripts/w3mman/w3mman.in
+--- w3mmee-p24-19.ORIG/scripts/w3mman/w3mman.in 2002-03-17 14:07:08.000000000 +0900
++++ w3mmee-p24-19/scripts/w3mman/w3mman.in 2003-12-06 20:49:15.000000000 +0900
+@@ -1,7 +1,7 @@
+ #!@PERL@
+
+ @W3M = split(' ', '@W3M@');
+-$ENV{'MAN'} = '@MAN@';
++$ENV{'MAN'} = 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C @MAN@';
+ $SCRIPT = 'file:///$LIB/w3mman2html.cgi';
+
+ sub usage {
+diff -urN w3mmee-p24-19.ORIG/scripts/w3mman/w3mman2html.cgi.in w3mmee-p24-19/scripts/w3mman/w3mman2html.cgi.in
+--- w3mmee-p24-19.ORIG/scripts/w3mman/w3mman2html.cgi.in 2002-03-17 14:07:08.000000000 +0900
++++ w3mmee-p24-19/scripts/w3mman/w3mman2html.cgi.in 2003-12-06 20:49:53.000000000 +0900
+@@ -1,6 +1,6 @@
+ #!@PERL@
+
+-$MAN = $ENV{'MAN'} || '@MAN@';
++$MAN = $ENV{'MAN'} || 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C @MAN@';
+ $QUERY = $ENV{'QUERY_STRING'} || $ARGV[0];
+ $SCRIPT_NAME = $ENV{'SCRIPT_NAME'} || $0;
+ $CGI = "file://$SCRIPT_NAME";
diff --git a/www-client/w3mmee/metadata.xml b/www-client/w3mmee/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/www-client/w3mmee/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r4.ebuild b/www-client/w3mmee/w3mmee-0.3.2_p24-r4.ebuild
new file mode 100644
index 000000000000..839a98d9a4ec
--- /dev/null
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r4.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/w3mmee/w3mmee-0.3.2_p24-r4.ebuild,v 1.1 2004/09/08 14:11:45 usata Exp $
+
+inherit alternatives eutils
+
+IUSE="gpm imlib nls ssl"
+
+MY_PV=${PV##*_}-20
+MY_P=${PN}-${MY_PV}
+GC_PV="6.2"
+MY_GC=gc${GC_PV}
+
+DESCRIPTION="A variant of w3m with support for multiple character encodings"
+SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${MY_P}.tar.gz
+ http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${MY_GC}.tar.gz"
+HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/w3mmee/"
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="x86 -alpha sparc ppc"
+
+DEPEND=">=sys-libs/ncurses-5.2-r3
+ >=sys-libs/zlib-1.1.3-r2
+ dev-lang/perl
+ >=dev-libs/libmoe-1.5.3
+ imlib? ( >=media-libs/imlib-1.9.8
+ media-libs/compface )
+ gpm? ( >=sys-libs/gpm-1.19.3-r5 )
+ nls? ( sys-devel/gettext )
+ ssl? ( >=dev-libs/openssl-0.9.6b )"
+
+PROVIDE="virtual/textbrowser
+ virtual/w3m"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+
+ unpack ${MY_P}.tar.gz
+ cd ${S}
+
+ # w3mmee doesn't come with boehm-gc unlike w3m and w3m-m17n.
+ # However, w3mmee cannot be compiled with system gc
+ # (Debian is the only Linux distribution that can compile it)
+ unpack ${MY_GC}.tar.gz
+ mv ${MY_GC} gc
+
+ epatch ${FILESDIR}/${PN}-w3mman-gentoo.diff
+}
+
+src_compile() {
+
+ local myconf myuse mylang
+ myuse="use_cookie=y use_ansi_color=y use_history=y
+ display_code=E system_code=E"
+
+ if use ssl ; then
+ myconf="${myconf} --ssl-includedir=/usr/include/openssl
+ --ssl-libdir=/usr/lib"
+ myuse="${myuse} use_ssl=y use_ssl_verify=y
+ use_digest_auth=y"
+ else
+ myuse="${myuse} use_ssl=n"
+ fi
+
+ if use gpm ; then
+ myuse="${myuse} use_mouse=y"
+ else
+ myuse="${myuse} use_mouse=n"
+ fi
+
+ if use nls ; then
+ myconf="${myconf} -locale_dir=/usr/share/locale"
+ else
+ myconf="${myconf} -locale_dir='(NONE)'"
+ fi
+
+ if use imlib ; then
+ myuse="${myuse} use_image=y use_w3mimg_x11=y
+ use_w3mimg_fb=n w3mimgdisplay_setuid=n use_xface=y"
+ else
+ myuse="${myuse} use_image=n"
+ fi
+
+ cat >>config.param<<-EOF
+ lang=MANY
+ accept_lang=en
+ EOF
+
+ env ${myuse} ./configure -nonstop \
+ -prefix=/usr \
+ -suffix=mee \
+ -auxbindir=/usr/lib/w3mmee \
+ -libdir=/usr/lib/w3mmee/cgi-bin \
+ -helpdir=/usr/share/w3mmee \
+ -mandir=/usr/share/man \
+ -sysconfdir=/etc/w3mmee \
+ -model=custom \
+ -libmoe=/usr/lib \
+ -mb_h=/usr/include/moe \
+ -mk_btri=/usr/libexec/moe \
+ -cflags=${CFLAGS} -ldflags=${LDFLAGS} \
+ ${myconf} || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+
+ einstall DESTDIR=${D}
+
+ # w3mman and manpages conflict with those from w3m
+ mv ${D}/usr/bin/w3m{,mee}man
+ mv ${D}/usr/share/man/ja/man1/w3m{,mee}.1
+ mv ${D}/usr/share/man/man1/w3m{,mee}.1
+ mv ${D}/usr/share/man/man1/w3mman{,mee}.1
+
+ dodoc 00INCOMPATIBLE.html ChangeLog NEWS* README
+ docinto en
+ dodoc doc/*
+ docinto jp
+ dodoc doc-jp/*
+}
+
+pkg_postinst() {
+
+ w3m_alternatives
+ einfo
+ einfo "If you want to render multilingual text, please refer to"
+ einfo "/usr/share/doc/${P}/en/README.mee or"
+ einfo "/usr/share/doc/${P}/jp/README.mee"
+ einfo "and set W3MLANG variable respectively."
+ einfo
+}
+
+pkg_postrm() {
+
+ w3m_alternatives
+}
+
+w3m_alternatives() {
+
+ if [ ! -f /usr/bin/w3m ] ; then
+ alternatives_makesym /usr/bin/w3m \
+ /usr/bin/w3m{m17n,mee}
+ alternatives_makesym /usr/bin/w3mman \
+ /usr/bin/w3m{man-m17n,meeman}
+ alternatives_makesym /usr/share/man/ja/man1/w3m.1.gz \
+ /usr/share/man/ja/man1/w3m{m17n,mee}.1.gz
+ alternatives_makesym /usr/share/man/man1/w3m.1.gz \
+ /usr/share/man/man1/w3m{m17n,mee}.1.gz
+ alternatives_makesym /usr/share/man/man1/w3mman.1.gz \
+ /usr/share/man/man1/w3m{man-m17n,meeman}.1.gz
+ fi
+}