(step-by-step guide for creating a windows installer) |
m (→Notifying the package maintainers and websites: Update links) |
||
Line 32: | Line 32: | ||
The following people are responsible for updating the respective websites: | The following people are responsible for updating the respective websites: | ||
* http://freshmeat.net/ - [[User:Bjørn|Bjørn Lindeijer]] | * [http://freshmeat.net/projects/tmw/ Freshmeat] - [[User:Bjørn|Bjørn Lindeijer]] | ||
* http://games.linux.sk/ - [[User:Bjørn|Bjørn Lindeijer]] | * [http://games.linux.sk/index.php?id=141 Games for Linux] - [[User:Bjørn|Bjørn Lindeijer]] | ||
* http:// | * [http://packages.gentoo.org/package/games-rpg/tmw Gentoo Packages] - [[User:Bjørn|Bjørn Lindeijer]] emails [mailto:games@gentoo.org Games herd] | ||
* http://happypenguin.org/ - ? | * [http://happypenguin.org/show?The%20Mana%20World The Linux Game Tome] - ? | ||
* [http:// | * [http://rpgdx.net/showgame.php?project_id=297 RPGDX] - [[User:Bjørn|Bjørn Lindeijer]] | ||
=== Creating a windows installer=== | === Creating a windows installer=== |
Revision as of 16:31, 23 February 2009
Updating the version and release date
The program version and release date are mentioned in several places. Some other places are also important to check before making a release.
configure.ac
(version)CMakeLists.txt
(version)src/main.h
(version)src/winver.h
(version)README
(version and release date)INSTALL
(dependencies and their versions)NEWS
(version, release date and changes)data/help/header.txt
(version and release date)data/help/changes.txt
(version, release date and changes)
Making a clean tarball
Authors and packagers should work on making a clean tarball, which has no .git folders, no Makefiles, no .deps folders, etc... That kind of clean is needed when uploading sources such as for debian, and can be obtained thanks to make dist
, with automake.
To test that the distribution compiles and installs with just the files included in the release, make distcheck
can be used. However, you should also make sure that it actually runs.
Notifying the package maintainers and websites
Normally first the source and Windows releases are made. After verifying everything works with several people for at least a day, the release will be tagged in Git. At that point the release is official and the package maintainers should get started on producing their package.
The following people are responsible for updating their packages:
- Debian - the-me
- Slackware - Platyna
- MacOS X - trapdoor
- Arch Linux - Bjørn Lindeijer
The following people are responsible for updating the respective websites:
- Freshmeat - Bjørn Lindeijer
- Games for Linux - Bjørn Lindeijer
- Gentoo Packages - Bjørn Lindeijer emails Games herd
- The Linux Game Tome - ?
- RPGDX - Bjørn Lindeijer
Creating a windows installer
- Clone the git repository of the eAthena client. The directory where you have the cloned repository will now be referred to as "TMW"
- Get Nullsoft Scriptable Install System
- Get Code::Blocks and all libraries.
- Get Gettext for windows
- Get the music package and put it into the TMW/data directory (so you have TMW/data/music/*.ogg)
- Open TMW/tmw.cbp with Code::Blocks and compile the project
- Copy msgfmt.exe and all DLL files from the directory "bin" of your gettext installation to TMW/packaging/windows
- Run the visual basic script TMW/packaging/windows/make-translations.vbs to compile the gettext translation files
- Run the NSIS script TMW/packaging/windows/setup.nsi using NSIS
You will now have a distributable installer in TMW/packaging/windows/