[KDE/Mac] Fwd: Re: [MacPorts] #46748: update to port:vlc (Portfile, patches)

René J.V. Bertin rjvbertin at gmail.com
Thu Feb 5 16:29:47 UTC 2015


FYI: I've made some more changes to port:vlc, I'd appreciate if someone could check them out.
They're required for port:phonon-backend-vlc (on which I'm working) to function.

Thanks,
R.

----------  Forwarded Message  ----------

Subject: Re: [MacPorts] #46748: update to port:vlc (Portfile, patches)
Date: Thursday February 05 2015, 16:24:01

#46748: update to port:vlc (Portfile, patches)
--------------------------+--------------------------------
  Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:  haspatch
      Port:  vlc          |
--------------------------+--------------------------------

Comment (by rjvbertin@…):

 I added patch-vlc-for-macports.diff, which modifies the code in such a way
 that libvlc also finds the VLC  plugins when linked to an application that
 doesn't live inside the VLC appbundle. I think I've succeeded in detecting
 this condition at runtime, without introducing regressions in the regular
 app bundle functioning.

 vlc itself almost starts up correctly with these modifications, but only
 when the standard OS X interface is *not* loaded: for that code to work it
 must be executed from inside the app bundle, with a full path. That
 reminds me of requirements on older OS X versions, but I haven't yet been
 able to put my finger on the exact issue. It's quite possible though that
 the interface even loop is started on a background thread while loading
 the module (which would explain at least why I haven't been able to trace
 execution in a debugger.)
 For now I propose to circumvent the whole issue by replacing
 ${prefix}/bin/vlc with a script that execs
 ${applications_dir}/VLC.app/Contents/MacOS/VLC : that works (also when
 called as vlc-wrapper or cvlc).

-- 
Ticket URL: <https://trac.macports.org/ticket/46748#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
-----------------------------------------


More information about the kde-mac mailing list