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

Emil Velikov emil.l.velikov at gmail.com
Mon Sep 29 09:16:11 PDT 2014


So all in all we have the following:

Some distributions/people choose odd location of the modules. Which
can lead to the system (vdpau/omx) looking at the wrong place for the
backends, i.e. not working. One can consider that there is no way to
override the module location at runtime.

So we either
 - Try to be smart and auto-detect it at configure time, causing a
violation of the --prefix , or
 - Choose a sane default, and let the packager worry about the broken setup.

Imho the "do the auto-detection only when the prefix is empty"
approach is useless as virtually everyone sets the prefix.

As mentioned earlier, I expect the latter will cause more issues than
the former thus why I've went with the patch. On the other hand the
majority is inclined to do the correct thing, which means breaking
some builds.
How many volunteers do we have that will guide Debian/Ubuntu/other to
do the correct thing ? If we have at least one, I will be OK with
reverting the patch.

-Emil


More information about the mesa-dev mailing list