From b47d46ecb5ece6a8139a24707d4e068c7987328c Mon Sep 17 00:00:00 2001 From: "Jinho, Lee" Date: Tue, 4 Jul 2017 21:55:05 +0900 Subject: [PATCH] Use screen connector - Replace aul_rsm with screen_connector_provider and enable for only wearable profile Change-Id: Ie1a0c47ea079ed2b06d22f98158389d07043ca11 --- adaptors/tizen/adaptor-impl-tizen.cpp | 4 ++-- build/tizen/adaptor/Makefile.am | 2 ++ build/tizen/adaptor/configure.ac | 1 + packaging/dali-adaptor.spec | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/adaptors/tizen/adaptor-impl-tizen.cpp b/adaptors/tizen/adaptor-impl-tizen.cpp index 1c5c719..1619139 100644 --- a/adaptors/tizen/adaptor-impl-tizen.cpp +++ b/adaptors/tizen/adaptor-impl-tizen.cpp @@ -21,7 +21,7 @@ // EXTERNAL INCLUDES #include #ifdef APPCORE_WATCH_AVAILABLE -#include +#include #include #endif @@ -78,7 +78,7 @@ void Adaptor::SurfaceInitialized() app_get_id(&appId); Ecore_Wl_Window* ecoreWlWindow = AnyCast( mNativeWindow ); - aul_rsm_provider_remote_enable(appId, ecore_wl_window_surface_get(ecoreWlWindow)); + screen_connector_provider_remote_enable(appId, ecore_wl_window_surface_get(ecoreWlWindow)); #endif } diff --git a/build/tizen/adaptor/Makefile.am b/build/tizen/adaptor/Makefile.am index 6a4ae0a..f225a8b 100644 --- a/build/tizen/adaptor/Makefile.am +++ b/build/tizen/adaptor/Makefile.am @@ -509,9 +509,11 @@ if WEARABLE_PROFILE libdali_adaptor_la_CXXFLAGS += \ $(HAPTIC_CFLAGS) \ $(EFL_ASSIST_CFLAGS) \ + $(SCREENCONNECTORPROVIDER_CFLAGS) \ $(APPCORE_WATCH_CFLAGS) libdali_adaptor_la_LIBADD += \ + $(SCREENCONNECTORPROVIDER_LIBS) \ $(APPCORE_WATCH_LIBS) endif diff --git a/build/tizen/adaptor/configure.ac b/build/tizen/adaptor/configure.ac index 367e2ac..a1a8ca0 100644 --- a/build/tizen/adaptor/configure.ac +++ b/build/tizen/adaptor/configure.ac @@ -230,6 +230,7 @@ fi if test "x$enable_profile" = "xWEARABLE"; then PKG_CHECK_MODULES(OPENGLES20, glesv2) +PKG_CHECK_MODULES(SCREENCONNECTORPROVIDER, screen_connector_provider) PKG_CHECK_MODULES(APPFW_WATCH, capi-appfw-watch-application, [watch_available=yes], [watch_available=no] ) PKG_CHECK_MODULES(APPCORE_WATCH, appcore-watch) diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index bf8332c..334f065 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -48,6 +48,7 @@ BuildRequires: pkgconfig(libtzplatform-config) %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" BuildRequires: pkgconfig(capi-appfw-watch-application) BuildRequires: pkgconfig(appcore-watch) +BuildRequires: pkgconfig(screen_connector_provider) %endif BuildRequires: pkgconfig(gles20) @@ -55,7 +56,6 @@ BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig BuildRequires: gawk -BuildRequires: pkgconfig(aul) BuildRequires: giflib-devel BuildRequires: pkgconfig(fontconfig) BuildRequires: libjpeg-turbo-devel -- 2.7.4