Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Prevent firefox-installation, how?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
treysis
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Thu Nov 01, 2007 11:34 am    Post subject: [SOLVED] Prevent firefox-installation, how? Reply with quote

hey there,

since my machine isn't the fastest anymore i wanted to use the binary-packages of some of the bigger programs (openoffice, firefox) which do get updated more often.

OpenOffice-binary is no problem at all. But i used the binary version from the beginning. Firefox i always compiled the gentoo way but since there've been kind of a lot of updates in the last time i thought i'd switch to the binary package. so i removed mozilla-firefox from the world file and emerge the mozilla-firefox-bin ebuild. but now when i want to perform a system/world-update, portage always lists mozilla-firefox (not the bin one) as a dependency of one and another ebuild. how do i get around this? i only want the binary-ebuild :(


Last edited by treysis on Thu Nov 01, 2007 1:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Nov 01, 2007 12:24 pm    Post subject: Reply with quote

put www-client/mozilla-firefox-version in package.provided
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Nov 01, 2007 12:24 pm    Post subject: Reply with quote

Can you show us what package has this firefox dependency?

Try to do an
Code:
emerge --update --deep --newuse world --tree --verbose --pretend
and paste the results
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Nov 01, 2007 12:32 pm    Post subject: Reply with quote

usually are mplayerplug-in and acroread which depend on ff, so imho its safe enough to ignore their request and put ff in package.provided
Back to top
View user's profile Send private message
treysis
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Thu Nov 01, 2007 1:23 pm    Post subject: Reply with quote

uhm sorry i didn't thought about posting the dependencies on first try. nevertheless, here they go:

that's what "equery depends mozilla-firefox" gives me:
Code:
dev-python/gnome-python-extras-2.14.2-r1 (!xulrunner & firefox? >=www-client/mozilla-firefox-1.0)
gnome-extra/yelp-2.18.1 (!xulrunner? >=www-client/mozilla-firefox-1.5)
media-video/totem-2.18.3 (nsplugin & !xulrunner & !seamonkey? www-client/mozilla-firefox)
www-client/epiphany-2.18.3 (!xulrunner? >=www-client/mozilla-firefox-1.5)

the output of feivelda's emerge-command looks like gtk+ depends on firefox?

Code:
[nomerge      ] gnome-base/gnome-2.18.3  USE="cdr cups ldap mono -accessibility -dvdr"
[nomerge      ]  gnome-extra/yelp-2.18.1  USE="beagle -debug -xulrunner" [?]
[ebuild  N    ]   www-client/mozilla-firefox-2.0.0.8  USE="gnome ipv6 java xinerama -bindist -debug -filepicker -mozdevelop -moznopango -restrict-javascript -xforms -xprint" LINGUAS="de -af -ar -be -bg -ca -cs -da -el -en_GB -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sl -sv -sv_SE -tr -zh -zh_CN -zh_TW" 0 kB
[ebuild   R   ]    x11-libs/gtk+-2.12.1  USE="X cups jpeg tiff xinerama -debug -doc -vim-syntax%" 0 kB
[ebuild   R   ] app-portage/layman-1.1.1  USE="-test%" 0 kB

so, is it safe to still put ff in package.provided?
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Nov 01, 2007 1:32 pm    Post subject: Reply with quote

It's not gtk+ that's depending on firefox, it's yelp.
The output of equery is better for this purpose, I didn't thought about it.

As you see, all this packages has firefox or xulrunner in their use flag.
xulrunner is "Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications" (from gentoo-portage.com)

You can then go two ways:
The first way would be to set firefox in package.provided like Dottout told and emerge the packages.
If there are no compile errors, all is fine.

But as I see epiphany is in your packages, I don't think, this is working.
In this case, you should do an
Code:
emerge --oneshot xulrunner

After that, compile your packages.
Back to top
View user's profile Send private message
treysis
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Thu Nov 01, 2007 1:57 pm    Post subject: Reply with quote

allright. i then think the cleanest solution is not to use the package.provided-method but instead adding the xulrunner-useflag to make.conf. After that issueing a "emerge -avuND world". At least that's what my machine is working on atm. lists no more mozilla-firefox...i just dunno how often xulrunner gets updated :)

i think this can now be considered SOLVED! thanks for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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