Skip to content
Port of Freeciv for Android and Freeciv bindings for Python.
C Python C++ Java Lua JavaScript Shell
Find file
Failed to load latest commit information.
android Allow option to install to SD Card Apr 2, 2014
data license information in logo Sep 23, 2013
desktop
fonts added Android pause support, government changing and resized joystick Oct 14, 2011
lib don't draw frame around overview Nov 30, 2013
pyjnius @ abc3619 pyjnius and working market notice Apr 8, 2013
python4android @ e0d4f02 update python4android submodule May 10, 2014
src make novice even easier Nov 28, 2013
web
.gitignore cleanup Mar 29, 2013
.gitmodules add Android SDK to project Sep 15, 2013
COPYING first commit Aug 28, 2011
Makefile ingame techtree Sep 12, 2013
README update required Cython version Nov 10, 2013
callglue user spawn instead of zygote on OSes without forking Nov 23, 2013
findglue.py
gencallglue.py removing dependency on sizeof(int) == sizeof(void*) Nov 2, 2012
genglue.py
genkey.py more SDL implemented in graphics Mar 20, 2013
info.sh
main.sh remove old main_debug.sh Oct 28, 2013
plopwrapper.py PLOP profiler launcher script Oct 28, 2013

README

It includes Freeciv 2.3.1

If you don't need to change source code and don't need latest version simply download APK from http://civ.zielm.com

== INSTALLATION ==

Running Freeciv on desktop requires SDL2 with modified alpha blending from http://github.com/zielmicha/SDL2. You also need SDL2_image and SDL2_ttf (from http://hg.libsdl.org/SDL_image/ and http://hg.libsdl.org/SDL_ttf/).

Known working version (and remember to run ./augogen.sh first!):

   hg clone -r 363 http://hg.libsdl.org/SDL_image
   hg clone -r 228 http://hg.libsdl.org/SDL_ttf

Dependency installation:

   apt-get build-dep -y libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0
   apt-get install -y graphviz python-pip mercurial python2.7-dev git-core
   pip install Cython==0.15
   # for running web/proxy.py
   pip install tornado==3.1.1
   apt-get install -y python-imaging
   # if on fairly new system
   ln -s /usr/bin/aclocal /usr/local/bin/aclocal-1.13
   ln -s /usr/bin/automake /usr/local/bin/automake-1.13
   # if software renderer needed
   apt-get install libgl1-mesa-swx11-dev xvfb

Don't install SDL2 from your distribution repository! It is highly probable that it will be incompatible.

Build and run on desktop (for debugging):
   make run

(Warning: if you break build process you may need to start again with clean repo)

Build for Android (put android, adb and ndk-build in your PATH):
   make -C android debug
Something went wrong with that request. Please try again.