platform/core/appfw/slp-pkgmgr.git
9 years agoCode refactoring 71/33471/1
Sangyoon Jang [Mon, 12 Jan 2015 05:02:32 +0000 (14:02 +0900)]
Code refactoring

extract function from duplicate codes
refactor fork and switch statements
remove some white spaces

Change-Id: I1629c5a438d325833fa5d7388073f754a38d5341
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix build break 62/33462/1
Sangyoon Jang [Mon, 12 Jan 2015 01:15:39 +0000 (10:15 +0900)]
Fix build break

fix to use g_main_loop_quit
fix indent using tab

Change-Id: I12159071deac92bf23c876505b349709b7bf7dfd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Clean up buildscript and directory hierachy" into tizen
Semun Lee [Fri, 9 Jan 2015 13:49:22 +0000 (05:49 -0800)]
Merge "Clean up buildscript and directory hierachy" into tizen

9 years agoMerge "Add api from tizen 2.3" into tizen
Semun Lee [Fri, 9 Jan 2015 11:40:04 +0000 (03:40 -0800)]
Merge "Add api from tizen 2.3" into tizen

9 years agoMerge "remove unnecessary codes. (comm_socket)" into tizen
Semun Lee [Fri, 9 Jan 2015 11:20:12 +0000 (03:20 -0800)]
Merge "remove unnecessary codes. (comm_socket)" into tizen

9 years agoAdd api from tizen 2.3 11/33311/4
Sangyoon Jang [Thu, 8 Jan 2015 08:29:27 +0000 (17:29 +0900)]
Add api from tizen 2.3

TC-2313

added:
pkgmgr_client_request_size_info
pkgmgr_client_clear_cache_dir
pkgmgr_client_clear_all_cache_dir
pkgmgr_client_get_package_size_info
pkgmgr_client_get_total_package_size_info

and also support multi-user

Change-Id: I19ad887d6e231b266c0ab18e1b73ffc3f7b9686c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "delete executable permission from source file." into tizen
Baptiste DURAND [Thu, 8 Jan 2015 14:21:55 +0000 (06:21 -0800)]
Merge "delete executable permission from source file." into tizen

9 years agounify log-related code 76/33076/4 tizen_3.0_ivi accepted/tizen/common/20150113.085924 accepted/tizen/ivi/20150115.062919 submit/tizen_common/20150108.142014 submit/tizen_common/20150109.133122 submit/tizen_common/20150112.103909 submit/tizen_common/20150112.154626 submit/tizen_ivi/20150115.222222 tizen_3.0_ivi_release
Wonguk Jeong [Mon, 5 Jan 2015 08:26:32 +0000 (17:26 +0900)]
unify log-related code

There is divergence of codes regarding log message.
Use unified header(package-manager-debug.h) and set tag separately.

Change-Id: I57bc25b85c1779d1e418cf4ff8b95b0644486023
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoMerge "fix create cert.db" into tizen
Baptiste DURAND [Thu, 8 Jan 2015 14:07:09 +0000 (06:07 -0800)]
Merge "fix create cert.db" into tizen

9 years agoMerge "remove unnecessary code about X Display" into tizen accepted/tizen/common/20150107.102706 accepted/tizen/ivi/20150112.060641 submit/tizen_common/20150106.135602 submit/tizen_ivi/20150112.015532
Baptiste DURAND [Tue, 6 Jan 2015 13:29:11 +0000 (05:29 -0800)]
Merge "remove unnecessary code about X Display" into tizen

9 years agoRestore Popup/Graphical Mode that uses Notification Service 54/33154/1
Baptiste DURAND [Tue, 6 Jan 2015 10:08:23 +0000 (11:08 +0100)]
Restore Popup/Graphical Mode that uses Notification Service

This was deleted by commit  Remove UI related code from pkgmgr-server
e1077a0f11481a4b73ba04ccfe94af548dcf50c8

Change-Id: If8331cdbd424d64553c96ae6e028d81f54041ce6
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agodelete executable permission from source file. 30/33130/1
Wonguk Jeong [Tue, 6 Jan 2015 06:53:10 +0000 (15:53 +0900)]
delete executable permission from source file.

Change-Id: Idb9873f60ed401847eabca232404ed9c51707cfd
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoremove unnecessary codes. (comm_socket) 29/33129/1
Wonguk Jeong [Tue, 6 Jan 2015 06:46:37 +0000 (15:46 +0900)]
remove unnecessary codes. (comm_socket)

comm_socket is never used anywhere! remove it.
comm_socket is likely useless historical trace.

Change-Id: Iaa58fb8e44cc075028afe24aebb1993c52ae2048
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoClean up buildscript and directory hierachy 17/33117/2
Wonguk Jeong [Tue, 6 Jan 2015 05:32:15 +0000 (14:32 +0900)]
Clean up buildscript and directory hierachy

Top level CMakeLists files and directory herachy were massed up.

1. Separate files and move into subdirectories (top -> server, client)
2. Move configuration files into appropriate subdirectories
3. Remove unnecessary files

Change-Id: I6c601e5ba9627128b76edfe2be7827b2ca60dced
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoremove unnecessary code about X Display 71/33071/1
Wonguk Jeong [Mon, 5 Jan 2015 06:14:50 +0000 (15:14 +0900)]
remove unnecessary code about X Display

There is no HAVE_X11 macro anywhere.
And, display setting should be done system-widely

Change-Id: I4d15fb1573f0e675e453e7cd01fcd13c031a0a74
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agofix create cert.db 62/32862/1
Sabera Djelti (sdi2) [Fri, 26 Dec 2014 17:16:42 +0000 (18:16 +0100)]
fix create cert.db

Change-Id: I3a913797499cfbb049ef8536d456dcf019f1008b
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoRemove UI related code from pkgmgr-server 25/32725/2
Sangyoon Jang [Tue, 23 Dec 2014 07:30:49 +0000 (16:30 +0900)]
Remove UI related code from pkgmgr-server

remove appcore dependency from pkgmgr-server
remove quiet option

Change-Id: Ie70210327f4a620e13a0ea27db9cee44a35e246f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
10 years agoAdd Timeout for the notification 54/31954/4
Baptiste DURAND [Fri, 12 Dec 2014 11:47:09 +0000 (12:47 +0100)]
Add Timeout for the notification

The default answer will be NO if the timeout is reach

Change-Id: I12b5c0567c2c70ef2098a6df3726ebf57c0f5787
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix package management notification 53/31953/5 accepted/tizen/common/20141215.135517 accepted/tizen/ivi/20141219.050312 submit/tizen_common/20141215.091901 submit/tizen_ivi/20141217.025653 submit/tizen_ivi/20141218.004913
Baptiste DURAND [Fri, 12 Dec 2014 11:42:24 +0000 (12:42 +0100)]
Fix package management notification

If the installation backend  child process fails, send a notification to
the package manager client

BUG-Tizen=TC-2127
Change-Id: I68a5b7f1516814b14432639554548aad4c83e873
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoUse gdbus library instead of dbus-glib library for client library 51/31951/8
Baptiste DURAND [Fri, 12 Dec 2014 11:38:11 +0000 (12:38 +0100)]
Use gdbus library instead of dbus-glib library for client library

gdbus has creedential features.
This ones will be used to identify user for the resquest management
Permits to fix
Based on Tizen 2.3 version from slp-pkgmgr package
BUG-Tizen=TC-1808
BUG-Tizen=TC-2222

Change-Id: I51dbbd994804b41f1f4332f07824879df2605150
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoClean the logic in communication layer 85/31785/1 accepted/tizen/common/20141210.165735 submit/tizen_common/20141210.090430
Baptiste DURAND [Tue, 9 Dec 2014 18:59:30 +0000 (19:59 +0100)]
Clean the logic in communication layer

Fix possible memory leak in case where the connection is not in connected state it were never free'd
Don't register the connection in gmainloop => this leads to crash in stress test

Bug-Tizen=TC-1808
Change-Id: If80e0ae2d33c115f62374c4bdb7030cc2bd6f11a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMerge "Fix Uninstallation with popups." into tizen accepted/tizen/common/20141209.095440 submit/tizen_common/20141209.085338
Baptiste DURAND [Tue, 9 Dec 2014 08:53:06 +0000 (00:53 -0800)]
Merge "Fix Uninstallation  with popups." into tizen

10 years agoFix Uninstallation with popups. 12/31712/2
Baptiste DURAND [Mon, 8 Dec 2014 16:44:11 +0000 (17:44 +0100)]
Fix Uninstallation  with popups.

The CAPI used for displaying package information is not correct.

BUG-Tizen=TC-1687
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I7ab85e17d396f1e47abdaf280ef4a6a6d4157753

10 years agoRemove unnecessary execution bits from files 01/31501/1
Radoslaw Bartosiak [Fri, 5 Dec 2014 11:14:04 +0000 (12:14 +0100)]
Remove unnecessary execution bits from files

Source files (*.c, *.h) and configuration files (*.txt, *.xml, *.in)
should not have execution bit set.

Change-Id: I186e8132351a26cc29053db5deb64e85c963bc88
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
10 years agoMerge changes I1ac3d2a8,I6f459966 into tizen accepted/tizen/common/20141201.175449 accepted/tizen/ivi/20141209.013523 submit/tizen_common/20141201.092119 submit/tizen_common/20141201.173838 submit/tizen_ivi/20141208.000000
Baptiste DURAND [Mon, 1 Dec 2014 09:17:44 +0000 (01:17 -0800)]
Merge changes I1ac3d2a8,I6f459966 into tizen

* changes:
  list once global package with pkgcmd -l
  Enable to list app and pkg with pkginfo --listpkg/--listapp

10 years agolist once global package with pkgcmd -l 39/31039/1
Sabera Djelti (sdi2) [Fri, 21 Nov 2014 13:04:36 +0000 (14:04 +0100)]
list once global package with pkgcmd -l

Change-Id: I1ac3d2a8f58acdd5fb0acada05642f5100eeeb15
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoFix business logic in slp-pkgmgr-server. 33/30833/2 accepted/tizen/common/20141125.180004 accepted/tizen/ivi/20141203.010012 submit/tizen_common/20141125.175019 submit/tizen_ivi/20141201.000000 submit/tizen_ivi/20141201.014922 submit/tizen_ivi/20141202.062010
Baptiste DURAND [Tue, 25 Nov 2014 17:19:00 +0000 (18:19 +0100)]
Fix business logic in slp-pkgmgr-server.

The current logic of pkgmgr-server is not robust to a burst of installation request.
This leads to have a deadlock into pkgmgr-server.

And it doens't answer to reuqest anymore

Force to wait backend end before returning for each job that is dependent of a backend

Make pm_queue thread safe. (we can have multiple request that leads to have concurencial meassge push )

BUG-Tizen=TC-2127

Change-Id: Ib3b3b4c4c9043b395869f0ee6c16da6db0da932d
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoEnable to list app and pkg with pkginfo --listpkg/--listapp 00/30400/2
Sabera Djelti (sdi2) [Fri, 14 Nov 2014 14:51:34 +0000 (15:51 +0100)]
Enable to list app and pkg with pkginfo --listpkg/--listapp

--> put uid to callback via the handle

Bug-Tizen: TC-1590

Change-Id: I6f459966c789d53035fe5704c39d07bd789f8bbf
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoRestablish interactive installation popups 90/30690/2 accepted/tizen/common/20141124.172652 accepted/tizen/mobile/20141128.103522 submit/tizen/20141124.133049
Manuel Bachmann [Mon, 24 Nov 2014 09:53:48 +0000 (10:53 +0100)]
Restablish interactive installation popups

When using "pkgcmd" without the "-q" parameter (pkgmgr in
PM_DEFAULT_MODE), interactive notification popups will
appear to ask the user for confirmation.

These popups use the new notification API calls with the
new notification "display" service. They will work on both
Wayland and X11.

Bug-Tizen: TC-1687

Change-Id: I85e584c597dda6cbf35c82720da3b39ddb1536bf
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoMerge "add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user" into tizen
Baptiste DURAND [Wed, 12 Nov 2014 10:17:23 +0000 (02:17 -0800)]
Merge "add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user" into tizen

10 years agoadd pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user 63/29863/1
Sabera Djelti (sdi2) [Wed, 5 Nov 2014 10:56:38 +0000 (11:56 +0100)]
add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user

The creation and the synchronisation of the global/user package database made by pkg_initdb/pkg_initdb_user is now split up in two separate tools pkg_createdb/pkg_createdb_user and pkg_syncdb/pkg_syncdb_user
pkg_initdb is an obsolete tool

Change-Id: I600934572900d5b1d7e2741f4887cd0b8e96e3ea
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoCleaning the header file pkgmgr_installer.h 56/29856/1
José Bollo [Wed, 5 Nov 2014 10:02:30 +0000 (11:02 +0100)]
Cleaning the header file pkgmgr_installer.h

The commited version does not include anymore any unused file.

Change-Id: Ic8b35eb49edcb03c810b665c86553cc28b9360d7
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoRemove warnings 55/29855/1
José Bollo [Wed, 5 Nov 2014 09:33:38 +0000 (10:33 +0100)]
Remove warnings

Many functions were used without being declared.
This commit add the missing include files.

Change-Id: I8b1930386eaeb78ee2077eb429e5118018f31ad4
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoRemoving a warning 54/29854/1
José Bollo [Wed, 5 Nov 2014 09:04:28 +0000 (10:04 +0100)]
Removing a warning

When compiled, the following warning was occuring:

 warning: format not a string literal and no format arguments

This commit solves the problem.

Change-Id: I271b6fcc3376bdaba8ed4bda3221d782c3e7381d
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoFix CAPI call logic: Replace CAPI related to Common Apps with CAPI related to user... 13/28713/7 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141020.112647 accepted/tizen/3.0.m14.3/ivi/20141017.215422 accepted/tizen/common/20141014.155457 accepted/tizen/ivi/20141017.224351 submit/tizen_3.0.2014.q3_common/20141020.111623 submit/tizen_3.0.m14.3_ivi/20141017.000000 submit/tizen_common/20141014.135300 submit/tizen_ivi/20141017.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Baptiste DURAND [Tue, 14 Oct 2014 12:15:12 +0000 (14:15 +0200)]
Fix CAPI call logic: Replace CAPI related to Common Apps with CAPI related to user ones

BUG-Tizen=TC-1703
BUG-Tizen=TC-1704

Change-Id: I3cb1338ae59ed360b7fd431d8e81609ec4350de0
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoRoot should not be able to use pkgcmd tools. 52/28652/1 accepted/tizen/3.0.2014.q3/common/20141020.094321 accepted/tizen/common/20141013.150509 accepted/tizen/ivi/20141014.072144 submit/tizen_3.0.2014.q3_common/20141020.090531 submit/tizen_3.0.2014.q3_common/20141020.093726 submit/tizen_common/20141013.122308 submit/tizen_ivi/20141014.000000
Baptiste DURAND [Mon, 13 Oct 2014 09:06:30 +0000 (11:06 +0200)]
Root should not be able to use pkgcmd tools.

BUG-Tizen=TC-320

Change-Id: I0827b1d3e17a400bab950a1184c4add59ec2bc18
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix owner of /usr/share/packages directory. 19/28219/2 accepted/tizen/common/20141002.100328 accepted/tizen/ivi/20141007.214542 submit/tizen_common/20141001.093953 submit/tizen_ivi/20141007.111111
Baptiste DURAND [Tue, 30 Sep 2014 12:12:40 +0000 (14:12 +0200)]
Fix owner of /usr/share/packages directory.

To allow installation for all users, we need to assign tizenglobalapp user as owner of
/usr/share/packages

Change-Id: I17c0897f7a321ccd633c36f39ef78ca993f16665
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMerge "clean spec file" into tizen
Baptiste DURAND [Wed, 1 Oct 2014 09:18:07 +0000 (02:18 -0700)]
Merge "clean spec file" into tizen

10 years agoAdd pkg_initdb_user 59/28059/3
Sabera Djelti (sdi2) [Mon, 22 Sep 2014 15:28:01 +0000 (17:28 +0200)]
Add pkg_initdb_user

Change-Id: Ia5d480922c86e5b9d926b7ec63d411c5baed9aa3
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoclean spec file 26/28226/1
Ronan Le Martret [Tue, 30 Sep 2014 16:56:00 +0000 (18:56 +0200)]
clean spec file

 - improve rpmlint score
 - fix yocto issue
 - remove useless require

Change-Id: Iff3fdf10467d5efeb87188f8bf0a85bb4e81a003
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoFix build issue : Declare define OWNER_ROOT 35/28035/1 accepted/tizen/common/20140924.142829 accepted/tizen/ivi/20140925.212645 submit/tizen_common/20140924.142113 submit/tizen_common/20140924.142130 submit/tizen_ivi/20140924.063121 submit/tizen_ivi/20140924.150732
Baptiste DURAND [Wed, 24 Sep 2014 14:19:03 +0000 (16:19 +0200)]
Fix build issue : Declare define OWNER_ROOT

Change-Id: I4393758b78481ba00ec0b96414c2781aa498ed88
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMove tizenglobalapp user creation from slp-pkgmgr to ail submit/tizen_common/20140924.140157
Baptiste DURAND [Wed, 24 Sep 2014 13:58:45 +0000 (15:58 +0200)]
Move tizenglobalapp user creation from slp-pkgmgr to ail

(linked to https://review.tizen.org/gerrit/#/c/28031/)

Clean pkg_initdb code by removing duplicate #define

Change-Id: Icb698fa791c50ef39f3b757769e2b15593b558a3
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoDisallow user root to use pkg_info tool 00/27900/1
Baptiste DURAND [Mon, 22 Sep 2014 15:19:52 +0000 (17:19 +0200)]
Disallow user root to use pkg_info tool

Change-Id: I75c9e72263768f1009a1766ac3eed936b9bad097
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix uninstallation through backend 99/27699/1 accepted/tizen/common/20140918.092735 submit/tizen_common/20140918.091430 submit/tizen_ivi/20140919.000000 submit/tizen_ivi/20140924.000000
Baptiste DURAND [Wed, 17 Sep 2014 13:28:19 +0000 (15:28 +0200)]
Fix uninstallation through backend

Change-Id: I49067892411766deba12ae0fc7011384a2c35a3e
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoDisplay Common/System applications evenif no user apps is installed 96/27696/1
Baptiste DURAND [Wed, 17 Sep 2014 12:43:33 +0000 (14:43 +0200)]
Display Common/System applications evenif no user apps is installed

When no user's apps are installed , only a message
Failed to get usr package list is displayed.
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: Ib0f22da99b50143031295a77086ece8ccad4c9c6

10 years agoUpdate Dbus Rules according to MU Needs 28/27628/1 accepted/tizen/common/20140917.103349 submit/tizen_common/20140916.181156 submit/tizen_common/20140916.203010
Baptiste DURAND [Tue, 16 Sep 2014 17:18:31 +0000 (19:18 +0200)]
Update Dbus Rules according to MU Needs

Change-Id: I724bbf933c20a1a6a9cf9ff9286135947b13a1d4
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agochange label smack from floor to * ; set setuid bit to pkginitdb binary 27/27627/1
Sabera Djelti (sdi2) [Tue, 9 Sep 2014 14:29:58 +0000 (16:29 +0200)]
change label smack from floor to * ; set setuid bit to pkginitdb binary

Change-Id: Ic2c27593dcc664749c1fb0bd78a85407abb7a8d3
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoRetrieve tizenglobalapp uid with tzplatform_getuid 26/27626/1
Sabera Djelti (sdi2) [Tue, 2 Sep 2014 15:13:51 +0000 (17:13 +0200)]
Retrieve tizenglobalapp uid with tzplatform_getuid

+ create tizenglobalapp (ie GLOBAL_USER) user for global installation

Change-Id: Ibdac0f53d51e0212e7fe501e525b8c0b13a8aa9f
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoManage user / Global requests for installation and Uninstallation 25/27625/1
Baptiste DURAND [Fri, 5 Sep 2014 10:02:48 +0000 (12:02 +0200)]
Manage user / Global requests for installation and Uninstallation

Change-Id: I61dd33582f72f03499629e913e7dc7bda09fa1cf
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix TC-320 66/26866/3 accepted/tizen/common/20140902.160846 accepted/tizen/ivi/20140909.103719 submit/tizen_common/20140902.124717 submit/tizen_ivi/20140909.000000
Baptiste DURAND [Fri, 29 Aug 2014 13:52:14 +0000 (15:52 +0200)]
Fix TC-320

Fix listing function in pkgcmd tool
Add -G option to allow installation/uninstallation... for whole system

Change-Id: I44b6531d5a1b0de43ffa2b9c8540e52214a891b5
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoRevert "Add wrapper to fix TC-320" 65/26865/1
Baptiste DURAND [Fri, 29 Aug 2014 11:26:18 +0000 (13:26 +0200)]
Revert "Add wrapper to fix TC-320"

This reverts commit 5c67e3748c2beb9cd685390d1f0d4349f3334f0f.

Conflicts:
tool/pkgcmd.wrapper

Change-Id: If9097f274f78f706beaea5bb5e2da42fe46b4d0d

10 years agoFix use pkgmgr_appinfo_get_usr_list 82/26482/2 submit/tizen/20140826.082542 submit/tizen_ivi/20140827.000000 submit/tizen_ivi/20140828.000000 submit/tizen_ivi/20140829.000000
Sabera Djelti (sdi2) [Mon, 25 Aug 2014 06:31:16 +0000 (08:31 +0200)]
Fix use pkgmgr_appinfo_get_usr_list

Change-Id: Iea8111f3cb57f70412caf4539eb64697a50625c0
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoFix (run application with) xwalk-launcher 26/26026/1 submit/tizen_common/20140814.134251 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140822.000000
Sabera Djelti (sdi2) [Wed, 13 Aug 2014 16:04:44 +0000 (18:04 +0200)]
Fix (run application with) xwalk-launcher

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Change-Id: I1b8ff0854c19dfb0895a519ea2e0eb4cf294ed01

10 years agofix pkg_initdb 73/25873/1 submit/tizen_common/20140811.160835 submit/tizen_common/20140811.161134 submit/tizen_common/20140811.192137 submit/tizen_ivi/20140813.000000
Sabera Djelti (sdi2) [Mon, 11 Aug 2014 14:49:11 +0000 (16:49 +0200)]
fix pkg_initdb

Change-Id: Ibb4e969f530c588cc4fcf00bbbd88379f24161c1
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoMulti user features : 21/25721/3
Sabera Djelti (sdi2) [Tue, 1 Jul 2014 15:38:14 +0000 (17:38 +0200)]
Multi user features :

->Add / Use Usr App related fonctions instead of Global App related Functions

Change-Id: Ie2bc23ffe5c3d9c9ef27e47ba218ca21b1b2a0e5
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMerge "Fixed build pkgmgr rpm (unrecognized __fileno field)." into tizen
Semun Lee [Mon, 11 Aug 2014 10:45:39 +0000 (03:45 -0700)]
Merge "Fixed build pkgmgr rpm (unrecognized __fileno field)." into tizen

10 years agoFixed build pkgmgr rpm (unrecognized __fileno field). 99/25299/1
Nataliia Koval [Tue, 17 Jun 2014 11:38:42 +0000 (14:38 +0300)]
Fixed build pkgmgr rpm (unrecognized __fileno field).

Change-Id: Ib137e8992876e519e8c161bfc9c5e64944ca4df2
Signed-off-by: Nataliia Koval <nataliia.koval@globallogic.com>
10 years agoremove unused code : file pkg_fota.c 40/24640/1
Sabera Djelti (sdi2) [Thu, 17 Jul 2014 13:28:22 +0000 (15:28 +0200)]
remove unused code : file pkg_fota.c

Change-Id: If29cd4bf7e44bf318ab56da8118959fde827f9b3
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoFix 'sdb uninstall' 67/24267/1 tizen_3.0.m14.2_ivi accepted/tizen/common/20140709.220641 accepted/tizen/ivi/20140709.191421 submit/tizen_common/20140709.124849 submit/tizen_ivi/20140709.124906 tizen_3.0.m14.2_ivi_release
Stephane Desneux [Wed, 9 Jul 2014 10:59:37 +0000 (12:59 +0200)]
Fix 'sdb uninstall'

Change-Id: Ifb3ded66839de1cb4aac4fd5c0298f39c1105729
Bug-Tizen: TC-320
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agoFix pkgcmd -l to allow "sdb uninstall" to work 26/24126/1 accepted/tizen/common/20140708.163944 accepted/tizen/ivi/20140708.192435 submit/tizen_common/20140708.161908 submit/tizen_ivi/20140708.161853
Stephane Desneux [Tue, 8 Jul 2014 16:16:37 +0000 (18:16 +0200)]
Fix pkgcmd -l to allow "sdb uninstall" to work

Change-Id: Id7b8c746c0a6879292cf8fdcfd4abc5edfd0c7b9
Bug-Tizen: TC-320 TC-1387 TC-288
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agopkgcmd wrapper now handles 'pkgcmd -a' 69/24069/3 submit/tizen_common/20140708.133702 submit/tizen_ivi/20140708.133710
Stephane Desneux [Tue, 8 Jul 2014 13:01:31 +0000 (15:01 +0200)]
pkgcmd wrapper now handles 'pkgcmd -a'

Change-Id: I47ad2c6abf307f4e89e837c6d90c452dda425454
Bug-Tizen: TC-320 TC-1387 TC-288
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agoAdd wrapper to fix TC-320 16/24016/4 accepted/tizen/common/20140707.170447 accepted/tizen/ivi/20140707.200508 submit/tizen_common/20140707.162153 submit/tizen_ivi/20140707.162143
Baptiste DURAND [Mon, 7 Jul 2014 15:12:07 +0000 (17:12 +0200)]
Add wrapper to fix TC-320

Bug-Tizen: TC-320
Change-Id: I49c734ce61f0598f490223a8222582c460c8ab85
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoClean spec file 50/22750/1 submit/tizen_common/20140618.103325 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348
Kévin THIERRY [Wed, 11 Jun 2014 08:02:10 +0000 (10:02 +0200)]
Clean spec file

Adding the "-n" option to define the name of the package in the
pre/post install/uninstall scripts allows to easily parse the spec file
to create the recipe for the Yocto build. The tool used to generate the
recipes from spec files can be found here:
https://github.com/eurogiciel-oss/yoctoTizen.

Change-Id: I38ac6673c4a9afd3433bd49dc8c661fa06a0d62e
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoAdd Multi User Features 01/22001/2 submit/tizen_common/20140528.173953 submit/tizen_common/20140528.183233 submit/tizen_common/20140529.194900 submit/tizen_common/20140530.021300 submit/tizen_common/20140602.071652 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140623.000001
Baptiste DURAND [Fri, 11 Apr 2014 12:34:15 +0000 (14:34 +0200)]
Add Multi User Features

Change-Id: Id34dcc5633b6378bbd526ad4647825cb524f3d20
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoModification about smack label of db file belong to process. 82/20982/2 accepted/tizen/common/20140519.230349 submit/tizen/20140516.061258 submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644
jooseong.lee [Wed, 14 May 2014 09:44:08 +0000 (18:44 +0900)]
Modification about smack label of db file belong to process.

[Problem]
Most db files have 'floor' label.  Because these are created during image creation time.
Therefore no process can write the dbs (since 'floor' label allows only read and execute)

[Solution]
Modify smack label of the db files based on condition below referring three domain model
Condition1. Assign domain of process which creates db files
Condition2. Assign domain of process accesses db files.

Change-Id: I7538593b434e3e8a07696c12f441cbd444a31d16
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
10 years agoMerge "Add multi-user support" into tizen
Semun Lee [Thu, 20 Mar 2014 11:30:38 +0000 (04:30 -0700)]
Merge "Add multi-user support" into tizen

10 years agoAdd multi-user support 56/18256/1
Kévin THIERRY [Wed, 19 Mar 2014 10:59:50 +0000 (11:59 +0100)]
Add multi-user support

Bug-Tizen: PTREL-348
Change-Id: Ic40cc5217f0b69949f95fc78d5a469e524c269c8
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoEnable build with iniparser v 3.1 32/16732/1 accepted/tizen/generic accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140224.171150 accepted/tizen/generic/20140312.094735 accepted/tizen/ivi/20140224.183608 accepted/tizen/ivi/panda/20140312.112239 accepted/tizen/ivi/release/20140312.045237 accepted/tizen/ivi/release/20140312.121815 accepted/tizen/mobile/20140225.041730 submit/tizen/20140224.170642 submit/tizen/20140312.070644 submit/tizen_ivi_release/20140312.045339 submit/tizen_ivi_release/20140312.071114
Nicolas Zingilé [Mon, 24 Feb 2014 10:15:20 +0000 (11:15 +0100)]
Enable build with iniparser v 3.1

Bug-Tizen: PTREL-101
Change-Id: I661f9e27c5071784164aa4204a1cd5f5a6824e28
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
10 years agofix:https://bugs.tizen.org/jira/browse/PTREL-526 31/13531/3 accepted/tizen/ivi/stable accepted/tizen/generic/20140106.145514 accepted/tizen/generic/20140114.135416 accepted/tizen/ivi/20140106.203740 accepted/tizen/mobile/20140107.212843 submit/tizen/20140106.040857 submit/tizen/20140108.022426 submit/tizen_ivi_release/20140108.030124
wangfei [Fri, 3 Jan 2014 05:57:24 +0000 (00:57 -0500)]
fix:https://bugs.tizen.org/jira/browse/PTREL-526

fix PTREL-526:pkgmgr package has hard dependencies on xorg and
 affiliated libraries.

Signed-off-by: wangfei <feix.w.wang@intel.com>
Change-Id: I2f9a7b38fac1e302d1e533a975bea67abab1ae4b

11 years agoRevert workaround and fix build issue 37/11137/1 accepted/tizen/20131022.010923 accepted/tizen/20131022.162820 accepted/tizen/20131112.015416 accepted/tizen_ivi_stable/20131116.110514 submit/tizen/20131021.224902 submit/tizen_ivi_stable/20131116.100251
Chengwei Yang [Mon, 21 Oct 2013 06:02:28 +0000 (14:02 +0800)]
Revert workaround and fix build issue

Workarounds was introduced in 5556559 did fix build, but more
importantly make pkgmgr useless and trigger amd crash (PTREL-133). This
commit revert the workaround and fix the issue in sure.

Bug: https://bugs.tizen.org/jira/browse/PTREL-134
Change-Id: I45700c2c794394049130bdd7e9a0d1bd9442da18
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoThe real fix for build failure: linkage problem 36/11136/1
Chengwei Yang [Mon, 21 Oct 2013 05:50:43 +0000 (13:50 +0800)]
The real fix for build failure: linkage problem

pkgmgr_parser.so does depends on symbol defined in pkgmgr-info.so, so
the later one should comes after pkgmgr_parser at link stage.

Bug: https://bugs.tizen.org/jira/browse/PTREL-134
Change-Id: I419939f27740c67db911891ba07de6d763c0a66c
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoRevert "delete validation api to fix build error" 35/11135/1
Chengwei Yang [Mon, 21 Oct 2013 05:26:43 +0000 (13:26 +0800)]
Revert "delete validation api to fix build error"

This reverts commit 2b811ac65b2d7af0d61d95a844b4b255815bd99b.

The previous workarounds did hidden build issue and make pkgmgr useless
and crash amd.

Bug: https://bugs.tizen.org/jira/browse/PTREL-134
Change-Id: Ie9424e29f23d2d0567054b05e29b7b4ef2d7c47c
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agodelete validation api to fix build error 41/10941/1 accepted/tizen/20131015.102302 accepted/tizen/20131015.171922 submit/tizen/20131015.102630
junsuk77.oh [Tue, 15 Oct 2013 10:21:23 +0000 (19:21 +0900)]
delete validation api to fix build error

Change-Id: Ia02ffdc63a91658ac1923b8d8921633e4180fa1f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoadd pkgmgr info header to fix build error 40/10940/1 accepted/tizen/20131015.101125 submit/tizen/20131015.095213
junsuk77.oh [Tue, 15 Oct 2013 09:51:17 +0000 (18:51 +0900)]
add pkgmgr info header to fix build error

Change-Id: I3499612daa1875d58ea7e81f4bcc3efc53319d7f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoFix build breakage caused by failed attempt to merge 2.2 code 83/10883/1 submit/tizen/20131015.004635
Rusty Lynch [Mon, 14 Oct 2013 23:31:17 +0000 (16:31 -0700)]
Fix build breakage caused by failed attempt to merge 2.2 code

The pushes that attempted to add Tizen 2.2 features do not build on Tizen
for ANY platform.  This change restores the package to a buildable state
to unblock the other many packages that depend on these changes.

Change-Id: I7d9efdb22b311681fb306bc26675a11addd59e00
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
11 years agoSync to the latest code 05/10405/3 accepted/tizen/20131014.080242 submit/tizen/20131014.075642
junsuk77.oh [Tue, 1 Oct 2013 12:27:17 +0000 (21:27 +0900)]
Sync to the latest code

1. implement get size api to get package directory size
2. add upgrade listen type for listener
3. add wait time for sync api
4. implement rpm installer for corexml
5. add new api with callback to get a package size
6. kill pkgmgr server when dbus connection is fail

Change-Id: I9d9ffe8b50fc7ade8b1e20f6560b884f40d09b86
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoTIVI-1436: Add build config option for graphics backend 15/9015/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/release tizen_ivi_genivi accepted/tizen/20130912.153617 accepted/tizen/20130912.185910 accepted/tizen/20130912.194048 accepted/tizen/ivi/genivi/20140131.060031 accepted/tizen_ivi_release/20131120.050448 ivi_oct_m2 submit/tizen/20130912.080405 submit/tizen/20130912.090704 submit/tizen_ivi_genivi/20140131.060238 submit/tizen_ivi_release/20131120.023516 submit/tizen_ivi_release/20131120.025953
Rusty Lynch [Fri, 30 Aug 2013 16:12:14 +0000 (09:12 -0700)]
TIVI-1436: Add build config option for graphics backend

The server implementation needs to display popup windows in the UI.
This change will add a build time configuration option to build
for either X or wayland, with the default support set for X.

In addition to this, the dbus service files were being installed
in the wrong location and we now need a dbus confg file in order
to have permission to publish the service on the system bus.

11 years agoFix manifests 50/5850/2
Michael Leibowitz [Wed, 17 Jul 2013 21:48:06 +0000 (14:48 -0700)]
Fix manifests

put manifests in packaging/
consistent use of %{name} macros

Change-Id: I53476b5bfcfa0547aa0c3ef37335a05ed2b18de9
Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
11 years agoRemoving smack related labelling with chsmack 01/5401/2 accepted/tizen/20130717.122036 submit/tizen/20130717.043324
Elena Reshetova [Tue, 2 Jul 2013 10:15:30 +0000 (13:15 +0300)]
Removing smack related labelling with chsmack

11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.213954 submit/tizen/20130710.165502
Ryan Ware [Mon, 8 Jul 2013 17:07:21 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoMerge "resetting manifest requested domain to floor" into tizen
Ryan Ware [Mon, 8 Jul 2013 16:37:56 +0000 (09:37 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoLink pkgmgr-info after pkgmgr-parse to fix the build error in mobile. 09/5409/2 accepted/tizen/20130703.021126 submit/tizen/20130703.012853
Junfeng Dong [Tue, 2 Jul 2013 11:07:11 +0000 (19:07 +0800)]
Link pkgmgr-info after pkgmgr-parse to fix the build error in mobile.

  the error is "libpkgmgr_parser.so: undefined reference to
`pkgmgrinfo_pkginfo_get_pkginfo'"

Change-Id: I1c995f5cf86ccb30996261fe1a6a315c7401d9da
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
11 years agoresetting manifest requested domain to floor 49/5149/1
Alexandru Cornea [Mon, 1 Jul 2013 14:25:49 +0000 (17:25 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 81/4481/1
Alexandru Cornea [Fri, 28 Jun 2013 13:42:14 +0000 (16:42 +0300)]
resetting manifest requested domain to floor

11 years agospec file cleanup 57/4357/2
Anas Nashif [Thu, 27 Jun 2013 14:24:55 +0000 (10:24 -0400)]
spec file cleanup

- move away from /usr/etc to /etc
- remove obsolete debian packaging
- general spec file cleanup (group, license)

Change-Id: I3e413f30988597ab3b81dc9a243b1250250495f2
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoFixed build on 64 bit systems accepted/tizen/20130603.181624 submit/tizen/20130603.105846
Anas Nashif [Mon, 3 Jun 2013 10:58:42 +0000 (06:58 -0400)]
Fixed build on 64 bit systems

11 years agoRemove license/group placeholders submit/tizen/20130601.183631
Anas Nashif [Sat, 1 Jun 2013 18:36:27 +0000 (14:36 -0400)]
Remove license/group placeholders

11 years agoReplace the manifest files with the baseline floor definition 97/3597/1 accepted/tizen/20130521.102344 submit/tizen/20130520.233925
Rusty Lynch [Mon, 20 May 2013 20:43:42 +0000 (13:43 -0700)]
Replace the manifest files with the baseline floor definition

11 years agodo not hardcode library paths accepted/tizen/20130520.103548 submit/tizen/20130517.185027
Anas Nashif [Fri, 17 May 2013 18:50:04 +0000 (14:50 -0400)]
do not hardcode library paths

11 years agodo not exclude binaries, delete them submit/tizen/20130517.183738
Anas Nashif [Fri, 17 May 2013 18:36:57 +0000 (14:36 -0400)]
do not exclude binaries, delete them

- fixed install on 64 bit systems

11 years agodo not exclude binaries, just delete them submit/tizen/20130517.182746
Anas Nashif [Fri, 17 May 2013 18:27:04 +0000 (14:27 -0400)]
do not exclude binaries, just delete them

11 years agodo not exclude binaries, just delete them accepted/tizen/20130520.103554 submit/tizen/20130517.181148
Anas Nashif [Fri, 17 May 2013 18:11:44 +0000 (14:11 -0400)]
do not exclude binaries, just delete them

11 years agodo not exclude binaries, just delete them
Anas Nashif [Fri, 17 May 2013 18:11:27 +0000 (14:11 -0400)]
do not exclude binaries, just delete them

11 years agofix get size api as sync function tizen_2.1 accepted/tizen/20130520.100933 submit/tizen/20130517.044823 submit/tizen_2.1/20130516.045829
junsuk77.oh [Wed, 15 May 2013 04:47:57 +0000 (13:47 +0900)]
fix get size api as sync function

Change-Id: I567abbdd5392d85c0fb37f659aa316eb1b7af0e2
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agopkgcmd killapp run on server submit/tizen_2.1/20130515.031847
junsuk77.oh [Tue, 14 May 2013 11:42:32 +0000 (20:42 +0900)]
pkgcmd killapp run on server

Change-Id: Icd0c142cd3654bfd81436eaacabbe35b2f134c9e
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoadd user data to get size api
junsuk77.oh [Tue, 14 May 2013 04:39:36 +0000 (13:39 +0900)]
add user data to get size api

Change-Id: Id4f2faf328b42d28f463a3f85a32b2770463089f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agochange input param on get size api, add smack label after pkg_initdb submit/tizen_2.1/20130514.054730
junsuk77.oh [Mon, 13 May 2013 09:03:36 +0000 (18:03 +0900)]
change input param on get size api, add smack label after pkg_initdb

Change-Id: I10431458942366e8cc538e34866580784a5a8793
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomove can get the callback
junsuk77.oh [Fri, 10 May 2013 04:46:24 +0000 (13:46 +0900)]
move can get the callback

Change-Id: I5f3a7f411778d83599b8f61bd13c09b20c8833d1
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomake application folder during pkg installation
junsuk77.oh [Thu, 9 May 2013 07:32:21 +0000 (16:32 +0900)]
make application folder during pkg installation

Change-Id: I7f64a70e4309ed35721e60aace10d2bc1ff1dd8b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoget package size using pkg server, clean LOG_TAG
junsuk77.oh [Thu, 9 May 2013 02:47:57 +0000 (11:47 +0900)]
get package size using pkg server, clean LOG_TAG

Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>