opensubdiv requires x11-libs/libXinerama. Previously, this was pulled in as a dependency by media-libs/glfw . However, when glfw is emerged with the wayland useflag, it no longer depends on x11-libs/libXinerama.
This is what emerging opensubdiv with glfw[wayland] looks like:
CMake Error at cmake/FindGLFW.cmake:170 (message):
Xinerama library not found - required for GLFW
Call Stack (most recent call first):
Thank you for picking this up. I can confirmed this occurs and is fixed by adding the dependency on x11-libs/libXinerama as you suggest.
The bug has been closed via the following commit(s):
Author: Adrian Grigo <email@example.com>
AuthorDate: 2020-05-13 01:58:26 +0000
Commit: Joonas Niilola <firstname.lastname@example.org>
CommitDate: 2020-06-08 07:45:20 +0000
media-libs/opensubdiv: Version bump to 3.4.3
Version bump to media-libs/opensubdiv-3.4.3
This version has been updated to EAPI 7 and inherits from cmake rather
than cmake-utils. The license has been corrected to modified apache-2
New USE flags are added to control installation of the docs, examples
and tutorials. The build system is patched to install the tutorials
into /usr/bin, and to use python 2.7 to build the documentation. The
latter fixes bug 722570 for this ebuild.
When using FEATURES="test", the basic and regression tests are enabled.
However the GLTESTS are disabled as portage does not have access to an
X11 display to run them during the build.
A direct dependency on libXinerama was added as this is no longer
included by glfw for wayland users. This fixes bug 708160 for this
For cuda users, the build will fail when using GCC 9+. If an incorrect
version is selected, the ebuild will warn the user to run gcc-config.
Others have found that cuda kernels fail to build with multiple jobs
for previous versions of opensubdiv. I use MAKEOPTS="-j1" to prevent
this, although it has not been an issue for me.
Signed-off-by: Adrian Grigo <email@example.com>
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Joonas Niilola <firstname.lastname@example.org>
media-libs/opensubdiv/Manifest | 1 +
...ocumentation-CMakeLists.txt-force-python2.patch | 51 ++++++++++++
...ensubdiv-3.4.3-install-tutorials-into-bin.patch | 52 +++++++++++++
media-libs/opensubdiv/metadata.xml | 19 +++--
media-libs/opensubdiv/opensubdiv-3.4.3.ebuild | 90 ++++++++++++++++++++++
5 files changed, 205 insertions(+), 8 deletions(-)