Changes between Version 39 and Version 40 of BuildAndDeploymentEnvironment


Ignore:
Timestamp:
Jan 16, 2012, 2:38:33 AM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildAndDeploymentEnvironment

    v39 v40  
    120120||XDG_CONFIG_HOME||~/.config||
    121121||XDG_DATA_HOME||~/.local/share||
    122 ||INSTALLED_DATADIR||e.g. /usr/share/0ad/data or /usr/local/share/0ad/data or /opt/0ad/data (if compiled with this flag) Specified by update-workspaces.sh --datadir= ||
    123 update-workspaces.sh can be called with --bindir= to set the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system)
    124 With --libdir= you can set the path of the bundled libraries (eg. /usr/lib)
    125 These flags become the INSTALLED_DATADIR, INSTALLED_BINDIR and INSTALLED_LIBDIR preprocessor directives.
     122
     123For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults):
     124 * `--bindir=/path/to/bin` sets the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system). Defines the `INSTALLED_BINDIR` preprocessor directive.
     125 * `--libdir=/path/to/lib` sets the location of the bundled libraries (eg. /usr/lib). Defines the `INSTALLED_DATADIR` preprocessor directive.
     126 * `--datadir=/path/to/data` sets the location of the game's data (e.g. /usr/share/0ad/data, /usr/local/share/0ad/data, or /opt/0ad/data). Defines the `INSTALLED_LIBDIR` preprocessor directive.
    126127
    127128The default Atlas config dir (or file) is specified in source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp and does not adhere to the values in Paths.cpp or the basedir-spec (Note #868)
     
    134135||Default config||Y||Default config-file which is readonly||relative to EXE||[INSTALLED_DATADIR or relative to binary]/config||[Bundle]/Contents/Resources/data/config or relative to binary||As [Game data root]\config in GameSetup.cpp IniVFS||
    135136||Userconfig root||N||Currently unclear... why is [Logs] here and not in [User data root]?||||$XDG_CONFIG_HOME/0ad||~/Documents/0ad||As xdgConfig in Paths.cpp||
    136 ||Userconfig||N||Contains user specific configuration settings||My Documents\0ad\config||$XDG_CONFIG_HOME/0ad/config||~/Documents/0ad/config||m_config = %appdata%\config in Paths.cpp||
    137 ||Logs||N||Contains logs created by the game||My Documents\0ad\logs||$XDG_CONFIG_HOME/0ad/logs||~/Documents/0ad/logs||m_logs = %appdata%\logs in Paths.cpp||
    138 ||Cache||N||Cache directory||%appdata%\0ad\cache||$XDG_CACHE_HOME/0ad||~/Library/Application Support/0ad/cache||m_cache||
     137||Userconfig||N||Contains user specific configuration settings||My Documents\0ad\config||$XDG_CONFIG_HOME/0ad/config||~/Documents/0ad/config||m_config in Paths.cpp||
     138||Logs||N||Contains logs created by the game||My Documents\0ad\logs||$XDG_CONFIG_HOME/0ad/logs||~/Documents/0ad/logs||m_logs in Paths.cpp||
     139||Cache||N||Cache directory||%appdata%\0ad\cache||$XDG_CACHE_HOME/0ad||~/Library/Application Support/0ad/cache||m_cache in Paths.cpp||
    139140||User mod||N||User mod directory, where e.g. Atlas should save maps||My Documents\0ad\mods\user||$XDG_DATA_HOME/0ad/mods/user||~/Documents/0ad/mods/user||Not implemented yet||
    140141||Mods||N||Other mods added by the user||My Documents\0ad\mods||$XDG_DATA_HOME/0ad/mods||~/Documents/0ad/mods||Not implemented yet||