Home » Uncategorized » getting rid of snakeoil

getting rid of snakeoil

due to xcb dependency on python,

i could use xsltproc with c-client.xsl, instead of python,

but generated c source files have no header..

so, i just drop the xcb-python-X11-family, changed configuration for mesa.

./configure --prefix=/usr/ --enable-gles2  --disable-gallium-egl --with-egl-platforms=wayland,drm --enable-gbm --enable-shared-glapi --disable-glx

in mesa source, there is python. snake everywhere!!
i need the header files in distro in chrooted env,
gonna trying to use python host machine(sabayon).


cd src/mapi/glapi/gen-es/
python ../../../../src/mapi/mapi/mapi_abi.py --printer es1api --mode lib ../gen/gl_and_es_API.xml > ../../../../src/mapi/es1api/glapi_mapi_tmp.h

python ../gen/gl_table.py -f es1_API.xml -c -m remap_table > ../../../../src/mapi/es1api/main/dispatch.h

python ../gen/remap_helper.py -f es1_API.xml > ../../../../src/mapi/es1api/main/remap_helper.h

python ../../../../src/mapi/mapi/mapi_abi.py --printer es2api --mode lib ../gen/gl_and_es_API.xml > ../../../../src/mapi/es2api/glapi_mapi_tmp.h

python ../gen/gl_table.py -f es2_API.xml -c -m remap_table > ../../../../src/mapi/es2api/main/dispatch.h

python ../gen/remap_helper.py -f es2_API.xml > ../../../../src/mapi/es2api/main/remap_helper.h

python ../../../../src/mapi/mapi/mapi_abi.py --printer shared-glapi --mode lib ../gen/gl_and_es_API.xml > ../../../../src/mapi/shared-glapi/glapi_mapi_tmp.h

python builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp


xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xproto.c ./c-client.xsl /usr/share/xcb/xproto.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xproto.h ./c-client.xsl /usr/share/xcb/xproto.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o bigreq.c ./c-client.xsl /usr/share/xcb/bigreq.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o bigreq.h ./c-client.xsl /usr/share/xcb/bigreq.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xc_misc.h ./c-client.xsl /usr/share/xcb/xc_misc.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xc_misc.c ./c-client.xsl /usr/share/xcb/xc_misc.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o composite.c ./c-client.xsl /usr/share/xcb/composite.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o composite.h ./c-client.xsl /usr/share/xcb/composite.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o damage.h ./c-client.xsl /usr/share/xcb/damage.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o damage.c ./c-client.xsl /usr/share/xcb/damage.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o dpms.c ./c-client.xsl /usr/share/xcb/dpms.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o dpms.h ./c-client.xsl /usr/share/xcb/dpms.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o dri2.h ./c-client.xsl /usr/share/xcb/dri2.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o dri2.h ./c-client.xsl /usr/share/xcb/dri2.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o dri2.c ./c-client.xsl /usr/share/xcb/dri2.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o glx.c ./c-client.xsl /usr/share/xcb/glx.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o glx.h ./c-client.xsl /usr/share/xcb/glx.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o randr.h ./c-client.xsl /usr/share/xcb/randr.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o randr.c ./c-client.xsl /usr/share/xcb/randr.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o record.c ./c-client.xsl /usr/share/xcb/record.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o record.h ./c-client.xsl /usr/share/xcb/record.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o render.h ./c-client.xsl /usr/share/xcb/render.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o render.c ./c-client.xsl /usr/share/xcb/render.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o res.c ./c-client.xsl /usr/share/xcb/res.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o res.h ./c-client.xsl /usr/share/xcb/res.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o screensaver.h ./c-client.xsl /usr/share/xcb/screensaver.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o screensaver.c ./c-client.xsl /usr/share/xcb/screensaver.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o shape.c ./c-client.xsl /usr/share/xcb/shape.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o shape.h ./c-client.xsl /usr/share/xcb/shape.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o shm.h ./c-client.xsl /usr/share/xcb/shm.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o shm.c ./c-client.xsl /usr/share/xcb/shm.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o sync.c ./c-client.xsl /usr/share/xcb/sync.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o sync.h ./c-client.xsl /usr/share/xcb/sync.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xevie.h ./c-client.xsl /usr/share/xcb/xevie.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xevie.c ./c-client.xsl /usr/share/xcb/xevie.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xf86dri.c ./c-client.xsl /usr/share/xcb/xf86dri.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xf86dri.h ./c-client.xsl /usr/share/xcb/xf86dri.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xfixes.h ./c-client.xsl /usr/share/xcb/xfixes.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xfixes.c ./c-client.xsl /usr/share/xcb/xfixes.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xinerama.c ./c-client.xsl /usr/share/xcb/xinerama.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xinerama.h ./c-client.xsl /usr/share/xcb/xinerama.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xinput.h ./c-client.xsl /usr/share/xcb/xinput.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xinput.c ./c-client.xsl /usr/share/xcb/xinput.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xkb.c ./c-client.xsl /usr/share/xcb/xkb.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xkb.h ./c-client.xsl /usr/share/xcb/xkb.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xprint.h ./c-client.xsl /usr/share/xcb/xprint.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xprint.c ./c-client.xsl /usr/share/xcb/xprint.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xselinux.h ./c-client.xsl /usr/share/xcb/xselinux.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xselinux.c ./c-client.xsl /usr/share/xcb/xselinux.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xtest.c ./c-client.xsl /usr/share/xcb/xtest.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xtest.h ./c-client.xsl /usr/share/xcb/xtest.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xv.h ./c-client.xsl /usr/share/xcb/xv.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xv.c ./c-client.xsl /usr/share/xcb/xv.xml

xsltproc --stringparam mode source --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xvmc.c ./c-client.xsl /usr/share/xcb/xvmc.xml

xsltproc --stringparam mode header --stringparam base-path /usr/share/xcb/ --stringparam extension-path /usr/share/xcb/ -o xvmc.h ./c-client.xsl /usr/share/xcb/xvmc.xml

int
xcb_dri2_connect_alignment_pad_length (const xcb_dri2_connect_reply_t *R /**driver_name_length + 3 ) & ~3 ) - R->driver_name_length);
}

xcb_generic_iterator_t
xcb_dri2_connect_alignment_pad_end (const xcb_dri2_connect_reply_t *R /**driver_name_length + 3 ) & ~3) - R->driver_name_length));
i.rem = 0;
i.index = (char *) i.data - (char *) R;
return i;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s