[Tizen-submit] 15979: Changes to Tizen:IVI:Release/wrt-commons

noreply at tizen.org noreply at tizen.org
Mon Oct 14 13:24:31 GMT 2013


Hi,
Hoseon LEE have made the following changes to wrt-commons in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15979

  submit:       Tizen:IVI:Release:build/wrt-commons(cleanup) -> Tizen:IVI:Release


Message:
Submitter: Hoseon LEE <hoseon46.lee at samsung.com>
Comments: Release wrt-commons
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20131014.114835
Commit: dbec08fe45b6a104ed45c3dcf1294ff96aa92973 Merge remote-tracking branch 'rsa/tizen_2.2' into tizen

State:   superseded 2013-10-14T13:10:47 tizenrobot
Comment: superseded by 15997

History: new        2013-10-14T13:08:13 tizenrobot
changes files:
--------------

old:
----
  wrt-commons-0.2.119.tar.gz

new:
----
  wrt-commons-0.2.157.tar.gz

spec files:
-----------
--- wrt-commons.spec
+++ wrt-commons.spec
@@ -1,8 +1,8 @@
 Name:       wrt-commons
 Summary:    Wrt common library
-Version:    0.2.119
+Version:    0.2.157
 Release:    1
-VCS:        platform/framework/web/wrt-commons#submit/tizen/20130912.090839-0-gfc9500cc915282026b320acfa4842f1513ae56bc
+VCS:        platform/framework/web/wrt-commons#submit/tizen/20131014.115253-0-gdbec08fe45b6a104ed45c3dcf1294ff96aa92973
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -23,12 +23,7 @@
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(libiri)
 BuildRequires:  pkgconfig(libidn)
-BuildRequires:  pkgconfig(cryptsvc)
-BuildRequires:  pkgconfig(dukgenerator)
 BuildRequires:  pkgconfig(minizip)
-BuildRequires:  libcryptsvc-devel
-BuildRequires:  dukgenerator
-Requires: libcryptsvc
 
 %description
 Wrt common library
@@ -50,11 +45,25 @@
     %define with_tests 1
 %endif
 
+%define with_child 0
+%if "%{WITH_CHILD}" == "ON" || "%{WITH_CHILD}" == "Y" || "%{WITH_CHILD}" == "YES" || "%{WITH_CHILD}" == "TRUE" || "%{WITH_CHILD}" == "1"
+    %define with_child 1
+%endif
+
 %build
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+%endif
+
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
+
 %cmake . -DVERSION=%{version} \
         -DDPL_LOG="OFF"      \
         -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
-        %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+        %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS} \
+        %{?WITH_CHILD:-DWITH_CHILD=%WITH_CHILD}
 make %{?jobs:-j%jobs}
 
 %install
@@ -71,11 +80,13 @@
 mkdir -p /opt/share/widget/data/Public
 mkdir -p %{_libdir}/wrt-plugins
 
-if [ -z ${2} ]; then
+#Don't reset DB when install on QEMU (during other packages building witch GBS)
+if [ -z "$EMULATOR_ARCHS" ]; then
+    if [ -z ${2} ]; then
     echo "This is new install of wrt-commons"
-    echo "Calling /usr/bin/wrt_commons_create_clean_db.sh"
-    /usr/bin/wrt_commons_create_clean_db.sh
-else
+        echo "Calling /usr/bin/wrt_commons_reset_db.sh"
+        /usr/bin/wrt_commons_reset_db.sh
+    else
     # Find out old and new version of databases
     WRT_OLD_DB_VERSION=`sqlite3 /opt/dbspace/.wrt.db ".tables" | grep "DB_VERSION_"`
     WRT_NEW_DB_VERSION=`cat /usr/share/wrt-engine/wrt_db.sql | tr '[:blank:]' '\n' | grep DB_VERSION_`

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


More information about the Tizen-submit mailing list