On Sun, Sep 14, 2014 at 10:12:41AM +0200, Pino Toscano wrote:
> Hi,
> 
> first of all, the behaviour of update-mime-database is correct: it
> deletes files in *generated* directories.
> 
> Yes, the various application, audio, text, subdirectories under
> /usr/share/mime are business of update-mime-database, where it places
> the XML mimetypes generated from the XML definitions in
> /usr/share/mime/packages. It is exactly in this directory where
> applications should install XML definitions of mime types to have them
> registered in the XDG mime type system.
> Installing stuff directly to e.g. /usr/share/mime/text is like
> installing to, say, /var/cache (i.e., you shouldn't).
> 
> Furthermore, qgo is installing wrong things, and I will send the
> proper explanation and fix to #749582.
> 
> This is not a bug in shared-mime-info, hence closing.

Ah, that's interesting.  But then:

* why are those directories in /usr/ and not in /var/ in the first
  place ?  Isn't this part of the shared-mime-info spec against the
  spirit of the FHS ?
* if it is deemed the right place for generated files, then we
  surely want a lintian check to spot the problem early
* the update-mime-database manpage is quite terse, and does not
  explain that different parts of MIME-DIR have different roles.
  It is awkward to have to read the spec to get such important
  information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to