(Added some checklist items from the win32-release.txt file (now removed from git, since it was out of date)) |
(Added some stuff from packaging/windows/readme.txt, which will now refer here →Creating a windows installer) |
||
Line 23: | Line 23: | ||
# [[Git|Clone the Git repository of the eAthena client]]. The directory where you have the cloned repository will now be referred to as "TMW" | # [[Git|Clone the Git repository of the eAthena client]]. The directory where you have the cloned repository will now be referred to as "TMW" | ||
# Get [http://nsis.sourceforge.net Nullsoft Scriptable Install System] | # Get [http://nsis.sourceforge.net Nullsoft Scriptable Install System] | ||
# Install [http://upx.sourceforge.net/ UPX] (the script expects upx to be in a "upx" subdirectory) | |||
# Get [http://www.codeblocks.org/ Code::Blocks] and all [[Dependencies#Installing_the_dependencies_on_Windows|libraries]]. | # Get [http://www.codeblocks.org/ Code::Blocks] and all [[Dependencies#Installing_the_dependencies_on_Windows|libraries]]. | ||
# Check if the dlls were compressed (SDL.dll, SDL_Image.dll, SDL_Mixer.dll) | # Check if the dlls were compressed (SDL.dll, SDL_Image.dll, SDL_Mixer.dll) | ||
# Get [http://gnuwin32.sourceforge.net/packages/gettext.htm Gettext for windows] | # Get [http://gnuwin32.sourceforge.net/packages/gettext.htm Gettext for windows] | ||
# Get the [http://sourceforge.net/project/showfiles.php?group_id=106790&package_id=199743 music package] and put it into the TMW/data directory (so you have TMW/data/music/*.ogg) | # Get the [http://sourceforge.net/project/showfiles.php?group_id=106790&package_id=199743 music package] and put it into the <code>TMW/data</code> directory (so you have TMW/data/music/*.ogg) | ||
# Open TMW/tmw.cbp with Code::Blocks and compile the project | # Open <code>TMW/tmw.cbp</code> 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 | # Copy msgfmt.exe and all DLL files from the directory "bin" of your gettext installation to <code>TMW/packaging/windows</code> | ||
# Run the visual basic script TMW/packaging/windows/make-translations.vbs to compile the gettext translation files | # Run the visual basic script <code>TMW/packaging/windows/make-translations.vbs</code> to compile the gettext translation files | ||
# Run the | # Make sure setup.nsi mentions the right TMW version | ||
# Run the script <code>TMW/packaging/windows/setup.nsi</code> using NSIS | |||
# Test the installer with a fresh installation (uninstall and delete installations). Test also uninstall process to check if removes all the files. | # Test the installer with a fresh installation (uninstall and delete installations). Test also uninstall process to check if removes all the files. | ||
You will now have a distributable installer in TMW/packaging/windows/ | You will now have a distributable installer in <code>TMW/packaging/windows/</code> | ||
=== Notifying the package maintainers and websites === | === Notifying the package maintainers and websites === |
Revision as of 10:33, 10 May 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.
CMakeLists.txt
– versionconfigure.ac
– versionINSTALL
– dependencies and their versionsNEWS
– version, release date and changesREADME
– version and release datedata/help/changes.txt
– version, release date and changesdata/help/header.txt
– version and release datesrc/main.h
– versionsrc/winver.h
– version
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.
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
- Install UPX (the script expects upx to be in a "upx" subdirectory)
- Get Code::Blocks and all libraries.
- Check if the dlls were compressed (SDL.dll, SDL_Image.dll, SDL_Mixer.dll)
- 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 - Make sure setup.nsi mentions the right TMW version
- Run the script
TMW/packaging/windows/setup.nsi
using NSIS - Test the installer with a fresh installation (uninstall and delete installations). Test also uninstall process to check if removes all the files.
You will now have a distributable installer in TMW/packaging/windows/
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 – Package details (mark out of date)
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
Updating the wiki
The following pages may need to be brought up to date with the new release. Anyone may update these pages, and are encouraged to do so.
- Config settings – default options and option names
- Dependencies – dependencies and version
- Screenshots – a new and fresh screenshot showing off a new feature (and new content)
- Walkthrough – default controls