diff options
author | José Fonseca <[email protected]> | 2014-03-24 15:41:08 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-03-26 13:51:32 +0000 |
commit | 2de70fe23f320ce4f559e37057fe07b7af99cf5a (patch) | |
tree | 16806aa819e81b03cb4be45144f99d6e29ae1cd8 /docs/README.WIN32 | |
parent | b761dfa0c3de4bc69a5b8bdf6cb9f6993ad7173d (diff) |
mapi/glapi: Use ElementTree instead of libxml2.
It is quite hard to meet the dependency of the libxml2 python bindings
outside Linux, and in particularly on MacOSX; whereas ElementTree is
part of Python's standard library. ElementTree is more limited than
libxml2: no DTD verification, defaults from DTD, or XInclude support,
but none of these limitations is serious enough to justify using
libxml2.
In fact, it was easier to refactor the code to use ElementTree than to
try to get libxml2 python bindings.
In the process, gl_item_factory class was refactored so that there is
one method for each kind of object to be created, as it simplifies
things substantially.
I confirmed that precisely the same output is generated for GL/GLX/GLES.
v2: Remove m4/ax_python_module.m4 as suggested by Matt Turner.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs/README.WIN32')
-rw-r--r-- | docs/README.WIN32 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/README.WIN32 b/docs/README.WIN32 index 0cd007c8a9d..c8759f65b21 100644 --- a/docs/README.WIN32 +++ b/docs/README.WIN32 @@ -36,17 +36,15 @@ Recipe Building on windows requires several open-source packages. These are steps that work as of this writing. -1) install python 2.7 -2) install scons (latest) -3) install mingw, flex, and bison -4) install libxml2 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs - get libxml2-python-2.9.1.win-amd64-py2.7.exe -5) install pywin32 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs +- install python 2.7 +- install scons (latest) +- install mingw, flex, and bison +- install pywin32 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs get pywin32-218.4.win-amd64-py2.7.exe -6) install git -7) download mesa from git +- install git +- download mesa from git see http://www.mesa3d.org/repository.html -8) run scons +- run scons General ------- |