# ChangeLog for net-www/dillo
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/dillo/ChangeLog,v 1.6 2002/08/16 16:01:18 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/dillo/ChangeLog,v 1.7 2002/10/17 03:29:08 bcowan Exp $
+
+*dillo-0.6.6-r2 (16 Oct 2002)
+
+ 16 Oct 2002; Brad Cowan <bcowan@gentoo.org> dillo-0.6.6-r2.ebuild,
+ files/digest-dillo-0.6.6-r2 :
+
+ Added new local-browse patch when libwww is in USE, removed scaling patch as
+ it seems to work poorly with local-browse patch.
*dillo-0.6.6-r1 (16 Aug 2002)
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/dillo/dillo-0.6.6-r2.ebuild,v 1.1 2002/10/17 03:29:08 bcowan Exp $
+
+S=${WORKDIR}/${P}
+S2=${WORKDIR}/gentoo-extra-patch
+
+DESCRIPTION="Lean GTK+-based web browser"
+
+SRC_URI="http://dillo.cipsga.org.br/download/${P}.tar.gz
+ mirror://gentoo/gentoo-extra-patch.tar.bz2"
+HOMEPAGE="http://dillo.cipsga.org.br"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ >=media-libs/jpeg-6b
+ >=sys-libs/zlib-1.1.3
+ >=media-libs/libpng-1.2.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ if use libwww
+ then
+ patch -p0 < ${S2}/local-browse.patch || die
+ patch -p1 < ${S2}/gzip.patch || die
+ export WANT_AUTOMAKE_1_4=1
+ automake
+ fi
+
+ if use mozilla
+ then
+ cp ${S2}/pixmaps.netscape.h ${S}/src/pixmaps.h
+ elif use kde
+ then
+ cp ${S2}/pixmaps.konq.h ${S}/src/pixmaps.h
+ elif use gnome
+ then
+ cp ${S2}/pixmaps.ximian.h ${S}/src/pixmaps.h
+ fi
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install () {
+ dodir /etc
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog ChangeLog.old INSTALL README NEWS
+ docinto doc
+ dodoc doc/*.txt doc/README
+}
+
+pkg_postinst() {
+ einfo "This ebuild for dillo comes with different toolbar icons"
+ einfo "If you want mozilla style icons then try"
+ einfo " USE=\"-kde -gnome mozilla\" emerge dillo"
+ einfo
+ einfo "If you prefer konqueror style icons then try"
+ einfo " USE=\"-mozilla -gnome kde\" emerge dillo"
+ einfo
+ einfo "If you prefer ximian gnome style icons then try"
+ einfo " USE=\"-mozilla -kde gnome\" emerge dillo"
+ einfo
+ einfo "Otherwise, if you want the default icon set, then do"
+ einfo " USE=\"-mozilla -kde -gnome\" emerge dillo"
+ einfo
+ einfo "Do not worry, no extra dependencies will be pulled in"
+}