On 09/24/2011 02:36 AM, Vincent Torri wrote:
>
>
> On Fri, 23 Sep 2011, Enlightenment SVN wrote:
>
>> Log:
>> Ecore: Fix configure.ac to use different variable names for pkg-config
>>   libs.
>>
>>
>>
>> Author:       devilhorns
>> Date:         2011-09-23 23:21:15 -0700 (Fri, 23 Sep 2011)
>> New Revision: 63583
>> Trac:         http://trac.enlightenment.org/e/changeset/63583
>>
>> Modified:
>>   trunk/ecore/configure.ac
>>
>> Modified: trunk/ecore/configure.ac
>> ===================================================================
>> --- trunk/ecore/configure.ac 2011-09-24 06:20:47 UTC (rev 63582)
>> +++ trunk/ecore/configure.ac 2011-09-24 06:21:15 UTC (rev 63583)
>> @@ -786,12 +786,12 @@
>>      fi
>>    fi
>>
>> -  PKG_CHECK_MODULES(XCB, x11-xcb xcb xcb-shm xcb-event xcb-icccm>= 0.3.8 
>> xcb-util>= 0.3.8 xcb-image xcb-keysyms,
>> +  PKG_CHECK_MODULES(ECORE_XCB, x11-xcb xcb xcb-shm xcb-event xcb-icccm>= 
>> 0.3.8 xcb-util>= 0.3.8 xcb-image xcb-keysyms>= 0.3.8,
>
> you know that x11-xcb is a .pc file from Xlib, right ? Strange for an xcb
> backend...
>
> Vincent
>

I agree, it is strange. BUT you still need a way in ecore_x for OPENGL 
to work. In order to actually achieve that, we have to Open the Display 
using XOpenDisplay else when using things like nvidia closed binary 
drivers for example OpenGL would not be possible...they expect an X11 
*Display variable to be passed to them in order to operate correctly.

If we use strict XCB and open with xcb_connect only, then OpenGL would 
not function because XCB provides no *Display variable to pass to the 
OpenGL code. Thus we link to x11-xcb which provides an XOpenDisplay and 
Display variable that we can then reuse for OpenGL.

dh

>>      [ have_ecore_x_xcb="yes"
>>        requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm 
>> xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
>>      ],
>>      [
>> -    PKG_CHECK_MODULES(XCB, x11-xcb xcb xcb-event xcb-shm xcb-icccm 
>> xcb-image xcb-keysyms,
>> +    PKG_CHECK_MODULES(ECORE_XCB, x11-xcb xcb xcb-event xcb-shm xcb-icccm 
>> xcb-image xcb-keysyms,
>>        [ have_ecore_x_xcb="yes"
>>          AC_DEFINE(OLD_XCB_VERSION, 1, [xcb version])
>>          requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm 
>> xcb-image xcb-keysyms ${requirements_ecore_x}" ],
>>
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> enlightenment-svn mailing list
>> enlightenment-...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>>
>>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to