Summary: | x11-drivers/nvidia-drivers-361.28 USE=gtk3 installs both libnvidia-gtk2.so and libnvidia-gtk3.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cronolio <salikov.alexey> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Test 440.64 ebuild with optional gtk2 |
Description
cronolio
2016-09-02 13:47:14 UTC
Please attach the entire build log to this bug report. Created attachment 444922 [details]
build.log
You can ask Nvidia to make GTK+2 support optional. Created attachment 618064 [details]
Test 440.64 ebuild with optional gtk2
Any chances to re-open this? Only tested with =440.64 but, at least with that one, disabling gtk2 only needs in tools' src_prepare for example:
use gtk3 && sed -i \
-e '/^GTK2LIB = /d;/INSTALL.*GTK2LIB/,+1d' \
"${S}"/nvidia-settings-${PV}/src/Makefile
(or a patch may be preferable to keep track of changes)
Builds fine without gtk+:2 available, and only installs libnvidia-gtk3.
nvidia-settings seems to work fine (but it does cause --use-gtk2 to error out if that's a concern).
Would then also make sense to elevate gtk3 USE to a +default
I think more people will start wanting to get rid of gtk2 by the end of the year (gimp3, firefox dropping npapi along with flash that will remove its dep on gtk2, pygtk being eliminated, and others).
|