On Mon, 1 Aug 2011, Christopher Michael wrote:

> On 08/01/2011 03:36 PM, Lucas De Marchi wrote:
>> On Mon, Aug 1, 2011 at 5:01 AM, Boris Faure<bill...@gmail.com>  wrote:
>>> On Mon, Aug 1, 2011 at 01:16, Christopher Michael
>>> <cpmicha...@comcast.net>  wrote:
>>>> On 07/30/2011 06:36 PM, Boris Faure wrote:
>>>>>
>>>>> On Tue, Jul 12, 2011 at 01:10, Christopher Michael
>>>>> <cpmicha...@comcast.net>    wrote:
>>>>> [?]
>>>>>>
>>>>>> 2) It may not build on your system (tho it builds on all boxes I have
>>>>>> tried so far).
>>>>>
>>>>> It doesn't build on my boxes (gentoo and arch linux up-to-date).
>>>>
>>>> I find that very strange since all of the initial development that I did 
>>>> was
>>>> on a gentoo box. If I had to guess, I would say you are using
>>>> ACCEPT_KEYWORDS=~x86 to pull in masked packages...In which case, you are
>>>> pulling in a development version of XCB and yes it will not build against
>>>> that.
>>>
>>> Sorry for keeping the troll fed, but xcb-1.7 is on stable gentoo x86
>>> as you can see on http://packages.gentoo.org/package/x11-libs/libxcb .
>>> I'll rewrite the patch to make ecore_xcb work with both xcb<  1.7 and
>>> xcb>= 1.7 so that it's fine for everyone.
>
> New patch sounds good :) as long as it will build for both .. until such
> time that distros across the spectrum are all updated to development
> xcb. When that happens then we can stop supporting current stable xcb
> (0.3.6) and remove the legacy code :)
>
> When you get your new patch(s) ready, send them out to the mailing list
> and I'll gladly have a look :)

I don't understand why it's so difficult to do such tests in configure.ac:

have_xcb_17="no"
PKG_CHECK_MODULES([XCB], [xcb >= 1.7],
    [have_xcb="yes" have_xcb_17="yes"],
    [have_xcb="no"])

if test "x${have_xcb}" = "xno" ; then
    PKG_CHECK_MODULES([XCB], [xcb >= ***],
       [have_xcb="yes"],
       [have_xcb="no"])
fi

and after that, use AC_DEFINE (and if needed AM_CONDITIONAL) with 
have_xcb and have_xcb_17 to define what you want.

Vincent

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to