[MacPorts] #37562: libsdl: Cocoa backend is using deprecated APIs (was: libsdl: Cocoa backend is disabled on 10.8, but it works)

MacPorts noreply at macports.org
Sat Feb 2 12:12:24 PST 2013


#37562: libsdl: Cocoa backend is using deprecated APIs
---------------------+------------------------
  Reporter:  alex@…  |      Owner:  jeremyhu@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.2
Resolution:          |   Keywords:
      Port:  libsdl  |
---------------------+------------------------

Comment (by jeremyhu@…):

 But now it's building fine.  I must've had something messed up with my SDK
 earlier, sorry...

 In any event, we should probably transition away from the deprecated OS X
 APIs:

 {{{
 ~/src/macports/dports/devel/libsdl $ grep deprec
 /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_libsdl/libsdl/main.log
 :info:build ./src/video/x11/SDL_x11events.c:1124:9: warning:
 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
 :info:build ./src/video/x11/SDL_x11events.c:1216:16: warning:
 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
 :info:build ./src/audio/macosx/SDL_coreaudio.c:196:14: warning:
 'CloseComponent' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/audio/macosx/SDL_coreaudio.c:244:12: warning:
 'FindNextComponent' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/audio/macosx/SDL_coreaudio.c:251:14: warning:
 'OpenAComponent' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:317:35: warning:
 'NewPtrClear' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:325:35: warning:
 'NewPtrClear' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:336:32: warning:
 'NewPtrClear' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:491:37: warning:
 'NewPtrClear' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:508:5: warning:
 'DisposePtr' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:515:4: warning:
 'DisposePtr' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:531:3: warning:
 'DisposePtr' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:558:3: warning:
 'DisposePtr' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/joystick/darwin/SDL_sysjoystick.c:658:4: warning:
 'DisposePtr' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:76:14: warning:
 'GetComponentInfo' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:157:13: warning:
 'FSCloseFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:248:14: warning:
 'FSGetDataForkName' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:251:14: warning:
 'FSOpenFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:255:14: warning:
 'FSReadFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:275:18: warning:
 'FSReadFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:287:14: warning:
 'FSReadFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFilePlayer.c:292:14: warning:
 'FSSetForkPosition' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/AudioFileReaderThread.c:420:12: warning:
 'FSReadFork' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-
 declarations]
 :info:build ./src/cdrom/macosx/AudioFileReaderThread.c:606:5: warning:
 'FSGetForkPosition' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:105:18: warning:
 'FSGetVolumeInfo' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:149:14: warning:
 'FSGetVolumeInfo' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:164:14: warning:
 'PBMakeFSRefUnicodeSync' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:172:14: warning:
 'FSGetDataForkName' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:178:14: warning: 'FSOpenFork' is
 deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:184:14: warning: 'FSGetForkSize'
 is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:191:16: warning: 'NewPtr' is
 deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:197:14: warning: 'FSReadFork' is
 deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:316:9: warning: 'DisposePtr' is
 deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:318:5: warning: 'FSCloseFork' is
 deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:332:14: warning:
 'FSGetVolumeInfo' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:345:14: warning:
 'FSOpenIterator' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:349:22: warning:
 'FSGetCatalogInfoBulk' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:386:9: warning:
 'FSCloseIterator' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:568:26: warning:
 'FindNextComponent' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/CDPlayer.c:574:18: warning:
 'OpenAComponent' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 :info:build ./src/cdrom/macosx/SDL_syscdrom.c:487:8: warning:
 'FSEjectVolumeSync' is deprecated: first deprecated in OS X 10.8
 [-Wdeprecated-declarations]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37562#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list