[MPlayer-dev-eng] [PATCH] Mac OS X Finder support

Il Demone Guardiano _kid at libero.it
Mon Nov 1 19:38:07 CET 2004


On 1 Nov 2004, at 18:55, Nicolas Plourde wrote:
>> The compiled mplayer binary must be either packaged in an appwrapper 
>> directory, with an appropriate Info.plist describing the supported 
>> filetypes or a suitable resource fork must be grafted to the binary

> if this is applied, what is needed to implement solution 2?

To implement the resource fork based carbon application, You need a 
resouce source file, say 'mplayer.r' defining a atleast 'plst' resource 
(icns resources for the defined filetypes would be nice too), whose 
content is identical to the Info.plist file in the appwrapper, and an 
extra step in the makefile performing a 'Rez -o mplayer mplayer.r'.

The appwrapper solution requires the following directory structure:

mplayer.app/
  Content/
   Info.plist
   MacOS
     mplayer

In my setup I currently use the appwrapper format, mostly because it is 
easier to hand edit the Info.plist...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Info.plist
Type: application/octet-stream
Size: 2797 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041101/424ca828/attachment.obj>
-------------- next part --------------



More information about the MPlayer-dev-eng mailing list