Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does "pull in automatically" mean?
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
kiigass
n00b
n00b


Joined: 21 Nov 2018
Posts: 65

PostPosted: Thu Dec 06, 2018 11:52 am    Post subject: What does "pull in automatically" mean? Reply with quote

Hi,

here https://wiki.gentoo.org/wiki/PulseAudio it says:
Quote:
Portage knows the pulseaudio as a global USE flag for enabling support for PulseAudio in other packages. Enabling this USE flag will pull in media-sound/pulseaudio automatically:


I did
Code:
root #emerge --ask --changed-use --deep @world

afterwards, but it did not install pulseaudio. I installed it manually by
Code:
emerge --ask --verbose media-sound/pulseaudio


I am confused. What is meant by "pulled in automatically"? Would it have been installed as a dependency as soon as I install some package which depends on pulseaudio, i.e. uses the global use flag "pulseaudio"?

thanks
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Thu Dec 06, 2018 11:54 am    Post subject: Reply with quote

Yes, exactly. IF you are right at the beginning of installing Gentoo, there will probably be nothing installed with USE pulseaudio, so it does not get pulled in.
Back to top
View user's profile Send private message
kiigass
n00b
n00b


Joined: 21 Nov 2018
Posts: 65

PostPosted: Thu Dec 06, 2018 12:12 pm    Post subject: Reply with quote

asturm wrote:
Yes, exactly. IF you are right at the beginning of installing Gentoo, there will probably be nothing installed with USE pulseaudio, so it does not get pulled in.


Thanks!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Fri Dec 07, 2018 1:45 am    Post subject: Reply with quote

In this case, the flag causes packages which can use pulseaudio to DEPEND (build-time dependency) or RDEPEND (runtime dependency) on it, as appropriate. Portage will then notice the dependency and try to install the pulseaudio package to satisfy that dependency. As asturm says, you are in a state where none of your installed packages are pulseaudio aware, so none of them gained the dependency, so there was nothing for Portage to do differently as a result of the flag.
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