wesnoth/INSTALL

72 lines
1.7 KiB
Plaintext
Raw Normal View History

2003-11-21 00:52:27 +00:00
Prerequisites:
Initial code import. [[The Wesnoth repository started off as CVS in September 2003 on SourceForge. In September 2005 it was converted to Subversion using cvs2svn and hosted at Gna!; the last CVS commit corresponded to Subversion r8374. In March 2013 it was converted to git by ESR using reposurgeon 2.30; the last Subversion commit was r56594. In the process, several small, abandoned experimental branches were removed. For all branches known to have been merged to trunk merge points were found and patched in. Comments have been massaged into git summary + body form; revision references have been lifted to action stamps. Conversion comments are, like this one, enclosed in double square brackets. Typos in change comments have often been quietly fixed. Some abbreviations (notably for mainline campaign names) have been made more uniform than they were in the Subversion comments. Infix "::" to mark a campaign-scenario pair (as in "HttT::12" has sometimes been inserted for clarity and to shorten summary lines. Two branches, website/ and resources/, have been merged to trunk, where their history now appears as that of those two top-level directories rather than as separate branches. Subversion property settings, and the commits in the Subversion history that manipulated them, are almost all gone. A few have been translated to .gitignore files and setting of executable bits. There are a few committers that we have been unable to identify. These are: uso zas uid65860 uid66289 uid67456 uid68698 uid68803 uid68842 uid68850 uid68852 uid69097 uid69206 The uid names seem to have been mechanically generated from Wesnoth forum postings. Committer lines for all of these have been left without a domain name in the email address.]]
2003-09-15 11:52:41 +00:00
2003-11-21 00:52:27 +00:00
You'll need to have these libraries (with equivalent devel versions) to build Wesnoth:
libsdl1.2
libsdl-image1.2
libsdl-mixer1.2 (with Vorbis support)
libsdl-net
libfreetype2
Initial code import. [[The Wesnoth repository started off as CVS in September 2003 on SourceForge. In September 2005 it was converted to Subversion using cvs2svn and hosted at Gna!; the last CVS commit corresponded to Subversion r8374. In March 2013 it was converted to git by ESR using reposurgeon 2.30; the last Subversion commit was r56594. In the process, several small, abandoned experimental branches were removed. For all branches known to have been merged to trunk merge points were found and patched in. Comments have been massaged into git summary + body form; revision references have been lifted to action stamps. Conversion comments are, like this one, enclosed in double square brackets. Typos in change comments have often been quietly fixed. Some abbreviations (notably for mainline campaign names) have been made more uniform than they were in the Subversion comments. Infix "::" to mark a campaign-scenario pair (as in "HttT::12" has sometimes been inserted for clarity and to shorten summary lines. Two branches, website/ and resources/, have been merged to trunk, where their history now appears as that of those two top-level directories rather than as separate branches. Subversion property settings, and the commits in the Subversion history that manipulated them, are almost all gone. A few have been translated to .gitignore files and setting of executable bits. There are a few committers that we have been unable to identify. These are: uso zas uid65860 uid66289 uid67456 uid68698 uid68803 uid68842 uid68850 uid68852 uid69097 uid69206 The uid names seem to have been mechanically generated from Wesnoth forum postings. Committer lines for all of these have been left without a domain name in the email address.]]
2003-09-15 11:52:41 +00:00
SDL* libraries can be found at http://www.libsdl.org . libfreetype can be found
at http://www.freetype.org/ .
Initial code import. [[The Wesnoth repository started off as CVS in September 2003 on SourceForge. In September 2005 it was converted to Subversion using cvs2svn and hosted at Gna!; the last CVS commit corresponded to Subversion r8374. In March 2013 it was converted to git by ESR using reposurgeon 2.30; the last Subversion commit was r56594. In the process, several small, abandoned experimental branches were removed. For all branches known to have been merged to trunk merge points were found and patched in. Comments have been massaged into git summary + body form; revision references have been lifted to action stamps. Conversion comments are, like this one, enclosed in double square brackets. Typos in change comments have often been quietly fixed. Some abbreviations (notably for mainline campaign names) have been made more uniform than they were in the Subversion comments. Infix "::" to mark a campaign-scenario pair (as in "HttT::12" has sometimes been inserted for clarity and to shorten summary lines. Two branches, website/ and resources/, have been merged to trunk, where their history now appears as that of those two top-level directories rather than as separate branches. Subversion property settings, and the commits in the Subversion history that manipulated them, are almost all gone. A few have been translated to .gitignore files and setting of executable bits. There are a few committers that we have been unable to identify. These are: uso zas uid65860 uid66289 uid67456 uid68698 uid68803 uid68842 uid68850 uid68852 uid69097 uid69206 The uid names seem to have been mechanically generated from Wesnoth forum postings. Committer lines for all of these have been left without a domain name in the email address.]]
2003-09-15 11:52:41 +00:00
You will also need to have a working installation of gettext to build the
translations.
The .tar.gz file is distributed with a working set of configure files. They
are not in the CVS repository though. Consequently, if you are building from
2005-03-21 20:35:20 +00:00
CVS, you will need autoconf (>= 2.59) and automake (>= 1.9).
2003-11-21 00:52:27 +00:00
Sourcecode:
2003-11-21 00:52:27 +00:00
You can get it here:
2003-11-21 00:52:27 +00:00
http://www.wesnoth.org/downloads
2003-11-21 00:52:27 +00:00
Compiling:
2003-11-21 00:52:27 +00:00
First untar the package:
$ tar xfzv wesnoth-0.x.tar.gz
2003-11-21 00:52:27 +00:00
then
$ cd wesnoth-0.x
2005-03-21 12:54:06 +00:00
The usual
2003-11-21 00:52:27 +00:00
2003-12-23 20:16:21 +00:00
$ ./configure
2005-03-21 12:54:06 +00:00
$ make
$ make install
2003-12-23 20:16:21 +00:00
2005-03-21 12:54:06 +00:00
only compiles the wesnoth binary and installs it along with the game
data to the default prefix which is probably /usr/local.
2003-12-23 20:16:21 +00:00
2005-03-21 12:54:06 +00:00
If you want to build wesnoth_editor too add the --enable-editor
configure option.
2005-03-21 12:54:06 +00:00
In case you want wesnothd to be built you should add:
--enable-server --localstatedir=/var/run --with-server-uid=user
--with-server-gid=group
localstatedir is the location where a wesnothd subdirectory will be
created owned by user:group. This is relevant if you want to be able
to communicate with wesnothd through a fifo file named socket.
You have to run wesnothd with the user specified while configuring in
order for it to work.
You most likely want to change the default localstatedir since it will
probably default to PREFIX/var.
2005-03-21 20:35:20 +00:00
Rebuilding:
2005-03-21 20:35:20 +00:00
You should clean your existing wesnoth release build first with:
$ make distclean
If you want to clean your wesnoth CVS build do:
$ make maintainer-clean