[PATCH web] building: add --with-cairo=gl to weston autogen step
Armin K.
krejzi at email.com
Tue Aug 13 09:10:56 PDT 2013
On 13.8.2013 17:59, Eoff, Ullysses A wrote:
>
>> -----Original Message-----
>> From: wayland-devel-bounces+ullysses.a.eoff=intel.com at lists.freedesktop.org [mailto:wayland-devel-
>> bounces+ullysses.a.eoff=intel.com at lists.freedesktop.org] On Behalf Of Armin K.
>> Sent: Tuesday, August 13, 2013 8:31 AM
>> To: wayland-devel at lists.freedesktop.org
>> Subject: Re: [PATCH web] building: add --with-cairo=gl to weston autogen step
>>
>> On 13.8.2013 17:00, U. Artie Eoff wrote:
>>> From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>
>>>
>>> The option --with-cairo=[image|gl|glesv2] was added to Weston's
>>> configure and it defaults to --with-cairo=image. Since the
>>> preceding instructions elude to compiling and using cairo-gl,
>>> Weston needs to be configured to use it.
>>>
>>
>> Not related to this patch, but it would be nice if configure detected
>> cairo-gl, cairo-glesv2 and then cairo-image, since it is only used as a
>> fallback if none of the listed ones is available.
>>
>
> That would certainly make it operate similar to how it used to by default.
> I'd be fine with that since we can still choose explicitly.
>
Ah, right. I didn't see the description of the other patch. Anyways, I
think we should have a "configure summary" to print what is(n't) enabled
(autodetected or not).
>>> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
>>> ---
>>> building.html | 7 ++++++-
>>> 1 file changed, 6 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/building.html b/building.html
>>> index 771c659..8ea822a 100644
>>> --- a/building.html
>>> +++ b/building.html
>>> @@ -226,9 +226,14 @@ And optionally, for the pdf viewer:
>>> poppler-glib and
>>> gio-2.0.</p>
>>>
>>> +<p>If you opt to use cairo-gl, then Weston needs to be
>>> +configured with the option "--with-cairo=gl" to enable it. Otherwise,
>>> +Weston will default to cairo-image (software) to render it's demo
>>> +clients.</p>
>>> +
>>> <pre> $ git clone git://anongit.freedesktop.org/wayland/weston
>>> $ cd weston
>>> - $ ./autogen.sh --prefix=$WLD
>>> + $ ./autogen.sh --prefix=$WLD --with-cairo=gl
>>> $ make
>>> $ make install
>>> </pre>
>>>
>>
>> _______________________________________________
>> wayland-devel mailing list
>> wayland-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list