[GRASS-dev] GEM Wizard question
woklist at kyngchaos.com
Mon May 21 23:30:11 CEST 2007
On May 21, 2007, at 4:08 PM, Jachym Cepicky wrote:
> imho something like GRASS_ADDONS (so GRASS_GEM) path would solve this.
Right now, my etc/ find uses GRASS_ADDON_ETC. It might be nice to
consolidate the various env vars. Assuming that they all always
coincide with the same root.
> And it is IMHO another reason for $HOME/.grass/ configuration
> William Kyngesburye píše v Po 21. 05. 2007 v 15:27 -0500:
>> I've been meaning to ask about this root/external mod issue - is
>> there any plan to support installation of GEM modules in a user dir?
>> More than just a problem of HOW to run this as root in the GUI, it's
>> also a bit of a security problem and a platform standardization
>> On OSX, installing extras into an application binary is not the way
>> things are done. They should be installed in a standard plugin/
>> extension location for the application - /Library so it is globally
>> available to users, or ~/Library to make it available only for a
>> single user.
>> These locations act as extra GIS_BASEs, in effect - they have bin,
>> lib, etc, doc... subfolders. By use of standard GRASS env vars, they
>> are easily included into the GRASS environment, and I recently added
>> similar env vars and functions to locate external etc/ support files
>> for modules that need it.
>> For the OSX application build I've set [~]/Library/GRASS/$version/
>> Modules as the global/user locations. For now I have a separate
>> module build template, much like GEM, but built modules must then be
>> manually copied to one of these locations, since I'm too lazy to
>> figure out alternate install targets in the makefiles.
>> It would be nice to have GEM able to install in these locations at
>> least, if not also arbitrary locations. We would need to figure out
>> good standard locations for other platforms also.
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
More information about the grass-dev