After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796904 - Meson GL detection is not implemented for iOS and macOS
Meson GL detection is not implemented for iOS and macOS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Mac OS
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-08-01 09:56 UTC by Nirbheek Chauhan
Modified: 2018-08-15 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nirbheek Chauhan 2018-08-01 09:56:46 UTC
Due to this, gstreamer-gl-1.0 is never built on macOS or when targetting iOS. Meson log:

Not looking for a fallback subproject for the dependency gl-headers-not-findable because:
Use of fallbackdependencies is disabled.
Library GL found: NO
Has header "GL/gl.h": YES
Dependency glesv2 found: NO
Library GLESv2 found: NO
Has header "GLES2/gl2.h": NO
Dependency egl found: NO
Library EGL found: NO
Message: Could not find EGL libraries for wayland
Dependency x11-xcb found: NO
Dependency bcm_host found: NO
Library bcm_host found: NO
Library gdi32 found: NO
Header <GL/wglext.h> has symbol "WGL_WGLEXT_VERSION": NO
Dependency gudev-1.0 found: NO
Dependency libdrm found: NO
Dependency gbm found: NO
Message: No OpenGL API libraries found or requested
Message: No OpenGL Platforms found or requested
Message: No OpenGL Window systems found or requested
Comment 1 Nirbheek Chauhan 2018-08-15 14:26:03 UTC
Fixed by:

commit 3d22e7d9da88d1ea150a69ed7a7f41297806453c
Author: Matthew Waters <matthew@centricular.com>
Date:   Fri Aug 3 19:06:00 2018 +1000

    gl/meson: fix macos additions for non-macos platforms

    "gst-libs/gst/gl/meson.build:655:20: ERROR:  Unknown variable "quartzcore_dep"."

commit 06b8792a5ff220a3535bad2bcc8f131c0d97cbc1
Author: Alessandro Decina <alessandro.d@gmail.com>
Date:   Fri Jul 21 16:59:28 2017 +1000

    gl/meson: OSX support (CGL and Cocoa)

    [Matthew Waters]: minor additions such as -fobjc-arc and relying on
    dependency rather than cc.find_library()

And tested by me that it builds correctly on macOS and iOS.