Changes in ReleasingWidelands
Revision Differences of Revision 2
## Releasing new versions of¶
This document is about what steps are to perform to release a new build of
¶
We release one release candidate before each release, to make sure no completely stupid mistakes creep into a release. The steps for preparing the RC are exactly the same as the steps for preparing the final release, to ensure that problems with the release problems are found with the release candidate. ¶
¶
¶
¶
¶
The rough release cycle should work like this: ¶
¶
¶
¶
¶
¶
### Releasing a build ¶
¶
As noted above, the steps for RC and final build should be the same, to flush out any problems with the process. ¶
¶
¶
¶
#
¶
¶
### Creating binary packages ¶
¶
#### Windows ¶
¶
For compilation of widelands-binary take a look at BuildingWidelandsUnderWindows and the README-file in [widelands-trunk]/build/win32 ¶
¶
Compilation of a Setup-file is done via [widelands-trunk]/build/win32/innosetup/__Widelands.iss__Script, which can be run with [Inno Setup](http://jrsoftware.org) -Compiler. ¶
¶
#### Linux (directory independent) ¶
¶
These points are intended to help in creating a tarball that can easily be extracted and run in-place (e.g. in a user's home directory). For general Linux build info, see UsingTheSconsBuildSystem, among others. ¶
¶
Here are some things you need to be aware of: ¶
¶
* The locale directory must be correct; otherwise, Widelands will not find translations. Adding the parameters_install_prefix=. bindir=. datadir=. localedir=./locale_to the scons command line should work, but be sure to test the binary package before the actual release. ¶
* Some Linux distributions still don't have GLIBC 2.4 (i.e. Debian Etch). To support them, hack_build/scons-tools/scons_configure.py_and replace the compile flag -fstack-protector-all by -fno-stack-protector. You can check for GLIBC dependencies on the final executable using_strings widelands | grep GLIBC_. ¶
These are the suggested steps for building the package: ¶
¶
* ChangeLog ¶
* COPYING ¶
* CREDITS ¶
* fonts ¶
* locale ¶
* maps ¶
* music ¶
* pics ¶
* sound ¶
* tribes ¶
* txts ¶
* widelands ¶
* worlds ¶
¶
¶
¶
#### Other ¶
¶
TODO: This section should contain (or point to) documentation concerning how to build binary packages for different platforms: ¶
¶
* Linux, installable (i.e..deb/.rpm packages that are integrated into the FHS hierarchy) ¶
* Mac OS X ¶
* others? ¶
* Delete all source releveant stuff; the remaining files in the main Widelands directory should be: campaigns ChangeLog COPYING CREDITS fonts locale maps music pics sound tribes txts widelands worlds ¶
¶