On Wed, Sep 2, 2015 at 4:43 PM, Kenneth Graunke <kenn...@whitecape.org> wrote: > On Wednesday, September 02, 2015 02:26:55 AM Marek Olšák wrote: >> From: Marek Olšák <marek.ol...@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...
Making it load from $sysconfdir seems like the right solution to that problem. Won't help the crazies using LIBGL_DRIVERS_PATH, but for the normal folk who just do "make install" to a custom dir and use LD_LIBRARY_PATH to load from it, should work just fine. Perhaps we could install it to the dri directory (where foo_dri.so get loaded from) and then just load it from the lib's directory? Might be too complicated. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev