Version for Linux Mint-20:
http://files.freeciv.org/tools/freeciv- ... -mint20.sh
Supported are freeciv-2.6 and freeciv-3.0 releases.
Assuming that you have downloaded the script to your home directory (under "/home/<your username>/"), to use it:
1) Open terminal program
2) Give yourself rights to execute the script
3) Execute it. To see what parameters are supported, execute it once with '--help' parameter:
The build likely takes something around ten minutes.
I've tested all of:
Code: Select all
> ./freeciv-mint20.sh 3.0.0 gtk3.22
> ./freeciv-mint20.sh 3.0.0 qt
> ./freeciv-mint20.sh 3.0.0 sdl2
> ./freeciv-mint20.sh 3.0.0 gtk2
To run freeciv you've built, e.g.
Code: Select all
> ./freeciv-genbuild/install-3.0.0/gtk3.22/bin/freeciv-gtk3.22 &
Compared to Mint-19 script that I used as a base for this:
- The default main directory is now 'freeciv-genbuild', to avoid messing with more generially named 'freeciv' directory that user might have for some other reason
- Instead of always installing the requirements, script now asks from user if that should be done
- Output a bit more instructions, e.g., list of executables built