Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2030 - mozilla-1.0_rc1.ebuild breaks galeon-1.2.0-r3.ebuild
Summary: mozilla-1.0_rc1.ebuild breaks galeon-1.2.0-r3.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-23 08:55 UTC by Troy Dack
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Dack 2002-04-23 08:55:21 UTC
Installing mozilla-1.0_rc1 will cause the galeon-1.2.0-r3 ebuild to fall over.

Installing mozilla-1.0_rc1 and running already built galeon-1.2.0-r3 will give
an error that the version of galeon was compiled with mozilla-0.9.9 and -1.0_rc1
is now installed.

Galeon-1.2.0-r3 appears to still be usable with mozilla-1.0_rc1.

Fix: 

#1. New version of galeon (1.2.1) has been released that is compatible with
mozilla-1.0_rc1, see: http://galeon.sourceforge.net/news/index.php#39.

#2. Advise users to "pin" mozilla in /var/cache/edb/world to 0.9.9-r2
eg:
=net-www/mozilla-0.9.9-r2

#3. Mask mozilla-1.0_rc1 until galeon 1.2.1 ebuild is ready.
Comment 1 Artur Brodowski 2002-04-23 16:10:03 UTC
here is new ebuild for galeon 1.2.1 - i basically copied 1.2.0-r3 one, and
commented out the line where patch for galeon 1.2.0 was applied. new galeon
works fine for me.
(sorry, i've tried but couldn't attach the file, so added below)
# 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>
# /space/gentoo/cvsroot/gentoo-x86/net-www/galeon/galeon-1.2.0-r3.ebuild,v 1.3
2002/04/07 15:47:50 gbevin 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_rc1
	>=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

}

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-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
}

Comment 2 Spider (RETIRED) gentoo-dev 2002-04-23 17:26:30 UTC
Considering that the patch is still necessary for gcc3 its yet to be used.

galeons dependency should be fixed to a version of mozilla, this seems to be a
prevailing ~net-www/.... bug 

generally, galeon will be in portage sometime tonight when I've fixed things up
and made sure it updates cleanly on my system. :)