[Tizen-submit] 16094: Changes to Tizen:Mobile/osp-app-service

noreply at tizen.org noreply at tizen.org
Tue Oct 15 08:45:22 GMT 2013


Hi,
Young Ik Cho have made the following changes to osp-app-service in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16094

  submit:       Tizen:Mobile:build/osp-app-service(cleanup) -> Tizen:Mobile


Message:
Submitter: Young Ik Cho <youngik.cho at samsung.com>
Comments: fix build error
Git project: platform/framework/native/app-service
Tag: submit/tizen/20131015.035004
Commit: 35bad68bea68db28e5a34c7d1ee55c553b9950ce move logic osp-appfw -> osp-app-service

State:   new        2013-10-15T08:43:48 tizenrobot
Comment: <no comment>
spec files:
-----------
--- osp-app-service.spec
+++ osp-app-service.spec
@@ -2,7 +2,7 @@
 Summary:	osp application service
 Version:	1.2.2.1
 Release:	4
-VCS:     platform/framework/native/app-service#submit/tizen/20130912.075544-0-ge70aa1841060a95a66c6b0287c5176e19ec348c2
+VCS:     platform/framework/native/app-service#submit/tizen/20131015.035004-0-g35bad68bea68db28e5a34c7d1ee55c553b9950ce
 Group:		System/Libraries
 License:	Apache-2.0 or Flora
 Source0:	%{name}-%{version}.tar.gz
@@ -76,6 +76,8 @@
 Requires(post): coreutils
 Requires(post): /usr/bin/vconftool
 Requires(post): ss-server
+Requires(preun): /usr/bin/systemctl
+Requires(post): /usr/bin/systemctl
 
 %description
 osp application service
@@ -85,16 +87,24 @@
 
 %build 
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
 %ifarch %{ix86}
-%if 0%{?simulator}
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+	ARCH=x86
+	CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_"
+	%if 0%{?simulator}
+		CXXFLAGS="$CXXFLAGS -D_OSP_EMUL_"
+	%endif
 %else
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+	ARCH=arm
+	CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_"
 %endif
-%else
-CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%if 0%{?tizen_build_binary_release_type_eng}
+	CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
 %endif
 
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH}
+
 # Call make instruction with smp support
 make %{?jobs:-j%jobs}
 
@@ -111,6 +121,11 @@
 %define tizen_author_sign 1
 %define tizen_dist_sign 1
 
+%preun
+if [ $1 == 0 ]; then
+	systemctl stop boot-osp.service
+fi
+
 %post
 #/bin/rm -f /etc/ld.so.cache
 #/sbin/ldconfig
@@ -132,6 +147,11 @@
 	chsmack -a aospd00043 /usr/apps/aospd00043/lib
 fi
 
+systemctl daemon-reload
+if [ $1 == 1 ]; then
+	systemctl restart boot-osp.service
+fi
+
 %files
 %manifest osp-app-service.manifest
 /usr/share/license/%{name}

other changes:
--------------

++++++ osp-app-service-1.2.2.1.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -10,13 +10,6 @@
 
 INCLUDE_DIRECTORIES (

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list