[Mesa-dev] [PATCH] Revert "configure: ask vdpau.pc for the default location of the vdpau drivers"

Dave Airlie airlied at gmail.com
Sun Sep 28 13:05:41 PDT 2014


On 29 September 2014 05:08, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 28/09/14 19:04, Ilia Mirkin wrote:
>> On Sun, Sep 28, 2014 at 1:35 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> On 28/09/14 18:00, Ilia Mirkin wrote:
>>>> This reverts commit bbe6f7f865cd4316b5f885507ee0b128a20686eb.
>>>>
>>>> This change broke the usual assumption that setting a prefix will cause
>>>> files to be installed into that prefix. Restore that assumption before
>>>> people's system installs are accidentally overwritten, and everyone
>>>> starts having to add a --with-libvdpau-dir as a hack to work around this.
>>>>
>>> That assumption was broken long time ago. Mesa is _not_ the only package
>>> to do so.
>>
>> I honestly can't think of another package that uses autoconf and
>> doesn't respect --prefix. You may be right that such a package may
>> exist, but if you point it out, I'll just file a bug with them asking
>> them to fix it :)
>>
> libva-intel-driver is a nice example. I've come across another 5+ a
> couple of weeks ago but did not bother writing them down. Doubt that I
> will look into this obscurity any time soon, but I'll make a note just
> in case I change my mind.

libva-intel-driver is probably not an example of anything you want to do.

> The point is if we are to revert this, we have to nuke the equivalent
> omx and va ones. Afaics there is no middle ground - either we keep the
> commit or add some default and hope that distros and anyone building
> mesa will bother correcting their config. Are you volunteering to hold
> everyone's hand during the transition ?

distros can keep up, don't install outside --prefix is a rule we
should stick to,.

Dave.


More information about the mesa-dev mailing list