- MG is not ready to install in linux systems yet. This will maybe be changed, but at the moment its meant to be installed in your home directory not in the system, because everyone quickly starts to mod or install mods in MG and as you know files like glestuser.ini are placed in the installation base
- Data package not LSB conform.... LSB=LinuxStandardBase? MG is not linux only
- We wanted the binary in a non stripped form as default! If you want it stripped use the release konfiguration.
In general we have the problem that MG is cross platform! Not linux or windows or bsd or mac or whatever only.
But you are welcome to produce such a LSB conform source package .
Our current way to make it available are installers, but we will try to make it at least more linux friendly by using a .megaglest directory, as we all use linux.
I think has metod for all platforms:
1. Install in linux must be have,
2. The LSB (yes = LinuxStandardBase), say:
- binaries files =>/usr/bin/ (or /$PREFIX/bin)
- libraries => /usr/%_lib/ (or /$PREFIX/lib)
- data files =>/usr/share/$NAME_OF_APPS/ (or /$PREFIX/share/$NAME_OF_APPS/)
- user files => $HOME/.$NAME_OF_APPS/
Thats possible from global variables in "configure and make" scripts, and the $PREFIX of installation as the global variable may be as $HOME/$PATCH_TO_INSTALL/ for linux and other directory for different platform (Mac, Win) - it's better compability of today situation in code.
Moreover, in the SVN code already prefixes to locate the directory for game data.
The mods directories should be in $HOME/.$NAME_OF_APPS/mydata/=> maps/ scenarios/ techs/ tilesets/ tutorials/
the copies off original ini-files (megaglest.ini, megaglestuser.ini, lastCustomGamSettings.mgg, servers.ini, glestuserkeys.ini, glest.log, configuration.xml, etc.) must be in => $HOME/.megaglest/ (and for Windows platforms => C:\Users\$USERNAME\..\ - for Win7)
And, the rules for run the apps and load dates:
- find first configurations files in $HOME/.$NAME_OF_APPS/
- if have not files - find configurations files in /usr/share/$NAME_OF_APPS/ (first run apps)
- if this files found, copy this files to $HOME/.$NAME_OF_APPS/ and run apps with configurations in $HOME/.$NAME_OF_APPS/
- the dates find first in $HOME/.$NAME_OF_APPS/mydata/: maps/ scenarios/ techs/ tilesets/ tutorials/ (or other)
- if "dates" not found in $HOME/.$NAME_OF_APPS/mydata/ find in /usr/share/$NAME_OF_APPS/ (or in other folder, as $GAME_DATA_PATCH with compillation apps)
3. Icons, destop-file, etc. its no problem
Thanks for help