Merge branch 'tizen_3.0' into tizen 67/122867/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142936 accepted/tizen/ivi/20170404.061502 accepted/tizen/mobile/20170404.061354 accepted/tizen/tv/20170404.061429 accepted/tizen/unified/20170404.061519 accepted/tizen/wearable/20170404.061445 submit/tizen/20170404.020729
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 4 Apr 2017 00:23:57 +0000 (09:23 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 4 Apr 2017 00:23:57 +0000 (09:23 +0900)
Change-Id: I7fbb055bc75f198a4fbc83d3689029f238e12006

1  2 
packaging/ise-default.spec

@@@ -1,6 -1,12 +1,6 @@@
 -%if "%{profile}" == "mobile"
 -%define WITH_CBHM TRUE
 -%else
 -%define WITH_CBHM FALSE
 -%endif
 -
  Name:       ise-default
  Summary:    Tizen keyboard
- Version:    1.3.32
+ Version:    1.3.33
  Release:    1
  Group:      Graphics & UI Framework/Input
  License:    Apache-2.0
@@@ -138,105 -42,42 +138,99 @@@ This is intended to support wearable pr
  
  
  %build
 -export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -fvisibility=hidden"
 -export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden"
 +export CFLAGS_BASE="${CFLGAS} -DTIZEN_DEBUG_ENABLE -fvisibility=hidden"
 +export CXXFLAGS_BASE="${CXXFLAGS} -DTIZEN_DEBUG_ENABLE -std=c++11 -fvisibility-inlines-hidden"
  export FFLAGS+=" -DTIZEN_DEBUG_ENABLE"
  
 -%if "%{profile}" == "wearable"
 -CFLAGS+=" -D_WEARABLE";
 -CXXFLAGS+=" -D_WEARABLE";
 -%if "%{model_build_feature_formfactor}" == "circle"
 -CFLAGS+=" -D_CIRCLE";
 -CXXFLAGS+=" -D_CIRCLE";
 -%endif
 +rm -rf CMakeFiles
 +rm -rf CMakeCache.txt
 +
 +# This is for old profile-based OBS project optimizations.
 +# In 4.0 unified build env, this if statement is always true.
 +# Common is blocked because wearable has extra efl-ext entries, which will be
 +# removed for unified build env later.
 +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "ivi"
 +mkdir -p build_wearable_rec
 +pushd build_wearable_rec
 +export CFLAGS="${CFLAGS_BASE} -D_WEARABLE";
 +export CXXFLAGS="${CXXFLAGS_BASE} -D_WEARABLE";
- cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-          -DTARGET=wearable \
++%cmake .. -DTARGET=wearable \
 +         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 +         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
 +
 +make %{?jobs:-j%jobs}
 +popd
 +
 +mkdir -p build_wearable_cir
 +pushd build_wearable_cir
 +export CFLAGS="${CFLAGS_BASE} -D_WEARABLE -D_CIRCLE";
 +export CXXFLAGS="${CXXFLAGS_BASE} -D_WEARABLE -D_CIRCLE";
- cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-          -DTARGET=wearable \
++%cmake .. -DTARGET=wearable \
 +         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 +         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
 +
 +make %{?jobs:-j%jobs}
 +popd
  %endif
  
 -%if "%{profile}" == "mobile"
 -CFLAGS+=" -D_MOBILE";
 -CXXFLAGS+=" -D_MOBILE";
 +
 +# This is for old profile-based OBS project optimizations.
 +# In 4.0 unified build env, this if statement is always true.
 +%if "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
 +mkdir -p build_mobile
 +pushd build_mobile
 +export CFLAGS="${CFLAGS_BASE} -D_MOBILE";
 +export CXXFLAGS="${CXXFLAGS_BASE} -D_MOBILE";
- cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-          -DTARGET=mobile \
++%cmake .. -DTARGET=mobile \
 +         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 +         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
 +         -Dwith_cbhm=TRUE
 +
 +make %{?jobs:-j%jobs}
 +popd
  %endif
  
 -%if "%{profile}" == "tv"
 -CFLAGS+=" -D_TV";
 -CXXFLAGS+=" -D_TV";
 +# This is for old profile-based OBS project optimizations.
 +# In 4.0 unified build env, this if statement is always true.
 +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
 +mkdir -p build_tv
 +pushd build_tv
 +export CFLAGS="${CFLAGS_BASE} -D_TV";
 +export CXXFLAGS="${CXXFLAGS_BASE} -D_TV";
- cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-          -DTARGET=tv \
++%cmake .. -DTARGET=tv \
 +         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 +         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
 +
 +make %{?jobs:-j%jobs}
 +popd
  %endif
  
 -%if "%{profile}" == "ivi"
 -CFLAGS+=" -D_IVI";
 -CXXFLAGS+=" -D_IVI";
 +# This is for old profile-based OBS project optimizations.
 +# In 4.0 unified build env, this if statement is always true.
 +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common"
 +mkdir -p build_ivi
 +pushd build_ivi
 +export CFLAGS="${CFLAGS_BASE} -D_IVI";
 +export CXXFLAGS="${CXXFLAGS_BASE} -D_IVI";
- cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-          -DTARGET=ivi \
++%cmake .. -DTARGET=ivi \
 +         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 +         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
 +
 +make %{?jobs:-j%jobs}
 +popd
  %endif
  
 -rm -rf CMakeFiles
 -rm -rf CMakeCache.txt
 -%cmake . -DTARGET=%{?profile} \
 +# This is for old profile-based OBS project optimizations.
 +# In 4.0 unified build env, this if statement is always true.
 +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
 +export CFLAGS="${CFLAGS_BASE}";
 +export CXXFLAGS="${CXXFLAGS_BASE}";
- cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-         -DTARGET=common \
++%cmake . -DTARGET=common \
          -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
 -        -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
 -        -Dwith_cbhm=%{WITH_CBHM}
 +        -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
  
  make %{?jobs:-j%jobs}
 +%endif
  
  %install
  rm -rf %{buildroot}