
On 03/01/2012 05:39 PM, Vincent Untz wrote:
Le jeudi 01 mars 2012, à 17:29 +0100, Duncan Mac-Vicar P. a écrit :
I was trying to figure out what is missing to get the software center in a "usable" state now that coolo added the metadata to the repositories.
http://en.opensuse.org/openSUSE:GSOC_2011/SoftwareCenter
- I copied http://download.opensuse.org/factory/repo/oss/suse/setup/descr/appdata.xml to data/app-stream - installed gnome-packagekit intltool python-distutils-extra po4a python-piston-mini
After editing the Gtk css files I can make the app to start. However I have been unable to get this step:
./utils/update-software-center --appstream-only --local
to succeed. Anyone has?
It works (or at least, worked) with a much smaller appdata.xml. But with the Factory one, it doesn't.
I've looked very quickly, and we need some major rework there as it apparently queries packagekit for all applications, and it takes something like 1 or 2 seconds per application. So it's extremely slow, and on top of that, packagekitd blows up after a while (with what looks like a memory leak going on).
I was reading softwarecenter/db/update.py and it looks like it parses the appdata.xml and writes the xapian database. What query does it then to PackageKit? -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-softwaremgmt+owner@opensuse.org