[PATCH] Allow to specify wayland-protocols datadir
Pekka Paalanen
ppaalanen at gmail.com
Fri Jan 18 09:53:07 UTC 2019
On Tue, 12 Dec 2017 23:10:18 +0200
Marius Vlad <marius-cristian.vlad at nxp.com> wrote:
> This is particularly useful when cross-compiling and we need to specify a custom
> datadir path for wayland-protocols. Cross-compilation toolchain is usually
> immutable, and in this way we can modify wayland-protocols independently from
> what the toolchain provides.
>
> Signed-off-by: Marius Vlad <marius-cristian.vlad at nxp.com>
> ---
> configure.ac | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index d1b5f47..11ebc21 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -213,7 +213,13 @@ PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
>
> PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.8],
> [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
> -AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
> +AC_ARG_WITH(wayland-protocols-datadir-path,
> + AS_HELP_STRING([--with-wayland-protocols-datadir-path=PATH],
> + [Path to wayland-protocols]),
> + [WAYLAND_PROTOCOLS_DATADIR="$withval"],
> + [WAYLAND_PROTOCOLS_DATADIR="$ac_wayland_protocols_pkgdatadir"])
> +
> +AC_SUBST([WAYLAND_PROTOCOLS_DATADIR])
>
> AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],,
> enable_wayland_compositor=yes)
Hi Marius,
I noticed this patch did not land. Would we need something like this
for Meson in Weston?
This seems to be a Weston patch, but the only thing hinting at that is
the context in the diff.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190118/38df79c3/attachment.sig>
More information about the wayland-devel
mailing list