[Tizen-submit] 15944: Changes to Tizen/pkgmgr-info

noreply at tizen.org noreply at tizen.org
Mon Oct 14 07:56:27 GMT 2013


Hi,
junsuk77.oh have made the following changes to pkgmgr-info in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15944

  submit:       Tizen:build/pkgmgr-info(cleanup) -> Tizen


Message:
Submitter: junsuk77.oh <junsuk77.oh at samsung.com>
Comments: Merge from rsa
Git project: platform/core/appfw/pkgmgr-info
Tag: submit/tizen/20131014.075729
Commit: 345eb73b9c48128455f91d2aedb556772b4132f2 Sync to the latest code

State:   new        2013-10-14T07:55:00 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- pkgmgr-info.spec
+++ pkgmgr-info.spec
@@ -2,7 +2,7 @@
 Summary:    Packager Manager infomation api for package
 Version:    0.0.134
 Release:    1
-VCS:        platform/core/appfw/pkgmgr-info#submit/tizen/20130916.174238-0-g612f799183b73b934958af1fb378f8dea0356150
+VCS:        platform/core/appfw/pkgmgr-info#submit/tizen/20131014.075729-0-g345eb73b9c48128455f91d2aedb556772b4132f2
 Group:      Application Framework/Package Management
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz

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

++++++ pkgmgr-info-0.0.134.tar.gz
--- include/pkgmgr-info-debug.h
+++ include/pkgmgr-info-debug.h
@@ -24,8 +24,6 @@
 
 #include <dlog.h>
 
-#undef LOG_TAG
-#define LOG_TAG		"PKGMGR_INFO"
 #define _LOGE(fmt, arg...) LOGE(fmt, ##arg)
 #define _LOGD(fmt, arg...) LOGD(fmt, ##arg)
 
--- metadata_parser_list.txt.in
+++ metadata_parser_list.txt.in
@@ -0,0 +1,4 @@
+http://developer.samsung.com/tizen/metadata/sticker
+http://developer.samsung.com/tizen/metadata/ttsengine
+http://developer.samsung.com/tizen/metadata/downloadable_filters
+http://developer.samsung.com/tizen/metadata/dictionary
\ No newline at end of file
--- parser/CMakeLists.txt
+++ parser/CMakeLists.txt
@@ -45,7 +45,7 @@
 
 ## pkgmgr_parser object (by sewook.park)
 # This library is for installer backend
-add_library(pkgmgr_parser SHARED pkgmgr_parser.c pkgmgr_parser_db.c)
+add_library(pkgmgr_parser SHARED pkgmgr_parser.c pkgmgr_parser_db.c pkgmgr_parser_signature.c)
 #add_library(pkgmgr_parser SHARED pkgmgr_parser.c)
 set_target_properties(pkgmgr_parser PROPERTIES SOVERSION ${VERSION_MAJOR})
 set_target_properties(pkgmgr_parser PROPERTIES VERSION ${VERSION})
--- parser/manifest.xsd.in
+++ parser/manifest.xsd.in
@@ -27,6 +27,7 @@
 	  <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
+	  <xs:attribute name="main_package" type="xs:string"/>
       <xs:attribute name="type" type="packages:PackageType"/>
       <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
       <xs:attribute name="size" type="xs:NMTOKEN"/>
--- parser/pkgmgr_parser.c
+++ parser/pkgmgr_parser.c
@@ -38,18 +38,28 @@
 #include "pkgmgr_parser_internal.h"
 #include "pkgmgr_parser_db.h"
 #include "pkgmgr-info.h"
+#include "pkgmgr_parser_signature.h"
+#include "pkgmgr-info-debug.h"
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+#define LOG_TAG "PKGMGR_PARSER"
 
 #define MANIFEST_RW_DIRECTORY "/opt/share/packages"
 #define MANIFEST_RO_DIRECTORY "/usr/share/packages"
 #define ASCII(s) (const char *)s
 #define XMLCHAR(s) (const xmlChar *)s
 
-#define MDPARSER_LIST "/usr/etc/package-manager/parserlib/metadata/mdparser_list.txt"
-#define MDPARSER_NAME	"mdparser:"
+#define METADATA_PARSER_LIST SYSCONFDIR "/package-manager/parserlib/metadata/metadata_parser_list.txt"
+#define METADATA_PARSER_NAME	"metadataparser:"
 
-#define CATEGORY_PARSER_LIST "/usr/etc/package-manager/parserlib/category/category_parser_list.txt"

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


More information about the Tizen-submit mailing list