[Mesa-stable] [PATCH] anv: install the intel_icd.json to ${datarootdir} by default

Jason Ekstrand jason at jlekstrand.net
Fri Jun 24 17:15:51 UTC 2016


On Fri, Jun 24, 2016 at 10:13 AM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:

> From: Emil Velikov <emil.velikov at collabora.com>
>
> As mentioned by the spec (and used by Archlinux and Debian) default to
> ${datarootdir} as opposed to ${sysconfdir} for the default location.
>

Just to confirm, that is /usr/share/ or ~/.local/share, right?


>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> Cc: mesa-stable at lists.freedesktop.org
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> I believe there was an earlier agreement about this, but for the sake of
> me I cannot find the thread :-\
>

That's ok, I remember.  Thanks for getting this in for 12.0.  I was meaning
to do it or ping you about it.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>


> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index e4e090f..ab56d0d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1640,7 +1640,7 @@ AC_ARG_WITH([vulkan-icddir],
>      [AS_HELP_STRING([--with-vulkan-icddir=DIR],
>          [directory for the Vulkan driver icd files
> @<:@${sysconfdir}/vulkan/icd.d@:>@])],
>      [VULKAN_ICD_INSTALL_DIR="$withval"],
> -    [VULKAN_ICD_INSTALL_DIR='${sysconfdir}/vulkan/icd.d'])
> +    [VULKAN_ICD_INSTALL_DIR='${datarootdir}/vulkan/icd.d'])
>  AC_SUBST([VULKAN_ICD_INSTALL_DIR])
>
>  if test -n "$with_vulkan_drivers"; then
> --
> 2.8.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20160624/36295241/attachment.html>


More information about the mesa-stable mailing list