[Tizen-submit] 5896: Changes to Tizen/capi-web-favorites

noreply at tizen.org noreply at tizen.org
Mon May 20 11:36:23 GMT 2013


Hi,
Prajwal Mohan have made the following changes to capi-web-favorites in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5896

  submit:       Tizen:build/capi-web-favorites(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.044636
Git project: platform/core/api/favorites
Tag: submit/tizen/20130517.044636
Commit: bcd6c72 [Release]capi-web-favorites_0.0.15

State:   accepted   2013-05-16T22:41:54 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:43:56 tizenrobot
old:
----
  capi-web-favorites-0.0.1.tar.gz

new:
----
  capi-web-favorites-0.0.15.tar.gz

spec files:
-----------
--- capi-web-favorites.spec
+++ capi-web-favorites.spec
@@ -1,10 +1,10 @@
 Name:       capi-web-favorites
 Summary:    Internet bookmark and history API
-Version:    0.0.1
+Version:    0.0.15
 Release:    1
-VCS:        platform/core/api/favorites#submit/tizen/20130517.015140-0-g10c2672
+VCS:        platform/core/api/favorites#submit/tizen/20130517.044636-0-gbcd6c72
 Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -31,25 +31,106 @@
 
 
 %build
-cmake . -DCMAKE_INSTALL_PREFIX=/usr
-
-
+%cmake .
 make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
 %make_install
 
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+mkdir -p /opt/usr/dbspace/
+##### History ######
+if [ ! -f /opt/usr/dbspace/.browser-history.db ];
+then
+	sqlite3 /opt/usr/dbspace/.browser-history.db 'PRAGMA journal_mode=PERSIST;
+	CREATE TABLE history(
+		id INTEGER PRIMARY KEY AUTOINCREMENT
+		, address
+		, title
+		, counter INTEGER
+		, visitdate DATETIME
+		, favicon BLOB
+		, favicon_length INTEGER
+		, favicon_w INTEGER
+		, favicon_h INTEGER
+		, snapshot BLOB
+		, snapshot_stride INTEGER
+		, snapshot_w INTEGER
+		, snapshot_h INTEGER);'
+fi
+
+### Bookmark ###
+if [ ! -f /opt/usr/dbspace/.internet_bookmark.db ];
+then
+	sqlite3 /opt/usr/dbspace/.internet_bookmark.db 'PRAGMA journal_mode=PERSIST;
+	CREATE TABLE bookmarks(
+		id INTEGER PRIMARY KEY AUTOINCREMENT
+		,type INTEGER
+		,parent INTEGER
+		,address
+		,title
+		,creationdate
+		,sequence INTEGER
+		,updatedate
+		,visitdate
+		,editable INTEGER
+		,accesscount INTEGER
+		,favicon BLOB
+		,favicon_length INTEGER
+		,favicon_w INTEGER
+		,favicon_h INTEGER

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


More information about the Tizen-submit mailing list