-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Joerg Mayer Sent: den 19 augusti 2011 07:23 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Brutal patch to build with GTK 3.0
On Thu, Aug 18, 2011 at 03:00:23PM +0200, Anders Broman wrote: >> With the enclosed patch Wireshark builds on GTK3.0. Colors are messed up etc >> but it should be possible to start to >> fix things and actually see what's happening. >> I wouldn't be surprised if many patches leading up to this are faulty. Color >> handling should probably be rewritten to >> use GdkRGBA in many places etc. > >Without checking in the brutal patch but with current svn 38614, I get build >errors when building with GTK2 + - >DGDK_DISABLE_DEPRECATED and when building with GTK3. The error logs are >attached. > >Ciao > Joerg Hi, I'm sorry I should have provided more details, with the patch it is possible to build a GTK3 version With these limitations: - UI_MANAGER must be enabled. - gtkvumeter must NOT be built - rtp_player must NOT be built - tcp_graph requires a "brutal" patch or not to be built. - iax2_analysis.c restore functionality - io_stat.c restore functionality - rtp_analysis.c restore functionality - main_welcome.c colors need fixes But beeing able to build it it's possible to verify changes rather than just blindly try to make it compile. In GTK2 to be able to use -DGDK_DISABLE_DEPRECATED, which also blocks the points above: (I currently don't know how to fix these) - gtkvumeter.c must be fixed or disabled. - tcp_graph.c the "arc" and the crosshairs code nust be fixed. - rtp_player.c the moving cursor must be fixed, the player also crashes when "play" is pressed pre-existing bug? - Once above fixed use cairo_surface_t instead of pixmaps. Regards Anders ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
