Re: [Tracker] [PATCH] Application Indexing



On Sat, 2007-03-03 at 01:23 +0100, Marcus Rosell wrote:
This is my first patch, so please be gentle :-)

Implements .desktop file indexing as Application services.
Nothing is done to libtracker to support querying, yet. But it's a
start.

Best regards
/Marcus 


yeah mostly right

a few issues though:

1) we need to watch the dirs for desktop files (use
tracker_add_service_path to watch /usr/share/applications)

2) we use (1) above to work out its a desktop file (im not sure about
checking the extension is .desktop - Im only really interested in apps
in /usr/share/applications)

3) there can be multiple categories for a desktop file - as we use a
hashtable to do the mapping we will need to delimit them. I should
probably do this bit as we need to be able to work with multiple values
everywhere and its not an application specific issue.

4) Category should be a keyword type in the DB

I'm happy to sort out the above issues once I have finished fixing my
extremely long bug list but feel free to fix 1,2 and 4 if you like and
let me have it by end of sunday (it will probably be monday before I
have had a time to do them)

thanks,

jamie.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]