Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580874

Summary: xfce-extra/xfce4-sensors-plugin-1.2.6 should depend on x11-drivers/nvidia-drivers
Product: Gentoo Linux Reporter: Tomas Johansson <tomasx>
Component: [OLD] LibraryAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal CC: off
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 562910    

Description Tomas Johansson 2016-04-22 20:20:44 UTC
Troubled by the fact that xfce4-sensors-plugin is dependent on
nvidia-settings i tried to get rid of the dependency and still have the desired functionality in xfce4-sensors-plugin.
Reason for this is problem installing newer nvidia-drivers when nvidia-settings is installed and because of the plans to remove nvidia-settings from portage.

I did the following:

1. uninstalled nvidia-settings
2. compiled nvidia-drivers with "tools" and "static-libs" useflag
3. modified the ebuild for xfce4-sensors-plugin to be dependent on
nvidia-drivers instead of nvidia-settings.
4. recompiled xfce4-sensors-plugin
Result: xfce4-sensors-plugin can show gpu temperatures as expected.

I have solved the problem but i believe others will be happy if someone can drop
the nvidia-settings dependency in the official build.
A step closer to the final goal of removing nvidia-settings from portage.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-04-26 18:49:56 UTC
commit 416d2886ba997c735c1ee96860f26496dd3a4cf0
Author: Justin Lecher <jlec@gentoo.org>
Date:   Tue Apr 26 20:17:53 2016 +0200

    xfce-extra/xfce4-sensors-plugin: Adopt to new nvdia-drivers situation

    Add optional x11-drivers/nvidia-drivers[tools,static-libs] as provider of
    media-video/nvidia-settings

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=580874

    Package-Manager: portage-2.2.28
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=416d2886ba997c735c1ee96860f26496dd3a4cf0