nvidia-settings dependencies

Andreas Beckmann debian at abeckmann.de
Tue Oct 18 13:16:53 UTC 2011


On 2011-10-17 20:03, Mackenzie Morgan wrote:
> Hi there
> In Ubuntu we received a few bug reports from users trying to use
> nvidia-settings on KDE systems who found that it couldn't write to
> their xorg.conf file.  It's been tracked to a lack of python-gtk2 on
> KDE-based installs. While marking duplicates on those bugs in Ubuntu's
> bugtracker, I came across one that also named pkg-config as a missing
> dependency. I see from code inspection that it is required by
> nvidia-settings but is also not in debian/control.  The packages in
> Ubuntu are being updated to include these dependencies, but I figure
> it's a good idea to let y'all know about the issue so those two
> dependencies can be added in Debian as well.

Does having pkg-config available change this behavior?
Without xserver-xorg-dev installed the output of
  pkg-config --variable=libdir xorg-server
is empty causing the fallback to be used - same as if pkg-config is not
available. (There may be an error message about missing pkg-config on
stderr.)

./src/XF86Config-parser/Generate.c
static char *find_libdir(GenerateOptions *gop)
...
    /* otherwise, just fallback to [X PROJECT ROOT]/lib */
    return xconfigStrcat(gop->x_project_root, "/lib", NULL);

Does Ubuntu ship the precompiled nvidia-settings binary from nvidia or
is it built from source?


Andreas



More information about the pkg-nvidia-devel mailing list