2009-09-11 01:57:59 +00:00
|
|
|
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
|
|
|
|
|
2012-02-05 07:37:32 +00:00
|
|
|
As of this writing, mesa will provide:
|
|
|
|
src/mapi/glapi/gen/gl_API.xml
|
|
|
|
and xcbproto provides:
|
|
|
|
bigreq.xml
|
|
|
|
composite.xml
|
|
|
|
damage.xml
|
|
|
|
dpms.xml
|
|
|
|
dri2.xml
|
|
|
|
ge.xml
|
|
|
|
glx.xml
|
|
|
|
randr.xml
|
|
|
|
record.xml
|
|
|
|
render.xml
|
|
|
|
res.xml
|
|
|
|
screensaver.xml
|
|
|
|
shape.xml
|
|
|
|
shm.xml
|
|
|
|
sync.xml
|
|
|
|
xc_misc.xml
|
|
|
|
xevie.xml
|
|
|
|
xf86dri.xml
|
|
|
|
xf86vidmode.xml
|
|
|
|
xfixes.xml
|
|
|
|
xinerama.xml
|
|
|
|
xinput.xml
|
|
|
|
xkb.xml
|
|
|
|
xprint.xml
|
|
|
|
xproto.xml (ignored)
|
|
|
|
xselinux.xml
|
|
|
|
xtest.xml
|
|
|
|
xv.xml
|
|
|
|
xvmc.xml
|
|
|
|
|
2009-09-11 01:57:59 +00:00
|
|
|
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
|
2015-10-17 13:28:12 +00:00
|
|
|
slightly more than 200MB as of this writing.
|
2009-09-11 01:57:59 +00:00
|
|
|
|
|
|
|
Run the following:
|
2009-09-12 23:02:34 +00:00
|
|
|
make x11-dissector
|
2009-09-11 01:57:59 +00:00
|
|
|
|
|
|
|
This will automatically run process-x11-fields.pl (for the core protocol
|
2009-09-12 23:02:34 +00:00
|
|
|
definitions), and then it will run process-x11-xcb.pl to process the XML
|
|
|
|
descriptions from XCB and Mesa to generate the extension dissectors.
|
2009-09-11 01:57:59 +00:00
|
|
|
|
2009-09-12 23:02:34 +00:00
|
|
|
Once this is complete, compile wireshark as usual.
|