Trenton Adams schreef: > On 1/14/06, Richard Fish <[EMAIL PROTECTED]> wrote: >> On 1/14/06, Trenton Adams <[EMAIL PROTECTED]> wrote: >>> The old version could disable gnome, but 1.5 can't. Perhaps it's >>> a firefox 1.5 ebuild limitation? I hope that's what it is, >>> because I can't stand gnome. >> False. >> >> carcharias rjf # ldd /usr/lib/mozilla-firefox/firefox-bin | grep >> gnome carcharias rjf # emerge -pv mozilla-firefox >> >> These are the packages that I would merge, in order: >> >> Calculating dependencies ...done! [ebuild R ] >> www-client/mozilla-firefox-1.5-r9 USE="java -debug -gnome -ipv6 >> -mozdevelop -xinerama -xprint" 0 kB > > If you already have gnome installed, gnome won't show up unless you > go --tree, will it? Either way, you can take a look in the ebuild > file for firefox 1.5, and there's no reference to gnome. No checking > of the gnome useflag or anything like that. 1.0.7 has it though. >
The appearance of USE flags (which is what we're talking about) is unrelated to whether or not you have the package installed already-- a USE flag does not appear or disappear based on whether you have the relevant package installed. In fact, the USE flag controls to great degree whether you install the relevant dependency or not (i.e., if K3b optionally depends on KDE, then enabling the "kde" USE flag will install additional, optional KDE support programs. But since K3b requires kdelibs and kdebase to run at all, these hard dependencies are not controlled by the USE flag). In any case: emerge -pv mozilla-firefox gnome-light These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] www-client/mozilla-firefox-1.5-r9 USE="gnome java xprint -debug -ipv6 -mozdevelop -xinerama" 0 kB [ebuild R ] gnome-base/gnome-light-2.12.0 0 kB As you see, I do have GNOME installed, and the "gnome" USE flag does still appear in the Firefox prospective emerge output. |> Runtime Dependencies |> mozilla-firefox-1.5-r9 |> |> gnome >= gnome-base/gnome-vfs - 2.3.5 |> Title: gnome-vfs |> Description: Gnome Virtual Filesystem So enabling the gnome USE flag adds a runtime dependency on the GNOME virtual file system. Which sounds an awful lot like something that might affect dialogs. However, since there were a lot of complaints about the old dialog, I strongly doubt that disabling this flag would change the dialogs terribly significantly, except that you wouldn't have the GNOME extras that I mentioned before. It's quite likely that even the "naked" new dialog is a lot like the current GNOME dialog. And again, the likely reason that there is no reference to GNOME in the ebuild is because the references to GNOME integration and compatibility are *in the source code*, because the *Mozilla developers chose* this dialog *as the default* (but not the only) choice of dialog. That is their good right, just as it is your good right to change that if you so desire (since that is apparently quite possible to do). Ebuilds don't do anything but compile the code as given, with some slight modification to work within the Gentoo system (as opposed to the RedHat system or the SuSE system). Ebuilds certainly don't change things as integral to the operation of the program as the format and type of file dialogs. I suppose you could trawl through the source and see where this is set and then write an ebuild to make the choice of file dialog type a configure option-- maybe. If it's already a configure option. Which I doubt. But you could look. Holly -- gentoo-user@gentoo.org mailing list