From c4852beaf3122ab08a4f76a636c00cb758851533 Mon Sep 17 00:00:00 2001 From: "taeyoon0.lee" Date: Mon, 24 Jul 2017 12:11:45 +0900 Subject: [PATCH] Revert "[Tizen] Fix build errors in adaptor-uv by ecore wayland" This reverts commit 9b580c3bc315725b86fd537edd359b9f7c3bee2c. Change-Id: I39c8053ffb65acf4a80f3565db2efe59dd0ba681 --- build/tizen/adaptor-uv/Makefile.am | 10 ++++++---- build/tizen/adaptor-uv/configure.ac | 14 +++++++++++--- 2 files changed, 17 insertions(+), 7 deletions(-) mode change 100755 => 100644 build/tizen/adaptor-uv/Makefile.am mode change 100755 => 100644 build/tizen/adaptor-uv/configure.ac diff --git a/build/tizen/adaptor-uv/Makefile.am b/build/tizen/adaptor-uv/Makefile.am old mode 100755 new mode 100644 index 55348f1..07d093f --- a/build/tizen/adaptor-uv/Makefile.am +++ b/build/tizen/adaptor-uv/Makefile.am @@ -364,7 +364,6 @@ libdali_adaptor_uv_la_CXXFLAGS = \ -DTIZEN_PLATFORM_CONFIG_SUPPORTED=${tizenPlatformConfigSupported} \ -DNON_POWER_OF_TWO_TEXTURES \ -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \ - -DWAYLAND_EXTENSIONS_SUPPORTED \ -Werror -Wall -lgcc \ $(libdali_adaptor_uv_la_includes) \ $(DALI_ADAPTOR_CFLAGS) \ @@ -428,12 +427,15 @@ libdali_adaptor_uv_la_LIBADD += $(ELEMENTARY_LIBS) \ else -if !UBUNTU_PROFILE libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS) libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS) -endif # !UBUNTU_PROFILE -endif # USE_EFL +if IVI_PROFILE +libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS) +libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS) +endif + +endif if USE_APPFW diff --git a/build/tizen/adaptor-uv/configure.ac b/build/tizen/adaptor-uv/configure.ac old mode 100755 new mode 100644 index 1f847b1..e61fccf --- a/build/tizen/adaptor-uv/configure.ac +++ b/build/tizen/adaptor-uv/configure.ac @@ -289,9 +289,10 @@ fi else -# dali-adaptor-uv needs ecore-wayland even if enable_efl==no -# because NativeRenderSurface uses it. -if test "x$enable_profile" != "xUBUNTU"; then +# For adaptors/mobile/native-render-surface-factory.cpp +PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) + +if test "x$enable_profile" = "xIVI"; then PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) fi @@ -306,6 +307,13 @@ PKG_CHECK_MODULES(WAYLAND, [ egl wayland-egl wayland-client >= 1.2.0 xkbcommon l fi fi +# remove this when we update common repos +# common profile currently does not have wayland extensions like xdg-shell +if test "x$enable_wayland" = "xyes"; then +if test "x$enable_profile" != "xCOMMON"; then +PKG_CHECK_MODULES(WAYLAND_EXTENSION, xdg-shell-client text-client input-method-client) +fi +fi AM_CONDITIONAL([USE_ECORE_WAYLAND], [test "$DALI_USE_ECORE_WAYLAND" -eq 1]) if test x$DALI_DATA_RW_DIR != x; then -- 2.7.4