"Extension Buddy" for Fedora 9?

Mark markg85 at gmail.com
Mon Nov 12 15:59:42 UTC 2007


2007/11/12, Alexander Larsson <alexl at redhat.com>:
>
> On Mon, 2007-11-12 at 16:40 +0100, Ralf Ertzinger wrote:
> > Hi.
> >
> > On Mon, 12 Nov 2007 13:35:20 +0100, Alexander Larsson wrote:
> >
> > > It would be cool if we could autoextract mime handling information
> > > from desktop files installed in /usr/share/applications and generate
> > > "mime(application/pdf)" style rpm provides.
> >
> > YOu know, I like that idea. A lot.
>
> This will figure out the provides needed:
>
> for i in `grep -h MimeType /usr/share/applications/* | sed "s/^MimeType=//" | sed "s/;/\n/g" | sort -u`; do echo "mime($i)"; done
>
> Someone just has to turn it into a proper rpm find-provides thing.

You really seem to like this idea don't you? ^_^

And a bug report: https://bugzilla.redhat.com/show_bug.cgi?id=378061




More information about the devel mailing list