Re: [gtk-osx-users] [gtk-mac-bundler] gtk3-demo oudated?



On Tue, 2012-09-11 at 14:53 -0700, John Ralls wrote:
> Where does it say that @executable_path is deprecated? It doesn't say anything about that in the dyld man page on Mountain Lion.

Sorry, as I said I am new to osx, I found some forum post saying that it
was deprecated, but now I cannot find a reliable page stating the same.

Anyway my problem is that I have a main binary in

/Contents/MacOS/myapp

and a helper app that is spawned programmatically in

/Contents/Resources/lib/helperapp

and they both use gtk. If @executable_path is used in a configuration
file like gdk-pixbuf.loaders then it cannot work for both those
binaries, because it is relative to the executables and they are in
different directories. If the file was relative to the gdk-pixbuf
library itself the file wold be always correct.


This is also where my tangential pointer to the win32 port came from: if
the the pixbuf loaders were loaded from a path relative to the
gdk-pixbuf.dylib binary, then the gdk-pixbuf.loaders file would not be
needed at all, removing the issue at the origin.


Ciao
	Paolo







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]