[Bug 246767] graphics/mesa-libs: enable libglvnd support

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Jun 2021 12:09:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246767

--- Comment #22 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Adriaan de Groot from comment #21)
"pkg set -n mesa-libs:libglvnd" cannot be used in this case because some ports
would end up depending on both mesa-libs (for libgbm.so) and libglvnd (for
libEGL.so). As such all direct consumers of mesa-libs must be rebuilt.
Unfortunately, I can't test if portmaster/portupgrade instructions make sense.

# Post-libglvnd upgrade example on a DE-less dual-stack X11 + Wayland system
$ pkg info -qr mesa-libs | xargs pkg info -qo | sort -u
benchmarks/glmark2            # glmark2-drm and glmark2-es2-drm
devel/sdl20                   # SDL_VIDEODRIVER=kmsdrm
graphics/mesa-dri             # mesa-libs via libglapi
multimedia/mpv                # --gpu-context=drm
x11-servers/xorg-server       # modesetting and glamor (default on Intel
without xf86-video-intel)
x11-servers/xwayland-devel    # DRI3 on non-NVIDIA
x11-toolkits/wlroots          # WLR_BACKENDS=drm (default on console)

20210617:
  AFFECTS: users of graphics/mesa-libs
  AUTHOR: ?

  Some libraries from mesa-libs are now provided by libglvnd while
  others were renamed. When building outside poudriere make sure to
  remove mesa-libs first in order to avoid conflict with libglvnd.

  For portmaster users:
  # pkg delete -f mesa-libs
  # portmaster -a

  For portupgrade users:
  # pkg delete -f mesa-libs
  # portupgrade -a

-- 
You are receiving this mail because:
You are on the CC list for the bug.