diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2009-09-11 01:57:59 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2009-09-11 01:57:59 +0000 |
commit | 961cd3c6ce821c21000d8009b562fc5fafbd0d7a (patch) | |
tree | 6af8c67fd36a2fc7d5574426952b6ee1ba8808c2 /epan/dissectors/README.X11 | |
parent | b75a84dd4fac59c1e7d40eb4a101841e0088d507 (diff) |
From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2981 :
This patch adds extension support to the X11 dissector.
I've removed the perl script from the make file, since the new one depends on
perl 5.10, xcbproto (at least git as of today), and mesa (at least the
mesa/src/mesa/glapi directory). It seemed easier to just add the generated
header files to svn directly.
svn path=/trunk/; revision=29854
Diffstat (limited to 'epan/dissectors/README.X11')
-rw-r--r-- | epan/dissectors/README.X11 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/epan/dissectors/README.X11 b/epan/dissectors/README.X11 new file mode 100644 index 0000000000..d39a8ba78d --- /dev/null +++ b/epan/dissectors/README.X11 @@ -0,0 +1,23 @@ +The X11 dissector generator is no longer run automatically. + +To run the dissector generator, you will need perl 5.10 and the XML::Twig +module from CPAN. You will also need 'git' to retrieve the lastest protocol +descriptions. + +Once you have those, you also need the XML protocol descriptions. In the +epan/dissectors directory, run the following commands: + git clone git://anongit.freedesktop.org/xcb/proto xcbproto + git clone git://anongit.freedesktop.org/git/mesa/mesa + +Or, if you have already cloned those repositories, "git pull" each one to bring +it up to date. Please be aware that the Mesa repository is rather large; it is +slightly more than 53MB as of this writing. + +Run the following: + perl5.10 ./process-x11-xcb.pl + +This will automatically run process-x11-fields.pl (for the core protocol +definitions), and then it will process the XML descriptions from XCB and Mesa +to generate the extension dissectors. + +Once process-x11-xcb.pl is complete, compile wireshark as usual. |