From: minho.sun Date: Wed, 18 May 2016 02:10:44 +0000 (+0900) Subject: Revert "[3.0] Fix ivi build error" X-Git-Tag: accepted/tizen/common/20160524.150510~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b9782b0e03c0ea47e1c30f6fb4614fa03b0a62a;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[3.0] Fix ivi build error" This reverts commit d120d7a02ab209a4b5347eb59727a509bb655958. Change-Id: Ib412cefdecb727da0d84348c9426753c995ec114 --- diff --git a/build/tizen/adaptor-uv/Makefile.am b/build/tizen/adaptor-uv/Makefile.am index 7346cd3..15e2cf3 100644 --- a/build/tizen/adaptor-uv/Makefile.am +++ b/build/tizen/adaptor-uv/Makefile.am @@ -88,10 +88,6 @@ adaptor_tv_dir = ../../../adaptors/tv include ../../../adaptors/tv/file.list endif -# IVI -adaptor_mobile_dir = ../../../adaptors/mobile -include ../../../adaptors/mobile/file.list - # Public API adaptor_public_api_dir = ../../../adaptors/public-api include ../../../adaptors/public-api/file.list @@ -238,32 +234,6 @@ endif # WAYLAND endif -# IVI -if IVI_PROFILE - -adaptor_internal_src_files += $(adaptor_common_internal_src_files) \ - $(adaptor_common_internal_mobile_profile_src_files) \ - $(adaptor_tizen_internal_src_files) \ - $(static_libraries_libunibreak_src_files) - -if WAYLAND -if USE_ECORE_WAYLAND -adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files) -else -adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files) -endif # USE_ECORE_WAYLAND - -adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files)\ - $(adaptor_tizen_internal_native_image_src_files) - -else -adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \ - $(adaptor_common_internal_egl_extension_src_files) -endif # WAYLAND - -endif # IVI_PROFILE - - # Node JS support for using an external libuv main loop. If not enabled then just use e-core as normal # Used for things like callbacks, file-monintors, x input handling if LIB_UV_EVENT_LOOP @@ -434,11 +404,6 @@ libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS) libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS) endif -if IVI_PROFILE -libdali_adaptor_uv_la_CXXFLAGS += $(ECORE_WAYLAND_CFLAGS) -libdali_adaptor_uv_la_LIBADD += $(ECORE_WAYLAND_LIBS) -endif - endif if USE_APPFW @@ -495,19 +460,6 @@ libdali_adaptor_uv_la_CXXFLAGS += $(HAPTIC_CFLAGS) libdali_adaptor_uv_la_LIBADD += endif -if IVI_PROFILE -libdali_adaptor_uv_la_CXXFLAGS += \ - $(DEVICED_CFLAGS) \ - $(EFL_ASSIST_CFLAGS) \ - $(NATIVE_BUFFER_CFLAGS) \ - $(NATIVE_BUFFER_POOL_CFLAGS) - -libdali_adaptor_uv_la_LIBADD += \ - $(EFL_ASSIST_LIBS) \ - $(NATIVE_BUFFER_LIBS) \ - $(NATIVE_BUFFER_POOL_LIBS) -endif - if UBUNTU_PROFILE libdali_adaptor_uv_la_LIBADD += -ljpeg CFLAGS += -fPIC diff --git a/build/tizen/adaptor-uv/configure.ac b/build/tizen/adaptor-uv/configure.ac index 5234155..ee79085 100644 --- a/build/tizen/adaptor-uv/configure.ac +++ b/build/tizen/adaptor-uv/configure.ac @@ -189,13 +189,13 @@ AC_ARG_WITH([tizen-2-2-compatibility], # Tizen Profile options AC_ARG_ENABLE([profile], - [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,IVI,UBUNTU], + [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,UBUNTU], [Select the variant of tizen])], [enable_profile=$enableval], [enable_profile=COMMON]) # Ensure valid profile selected -if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xIVI" -a "x$enable_profile" != "xUBUNTU"; then +if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xUBUNTU"; then AC_MSG_ERROR([$enable_profile is an invalid profile]) fi @@ -210,7 +210,6 @@ AM_CONDITIONAL([COMMON_PROFILE], [test x$enable_profile = xCOMMON]) AM_CONDITIONAL([MOBILE_PROFILE], [test x$enable_profile = xMOBILE]) AM_CONDITIONAL([WEARABLE_PROFILE], [test x$enable_profile = xWEARABLE]) AM_CONDITIONAL([TV_PROFILE], [test x$enable_profile = xTV]) -AM_CONDITIONAL([IVI_PROFILE], [test x$enable_profile = xIVI]) AM_CONDITIONAL([UBUNTU_PROFILE], [test x$enable_profile = xUBUNTU]) AM_CONDITIONAL([WAYLAND], [test x$enable_wayland = xyes]) AM_CONDITIONAL([USE_EFL], [test x$enable_efl = xyes]) @@ -243,10 +242,6 @@ if test "x$enable_profile" = "xTV"; then PKG_CHECK_MODULES(OPENGLES20, glesv2) fi -if test "x$enable_profile" = "xIVI"; then -PKG_CHECK_MODULES(OPENGLES20, glesv2) -fi - if test "x$enable_profile" = "xUBUNTU"; then PKG_CHECK_MODULES(OPENGLES20, glesv2 egl) else @@ -300,9 +295,6 @@ fi if test "x$enable_profile" = "xCOMMON"; then PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) fi -if test "x$enable_profile" = "xIVI"; then -PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) -fi fi # Using Wayland API directly ( main loop agnostic, typically for running on libuv) diff --git a/build/tizen/adaptor/Makefile.am b/build/tizen/adaptor/Makefile.am index 4afdd15..913f553 100644 --- a/build/tizen/adaptor/Makefile.am +++ b/build/tizen/adaptor/Makefile.am @@ -88,10 +88,6 @@ adaptor_tv_dir = ../../../adaptors/tv include ../../../adaptors/tv/file.list endif -# IVI -adaptor_mobile_dir = ../../../adaptors/mobile -include ../../../adaptors/mobile/file.list - # Public API adaptor_public_api_dir = ../../../adaptors/public-api include ../../../adaptors/public-api/file.list @@ -242,33 +238,6 @@ endif # WAYLAND endif -# IVI -if IVI_PROFILE - -adaptor_internal_src_files += $(adaptor_common_internal_src_files) \ - $(adaptor_common_internal_mobile_profile_src_files) \ - $(adaptor_tizen_internal_src_files) \ - $(static_libraries_libunibreak_src_files) - -if WAYLAND - -if USE_ECORE_WAYLAND -adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files) -else -adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files) -endif # USE_ECORE_WAYLAND - -adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \ - $(adaptor_tizen_internal_native_image_src_files) -else -adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \ - $(adaptor_common_internal_egl_extension_src_files) -endif # WAYLAND - -endif # IVI_PROFILE - - - # Node JS support for using an external libuv main loop. If not enabled then just use e-core as normal # Used for things like callbacks, file-monintors, x input handling if LIB_UV_EVENT_LOOP @@ -489,19 +458,6 @@ libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS) libdali_adaptor_la_LIBADD += endif -if IVI_PROFILE -libdali_adaptor_la_CXXFLAGS += \ - $(DEVICED_CFLAGS) \ - $(EFL_ASSIST_CFLAGS) \ - $(NATIVE_BUFFER_CFLAGS) \ - $(NATIVE_BUFFER_POOL_CFLAGS) - -libdali_adaptor_la_LIBADD += \ - $(EFL_ASSIST_LIBS) \ - $(NATIVE_BUFFER_LIBS) \ - $(NATIVE_BUFFER_POOL_LIBS) -endif - if UBUNTU_PROFILE libdali_adaptor_la_LIBADD += -ljpeg CFLAGS += -fPIC diff --git a/build/tizen/adaptor/configure.ac b/build/tizen/adaptor/configure.ac index dabfb44..a415c13 100644 --- a/build/tizen/adaptor/configure.ac +++ b/build/tizen/adaptor/configure.ac @@ -172,13 +172,13 @@ AC_ARG_WITH([tizen-2-2-compatibility], # Tizen Profile options AC_ARG_ENABLE([profile], - [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,IVI,UBUNTU], + [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,UBUNTU], [Select the variant of tizen])], [enable_profile=$enableval], [enable_profile=COMMON]) # Ensure valid profile selected -if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xIVI" -a "x$enable_profile" != "xUBUNTU"; then +if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xUBUNTU"; then AC_MSG_ERROR([$enable_profile is an invalid profile]) fi @@ -193,7 +193,6 @@ AM_CONDITIONAL([COMMON_PROFILE], [test x$enable_profile = xCOMMON]) AM_CONDITIONAL([MOBILE_PROFILE], [test x$enable_profile = xMOBILE]) AM_CONDITIONAL([WEARABLE_PROFILE], [test x$enable_profile = xWEARABLE]) AM_CONDITIONAL([TV_PROFILE], [test x$enable_profile = xTV]) -AM_CONDITIONAL([IVI_PROFILE], [test x$enable_profile = xIVI]) AM_CONDITIONAL([UBUNTU_PROFILE], [test x$enable_profile = xUBUNTU]) AM_CONDITIONAL([WAYLAND], [test x$enable_wayland = xyes]) AM_CONDITIONAL([USE_EFL], [test x$enable_efl = xyes]) @@ -229,10 +228,6 @@ if test "x$enable_profile" = "xTV"; then PKG_CHECK_MODULES(OPENGLES20, glesv2) fi -if test "x$enable_profile" = "xIVI"; then -PKG_CHECK_MODULES(OPENGLES20, glesv2) -fi - if test "x$enable_profile" = "xUBUNTU"; then PKG_CHECK_MODULES(OPENGLES20, glesv2 egl) else diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 83f5030..2b92707 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -55,14 +55,6 @@ BuildRequires: pkgconfig(gles20) %define gles_requirement_setup 1 %endif -%if "%{profile}" == "ivi" -%define dali_profile IVI -%define dali_feedback_plugin 0 -%define shaderbincache_flag DISABLE -BuildRequires: pkgconfig(glesv2) -%define gles_requirement_setup 1 -%endif - %if "%{profile}" == "common" %define dali_profile COMMON %define dali_feedback_plugin 0