Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414679 - xfce-extra/xfce4-sensors-plugin-1.2.3[video_cards_nvidia] should alternatively depend on x11-drivers/nvidia-drivers[gtk]
Summary: xfce-extra/xfce4-sensors-plugin-1.2.3[video_cards_nvidia] should alternativel...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
: 561338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-05 07:17 UTC by Dmitry Kustov
Modified: 2015-10-17 18:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kustov 2012-05-05 07:17:59 UTC
There are old x11-drivers/nvidia-drivers-96.xx installed in the system (NV4 video card is supported only by them). They don't need nvidia-settings because they contain their own one.

Reproducible: Always

Steps to Reproduce:
1. Upgrade the system by "emerge -uDN system"



Expected Results:  
The xfce4 plugin should probably depend on either nvidia-settings or
nvidia-drivers[gtk]
Comment 1 Elijah "Armageddon" El Lazkani (amd64 AT) 2012-05-05 07:26:47 UTC
Please do not CC arches on your own, there is no reason for us to be here.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-05 16:08:51 UTC
The ebuilds should probably read:

    video_cards_nvidia? (
        || x11-drivers/nvidia-drivers media-video/nvidia-settings )
    )

so that when the older nvidia-drivers are installed they properly block nvidia-settings.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-05 16:12:15 UTC
(In reply to comment #2)
>     video_cards_nvidia? (
>         || x11-drivers/nvidia-drivers media-video/nvidia-settings )
>     )

    video_cards_nvidia? (
        || x11-drivers/nvidia-drivers[gtk] media-video/nvidia-settings )
    )

Maybe this?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-05 16:19:09 UTC
It's there for the /usr/lib/libXNVCtrl.a library:

if test x"$enable_xnvctrl" = x"yes"; then
    AC_DEFINE([HAVE_NVIDIA], [1], [Define to 1 if media-video/nvidia-drivers installed])
    NVIDIA_CFLAGS="-I/usr/include/NVCtrl"
    NVIDIA_LIBS="-lX11 -lXext -lXNVCtrl"
    enable_xnvctrl=yes
AC_SUBST([NVIDIA_CFLAGS])
AC_SUBST([NVIDIA_LIBS])
fi

So whatever provides that should be in the dep...
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-05-05 16:21:38 UTC
$ qfile -v libXNVCtrl.a
media-video/nvidia-settings-295.40 (/usr/lib64/libXNVCtrl.a)

Does the older nvidia-drivers provide this? If not, then the dep looks correct to me...
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-05 16:41:43 UTC
I don't see a code for building libXNVCtrl in any of the nvidia-drivers ebuilds. 

Feel free to reopen the bug with a filelist from a package where libXNVCtrl is listed; like an older nvidia-drivers.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-09-25 19:24:41 UTC
*** Bug 561338 has been marked as a duplicate of this bug. ***