VN compile and install for Ubuntu gutsy
0.安装之前
sudo apt-get install -y subversionsvn co http://svn.gna.org/svn/wesnoth/trunk wesnoth
1.依赖关系
sudo apt-get install -y build-essential autoconf automake gettext libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev python-dev libboost-iostreams-dev libfribidi-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libboost-regex1.34.1 libboost-regex-dev
可能需要的包: debhelper quilt
2.获取Makefile文件
./autogen.sh./configure --with-x
4.编译
make
5.安装
sudo make install
5.5.选择中文语言
主菜单->Language->中文(Zhongwen)
到这一步就可以玩了
6.重新编译 [如果你需要]
make maintainer-clean
返回步骤 3
7.卸载 [如果你需要]
sudo make uninstall
8.结束。
如果无法显示中文,请先搜索gkai00mp.zip解压,然后改名字成 DejaVuSans.ttf替换安装目录fonts下的相同的文件,就可以显示中文了。
./usr/share/games/wesnoth/fonts
