discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep.sh / env sanity patches


From: Markus Hitter
Subject: Re: GNUstep.sh / env sanity patches
Date: Thu, 19 Aug 2004 13:45:42 +0200


Am 19.08.2004 um 11:07 schrieb Richard Frith-Macdonald:

I was saying that it's not possible to rely on relative paths to locate resources ... since people can install applications wherever they want, the resources those applications need won't be in fixed locations relative to the applications.

While this is correct for system provided resources, it isn't true for resources bundled with the (set of) application(s).

Enabling drag & drop installation of applications is a great user benefit, IMHO. This requires putting resources into some sort of bundle together with the application. Apple uses this "@executable_path/path/to/resource" hack to achieve this goal.

So, GNUstep should have some equivalent, perhaps better designed, functionality. The developer should be free in the choice wether to use absolute or relative paths when locating resources.

Another idea whould be to include the application/framework/whatever bundle into the standard search path. An application whould have to set an individual LD_LIBRARY_PATH at launch time, then.

My $0.02.


Cheers,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]