Hi,
2008/6/3 Vincent Torri <[EMAIL PROTECTED]>:
>> b) software xcb - have problems with build how to solve this ?
>
> about XCB, be sure to have the latest xcb_image package from git.
Actually, I found another compilation problem using the git version of
xcb and xcb_image a few days ago (sorry for late to report)
The problem is, when compiling,
make[5]: Entering directory
`/home/tyama/evas-0.9.9.043/src/modules/engines/software_xcb'
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib
-I../../../../src/lib/include -I../../../../src/modules/engines
-I/usr/include/freetype2 -I/usr/include/pixman-1 -g -O2 -MT
evas_engine.lo -MD -MP -MF ".deps/evas_engine.Tpo" -c -o
evas_engine.lo evas_engine.c; \
then mv -f ".deps/evas_engine.Tpo" ".deps/evas_engine.Plo"; else rm
-f ".deps/evas_engine.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib
-I../../../../src/lib/include -I../../../../src/modules/engines
-I/usr/include/freetype2 -I/usr/include/pixman-1 -g -O2 -MT
evas_engine.lo -MD -MP -MF .deps/evas_engine.Tpo -c evas_engine.c
-fPIC -DPIC -o .libs/evas_engine.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib
-I../../../../src/lib/include -I../../../../src/modules/engines
-I/usr/include/freetype2 -I/usr/include/pixman-1 -g -O2 -MT
evas_engine.lo -MD -MP -MF .deps/evas_engine.Tpo -c evas_engine.c -o
evas_engine.o >/dev/null 2>&1
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib
-I../../../../src/lib/include -I../../../../src/modules/engines
-I/usr/include/freetype2 -I/usr/include/pixman-1 -g -O2 -MT
evas_outbuf.lo -MD -MP -MF ".deps/evas_outbuf.Tpo" -c -o
evas_outbuf.lo evas_outbuf.c; \
then mv -f ".deps/evas_outbuf.Tpo" ".deps/evas_outbuf.Plo"; else rm
-f ".deps/evas_outbuf.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib
-I../../../../src/lib/include -I../../../../src/modules/engines
-I/usr/include/freetype2 -I/usr/include/pixman-1 -g -O2 -MT
evas_outbuf.lo -MD -MP -MF .deps/evas_outbuf.Tpo -c evas_outbuf.c
-fPIC -DPIC -o .libs/evas_outbuf.o
evas_outbuf.c: In function 'evas_software_xcb_outbuf_free':
evas_outbuf.c:137: warning: passing argument 1 of
'evas_cache_image_drop' from incompatible pointer type
evas_outbuf.c: In function 'evas_software_xcb_outbuf_new_region_for_update':
evas_outbuf.c:412: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:412: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:434: warning: assignment from incompatible pointer type
evas_outbuf.c:435: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:436: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:437: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:438: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:445: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:455: warning: assignment from incompatible pointer type
evas_outbuf.c:456: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:457: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:482: error: invalid type argument of '->' (have 'struct
<anonymous>')
evas_outbuf.c:538: warning: assignment from incompatible pointer type
evas_outbuf.c: In function 'evas_software_xcb_outbuf_flush':
evas_outbuf.c:683: warning: passing argument 1 of
'evas_cache_image_drop' from incompatible pointer type
evas_outbuf.c: In function 'evas_software_xcb_outbuf_idle_flush':
evas_outbuf.c:752: warning: passing argument 1 of
'evas_cache_image_drop' from incompatible pointer type
evas_outbuf.c:771: warning: passing argument 1 of
'evas_cache_image_drop' from incompatible pointer type
make[5]: *** [evas_outbuf.lo] Error 1
make[5]: Leaving directory
`/home/tyama/evas-0.9.9.043/src/modules/engines/software_xcb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tyama/evas-0.9.9.043/src/modules/engines'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tyama/evas-0.9.9.043/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tyama/evas-0.9.9.043/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tyama/evas-0.9.9.043'
make: *** [all] Error 2
Seeing the code, the cause is maybe the modification for cache change
is not sufficient for the software_xcb engine.
Then, I enabled the compiling with --enable-software-xcb by the attached patch.
Modifications by the patch are, roughly,
1. Copying outbuf_new_for_update function from software_x11 engine to
software_xcb engine.
2. Modifying function calls of the engine in the outbuf_new_for_update
from evas_software_x11_foo to evas_software_xcb_foo.
Now, I'm testing whether there are problems by applying the patch.
Is this patch something wrong?
P.S. compiling with --enable-xrender-xcb has problem, too.
I try to the fix this. But it seems to take a little time.
#Sorry for broken english.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel