Ethereal-dev: Re: [Ethereal-dev] port to OS X

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 23 Apr 2002 12:55:08 -0700
On Tue, Apr 23, 2002 at 12:41:42PM -0700, Sandeep Parikh wrote:
> I'm considering doing a port of Ethereal to Mac OS X and most everything 
> works with some tweaking, except the GTK part. I've heard about some ppl 
> porting GTK over to OS X but that could be a long time coming, and this 
> is a great tool that would help us out quite a bit...

I assume by "port" you mean "port that doesn't require an X server"; if
you have an X server, it apparently compiles and runs (and is part of
Fink).

> I was wondering if anyone [fairly intimate with the source] could tell 
> me how separate the UI is from the logic behind the scenes?

Somewhat separate, but not as separate as we'd like.

The primary offender is "file.c", which knows more about GTK+ than it
should.  "capture.c" also knows about GTK+, so it can handle the GTK+
event loop.