diff options
author | Hanno Böck <hanno@gentoo.org> | 2004-05-30 13:44:13 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2004-05-30 13:44:13 +0000 |
commit | 791d73c24fb6e4ec908c2860701d737912576e92 (patch) | |
tree | cc6c92b923513ba23862a5aba7d21b9a212c183c /net-www | |
parent | 3.3alpha 1- hardmasked (Manifest recommit) (diff) | |
download | gentoo-2-791d73c24fb6e4ec908c2860701d737912576e92.tar.gz gentoo-2-791d73c24fb6e4ec908c2860701d737912576e92.tar.bz2 gentoo-2-791d73c24fb6e4ec908c2860701d737912576e92.zip |
commited galeon-1.2.13 (old series) version bump
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/galeon/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/galeon/files/digest-galeon-1.2.13 | 1 | ||||
-rw-r--r-- | net-www/galeon/galeon-1.2.13.ebuild | 128 |
3 files changed, 135 insertions, 1 deletions
diff --git a/net-www/galeon/ChangeLog b/net-www/galeon/ChangeLog index fbd78c2a26a7..c0c1798e47e7 100644 --- a/net-www/galeon/ChangeLog +++ b/net-www/galeon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/galeon # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.84 2004/05/30 13:37:31 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.85 2004/05/30 13:44:13 hanno Exp $ + +*galeon-1.2.13 (30 May 2004) + + 30 May 2004; Hanno Boeck <hanno@gentoo.org> +galeon-1.2.13.ebuild: + Version bump to old 1.2-series. 30 May 2004; Hanno Boeck <hanno@gentoo.org> +files/galeon-gcc34-fix.gz, galeon-1.3.14a.ebuild: diff --git a/net-www/galeon/files/digest-galeon-1.2.13 b/net-www/galeon/files/digest-galeon-1.2.13 new file mode 100644 index 000000000000..abbeb32179fa --- /dev/null +++ b/net-www/galeon/files/digest-galeon-1.2.13 @@ -0,0 +1 @@ +MD5 62f0c497b8165fc567f8d2016b40a319 galeon-1.2.13.tar.gz 4220496 diff --git a/net-www/galeon/galeon-1.2.13.ebuild b/net-www/galeon/galeon-1.2.13.ebuild new file mode 100644 index 000000000000..2d495e9f3302 --- /dev/null +++ b/net-www/galeon/galeon-1.2.13.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/galeon-1.2.13.ebuild,v 1.1 2004/05/30 13:44:13 hanno Exp $ + +IUSE="nls" + +inherit eutils libtool gnome.org flag-o-matic + +DESCRIPTION="A GNOME Web browser based on gecko (mozilla's rendering engine)" +SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://galeon.sourceforge.net" +RESTRICT="nomirror" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~alpha ~sparc" +SLOT="0" + +RDEPEND=">=net-www/mozilla-1.3 + >=gnome-base/gnome-libs-1.4.1.4 + <=gnome-base/libglade-0.99.0 + =gnome-base/gnome-vfs-1.0* + =gnome-base/gconf-1.0* + >=gnome-base/oaf-0.6.10 + >=dev-libs/libxml-1.8.17 + >=media-libs/gdk-pixbuf-0.18.0 + nls? ( sys-devel/gettext + >=dev-util/intltool-0.17 )" + # bonobo? ( >=gnome-base/bonobo-1.0.19-r1 ) + +DEPEND="${RDEPEND} + app-text/scrollkeeper + dev-util/pkgconfig" + +pkg_setup() { + + if [ ! -f ${ROOT}/usr/lib/mozilla/components/libwidget_gtk.so ] + then + eerror + eerror "It seems that your Mozilla was not compiled against gtk+-1.2," + eerror "but rather gtk+-2.0. As Galeon does not support this setup yet," + eerror "you will have to remerge Mozilla with gtk+-1.2 support. This" + eerror "can be done by taking \"gtk2\" out of your USE flags:" + eerror + eerror " # USE="-gtk2" emerge mozilla " + eerror + die "Need Mozilla compiled with gtk+-1.2!!" + fi +} + +src_unpack() { + + unpack ${A} + + # Add UTF8 support to the google smart bookmarks. Note that + # it will probibly only work for a newly created bookmark ... + # <azarah@gentoo.org> (26 Dec 2002) + cd ${S}; epatch ${FILESDIR}/${PN}-1.2.7-google-UTF8.patch + +} + +src_compile() { + + elibtoolize + + local myconf= + local moz_ver="`pkg-config --modversion mozilla-xpcom | cut -d. -f1,2 2>/dev/null`" + + # This galeon version doesnt actually support mozilla as version 1.5, + # however it does support 1.5b <obz@gentoo.org> + [ $moz_ver == "1.5" ] && moz_ver="1.5b" + + 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-werror \ + --disable-install-schemas \ + --enable-nautilus-view=no \ + --with-mozilla-snapshot=${moz_ver} \ + ${myconf} || die + + emake || make || 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 + rm -rf ${D}/var/lib/scrollkeeper + +} + +pkg_postinst() { + + galeon-config-tool --fix-gconf-permissions + galeon-config-tool --pkg-install-schemas + scrollkeeper-update + + if [ -z "`use gnome`" ] + then + einfo "Please make sure libglade was built with gnome support, or" + einfo "else galeon will not be able to start up." + einfo + einfo 'To do this, type: ' + einfo 'USE="gnome" emerge libglade' + fi + +} + |