From: junsuk77.oh Date: Wed, 20 Mar 2013 03:40:12 +0000 (+0900) Subject: Applied privileges tag plugin X-Git-Tag: 2.1b_release~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=930f5d770402ca1e93e3fd8ff8fb165702446ef4;p=framework%2Fappfw%2Fpkgmgr-info.git Applied privileges tag plugin Change-Id: I3ef68bc1363be586fc6fb810fe7587d78e0b77b3 Signed-off-by: junsuk77.oh --- diff --git a/packaging/pkgmgr-info.spec b/packaging/pkgmgr-info.spec index f6c62bf..3ed911d 100755 --- a/packaging/pkgmgr-info.spec +++ b/packaging/pkgmgr-info.spec @@ -1,6 +1,6 @@ Name: pkgmgr-info Summary: Packager Manager infomation api for package -Version: 0.0.87 +Version: 0.0.88 Release: 1 Group: System/Libraries License: Apache License, Version 2.0 diff --git a/parser/manifest.xsd.in b/parser/manifest.xsd.in index fee2ad1..b9c5211 100755 --- a/parser/manifest.xsd.in +++ b/parser/manifest.xsd.in @@ -18,7 +18,8 @@ - + + @@ -161,6 +162,8 @@ + + diff --git a/parser/pkgmgr_parser.c b/parser/pkgmgr_parser.c index a2e5835..8eb80c0 100755 --- a/parser/pkgmgr_parser.c +++ b/parser/pkgmgr_parser.c @@ -3049,6 +3049,8 @@ static int __start_process(xmlTextReaderPtr reader, manifest_x * mfx) continue; } else if (!strcmp(ASCII(node), "notifications")) { continue; + } else if (!strcmp(ASCII(node), "privileges")) { + continue; } else return -1; @@ -3915,7 +3917,7 @@ API manifest_x *pkgmgr_parser_process_manifest_xml(const char *manifest) API int pkgmgr_parser_parse_manifest_for_installation(const char *manifest, char *const tagv[]) { - char *temp[] = {"shortcut-list", "livebox", "account", "notifications", NULL}; + char *temp[] = {"shortcut-list", "livebox", "account", "notifications", "privileges", NULL}; if (manifest == NULL) { DBG("argument supplied is NULL\n"); return PMINFO_R_EINVAL; @@ -3978,7 +3980,7 @@ API int pkgmgr_parser_create_desktop_file(manifest_x *mfx) API int pkgmgr_parser_parse_manifest_for_upgrade(const char *manifest, char *const tagv[]) { - char *temp[] = {"shortcut-list", "livebox", "account", "notifications", NULL}; + char *temp[] = {"shortcut-list", "livebox", "account", "notifications", "privileges", NULL}; if (manifest == NULL) { DBG("argument supplied is NULL\n"); return PMINFO_R_EINVAL; @@ -4018,7 +4020,7 @@ API int pkgmgr_parser_parse_manifest_for_upgrade(const char *manifest, char *con API int pkgmgr_parser_parse_manifest_for_uninstallation(const char *manifest, char *const tagv[]) { - char *temp[] = {"shortcut-list", "livebox", "account", "notifications", NULL}; + char *temp[] = {"shortcut-list", "livebox", "account", "notifications", "privileges", NULL}; if (manifest == NULL) { DBG("argument supplied is NULL\n"); return PMINFO_R_EINVAL;