[Tizen-submit] 19461: Changes to Tizen:IVI:Release/pkgmgr-info

noreply at tizen.org noreply at tizen.org
Wed Jan 8 03:05:01 GMT 2014


Hi,
Graydon, Tracy have made the following changes to pkgmgr-info in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19461

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


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_release/20140108.030126
Git project: platform/core/appfw/pkgmgr-info
Tag: submit/tizen_ivi_release/20140108.030126
Commit: ec0bcf51f1c31ad7db898678e339501e7b82d4f7 fix : undefined reference to `__get_pkg_location'

State:   new        2014-01-08T03:02:26 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- pkgmgr-info.spec
+++ pkgmgr-info.spec
@@ -1,8 +1,8 @@
 Name:       pkgmgr-info
+VCS:        platform/core/appfw/pkgmgr-info#ec0bcf51f1c31ad7db898678e339501e7b82d4f7
 Summary:    Packager Manager infomation api for package
 Version:    0.0.134
 Release:    1
-VCS:        platform/core/appfw/pkgmgr-info#submit/tizen/20131022.200447-0-g4041fb59c543fc6b122d40f25c7db94f082ffaaf
 Group:      Application Framework/Package Management
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -12,7 +12,9 @@
 BuildRequires:	pkgconfig(vconf)
 BuildRequires:	pkgconfig(sqlite3)
 BuildRequires:	pkgconfig(db-util)
-BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:pkgconfig(libxml-2.0)
+BuildRequires:	pkgconfig(dbus-1)
+BuildRequires:	pkgconfig(dbus-glib-1)
 
 %description
 Packager Manager infomation api for packaging

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

++++++ pkgmgr-info-0.0.134.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -18,14 +18,14 @@
 
 ### Required packages
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED glib-2.0 dlog vconf sqlite3 db-util libxml-2.0)
+pkg_check_modules(pkgs REQUIRED glib-2.0 dlog vconf sqlite3 db-util libxml-2.0 dbus-1 dbus-glib-1)
 
 FOREACH(flag ${pkgs_CFLAGS})
 	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
 
 
-pkg_check_modules(libpkgs REQUIRED glib-2.0 dlog vconf sqlite3 db-util libxml-2.0)
+pkg_check_modules(libpkgs REQUIRED glib-2.0 dlog vconf sqlite3 db-util libxml-2.0 dbus-1 dbus-glib-1)
 
 FOREACH(flag ${libpkgs_CFLAGS})
 	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
--- include/pkgmgr-info.h
+++ include/pkgmgr-info.h
@@ -5346,6 +5346,48 @@
  */
  int pkgmgrinfo_appinfo_set_guestmode_visibility(pkgmgrinfo_appinfo_h handle, bool status);
 
+/**
+ * @pkgmgrinfo client API
+**/
+
+/**
+ * @brief listening status type in pkgmgrinfo.
+ */
+#define PMINFO_CLIENT_STATUS_ALL						0x00
+#define PMINFO_CLIENT_STATUS_INSTALL					0x01
+#define PMINFO_CLIENT_STATUS_UNINSTALL					0x02
+#define PMINFO_CLIENT_STATUS_UPGRADE					0x04
+#define PMINFO_CLIENT_STATUS_MOVE						0x08
+#define PMINFO_CLIENT_STATUS_CLEAR_DATA					0x10
+#define PMINFO_CLIENT_STATUS_INSTALL_PROGRESS			0x20
+
+/**
+ * @brief type definition.
+ */
+typedef void pkgmgrinfo_client;
+typedef int (*pkgmgrinfo_handler)(int req_id, const char *pkg_type,
+				const char *pkgid, const char *key,
+				const char *val, const void *pmsg, void *data);
+
+typedef enum {
+	PMINFO_REQUEST = 0,
+	PMINFO_LISTENING,
+	PMINFO_BROADCAST,
+}pkgmgrinfo_client_type;

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


More information about the Tizen-submit mailing list