Ethereal-dev: [Ethereal-dev] Integration of gtk2 for win32 (patch to think about)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Mon, 30 Sep 2002 16:37:33 +0200
Hi List!

Please find attached a patch for ethereal win32 generation using gtk2.

I am thinking about the integration of the gtk2 port for win32 to the Ethereal source tree.
This is maybe a bit early, but I think there are lots of things to do, before it will all work properly.

I don't think we currently should switch to the gtk2 version (it's known to be less stable than the gtk1 version), but we should start building the "infrastructure" for it.

When I am referring to gtk2 below, I mean all the libs involved (and needed) here, including glib, pango, dirent, ...
As this will include glib2, this will also apply to tethereal and such.

To use gtk2 for Ethereal on win32, it will require the following steps:

1. Putting the required gtk2 zips on the ethereal website (about 10 zip files).
The zips required for compilation should be (IMHO) put into:
"http://www.ethereal.com/distribution/win32/development/gtk2";
 
2. Changing the Makefile.nmake (and other files) to generate win32 Ethereal properly.
In comparison to the gtk1 libs, some things changed here: A lot of new libs, dirent now seperated, ...
I have changed the generation of the exe to use the gtk2 libs, but this is really a hack!
There must be a better way of doing this!

3. (And in future:) changing the packaging of win32 setup (NSIS) to use gtk2.
There seems to be a lot of files needed at runtime for the gtk2 libs, which all have to be in the nsis installer package.
I currently don't know a clean way to include all the required files (and I don't even know which ones required).

This patch is the very first step of implementing the whole thing. I am currently not happy with it, but I think it's the first step in the right direction.

The patch has the gtk2 generation commented out, and should generate gtk1 without changes (except for some "personal" settings in config.nmake, of course).

Regards ULFL

P.S: this patch could change your personal config.nmake file, so be careful when patching with it!

______________________________________________________________________________
Den Komfort von WEB.DE FreeMail nutzen, aber die alten E-Mail-Adressen nicht
aufgeben? Kein Problem: http://freemail.web.de/?mc=021128

Attachment: gtk2 win32 generation.diff
Description: Binary data