Fedora 9 Beta, PackageKit and system-config-printer

Richard Hughes hughsient at gmail.com
Mon Mar 17 17:59:55 UTC 2008


On Mon, 2008-03-17 at 13:37 -0400, James Antill wrote:
>  Ok, I assumed this was roughly what pk-import-desktop did ... but I
> can't find that in git HEAD for PK (where is it, what does that do?).

http://gitweb.freedesktop.org/?p=packagekit.git;a=blob;hb=HEAD;f=client/pk-import-desktop.c

It's pretty horrible code, but seems to work.

>  So we need to write some yum/koji/whatever code which removes all
> the .desktop files from the rpms and does something with it?

If you could do that then pk-import-desktop could take those desktop
files and compress them into the PkExtra sqlite database that Pk
"refines" the client side results with.

>  You want to put every single .desktop file in each PackageKit release?

No, just an updated sqlite database, and in a separate tiny optional
package, something like hal-info.

> What about new releases that change the .desktop file, what about new
> pkgs to the repo, what about new translations?

Each time PackageKit-info is rebuilt the new stuff is picked up.

>  Not to mention that this would basically make it a PackageKit only
> feature.

Well yes and no. gnome-app-install (ubuntu) does actually ship all the
actual desktop files (not a small db cache), and each one is munged to
add additional data, like what package it came from.

Richard.





More information about the fedora-devel-list mailing list