Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2020 19:27:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 251058] graphics/cairo: cannot build without X11 if mesa-libs was built without PLATFORM_X11
Message-ID:  <bug-251058-39348-DU8W3J3Kfq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251058-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251058-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251058

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|graphics/cairo - "GL/gl.h   |graphics/cairo: cannot
                   |not found"                  |build without X11 if
                   |                            |mesa-libs was built without
                   |                            |PLATFORM_X11

--- Comment #8 from Jan Beich <jbeich@FreeBSD.org> ---
If mesa-libs was built with PLATFORM_X11 disabled then libGL.so won't exist=
, so
`pkg-config gl` fails. However, the port passes --enable-gl because
--enable-egl cannot be used standalone: needs either GLX (via X11) or GLESV2
but GLESV2 isn't enabled by default.

Without review D25020 fixing this is complicated: both basic OpenGL and X11
extensions are part of the same library. Until then enable GLESV2 instead of
OPENGL. Upstream isn't active nowadays, and most distributions switched to
libglvnd.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251058-39348-DU8W3J3Kfq>