[packagekit] packagekit: Branch 'master' - 3 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Fri Oct 12 10:03:04 PDT 2007
TODO | 8 +++++---
libpackagekit/pk-package-id.c | 18 ++++++++++++++++++
libpackagekit/pk-package-id.h | 4 ++++
3 files changed, 27 insertions(+), 3 deletions(-)
New commits:
diff-tree 8edae6a0d76b2c7d8fee1a7a2df7091d9c00b4ba (from parents)
Merge: 84ce0e0aa2e6fad11a90d43ece31858bf1c11db2 dd1294ebf5fe42a380c110a0e82f2f5eb9405fe5
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 12 18:01:46 2007 +0100
Merge branch 'master' of git+ssh://hughsie@git.packagekit.org/srv/git/PackageKit
diff-tree 84ce0e0aa2e6fad11a90d43ece31858bf1c11db2 (from 192becd7e3899ba4ea6c0ace7dcdd2bee2ac8559)
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 12 18:01:32 2007 +0100
update TODO
diff --git a/TODO b/TODO
index 9f81e34..54e42fe 100644
--- a/TODO
+++ b/TODO
@@ -8,9 +8,6 @@ a(s=rid,s=description)=GetRepoList()
RepoEnable(s=rid,s=value)
RepoSetData(s=rid,s=data,s=value)
-*** pk-application (client) ***
-Use an icons for installed and not-installed rather than tickboxes
-
*** Prepare download to refresh system ***
Either use a flag or a new method. I'm not sure which yet.
@@ -26,3 +23,8 @@ To do rollbacks sanely in PK we need a f
* write pk_transaction_id_equal to not compare data
* allow transaction data to be changed in _db
+*** Integrate with HAL ***
+Do the HAL inhibit in packagekitd:
+http://people.freedesktop.org/~david/hal-spec/hal-spec.html
+do the g-p-m client stuff ALSO in the client program (for nice error message)
+
diff-tree dd1294ebf5fe42a380c110a0e82f2f5eb9405fe5 (from 192becd7e3899ba4ea6c0ace7dcdd2bee2ac8559)
Author: Tom Parker <palfrey at tevp.net>
Date: Fri Oct 12 18:28:05 2007 +0200
Add pk_package_id_new_from_list
diff --git a/libpackagekit/pk-package-id.c b/libpackagekit/pk-package-id.c
index af07038..c95ece4 100644
--- a/libpackagekit/pk-package-id.c
+++ b/libpackagekit/pk-package-id.c
@@ -188,6 +188,24 @@ pk_package_id_new_from_string (const gch
}
/**
+ * pk_package_id_new_from_list:
+ **/
+PkPackageId *
+pk_package_id_new_from_list (const gchar *name, const gchar *version,
+ const gchar *arch, const gchar *data)
+{
+ PkPackageId *ident = NULL;
+
+ /* create new object */
+ ident = pk_package_id_new ();
+ ident->name = g_strdup (name);
+ ident->version = g_strdup (version);
+ ident->arch = g_strdup (arch);
+ ident->data = g_strdup (data);
+ return ident;
+}
+
+/**
* pk_package_id_to_string:
**/
gchar *
diff --git a/libpackagekit/pk-package-id.h b/libpackagekit/pk-package-id.h
index 330ed5e..88050cb 100644
--- a/libpackagekit/pk-package-id.h
+++ b/libpackagekit/pk-package-id.h
@@ -35,6 +35,10 @@ typedef struct {
PkPackageId *pk_package_id_new (void);
PkPackageId *pk_package_id_new_from_string (const gchar *package_id);
+PkPackageId *pk_package_id_new_from_list (const gchar *name,
+ const gchar *version,
+ const gchar *arch,
+ const gchar *data);
gchar *pk_package_id_build (const gchar *name,
const gchar *version,
const gchar *arch,
More information about the PackageKit
mailing list