Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Nikos Chantziaras <realnc@...>
Subject: How to install MIME types?
Date: Sun, 21 Aug 2011 21:32:13 +0300
I have an XML file that specifies MIME types for an application.  In my 
ebuild, I install it like this:

   insinto /usr/share/mime/packages
   doins someapp_mime_types.xml

I then use these calls (from fdo-mime.eclass):

   fdo-mime_desktop_database_update
   fdo-mime_mime_database_update

However, this results in:

  * Updating desktop mime database ...
ACCESS DENIED  open_wr:      /usr/share/applications/.mimeinfo.cache.ORB20V
  * Updating shared mime info database ...
/usr/bin/update-mime-database: I don't have write permission on 
/usr/share/mime. Try rerunning me as root.

What am I doing wrong?  I *am* running "emerge" as root.



Replies:
Re: How to install MIME types?
-- Peter Volkov
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
games eclass has no effect with distutils
Next by thread:
Re: How to install MIME types?
Previous by date:
games eclass has no effect with distutils
Next by date:
Re: games eclass has no effect with distutils


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.