[Tizen-submit] 16091: Changes to Tizen:Mobile/osp-content

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


Hi,
Seokpil Park have made the following changes to osp-content in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16091

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


Message:
Submitter: Seokpil Park <seokpil.park at samsung.com>
Comments: To generate debuginfo package instead of debug package
Git project: platform/framework/native/content
Tag: submit/tizen/20131015.073752
Commit: 33852978ee0d630b951b3020379195c882aed1cc To generate debuginfo package instead of debug package

State:   new        2013-10-15T08:37:57 tizenrobot
Comment: <no comment>
old:
----
  osp-content-1.2.1.0.tar.gz

new:
----
  osp-content-1.2.2.0.tar.gz

spec files:
-----------
--- osp-content.spec
+++ osp-content.spec
@@ -1,17 +1,15 @@
-%define debug_package %{nil}
-%define __strip /bin/true
-
 Name:		osp-content
 Summary:	osp content library
-Version:	1.2.1.0
-Release:	2
-VCS:     platform/framework/native/content#submit/tizen/20130517.045516-0-gbb24c29
+Version:	1.2.2.0
+Release:	0
+VCS:     platform/framework/native/content#submit/tizen/20131015.073752-0-g33852978ee0d630b951b3020379195c882aed1cc
 Group:		System/Libraries
 License:	Apache License, Version 2.0
 Source0:	%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(alarm-service)
 BuildRequires:  pkgconfig(chromium)
+BuildRequires:  pkgconfig(aul)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(capi-content-media-content)
 BuildRequires:  pkgconfig(capi-media-metadata-extractor)
@@ -72,22 +70,18 @@
 %description internal-devel
 osp content library (Internal-DEV)
 
-%package debug
-Summary:    osp content library (Development)
-Group:      TO_BE/FILLED_IN
-Requires:   %{name} = %{version}-%{release}
-
-%description debug
-osp content library (DEV)
-
 %prep
 %setup -q
 
 %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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %else
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %endif
 
@@ -116,6 +110,3 @@
 
 %files internal-devel
 %{_includedir}/osp/content/*.h
-
-%files debug
-%{_libdir}/osp/debug/*.so*

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

++++++ osp-content-1.2.1.0.tar.gz -> osp-content-1.2.2.0.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -4,19 +4,20 @@
 
 SET(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/cmake_build_tmp/output)
 
+SET(pc_requires "osp-appfw osp-uifw osp-image osp-media osp-net chromium glib-2.0 aul capi-content-media-content capi-media-metadata-extractor capi-content-mime-type")
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED ${pc_requires})
+FOREACH(flag ${pkgs_CFLAGS})
+	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)

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


More information about the Tizen-submit mailing list