aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-08-23 14:53:18 +0000
committerJörg Mayer <jmayer@loplof.de>2011-08-23 14:53:18 +0000
commit0ff88cef85b05cd309bc87ebc898e2e21aec36b3 (patch)
tree31ab31148f9d80e9e008ac2d5a125714f77e04c3 /gtk
parentfbbdfa8d1eaa9cff5990fc81287c88fc0179ac5a (diff)
Status update.
The lua menu items do work in the ItemFactory code. svn path=/trunk/; revision=38691
Diffstat (limited to 'gtk')
-rw-r--r--gtk/STATUS.gtk360
1 files changed, 19 insertions, 41 deletions
diff --git a/gtk/STATUS.gtk3 b/gtk/STATUS.gtk3
index 08bcfd0e2a..3505e41870 100644
--- a/gtk/STATUS.gtk3
+++ b/gtk/STATUS.gtk3
@@ -11,47 +11,25 @@ There are two ways to make the Wireshark code gtk3 ready:
1) CMake and configure options to build with gtk3 instead of gtk2:
cmake: ENABLE_GTK3=ON
configure: --with-gtk3
- This will currently break the build and not gain much until the last
- problem has been fixed. It will also require everyone interested in
- working on this to have gtk3 installed.
+ This will only work if building without gtkvumeter.c
+ and rtp_player.c (disable portaudio). It also requires GTK3 to be installed.
+ GTK3 is available for Windows as a mingw build only, see
+ http://lists-archives.org/gtk-devel/13233-fwd-precompiled-gtk3-for-windows.html
-2) The compat flags:
+2) The compat flags in GTK2:
-DGTK_DISABLE_SINGLE_INCLUDES [works and is enabled]
-DGSEAL_ENABLE [works and is enabled]
- -DGDK_DISABLE_DEPRECATED [not yet enabled, see below]
- -DGTK_DISABLE_DEPRECATED [works if building with UI_MANAGER code, see below]
-
- Gtk2 offers several compile time flags, so if you run a sufficiently new
- version of gtk2 and turn on one or more of these flags, you can find many
- things that are not gtk3 compatible yet.
- This is a subset of what breaks when compiling with Gtk3/Gdk3.
-
- With Gdk3, (at least) the following structs used in Wireshark are gone:
- - GdkColormap
- - GdkDrawable
- - GdkPixmap
- Also, the following macros are gone:
- - GDK_DRAWABLE -> sanity check + cast, can be removed
- - GDK_IS_DRAWABLE -> probably: sanity check, can be removed
- - GTK_OBJECT -> sanity check + cast, can probably be removed
-
-
-Some statistics (as of rev 38493)
-
--DGDK_DISABLE_DEPRECATED
- grep error: make.log| grep -v assignment | cut -d: -f5 | sort | uniq -c
- 1 implicit declaration of function ‘gdk_draw_arc’
- 1 implicit declaration of function ‘gdk_draw_drawable’
- 1 implicit declaration of function ‘gdk_draw_layout’
- 3 implicit declaration of function ‘gdk_draw_line’
- 1 implicit declaration of function ‘gdk_draw_pixbuf’
- 2 implicit declaration of function ‘gdk_gc_new’
- 2 implicit declaration of function ‘gdk_gc_set_foreground’
- 1 implicit declaration of function ‘gdk_gc_set_function’
-
--DGTK_DISABLE_DEPRECATED
- Is turned on if building with UI_MANAGER.
- autofoo: configure ... --enable-uimanager ...
- cmake: cmake ... -DUI_MANAGER=ON ...
- Right now UI_MANAGER=ON looses the proto_help functionality and quite
- some additional stuff (mostly? statistics).
+ -DGDK_DISABLE_DEPRECATED [works for most files and is enabled, see below]
+ -DGTK_DISABLE_DEPRECATED [works for most files and is enabled, see below]
+
+A large part of the GTK3 porting work as been done.
+
+The following files will not yet compile either with GTK2 and GxK_DISABLE_DEPRECATED
+or GDK3/GTK3 or have code in them to disable functionality in order to be able to build:
+ gtkvumeter.c (windows only, fails, still using deprecated functions.)
+ rtp_player.c (fails, still using GdkPixmap)
+ proto_help.c (not ported to UI-MANAGER)
+ funnel_stat.c (?) (the lua menu items fail at runtime)
+plus maybe some other code that is outside the tested #ifdef combinations.
+
+