Hi Dennis,
I'm Denis Dupeyron, and I used to be in the BerliOS project team, remember ?
I'd like to know if everyone is ready for releasing 2.0.3.
If anyone has something he/she thinks should be in the release package, just
tell me about it.
Current release plan:
- Freeze on 09.06.2006
- Tag 2.0.3
- Create source tarball (.tar.bz2)
- Create Linux AutoPackage
- Create Windows installer (probably NSIS)
- Create combined Windows/Linux 7z archive
- Upload all files to download.gna.org
- Announce on home.gna.org
Comments are welcome.
I have started preparing a Gentoo ebuild for the new release. So here
are my first comments.
1) You should run ./autogen.sh and clean-up unnecessary files prior to
creating the source tarball. I had a few scripts to automatically
generate the release tarballs when I was doing the packaging when we
were at BerliOS. Are you interested in having them ? They would for
sure need to be updated if you wanted to use them, but only reading
them could give you a few indications of what I used to do.
2) I get segfaults after 2-3 seconds in a game when I compile with
openal-0.0.8 and freealut-1.0.1. Compiling with the previous version
of openal (openal-20050504), which includes its own alut, is OK
though. As openal-20050504 is getting old now, it would be nice if
warzone worked with the new version of openal/freealut. I tried to get
more information by running warzone from gdb, but, in gdb I get a
complete freeze which forces me to kill warzone from console. Thus, I
could not get a stack trace. Note that gdb did tell me that it was
stuck in openal, though, which is what prompted me to try the previous
version. Note also that I'm not a gdb expert. Maybe Rodzilla could
enlighten us about this, and, given the proper bribe, fix it for us.
3) This chunk of code, in src/main.c seems wrong :
static void find_data_dir(void)
{
debug(LOG_WZ, "Finding data dir\n");
/* Do we have a user supplied data dir? It must point to a
directory with gamedesc.lev or
* a warzone.wz with this file inside. */
if (datadir[0] != '\0') {
strcpy(datadir, DEFAULT_DATA_DIR);
if (!PHYSFS_addToSearchPath(datadir, 1) ||
!PHYSFS_exists("gamedesc.lev")) {
debug(LOG_ERROR, "Required file gamedesc.lev
not found in requested data dir \"%s\".", datadir);
exit(1);
} else {
return;
}
}
If you set --datadir=/some/directory at startup, than the datadir
variable contains this path (thus it is not empty), and then you
override the path with DEFAULT_DATA_DIR. In my opinion, the "if
(datadir[0] != '\0')" should be changed to "if (datadir[0] == '\0')".
What do you think ?
4) Now for the really important stuff. ;o) Does the windows excutable
come with a desktop icon ? If yes, where can I find it ? I couldn' t
locate it. If it isn' t in the tarball, would it be possible to add it
somewhere (anywhere) ?
Denis.
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev