fi
AM_CONDITIONAL(HAVE_MULTISEAT, test "x$enable_multiseat" = xyes)
+AC_ARG_ENABLE([default-vkb],
+ [AC_HELP_STRING([--enable-default-vkb],
+ [Enable default virtual keyboard])],
+ [],
+ [enable_default_vkb=yes])
+if test "x$enable_default_vkb" = "xyes"; then
+ AC_DEFINE(HAVE_DEFAULT_VKB, [1], [Enable default virtual keyboard])
+fi
+
AC_ARG_ENABLE(sys-uid, [ --enable-sys-uid],,
enable_sys_uid=no)
if test x$enable_sys_uid = xyes; then
%define extra_config_options3 --enable-sys-uid
%endif
+%if "%{profile}" == "ivi"
+%define extra_config_options4 --disable-default-vkb
+%endif
+
Name: weston
Version: 1.6.0
Release: 0
text_backend_configuration(struct text_backend *text_backend)
{
struct weston_config_section *section;
- char *client;
- int ret;
+ char *client = NULL;
+ int ret = -1;
section = weston_config_get_section(text_backend->compositor->config,
"input-method", NULL, NULL);
+#if HAVE_DEFAULT_VKB
ret = asprintf(&client, "%s/weston-keyboard",
weston_config_get_libexec_dir());
+#endif
if (ret < 0)
client = NULL;
+
weston_config_section_get_string(section, "path",
&text_backend->input_method.path,
client);