Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I get rid of Mozilla in GNOME?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 03, 2004 5:31 pm    Post subject: How do I get rid of Mozilla in GNOME? Reply with quote

I already use Firefox so I don't want the main mozilla suite. Tried unmerging it, but it was merged again on the next update (it's not in my use-flag).

So a bit of investigation led to me finding that Epiphany is depending on Mozilla. Unmerged that, and now an update wants me to merge Epiphany and Mozilla again. How can I find out the reverse dependencies of packages such as Mozilla and Epiphany?

Thanks

Alex
Back to top
View user's profile Send private message
Given M. Sur
l33t
l33t


Joined: 03 Feb 2004
Posts: 648
Location: No such file or directory

PostPosted: Sun Oct 03, 2004 5:43 pm    Post subject: Reply with quote

EDIT: My suggestion has been deprecated :)
_________________
What is the best [insert-type-of-program-here]?


Last edited by Given M. Sur on Sun Oct 03, 2004 6:02 pm; edited 6 times in total
Back to top
View user's profile Send private message
Unne
l33t
l33t


Joined: 21 Jul 2003
Posts: 616

PostPosted: Sun Oct 03, 2004 5:55 pm    Post subject: Reply with quote

In case you didn't know,

Code:
chester [~] $ emerge --inject

*** --inject has been deprecated.
*** Please add package to /etc/portage/profile/package.provided
*** using its full name (eg foo/bar-1.0) instead.


To find the reverse dependencies, you can use something like this:

Code:
grep packagename /var/db/pkg/*/*/*DEPEND

_________________
Obligatory hompage link.
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 03, 2004 6:10 pm    Post subject: Reply with quote

flashpoint root # grep mozilla /var/db/pkg/*/*/*DEPEND
/var/db/pkg/mail-client/mozilla-thunderbird-0.8/DEPEND: >=net-www/mozilla-launcher-1.19
/var/db/pkg/mail-client/mozilla-thunderbird-0.8/RDEPEND: >=net-www/mozilla-launcher-1.19
/var/db/pkg/net-www/mozilla-firefox-bin-1.0_pre-r1/RDEPEND: >=net-www/mozilla-launcher-1.13

So they require mozilla-launcher... but mozilla-launcher doesn't require Mozilla! Something must require Mozilla for my world update to want to merge Mozilla.

Thanks for your help... the hunt goes on. (PS I don't want to Inject because something will break surely, plus it's a bit of a cop out. :P)

Al
Back to top
View user's profile Send private message
justabssplyr
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 110

PostPosted: Sun Oct 03, 2004 6:14 pm    Post subject: Reply with quote

the gnome ebuild includes epiphany, which i think depends on having mozilla installed for gecko.

i wonder if theres anyway to get epiphany to either recognize firefox as a replacement for mozilla (some sort of virtual/gecko?) or you could edit the ebuild and remove epiphany.
Back to top
View user's profile Send private message
Unne
l33t
l33t


Joined: 21 Jul 2003
Posts: 616

PostPosted: Sun Oct 03, 2004 6:16 pm    Post subject: Reply with quote

I think grepping like I suggested only lists dependencies for packages you already have installed, so if you removed epiphany it wouldn't show up there. You can grep for what is requiring epiphany, and grep for what's requiring that, etc. etc. until maybe you find that you reach something that you don't want, and you can uninstall stuff all the way down the tree. I did that, and managed to get rid of most of Gnome. If you actually use Gnome, then you're probably stuck with Epiphany and Mozilla, unless you hack something or lie to portage about what you have installed, like someone suggested above.
_________________
Obligatory hompage link.
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 03, 2004 6:21 pm    Post subject: Reply with quote

D'oh! Of course. Well it would appear the GNOME ebuild requires Epiphany which requires Mozilla. Hmmmmmmmmmmmmmm! I'm going to try and get away with mozilla-bin. Sick of compiling mozilla when I don't even use it! :@
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Sun Oct 03, 2004 6:41 pm    Post subject: Reply with quote

You can unmerge gnome (this won't remove any files; the gnome package is just a list of dependencies) and add the individiual Gnome programs to your world file (with emerge --noreplace or emerge --onlydeps since they're already installed). This way you can leave specific programs out (such as Epiphany).
Back to top
View user's profile Send private message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Sun Oct 03, 2004 6:53 pm    Post subject: Reply with quote

Hi,

You could try the nice tool discussed here, like this:
Code:

$ dep -r mozilla
find: /usr/portage/.reiserfs_priv: Permission denied
net-www/mozilla:
        net-im/gnophone-0.2.4-r1             mozilla? net-www/mozilla
        net-www/epiphany-1.2.9-r1            >=net-www/mozilla-1.7.3


and see what it comes up with.

PS. See code above, does anyone know what's wrong with my .reiserfs_privs by any chance?
_________________
- Skion
Back to top
View user's profile Send private message
yoyoned
n00b
n00b


Joined: 19 Sep 2003
Posts: 13

PostPosted: Sun Oct 03, 2004 9:56 pm    Post subject: Reply with quote

I solved the problem like this. The following post contains info on automaticly injecting unwanted packages.
https://forums.gentoo.org/viewtopic.php?t=134199&highlight=autoinject
my /etc/portage/package.inject
Code:

net-www/mozilla
net-www/epiphany

Then I run
Code:
 /usr/local/bin/autoinject

when emerge wants to upgrade mozilla or epiphany

Good luck
Todd
Back to top
View user's profile Send private message
z0mbix
n00b
n00b


Joined: 20 Feb 2003
Posts: 10
Location: London, UK

PostPosted: Thu Oct 14, 2004 2:04 pm    Post subject: Reply with quote

Thanks, that's just what I needed :D
_________________
http://www.zombix.org/
Back to top
View user's profile Send private message
MarsDude
n00b
n00b


Joined: 24 May 2002
Posts: 19

PostPosted: Fri Nov 26, 2004 3:16 pm    Post subject: Reply with quote

Wouldn't it just be possible to unmerge mozilla and epiphany and then just unmerge the gnome meta-package? That way you loose the dependency on epipahny and thus on mozilla.
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Fri Nov 26, 2004 3:27 pm    Post subject: Reply with quote

MarsDude wrote:
Wouldn't it just be possible to unmerge mozilla and epiphany and then just unmerge the gnome meta-package? That way you loose the dependency on epipahny and thus on mozilla.
And you also lose the dependency on a dozen other Gnome packages, meaning portage can't update them when newer versions are available unless you tell it manually to check each of those packages.
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Nov 26, 2004 5:21 pm    Post subject: Reply with quote

And next time, just emerge gnome-light .. it doesn't have mozilla in.
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
muyan
n00b
n00b


Joined: 12 Oct 2004
Posts: 19

PostPosted: Fri Nov 26, 2004 5:25 pm    Post subject: The proper way to remove epiphany/mozilla Reply with quote

add this to /etc/portage/package.use

Code:
gnome-base/gnome hppa


re-emerge all gnome-packages and dependecies directly related to gnome - check the ebuild for a list.
This removes the bindings to epiphany and mozilla.
As said in this post - inject is deprecated and should not be used
instead you can add the package in /etc/portage/package.provided
Code:
i.e.: ~ # echo net-www/epiphany >> /etc/portage/package.provided
Back to top
View user's profile Send private message
MarsDude
n00b
n00b


Joined: 24 May 2002
Posts: 19

PostPosted: Sat Nov 27, 2004 9:01 pm    Post subject: Reply with quote

TrueDFX wrote:
And you also lose the dependency on a dozen other Gnome packages, meaning portage can't update them when newer versions are available unless you tell it manually to check each of those packages.

Isn't portage kind of lacking if it doesn't remember all the packages it installs??? (i'm new here btw... )
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Sat Nov 27, 2004 9:05 pm    Post subject: Reply with quote

MarsDude wrote:
Isn't portage kind of lacking if it doesn't remember all the packages it installs???
portage does remember, but since it can no longer find a reason you have those packages on your system - you didn't ask for them specifically, they're only there because you haven't removed them yet, as far as portage is concerned - it won't bother with those packages unless you specifically tell it to.

As for the hppa comment: that happens to work because epiphany is not available for that arch. If it's available later, it will stop working. It's generally best not to mess with arch flags, even though you're right that it would now work in this situation.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Sat Nov 27, 2004 9:27 pm    Post subject: Reply with quote

Code:
echo "net-www/epiphany-1.4.4" >> /etc/portage/profile/package.provided

_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum