[Mesa-dev] [PATCH 1/2] autotools+dri3: allow building against older xcb (v4)

Emil Velikov emil.l.velikov at gmail.com
Wed Mar 14 16:08:07 UTC 2018


On 14 March 2018 at 14:51, Brian Paul <brianp at vmware.com> wrote:
> On 03/14/2018 08:40 AM, Rob Clark wrote:
>>
>> On Wed, Mar 14, 2018 at 10:29 AM, Emil Velikov <emil.l.velikov at gmail.com>
>> wrote:
>>>
>>> On 14 March 2018 at 13:04, Rob Clark <robdclark at gmail.com> wrote:
>>>>
>>>> From: Dave Airlie <airlied at redhat.com>
>>>>
>>>> I'm not sure everyone wants to be updating their dri3 in a forced
>>>> march setting, this allows a nicer approach, esp when you want
>>>> to build on distro that aren't brand new.
>>>>
>>>> I'm sure there are plenty of ways this patch could be cleaner,
>>>> and I've also not built it against an updated dri3.
>>>>
>>>> For meson I've just left it alone, since if you are using meson
>>>> you probably don't mind xcb updates, and if you are using meson
>>>> you can fix this better than me.
>>>>
>>>> v3: just don't put a version in for dri3/present without
>>>> modifiers, should allow building with 1.11 as well
>>>> v4: small fix to meson build
>>>>
>>>> (feel free to supply meson followups)
>>>>
>>> IIRC Matt seemed also on board with making the new xcb a hard
>>> requirement.
>>>
>>> I don't know the exact usecase he was thinking, yet gut feeling
>>> suggests that my earlier suggestion [1] should work for everyone -
>>> Dave, Matt, Marek, etc.
>>> If the concern is writing the code - I can help ;-)
>>>
>>
>> I care *significantly* less about the build against 1.12, run against
>> 1.13 case than I do about getting back to the point where I don't have
>> to carry around these patches to build mesa (otherwise it is just a
>> matter of time before I accidentally push them just because I needed
>> them to test whatever it was that I was intending to push ;-)
>>
>> If someone wants to build on top of this and make something more
>> fancy, by all means.  But I really would like to push something that
>> removes the 1.13 dependency like today(ish), whether that be this
>> patchset or reverting the patches that added the 1.13 dependency and
>> trying again later.
>
>
> FWIW, I'd like to see this sooner rather than later too.  I spent several
> hours yesterday trying to update our build script to build/install XCB 1.13
> on Fedora, Ubuntu, etc. without totally succeeding.
>
I could have save you some time, if the script is available somewhere ;-)

FTR the oibaf repo has the Ubuntu bits.. Up-to date distros like
Gentoo, Arch are fine as well - doubt they are your target audience,
though.

-Emil

[1] https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers


More information about the mesa-dev mailing list