Bug#497779: Patch for mime-support to handle .desktop files

2012-03-05 Thread brian m. carlson
On Mon, Mar 05, 2012 at 05:55:32AM +0100, Michael Biebl wrote: Shouldn't you also register a file-based trigger for /usr/share/applications? One needs to be registered, yes. I figured that was something that the maintainer would take care of when he applied the patch. I'm not familiar enough

Bug#497779: Patch for mime-support to handle .desktop files

2012-03-04 Thread brian m. carlson
On Sat, Mar 03, 2012 at 11:00:12PM +0100, Michael Biebl wrote: I only quickly glanced at the patch and my perl is pretty rusty, so beware, but from what I see, you don't handle .desktop files from subdirectories. The most prominent one is /usr/share/applications/kde4. Dunno, if there are other

Bug#497779: Patch for mime-support to handle .desktop files

2012-03-04 Thread Michael Biebl
On 05.03.2012 01:59, brian m. carlson wrote: On Sat, Mar 03, 2012 at 11:00:12PM +0100, Michael Biebl wrote: I only quickly glanced at the patch and my perl is pretty rusty, so beware, but from what I see, you don't handle .desktop files from subdirectories. The most prominent one is

Bug#497779: Patch for mime-support to handle .desktop files

2012-03-03 Thread Michael Biebl
hi brian, I only quickly glanced at the patch and my perl is pretty rusty, so beware, but from what I see, you don't handle .desktop files from subdirectories. The most prominent one is /usr/share/applications/kde4. Dunno, if there are other DEs/apps using a subdirectory. Michael -- Why is it

Bug#497779: Patch for mime-support to handle .desktop files

2012-03-01 Thread brian m. carlson
tags 497779 + patch kthxbye I've attached a patch that makes mime-support read .desktop files from /usr/share/applications. I've tested it and I am able to use evince (*ahem*) to view PDFs from mutt. I would also like to point out, for the benefit of the submitter, that the entire