de736553032050cfcc52ef1e2257f6142e6c4c6d
[metze/wireshark/wip.git] / epan / dissectors / README.X11
1 $Id$
2
3 The X11 dissector generator is no longer run automatically.
4
5 To run the dissector generator, you will need perl 5.10 and the XML::Twig
6 module from CPAN. You will also need 'git' to retrieve the lastest protocol
7 descriptions.
8
9 Once you have those, you also need the XML protocol descriptions. In the
10 epan/dissectors directory, run the following commands:
11  git clone git://anongit.freedesktop.org/xcb/proto xcbproto
12  git clone git://anongit.freedesktop.org/git/mesa/mesa
13
14 As of this writing, mesa will provide:
15  src/mapi/glapi/gen/gl_API.xml
16 and xcbproto provides:
17  bigreq.xml
18  composite.xml
19  damage.xml
20  dpms.xml
21  dri2.xml
22  ge.xml
23  glx.xml
24  randr.xml
25  record.xml
26  render.xml
27  res.xml
28  screensaver.xml
29  shape.xml
30  shm.xml
31  sync.xml
32  xc_misc.xml
33  xevie.xml
34  xf86dri.xml
35  xf86vidmode.xml
36  xfixes.xml
37  xinerama.xml
38  xinput.xml
39  xkb.xml
40  xprint.xml
41  xproto.xml (ignored)
42  xselinux.xml
43  xtest.xml
44  xv.xml
45  xvmc.xml
46   
47 Or, if you have already cloned those repositories, "git pull" each one to bring
48 it up to date. Please be aware that the Mesa repository is rather large; it is
49 slightly more than 53MB as of this writing.
50
51 Run the following:
52  make x11-dissector
53
54 This will automatically run process-x11-fields.pl (for the core protocol
55 definitions), and then it will run process-x11-xcb.pl to process the XML
56 descriptions from XCB and Mesa to generate the extension dissectors.
57
58 Once this is complete, compile wireshark as usual.