[Mesa-dev] [PATCH 1/2] dri/common: embed drirc into driver binaries
Marek Olšák
maraeo at gmail.com
Wed Sep 2 15:37:00 PDT 2015
On Wed, Sep 2, 2015 at 10:43 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On Wednesday, September 02, 2015 02:26:55 AM Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> People are having issues with apps because drirc wasn't installed
>> into /etc. I've lost patience.
>> ---
>> src/mesa/drivers/dri/common/Makefile.am | 4 +-
>> src/mesa/drivers/dri/common/Makefile.sources | 3 +-
>> src/mesa/drivers/dri/common/drirc | 84 --------------------
>> src/mesa/drivers/dri/common/drirc_built_in.h | 111 +++++++++++++++++++++++++++
>> src/mesa/drivers/dri/common/xmlconfig.c | 30 +++++++-
>> 5 files changed, 140 insertions(+), 92 deletions(-)
>> delete mode 100644 src/mesa/drivers/dri/common/drirc
>> create mode 100644 src/mesa/drivers/dri/common/drirc_built_in.h
>
> I really dislike this idea, but I understand your frustration. Distros
> often seem to ship bunk /etc/drirc files.
>
> It seems that "make install" doesn't actually install /etc/drirc today.
> Fixing that would probably go a long way in helping this problem...
The main reason for this is that I don't want to worry about people's
configuration issues and spend time explaining them what they should
do. I would really like my driver to have reasonable foolproof default
behavior for everybody.
It's not my intention to support driver developers. They can always
find a way around things. Hopefully, app developers won't name their
executable "Valley_x64". And everybody else will benefit.
Marek
More information about the mesa-dev
mailing list