[MPlayer-dev-eng] [PATCH] Mac OS X Application Bundle Support
Diego Biurrun
diego at biurrun.de
Thu Nov 11 21:46:40 CET 2004
On Thu, Nov 11, 2004 at 09:24:59PM +0100, Chris Roccati wrote:
>
> On 11 Nov 2004, at 04:15, Diego Biurrun wrote:
> >And why not simply set reasonable values for DATADIR, CONFDIR and
> >LIBDIR with configure parameters?
>
> From the user interface point of view, the appwrapper looks like a
> solid file, which the user is free to move and rename. So, if an
> hardcoded path was set in the executable, say
> "/Applications/MPlayer.app/Content/Resources/codecs.conf" the files
> would not be found anymore if the user moved or renamed the appwrapper.
This should be no problem, the path you specify need not be absolute, it can
well be relative, just look at Sascha's MinGW packages. There the
ressources are in an mplayer/ directory relative to the package root. You
can unzip the package anywhere you want, it will work from any directory.
Diego
More information about the MPlayer-dev-eng
mailing list