Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alan McKinnon
On 22/08/2013 19:37, Alexander Kapshuk wrote:
 When setting up the X server and the  proprietary ndivia driver, as
 described here (https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers), I
 emerged nvidia-settings, as suggested in the wiki article, The drivers
 can be installed with the *gtk* USE flag set in /etc/portage/make.conf.
 This will install *media-video/nvidia-settings*, a handy graphical tool
 for monitoring and configuring several aspects of your nVidia card.
 
 The version of the nvidia driver and nvidia settings I emerged is:
 box0=; equery list '*'|grep nvidia-driver
 x11-drivers/nvidia-drivers-319.32
 
 I then emerged xfce4 as well as the xfce4-sensors-plugin (box0=; equery
 list '*'|grep xfce4-sensors-plugin
 xfce-extra/xfce4-sensors-plugin-1.2.5), which pulled in nvidia-settings
 of an older version:
 box0=; equery list '*'|grep nvidia-settings
 media-video/nvidia-settings-304.60
 
 I had a look at the xfce4-sensors-plugin ebuild, and found
 nvidia-settings listed as a dependency, with no version specified.
 
 RDEPEND==x11-libs/gtk+-2.14:2
 =xfce-base/libxfce4ui-4.8
 =xfce-base/xfce4-panel-4.8
 hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
 libnotify? ( =x11-libs/libnotify-0.7 )
 lm_sensors? ( =sys-apps/lm_sensors-3.1.0 )
 video_cards_nvidia? ( media-video/nvidia-settings )
 
 I now seem to have both versions of nvidia-settings installed.
 
 How do I fix that please?



You don't have two versions of nvidia-settings.
You have one version of nvidia-drivers and one version of
nvidia-settings, and they don't have the same version number.

This is normal, nvidia-settings often runs behind nvidia-drivers. They
do not seem to get updated at the same time (unless driver changes
require it be done of course)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
On 08/22/2013 08:42 PM, Alan McKinnon wrote:
 You don't have two versions of nvidia-settings.
 You have one version of nvidia-drivers and one version of
 nvidia-settings, and they don't have the same version number.

 This is normal, nvidia-settings often runs behind nvidia-drivers. They
 do not seem to get updated at the same time (unless driver changes
 require it be done of course)
Thanks for your prompt response.

There seem to be ebuilds available for both versions of the
nvidia-settings in the portage repository:
box0=; ls `pwd`/*|egrep '304.60|319.32'
/usr/portage/media-video/nvidia-settings/nvidia-settings-304.60.ebuild
/usr/portage/media-video/nvidia-settings/nvidia-settings-319.32.ebuild

I've also  noticed that in the xfce 'Applicatoins Menu' - 'Settings', I
have two entries for nvidia-settings.

Is there a reason why the xfce-sensors plug-in pulls in
nvidia-settings-304.60, instead of nvidia-settings-319.32?

Thanks.




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alan McKinnon
On 22/08/2013 20:02, Alexander Kapshuk wrote:
 On 08/22/2013 08:42 PM, Alan McKinnon wrote:
 You don't have two versions of nvidia-settings.
 You have one version of nvidia-drivers and one version of
 nvidia-settings, and they don't have the same version number.

 This is normal, nvidia-settings often runs behind nvidia-drivers. They
 do not seem to get updated at the same time (unless driver changes
 require it be done of course)
 Thanks for your prompt response.
 
 There seem to be ebuilds available for both versions of the
 nvidia-settings in the portage repository:
 box0=; ls `pwd`/*|egrep '304.60|319.32'
 /usr/portage/media-video/nvidia-settings/nvidia-settings-304.60.ebuild
 /usr/portage/media-video/nvidia-settings/nvidia-settings-319.32.ebuild
 
 I've also  noticed that in the xfce 'Applicatoins Menu' - 'Settings', I
 have two entries for nvidia-settings.
 
 Is there a reason why the xfce-sensors plug-in pulls in
 nvidia-settings-304.60, instead of nvidia-settings-319.32?


xfce4-sensors-plugin is not what's doing it. It only requires
nvidia-settings and doesn't care what version. So that's not it.

There's really only one explanation - something else is pulling in
nvidia-settings and xfce4-sensors-plugin is leaving it as-is.

Please post the results of

equery depends nvidia-settings
grep -r nvidia-settings /etc/portage




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
On 08/22/2013 09:06 PM, Alan McKinnon wrote:
 xfce4-sensors-plugin is not what's doing it. It only requires
 nvidia-settings and doesn't care what version. So that's not it.

 There's really only one explanation - something else is pulling in
 nvidia-settings and xfce4-sensors-plugin is leaving it as-is.

 Please post the results of

 equery depends nvidia-settings
 grep -r nvidia-settings /etc/portage
box0=; equery depends nvidia-settings
 * These packages depend on nvidia-settings:
xfce-extra/xfce4-sensors-plugin-1.2.5 (video_cards_nvidia ?
media-video/nvidia-settings)

box0=; grep -r nvidia-settings /etc/portage
box0=; echo $?
1

Thanks.




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Yuri K. Shatroff

On 22.08.2013 21:37, Alexander Kapshuk wrote:

The version of the nvidia driver and nvidia settings I emerged is:
box0=; equery list '*'|grep nvidia-driver
x11-drivers/nvidia-drivers-319.32

I then emerged xfce4 as well as the xfce4-sensors-plugin (box0=; equery
list '*'|grep xfce4-sensors-plugin
xfce-extra/xfce4-sensors-plugin-1.2.5), which pulled in nvidia-settings
of an older version:
box0=; equery list '*'|grep nvidia-settings
media-video/nvidia-settings-304.60


I guess it's rather obvious.
The two packages x11-drivers/nvidia-drivers and 
media-video/nvidia-settings don't know about each other.
The xfce4-sensors-plugin package needs nv-settings but it simply doesn't 
know that nv-settings is already installed by the (different!) nv-drivers.

I think this could be reported to the maintainer of the xfce4 plugin.

--
Best wishes,
Yuri K. Shatroff



Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:
 I guess it's rather obvious.
 The two packages x11-drivers/nvidia-drivers and
 media-video/nvidia-settings don't know about each other.
 The xfce4-sensors-plugin package needs nv-settings but it simply
 doesn't know that nv-settings is already installed by the (different!)
 nv-drivers.
 I think this could be reported to the maintainer of the xfce4 plugin.
That makes sense. Thanks.




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:
 I think this could be reported to the maintainer of the xfce4 plugin. 
The maintainer field for the xfce4-sensors plugin seems to be undefined:

box0=; equery meta xfce4-sensors-plugin-1.2.5|grep -i maintainer
Maintainer:  None specified

Who would you recommend contacting about my original post?

Thanks.




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Yuri K. Shatroff

On 22.08.2013 22:49, Alexander Kapshuk wrote:

On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:

I think this could be reported to the maintainer of the xfce4 plugin.

The maintainer field for the xfce4-sensors plugin seems to be undefined:

box0=; equery meta xfce4-sensors-plugin-1.2.5|grep -i maintainer
Maintainer:  None specified

Who would you recommend contacting about my original post?

Thanks.


As I figured in the package's changelog, some work on it is being done 
by Samuli Suominen ssuomi...@gentoo.org. He is also on this list, so I 
guess he could get involved as soon as he reads the list.




--
Best wishes,
Yuri K. Shatroff



Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:
 As I figured in the package's changelog, some work on it is being done
 by Samuli Suominen ssuomi...@gentoo.org. He is also on this list, so
 I guess he could get involved as soon as he reads the list. 
Understood. Thanks.

Let's wait and hear from Samuli Suominen then.




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Samuli Suominen

On 22/08/13 22:03, Alexander Kapshuk wrote:

On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:

As I figured in the package's changelog, some work on it is being done
by Samuli Suominen ssuomi...@gentoo.org. He is also on this list, so
I guess he could get involved as soon as he reads the list.

Understood. Thanks.

Let's wait and hear from Samuli Suominen then.




Because the separate nvidia-settings package also ships a library which 
isn't installed by nvidia-drivers package:


$ qfile -b libXNVCtrl.a
media-video/nvidia-settings (/usr/lib64/libXNVCtrl.a)

And it's being used by xfce4-sensors-plugin, if you extract the tarball 
and look inside file configure.in, you'll see:


NVIDIA_LIBS=-lX11 -lXext -lXNVCtrl
  ^ - See here, libXNVCtrl.a used



Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Samuli Suominen

On 22/08/13 22:22, Alexander Kapshuk wrote:

What course of action would you recommend taking with regard to my
original post?


I'm not sure if I understand your problem but...

Looks like nvidia-drivers-319.32 was stabilized without stabilizing 
nvidia-settings-319.32 together with it.
You can file a bug at http://bugs.gentoo.org/ and request stabilization 
of nvidia-settings-319.32 to match the current stable nvidia-drivers.


You can also temporarily add entry to /etc/portage/package.keywords like
~media-video/nvidia-settings-319.32

Anyway I wouldn't worry about it too much, they have been going in 
different cycles for years and I don't ever remembering anyone reporting 
an actual bug about it (other than what I just suggested, people get 
confused by non-matching version numbers, ask questions, and end up 
filing stabilization request ;-)




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
Understood. Thanks.

What course of action would you recommend taking with regard to my original
post?

Thanks.
 On Aug 22, 2013 10:17 PM, Samuli Suominen ssuomi...@gentoo.org wrote:

 On 22/08/13 22:03, Alexander Kapshuk wrote:

 On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:

 As I figured in the package's changelog, some work on it is being done
 by Samuli Suominen ssuomi...@gentoo.org. He is also on this list, so
 I guess he could get involved as soon as he reads the list.

 Understood. Thanks.

 Let's wait and hear from Samuli Suominen then.



 Because the separate nvidia-settings package also ships a library which
 isn't installed by nvidia-drivers package:

 $ qfile -b libXNVCtrl.a
 media-video/nvidia-settings (/usr/lib64/libXNVCtrl.a)

 And it's being used by xfce4-sensors-plugin, if you extract the tarball
 and look inside file configure.in, you'll see:

 NVIDIA_LIBS=-lX11 -lXext -lXNVCtrl
   ^ - See here, libXNVCtrl.a used




Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings

2013-08-22 Thread Alexander Kapshuk
No worries then. Thanks very much for the explanation.
 On Aug 22, 2013 10:31 PM, Samuli Suominen ssuomi...@gentoo.org wrote:

 On 22/08/13 22:22, Alexander Kapshuk wrote:

 What course of action would you recommend taking with regard to my
 original post?


 I'm not sure if I understand your problem but...

 Looks like nvidia-drivers-319.32 was stabilized without stabilizing
 nvidia-settings-319.32 together with it.
 You can file a bug at http://bugs.gentoo.org/ and request stabilization
 of nvidia-settings-319.32 to match the current stable nvidia-drivers.

 You can also temporarily add entry to /etc/portage/package.keywords like
 ~media-video/nvidia-settings-**319.32

 Anyway I wouldn't worry about it too much, they have been going in
 different cycles for years and I don't ever remembering anyone reporting an
 actual bug about it (other than what I just suggested, people get confused
 by non-matching version numbers, ask questions, and end up filing
 stabilization request ;-)