Checked in. Due to some funkyness with the "patch" program in my system
install, I had to apply the changes by hand. You may want to make sure
they're correct.
On Mon, 19 Aug 2002, Ulf Lamping wrote:
> Hi List!
>
> I'm having problems packaging the ethereal distribution for Win32.
>
> The problem is, that inside the file "packaging\nsis\ethereal.nsi.in"
> the path to the GNU dlls "c:\program files\common files\GNU"
> is a fixed string inside the nsis file.
> On my machine (WinNt German), the required files for example are in:
> "E:\Programme\Gemeinsame Dateien\GNU" which causes NSIS running into trouble...
>
>
> To fix this:
> ------------
> I found out, that the NSIS program itself is able to handle defines
> directly inside its nsi file, and this defines can be set by commandline.
>
> As the versioning of the output file is done by sed, the version settings also could be set directly
> by the makefile using the commandline (-> so the running of sed is no longer required).
>
>
> Changes needed in source:
> -------------------------
> Change "ethereal.nsi.in" to handle defines from the caller instead of fixed strings (diff attached).
> Change "Makefile.nmake" to call NSIS with the required definitions (diff attached).
> Add a line to \config.nmake, setting the source directory of the GNU dll files.
>
> For the settings currently used, this would be:
> COMMON_FILES_GNU="c:\program files\common files\GNU"
>
> For example, on my machine, this would be:
> COMMON_FILES_GNU="E:\Programme\Gemeinsame Dateien\GNU"
>
>
> To think about:
> ---------------
> The file "ethereal.nsi.in" is no longer an infile then (it is a normal .nsi file),
> so it could be renamed into "ethereal.nsi".
>
>
> Regards, ULFL
>
> P.S: I got no idea, in which version of NSIS the features used above were included.
>
> ______________________________________________________________________________
> Nutzen Sie Ihre Zeit für wirklich wichtige Dinge! Alle E-Mail-Adressen
> zentral verwalten unter: http://freemail.web.de/?mc=021121