Hello

2010/2/15 Thomas Zimmermann <[email protected]>:
> Am Sonntag 14 Februar 2010 23:48:10 schrieb Nicola Fusaro:
>>
> That patch doesn't look nice ;)
>
> * Removing > 20 packages does look wrong.
ok, no problem, It's only I dont like 20 packages for a total of
100kb, I'll change it back

> * You should generate patches with git format-patch
ok, I'll try it


> * Add a proper explanation why you are doing this. I don't know what's the
> advantage of using libxcb in libX11.

The X protocol C-language Binding (XCB) is a replacement for Xlib
featuring a small footprint, latency hiding, direct access to the
protocol, improved threading support, and extensibility. ( from
http://xcb.freedesktop.org )

the Xorg folks created a substitute for libX11 without some of the
flaws of it. this substitute is libxcb.
But libX11 is very widely used so is not simple to remove.
If you build libX11 with-xcb  much code of libX11 are replaced with
calls into libxcb code and libX11 act as a compatibility layer to xcb,
so you can use libxcb and libX11.

because of some code redundancy between Xlib and xcb code the size of
libX11+libxcb are about 60k bigger.

950972  libX11.so.6.3.0 ( libX11 without xcb )


937108 libX11.so.6.3.0 ( compiled with xcb )
 75996 libxcb.so.1.1.0


a nice thing is that Enlightenment can be built against libxcb


> * Touch only one thing in that patch, so don't touch the python recipe.
the problem here is a little more complex.
xcb search for python, python need tcl / tk and these need libX11.
If I build libX11 with libxcb I'll create a loop of dependancies and
the build will fail.
python can build without tcl / tk and libxcb also can build without it
( I've tried it today ), so I think I'll investigate a little more.

>
>
> So please send us an explanation, then we can discuss this patch.
>
> thx
> Thomas
> _______________________________________________
> Shr-devel mailing list
> [email protected]
> http://lists.shr-project.org/mailman/listinfo/shr-devel
>

now I will try building Enlightenment with libxcb and I will try to
figure what to do with libxcb and python
then I'll try a better patch

thanks
Nicola Fusaro
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to