gentoo/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch
Ionen Wolkens 0023d464ce
x11-drivers/nvidia-drivers: add 495.46{,-r10} with revamped ebuild
495.46 release is almost identical to 495.44 beside adding support
for a few additional cards, so the same issues (e.g. dbus spam) exist
which is patched in -r10 and left alone in -r0.

ebuild-wise, now reads .manifest to mimic nvidia-installer.

For a few advantages:
* less unused .so links or using scanelf to find sonames, matches
  nvidia's intended links
* can bump without constantly adjusting for every new/removed files
* warns if something entirely new needs work (e.g. GBM support)
* more solid when using different .run, e.g. amd64 vs arm64, not
  keyworded yet (waiting for confirmation that it works), but arm64
  install broke in the past because of this

Other changes:
* IUSE=persistenced: add to control installing nvidia-persistenced
  which allows libtirpc and acct-user/nvpd to be optional
 (off by default given primarily intended for headless)
* nvidia-drm_gbm.so: install unconditionally to avoid spurious
  errors with vaapi (no extra dependencies).
* nvidia-settings: hide gtk deprecation noise as it makes the log
  hard to follow, considerably bigger, and the issue is already well
  known (NVIDIA is hopefully due to revamp this tool, e.g. wayland).
* README.gentoo: add abi_x86_32 warning for new users given no longer
  default, the "flip" elog may be removed in the future after users
  had time to adapt with the profile change.
* drop multilib-build eclass as it doesn't make that much sense with
  a binary-only package, compat32 libraries are still installed with
  USE=abi_x86_32 (abi_x86_64 kept for compatibility with ebuilds
  using ${MULTILIB_USEDEP} but is unused)
* fix build if /usr/bin/ld or LD points to ld.lld
* replaced .desktop and gtk2 seds by patches

Various other small adjustments/cleanups, changes will be rolled
out to older branches in time (patches are already based on 390.xx).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2021-12-14 10:54:19 -05:00

12 lines
367 B
Diff

--- a/nvidia-settings/src/Makefile
+++ b/nvidia-settings/src/Makefile
@@ -132,3 +132,2 @@
GTK2LIB_DIR = $(OUTPUTDIR)/gtk2
-GTK2LIB = $(OUTPUTDIR)/$(GTK2LIB_NAME)
GTK2LIB_SONAME = $(GTK2LIB_NAME).$(NVIDIA_SETTINGS_VERSION)
@@ -276,4 +275,2 @@
$(MKDIR) $(LIBDIR)
- $(INSTALL) $(INSTALL_LIB_ARGS) $(GTK2LIB) \
- $(LIBDIR)/$(GTK2LIB_SONAME)
ifdef BUILD_GTK3LIB