From 2748e9edfd35cac76b698aa19d16ddf50e904588 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Tue, 2 May 2017 10:47:43 +0900 Subject: [PATCH] [Tizen] Replace aul_rsm with screen_connector_provider and enable for only wearable profile This reverts commit f3bb7ec8c8171cfc78e69e33c74e286e98daa0f0. Change-Id: I170c1e2483b0123410d8ecb4e835a24df11d0da2 --- build/tizen/adaptor/Makefile.am | 9 +++------ build/tizen/adaptor/configure.ac | 2 +- packaging/dali-adaptor.spec | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/build/tizen/adaptor/Makefile.am b/build/tizen/adaptor/Makefile.am index 4af287a16..b19bbd3ab 100644 --- a/build/tizen/adaptor/Makefile.am +++ b/build/tizen/adaptor/Makefile.am @@ -395,7 +395,6 @@ libdali_adaptor_la_CXXFLAGS = \ $(CAPI_SYSTEM_SENSOR_CFLAGS) \ $(LIBDRM_CFLAGS) \ $(LIBEXIF_CFLAGS) \ - $(SCREENCONNECTORPROVIDER_CFLAGS) \ $(LIBCURL_CFLAGS) \ $(TPKP_CURL_CFLAGS) \ $(UTILX_CFLAGS) @@ -420,7 +419,6 @@ libdali_adaptor_la_LIBADD = \ $(CAPI_SYSTEM_SENSOR_LIBS) \ $(LIBDRM_LIBS) \ $(LIBEXIF_LIBS) \ - $(SCREENCONNECTORPROVIDER_LIBS) \ $(LIBCURL_LIBS) \ $(HARFBUZZ_LIBS) \ $(TPKP_CURL_LIBS) \ @@ -492,11 +490,10 @@ endif if WEARABLE_PROFILE libdali_adaptor_la_CXXFLAGS += \ $(HAPTIC_CFLAGS) \ - $(EFL_ASSIST_CFLAGS) - $(APPCORE_WATCH_CFLAGS) - + $(EFL_ASSIST_CFLAGS) \ + $(SCREENCONNECTORPROVIDER_CFLAGS) libdali_adaptor_la_LIBADD += \ - $(APPCORE_WATCH_LIBS) + $(SCREENCONNECTORPROVIDER_LIBS) endif if TV_PROFILE diff --git a/build/tizen/adaptor/configure.ac b/build/tizen/adaptor/configure.ac index 7e612b3cb..062f15ed4 100644 --- a/build/tizen/adaptor/configure.ac +++ b/build/tizen/adaptor/configure.ac @@ -42,7 +42,6 @@ PKG_CHECK_MODULES(FREETYPE_BITMAP_SUPPORT, [freetype2 >= $FREETYPE_BITMAP_SUPPOR PKG_CHECK_MODULES(FONTCONFIG, fontconfig) PKG_CHECK_MODULES(PNG, libpng) PKG_CHECK_MODULES(LIBEXIF, libexif) -PKG_CHECK_MODULES(SCREENCONNECTORPROVIDER, screen_connector_provider) PKG_CHECK_MODULES(LIBDRM, libdrm) PKG_CHECK_MODULES(LIBCURL, libcurl) PKG_CHECK_MODULES(HARFBUZZ, harfbuzz) @@ -223,6 +222,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 25a70367e..58479eb53 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -49,6 +49,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) @@ -56,7 +57,6 @@ BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig BuildRequires: gawk -BuildRequires: pkgconfig(screen_connector_provider) BuildRequires: giflib-devel BuildRequires: pkgconfig(fontconfig) BuildRequires: libjpeg-turbo-devel -- 2.34.1