tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x11/picom update



On Thu, 15 Jun 2023, pin wrote:

Run-time dependency gl found: YES 19.1.17
Run-time dependency egl found: YES 19.1.17


For some reason, the preference in -HEAD is to compile and install
the older Mesa library in /usr/xsrc/external/mit/MesaLib.old instead
of the newer 21.3.7 in /usr/xsrc/external/mit/MesaLib.

../src/backend/gl/egl.c:42:8: error: unknown type name 'PFNEGLGETPLATFORMDISPLAYPROC'
  42 | static PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplayProc = NULL;
     |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


```
$ fgrep -r PFNEGLGETPLATFORMDISPLAYPROC \
	/usr/xsrc/external/mit/MesaLib.old/dist/include/EGL/ \
	/usr/X11R7/include/EGL/

	... crickets ...

$ fgrep -r PFNEGLGETPLATFORMDISPLAYPROC \
	/usr/xsrc/external/mit/MesaLib/dist/include/EGL/
/usr/xsrc/external/mit/MesaLib/dist/include/EGL/egl.h:typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list); $
```

I should think compiling and installing MesaLib-21.3.7 should fix this
issue, but, better ask why the old MesaLibi-19.1.x is still preferred.

Adding `HAVE_MESA_VER=21' in /etc/mk.conf and recompiling the system
(or, just the Mesa library?) should get you the new MesaLib.

-RVP


Home | Main Index | Thread Index | Old Index