Re: "Extension Buddy" for Fedora 9?

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

 



On Mon, 2007-11-12 at 16:48 +0100, Alexander Larsson wrote:
> 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.
> 

Bah, i wrote a /usr/lib/rpm/redhat/find-provides.d/mimetypes.prov script
(attached) which i believe should work. However, it seems rpm is only
using its internal dependency checker, so this would need some actual
rpm code changes to work. 

To much work for me...

Attachment: mimetypes.prov
Description: application/shellscript

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux