Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why sci-libs/vtk asks for media-video/nvidia-settings ?
Date: Thu, 07 Jan 2016 20:18:16
Message-Id: 20160107201606.GA29041@grusum.endjinn.de
In Reply to: [gentoo-user] Why sci-libs/vtk asks for media-video/nvidia-settings ? by Francisco Ares
1 Hello,
2
3 On Tue, 05 Jan 2016, Francisco Ares wrote:
4 >x11-drivers/nvidia-drivers-340.93-r1 (it is recommended if I unmask it and
5 >emerge a new one)
6 [..]
7 >[ebuild N ] media-video/nvidia-settings-340.58::gentoo
8 > USE="-examples" 0 KiB
9 [..]
10 > (x11-drivers/nvidia-drivers-340.96:0/340::gentoo, ebuild scheduled for
11 >merge) conflicts with
12 > ~x11-drivers/nvidia-drivers-340.93 required by
13 >(media-video/nvidia-settings-340.58:0/0::gentoo, ebuild scheduled for merge)
14 > ^ ^^^^^^
15
16 That's a totally bogus dependency (and also one getting out-of-sync
17 regularly, not only on gentoo BTW), as nvidia-settings has been part
18 of nvidia-drivers for years. I quick dig through some old driver
19 versions shows that 195.36.x from 2010 already has nvidia-settings
20 integrated in the main package. also 71.86.15 from 2011. And gentoo
21 does include it in the ebuild too:
22
23 # equery files nvidia-drivers | grep nvidia-settings
24 /etc/X11/xinit/xinitrc.d/95-nvidia-settings
25 /opt/bin/nvidia-settings
26 /usr/share/man/man1/nvidia-settings.1.gz
27 # equery belongs /opt/bin/nvidia-settings
28 * Searching for /opt/bin/nvidia-settings ...
29 x11-drivers/nvidia-drivers-358.16-r1 (/opt/bin/nvidia-settings)
30
31 As e.g. xfce4-sensors-plugin pulls that in too I've this:
32
33 ==== /etc/portage/package.mask ====
34 # nvidia-settings is part of nvidia-drivers
35 media-video/nvidia-settings
36 ====
37 ==== /etc/portage/env/no-nvidia-flags ====
38 VIDEO_CARDS=""
39 ====
40 ==== /etc/portage/package.env ====
41 # pulls in nvidia-settings, but that's part of nvidia-drivers:
42 xfce-extra/xfce4-sensors-plugin no-nvidia-flags
43 ====
44
45 Add whatever wants nvidia-settings to that package.env similarly, e.g.
46 ====
47 sci-libs/vtk no-nvidia-flags
48 ====
49
50 Oh, and probably file a bug that the nvidia-settings package should be
51 deprecated and removed.
52
53 HTH,
54 -dnh
55
56 --
57 "Humans need fantasy .. to *be* human" -- Death (in Hogfather)