what if a debian package is not an application package, which will not install 
desktop file to /usr/share/applications, it might also be necessary to filter 
those non-application package when updating cache.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lo?c Minier
Sent: 2008年4月19日 17:24
To: ubuntu-mobile@lists.ubuntu.com
Subject: Re: Boot time +8sec with freedesktop.org changes

On Fri, Apr 18, 2008, Spencer, Bob wrote:
> Perhaps a light-weight daemon that uses inotify to listen for changes to
> /usr/share/applications and then update the cache.  That seems easier
> than requiring changes to debian packages, but it would be running all
> the time and new packages are installed less frequently.  

 dpkg in Ubuntu and soon in Debian will allow to use triggers, so any
 package can register interest in a tree and changes to this tree; it
 will only be told that the tree changed (and not what changed), but
 that's enough for this use case.

 See deb-triggers(5).

   HTH
-- 
Loïc Minier

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to