El Lunes, 31 de Julio de 2006 08:08, Andreas Schoelver escribió: > Hi Jesús > > On Mon, 31 Jul 2006 01:11:30 +0200 > Jesús Guerrero <[EMAIL PROTECTED]> wrote: > > [...] > > > > My favorite browser is firefox, but how do I tell both of mono-tools > > > and gnome about that? > > > > > > Andreas > > > > AFAIK, USE="firefox" will remove the dep on seamonkey and that stuff. I > > dont use gnome though, maybe someone can confirm this. > > This helps with gnome. > But why does USE="mozilla" *not* help? > Also mozilla is a web-client. > > BTW: I only use some apps of gnome, maybe I should not emerge the whole > gnome thing at all. > > Andreas
Ok, as I said, i am not a gnome user, but a quick emerge -t is enough to get some info. It is not gnome directly the one that needs firefox/seamonkey, but yelp, as can be seen here: [code] # emerge -t gnome-light | grep -U5 firefox [ebuild N ] gnome-base/gnome-panel-2.14.2 USE="eds -debug -doc" [ebuild N ] x11-libs/libwnck-2.14.2 USE="-debug -doc" [ebuild N ] gnome-base/gnome-session-2.14.2 USE="tcpd -branding -debug -esd -ipv6" [ebuild N ] x11-themes/gnome-themes-2.14.2 USE="-accessibility -debug" [ebuild N ] x11-themes/gtk-engines-2.6.9 USE="-accessibility -debug" [ebuild N ] gnome-extra/yelp-2.14.2-r2 USE="-debug -firefox" [ebuild N ] gnome-base/libgnomeprintui-2.12.1 USE="-debug -doc" [ebuild N ] gnome-base/libgnomeprint-2.12.1 USE="cups -debug -doc" [ebuild N ] net-print/libgnomecups-0.2.2 USE="-debug" [ebuild N ] www-client/seamonkey-1.0.3 USE="crypt xprint -debug -gnome -ipv6 -java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoroaming -postgres -xinerama" [ebuild N ] gnome-base/control-center-2.14.2 USE="alsa eds -debug -gstreamer" [/code] I think the reason why the mozilla USE does not affect this if pretty obvious. It is yelp the one that needs firefox or seamonkey, and, as you can see, it has no "mozilla" use flag available. Could it be done by modifying the ebuild? I am almost sure, not that seamonkey or firefox are anything different to mozilla in capabilities. I tinkered a bit with this and came along with this ebuild (i have no idea about ebuilds, so, just bear with me if something is not nice, it just works :P ). [code] # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-2.14.2-r2.ebuild,v 1.6 2006/07/17 18:27:39 dang Exp $ inherit eutils gnome2 autotools DESCRIPTION="Help browser for GNOME" HOMEPAGE="http://www.gnome.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 hppa ~ia64 ppc ~ppc64 sparc x86" IUSE="firefox mozilla" RDEPEND=">=dev-libs/glib-2 >=gnome-base/orbit-2.12.4 >=gnome-base/gconf-2 >=app-text/gnome-doc-utils-0.3.1 >=gnome-base/gnome-vfs-2 >=x11-libs/gtk+-2.5.3 >=gnome-base/libbonobo-1.108 >=gnome-base/libglade-2 >=gnome-base/libgnome-2.0.2 >=gnome-base/libgnomeui-1.103 >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprintui-2.2 >=dev-libs/libxml2-2.6.5 >=dev-libs/libxslt-1.1.4 >=x11-libs/startup-notification-0.8 sparc? ( >=www-client/mozilla-firefox-1.0.2-r1 ) ia64? ( >=www-client/mozilla-firefox-1.0.2-r1 ) ppc64? ( www-client/seamonkey ) !sparc? ( !ia64? ( !firefox? ( !mozilla? ( www-client/seamonkey ) ) ) ) firefox? ( >=www-client/mozilla-firefox-1.0.2-r1 ) mozilla? ( >=www-client/mozilla-1.7.13 ) dev-libs/popt sys-libs/zlib app-arch/bzip2" DEPEND="${RDEPEND} sys-devel/gettext >=dev-util/intltool-0.28 >=dev-util/pkgconfig-0.9" DOCS="AUTHORS ChangeLog NEWS README TODO" pkg_setup() { G2CONF="${G2CONF} --enable-man --enable-info" if use firefox || use sparc || use ia64; then G2CONF="${G2CONF} --with-mozilla=firefox" else G2CONF="${G2CONF} --with-mozilla=seamonkey" fi } src_unpack() { gnome2_src_unpack epatch ${FILESDIR}/${PN}-2.14.0-mozilla-include-fix.patch # Fixes bug #132527, already merged upstream into next 2.14 release epatch ${FILESDIR}/${P}-ampersand-escaping.patch mv aclocal.m4 old_macros.m4 AT_M4DIR="m4 ." eautoreconf } [/code] I just modified the original /usr/portage/gnome-extra/yelp/yelp-2.14.2-r2.ebuild to look like that. You can just put it in an overlay or something. It work, and now if you USE="mozilla" you get this. [code] └─[161]-> # USE="mozilla" emerge -pv yelp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] gnome-base/orbit-2.14.2 USE="ssl -debug -doc" 0 kB [ebuild N ] gnome-base/libbonobo-2.14.0 USE="-debug -doc" 0 kB [ebuild N ] gnome-base/gconf-2.14.0 USE="-debug -doc" 0 kB [ebuild N ] gnome-base/gnome-mime-data-2.4.2 USE="-debug" 0 kB [ebuild N ] gnome-base/gnome-vfs-2.14.2-r1 USE="hal ssl -avahi -debug -doc -gnutls -ipv6 -samba" 0 kB [ebuild N ] gnome-base/libgnome-2.14.1 USE="-debug -doc -esd -static" 0 kB [ebuild N ] net-print/libgnomecups-0.2.2 USE="-debug" 0 kB [ebuild N ] gnome-base/libgnomeprint-2.12.1 USE="cups -debug -doc" 0 kB [ebuild N ] x11-libs/startup-notification-0.8 0 kB [ebuild N ] www-client/mozilla-1.7.13 USE="crypt mozsvg ssl truetype xprint -debug -gnome -ipv6 -java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft -postgres -xinerama" 569 kB [ebuild N ] app-text/gnome-doc-utils-0.6.1 USE="-debug" 0 kB [ebuild N ] gnome-base/libgnomecanvas-2.14.0 USE="X -debug -doc -static" 0 kB [ebuild N ] dev-perl/XML-Simple-2.14 USE="perl -minimal" 0 kB [ebuild N ] x11-misc/icon-naming-utils-0.7.2 0 kB [ebuild N ] x11-themes/gnome-icon-theme-2.14.2 USE="-debug" 0 kB [ebuild N ] gnome-base/libgnomeprintui-2.12.1 USE="-debug -doc" 0 kB [ebuild N ] gnome-base/gnome-keyring-0.4.9 USE="-debug" 0 kB [ebuild N ] gnome-base/libbonoboui-2.14.0 USE="X -debug -doc" 0 kB [ebuild N ] gnome-base/libgnomeui-2.14.1 USE="jpeg -debug -doc" 0 kB [ebuild N ] gnome-extra/yelp-2.14.2-r2 USE="mozilla -debug -firefox" 0 kB Total size of downloads: 569 kB [/code] I dont have gnome or mozilla, so it want to install a bunch of thins, if you have both, you should not require seamonkey nor firefox now. If you find it useful, feel free to open a but in bugzilla and feel free to submit this modiffied ebuild, so it can go into portage and you dont have to mess with ebuild in the future. I dont know how long mozilla will be in portage though... I dont like it. :P Enjoy, regards. :) -- gentoo-user@gentoo.org mailing list