Summary: | x11-drivers/nvidia-drivers: nvidia-settings breaks with x11-libs/pango-1.32.5 due to renamed libpangox.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nikos Chantziaras <realnc> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer, krinpaus, poncho, tomwij |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch against nvidia-drivers-310.19.ebuild |
Description
Nikos Chantziaras
2012-12-27 06:09:49 UTC
Created attachment 333438 [details, diff]
Patch against nvidia-drivers-310.19.ebuild
This is a patch for nvidia-drivers-310.19.ebuild that modifies the nvidia-settings binary to load libpango instead of libpangox.
Just recompile nvidia-settings. Far better than hacking a binary. Source code is in ftp://download.nvidia.com/XFree86/nvidia-settings/ (In reply to comment #2) > Just recompile nvidia-settings. Far better than hacking a binary. > > Source code is in ftp://download.nvidia.com/XFree86/nvidia-settings/ I know. There's media-video/nvidia-settings already for that. But it's not maintained together with nvidia-driver and often breaks stuff. Also, there are instances where NVidia is slow in releasing nvidia-settings. This block the driver then. The ugly solution seems to be the best in this case. (In reply to comment #3) > But it's not > maintained together with nvidia-driver and often breaks stuff. Also, there > are instances where NVidia is slow in releasing nvidia-settings. Can you clarify and back up those statements? Not maintained? Surely they are what Nvidia's nvidia-settings binary are compiled from, so how could Nvidia's binary be better? I've only noticed a delay of a small number of days in Nvidia's other files being made available, in the last year. Hardly a problem, and nudging the Nvidia guys does the trick, e.g.: http://www.nvnews.net/vbulletin/showthread.php?t=184405 I meant not maintained together with x11-drivers/nvidia-drivers. As in Gentoo, not upstream. Also, "hardly a problem" is subjective. Currently, I run 313.09 by copying the 310.19 ebuild. So it might not be a problem for you, but it would be for me :-) > Just recompile nvidia-settings. This doesn't solve the problem as not everyone emerges nvidia-settings alongside nvidia-drivers; nor does every user track what upstream provides. > Far better than hacking a binary. More interesting would be to see whether applying this "hack" or "fix" is permitted by license, adapting the system is also not really an option; perhaps would be best to contact nvidia about this. Just have older nvidia-drivers versions depend on older pango releases and newer nvidia-drivers versions on newer pango releases. > I've only noticed a delay of a small number of days in Nvidia's other files being made available, in the last year. It's not upstream that the problem lies, but downstream; the version difference has been more than a small number of days. > I meant not maintained together with x11-drivers/nvidia-drivers. As in Gentoo, not upstream. Indeed, there are multiple maintainers for nvidia-drivers and there's a single maintainer doing nvidia-settings that's not in the list of maintainers for nvidia-drivers. Can't you just install the x11-libs/pangox-compat package? (In reply to comment #7) > Can't you just install the x11-libs/pangox-compat package? I don't know what that is, what it does, why I would need it, and what effects it will have on my system. (In reply to comment #5) > Currently, I run 313.09 by copying > the 310.19 ebuild. So it might not be a problem for you, but it would be for > me :-) This should be fixed in tree. May be you need to sync your ebuild. See: Depend on pangox-compat if using pango-1.32. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-310.19.ebuild?r1=1.3&r2=1.4 (In reply to comment #9) > (In reply to comment #5) > > > Currently, I run 313.09 by copying > > the 310.19 ebuild. So it might not be a problem for you, but it would be for > > me :-) > > This should be fixed in tree. May be you need to sync your ebuild. > > See: Depend on pangox-compat if using pango-1.32. > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/nvidia- > drivers/nvidia-drivers-310.19.ebuild?r1=1.3&r2=1.4 Thanks. I'll keep my current ebuild though, since pangox-compat is not needed at all. Why install something that's not needed. This issue is fixed in the tree with the updated depends. Not sure if worth opening a new bug for this, but 313.26 does not need x11-libs/pangox-compat anymore. It should be removed from the deps. https://devtalk.nvidia.com/default/topic/533558 |