Dennis Schridde schreef:
> Am Mittwoch, 27. Dezember 2006 02:50 schrieb Giel van Schijndel:
>> Christian Ohm schreef:
>>> On Wednesday, 27 December 2006 at 1:46, Giel van Schijndel wrote:
>>>> * added some DLLs
>>>> (SDL.dll, SDL_net.dll, physfs.dll, vorbisfile.dll, ogg.dll,
>>>> vorbis.dll, png13.dll, zlib1.dll, jpeg6b.dll)
>>>> ( *NOTE: I'm afraight that the current installer executable you're
>>>> distributing won't work without these DLLs* )
>>> What current installer? The one you can download from gna.org for 2.0.5
>>> works on a system that has never seen Warzone before (but perhaps you're
>>> talking about something else, and I'm too tired to notice).
>> Nah, it apparently was me who was/is too tired to notice (CET=GMT+1
>> here, so calculate it if you wish).
>>
>> It seems that that executable is statically linked to these libraries.
> Exactly. :)
> Some ppl said that they didn't like all those DLLs in the folder, they are
> not
> needed anyway, since probably never more than 1 app will use our compilation
> of libpng or whatever and it saves some download space, so I linked
> statically...
>
> Besides that the nsis patch looks ok, just one question: Why do you sometimes
> use $DEVDIR and other times .. ?
> Is it possible to pass variables to makensis? That way we could pass the
> version info...
${DEVDIR} is a commandline passed variable, it is taken from DEVDIR in
makerules/config.mk
The reason I use ${DEVDIR} is because those files (or its sources for
that matter) aren't contained in the repository (refers to the
WZ-devpackage directory).
The places where ../ is used is where the file is to be found in the
repository or compiled from it.
And yes it is indeed possible to pass variables to makensis just use
"/Dvarname=value". Make sure to include it in quotes as shown though
because it otherwise can't deal with spaces at all. Then inside the
script refer to that value like this: ${varname}.
As for version info you could use this (except the current comment that is):
VIProductVersion "9.9.9.9" ; Version number provided here
has to be in n.n.n.n format where n is any unsigned integer
VIAddVersionKey "CompanyName" "Warzone Resurrection Project"
VIAddVersionKey "FileDescription" "Warzone 2100 Installer"
VIAddVersionKey "FileVersion" "TRUNK"
VIAddVersionKey "InternalName" "Warzone 2100"
VIAddVersionKey "LegalCopyright" "© 2006 Warzone Resurrection
Project"
VIAddVersionKey "ProductName" "Warzone 2100"
VIAddVersionKey "ProductVersion" "TRUNK"
VIAddVersionKey "Comments" "LALALALALALALA"
--
Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
