diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-22 19:50:44 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-22 19:50:44 +0000 |
commit | 4477d753a310498bf42de6645137f69433a9442d (patch) | |
tree | fd444d5ab0b77d43488acc4fea056e7cabfcf58a /net-www/galeon | |
parent | added a galeon-1.2.1-r2 (includes a patch to compile against gcc3.1) (diff) | |
download | gentoo-2-4477d753a310498bf42de6645137f69433a9442d.tar.gz gentoo-2-4477d753a310498bf42de6645137f69433a9442d.tar.bz2 gentoo-2-4477d753a310498bf42de6645137f69433a9442d.zip |
added a galeon-1.2.1-r2 (includes a patch to compile against gcc3.1)
please test with gcc2.95.3
Diffstat (limited to 'net-www/galeon')
-rw-r--r-- | net-www/galeon/ChangeLog | 10 | ||||
-rw-r--r-- | net-www/galeon/files/digest-galeon-1.2.1-r2 | 1 | ||||
-rw-r--r-- | net-www/galeon/files/galeon-1.2.1-gcc3.1.patch | 23 | ||||
-rw-r--r-- | net-www/galeon/galeon-1.2.1-r2.ebuild | 87 |
4 files changed, 120 insertions, 1 deletions
diff --git a/net-www/galeon/ChangeLog b/net-www/galeon/ChangeLog index e0e7f9fe03a7..85c770c0bd72 100644 --- a/net-www/galeon/ChangeLog +++ b/net-www/galeon/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-www/galeon # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.9 2002/05/21 21:18:15 blocke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.10 2002/05/22 19:50:44 mkennedy Exp $ + +*galeon-1.2.1-r2 (22 May 2002) + + 22 May 2002; Matthew Kennedy <mkennedy@gentoo.org> + galeon-1.2.1-r2.ebuild, ChangeLog, files/digest-galeon-1.2.1-r2, + files/galeon-1.2.1-gcc3.1.patch : + + include patch to build with gcc3 *galeon-1.2.1-r1 (21 May 2002) diff --git a/net-www/galeon/files/digest-galeon-1.2.1-r2 b/net-www/galeon/files/digest-galeon-1.2.1-r2 new file mode 100644 index 000000000000..7989f634d596 --- /dev/null +++ b/net-www/galeon/files/digest-galeon-1.2.1-r2 @@ -0,0 +1 @@ +MD5 4d058f47f0f626dac3fda70c1c332052 galeon-1.2.1.tar.gz 3931284 diff --git a/net-www/galeon/files/galeon-1.2.1-gcc3.1.patch b/net-www/galeon/files/galeon-1.2.1-gcc3.1.patch new file mode 100644 index 000000000000..c18422e47f40 --- /dev/null +++ b/net-www/galeon/files/galeon-1.2.1-gcc3.1.patch @@ -0,0 +1,23 @@ +--- galeon-1.2.1/src/mozilla/ContentHandler.h~ 2002-03-08 01:39:04.000000000 +0100 ++++ galeon-1.2.1/src/mozilla/ContentHandler.h 2002-05-13 18:54:23.000000000 +0200 +@@ -19,6 +19,12 @@ + #ifndef __ContentHandler_h + #define __ContentHandler_h + ++extern "C" { ++#include "libgnomevfs/gnome-vfs-mime-handlers.h" ++} ++ ++ ++ + #include "nsIHelperAppLauncherDialog.h" + #include "nsIExternalHelperAppService.h" + #include "nsCExternalHandlerService.h" +@@ -41,7 +47,6 @@ + } + + class nsIFactory; +-struct GnomeVFSMimeApplication; + + class GContentHandler : public nsIHelperAppLauncherDialog + { diff --git a/net-www/galeon/galeon-1.2.1-r2.ebuild b/net-www/galeon/galeon-1.2.1-r2.ebuild new file mode 100644 index 000000000000..7e7fb5211bd5 --- /dev/null +++ b/net-www/galeon/galeon-1.2.1-r2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Martin Schlemmer <azarah@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/galeon-1.2.1-r2.ebuild,v 1.1 2002/05/22 19:50:44 mkennedy Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A small web-browser for gnome that uses mozillas render engine" +SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz + http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz" +HOMEPAGE="http://galeon.sourceforge.net" + +DEPEND="~net-www/mozilla-1.0_rc2 + >=gnome-base/gnome-libs-1.4.1.4 + >=gnome-base/libglade-0.17-r1 + >=gnome-base/gnome-vfs-1.0.2-r1 + >=gnome-base/gconf-1.0.7-r2 + >=gnome-base/oaf-0.6.7 + >=dev-libs/libxml-1.8.16 + >=media-libs/gdk-pixbuf-0.16.0-r1 + nls? ( sys-devel/gettext + >=dev-util/intltool-0.11 )" + + # bonobo? ( >=gnome-base/bonobo-1.0.19-r1 ) + +src_unpack() { + + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/galeon-1.2.0-gcc3.patch || die + patch -p1 < ${FILESDIR}/galeon-1.2.1-gcc3.1.patch || die +} + +src_compile() { + + local myconf + + use nls || myconf="${myconf} --disable-nls" + # use bonobo && myconf="${myconf} --enable-gnome-file-selector" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --with-mozilla-libs=${MOZILLA_FIVE_HOME} \ + --with-mozilla-includes=${MOZILLA_FIVE_HOME}/include \ + --without-debug --disable-werror \ + --disable-applet \ + --disable-install-schemas \ + --enable-nautilus-view=auto \ + ${myconf} || die + + emake || die +} + +src_install() { + + # galeon-config-tool was rewritten for 1.2.0 and causes sandbox + # violations if gconfd is shut down... The schemas seem to install + # fine without it (at least it seems like it... *sigh*) + #gconftool --shutdown + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + install || die + + dodoc AUTHORS ChangeLog COPYING* FAQ NEWS README TODO THANKS +} + +pkg_postinst() { + + galeon-config-tool --fix-gconf-permissions + galeon-config-tool --pkg-install-schemas + scrollkeeper-update + + if [ -z "`use gnome`" ] + then + einfo "Please remerge libglade with gnome support, or else galeon" + einfo "will not be able to start up." + einfo + einfo 'To do this, type: ' + einfo 'USE="gnome" emerge libglade' + fi +} + |