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 738707 - gst-plugins-good fails to build on Mac OS X 10.10 Yosemite due to deprecated NSOpenGLPFAFullScreen
gst-plugins-good fails to build on Mac OS X 10.10 Yosemite due to deprecated ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Mac OS
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 738622
 
 
Reported: 2014-10-17 18:03 UTC by Brion Vibber
Modified: 2014-10-19 18:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] Disable deprecation error for NSOpenGLPFAFullScreen use on OS X 10.10 (1.46 KB, patch)
2014-10-18 03:53 UTC, Brion Vibber
committed Details | Review

Description Brion Vibber 2014-10-17 18:03:08 UTC
Trying to buuild gstreamer and pitivi on OS X 10.10 w/ XCode 6.1 via cerbero...

gst-plugins-good fails with:

cocoawindow.m:576:7: error: 'NSOpenGLPFAFullScreen' is deprecated: first deprecated in OS X 10.6 [-Werror,-Wdeprecated-declarations]
      NSOpenGLPFAFullScreen,
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:82:2: note: 'NSOpenGLPFAFullScreen' has been explicitly marked deprecated here
        NSOpenGLPFAFullScreen NS_ENUM_DEPRECATED_MAC(10_0, 10_6)       =  54,
        ^
1 error generated.
make[3]: *** [libgstosxvideosink_la-cocoawindow.lo] Error 1
make[2]: *** [osxvideo] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make'


This bit built on OS X 10.9.5 with XCode 6.0.1, so it may have gotten 'more deprecated' recently....
Comment 1 Brion Vibber 2014-10-18 03:53:14 UTC
Created attachment 288791 [details] [review]
[PATCH] Disable deprecation error for NSOpenGLPFAFullScreen use on OS  X 10.10

Gets the gst-plugins-good build working on OS X 10.10
Comment 2 Thibault Saunier 2014-10-19 09:09:31 UTC
Is there a replacement to that deprecated API? DO you know how hard it would be to port our code to it?

I guess meanwhile we might just disable the warning.
Comment 3 Sebastian Dröge (slomo) 2014-10-19 12:44:49 UTC
osxvideosink is deprecated anyway
Comment 4 Robert Swain 2014-10-19 17:55:52 UTC
The change is also needed in the static recipe.
Comment 5 Sebastian Dröge (slomo) 2014-10-19 18:23:32 UTC
commit 045f600306cecc2f4419e58e322df239e43463dd
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sun Oct 19 20:22:00 2014 +0200

    gst-plugins-good-static: Disable deprecation error for NSOpenGLPFAFullScreen use on OS X 10.10
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738707