← Back to team overview

registry team mailing list archive

[Bug 289592] Re: Unknown media types in /usr/share/mime/packages/kde.xml

 

Launchpad has imported 5 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=16816.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-07-23T05:25:31+00:00 Drago01 wrote:

Created an attachment (id=17837)
add -q option to update-mime-database

Currently  update-mime-database can be very noisy printing a lot of warnings when run. Normally this is not a problem but when run from a rpm scriptlet it shouldn't print anything unless its an error.
The packages can just redirect the output to /dev/null to avoid this but a cleaner solution is a "-q" option that can be passed to update-mime-database.

The attached patch adds it.

Another solution would be to print warnings only when in verbose mode.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/289592/comments/0

------------------------------------------------------------------------
On 2008-07-23T05:35:17+00:00 Bastien Nocera wrote:

(From update of attachment 17837)
There's already a -V for verbose, we should use that instead.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/289592/comments/1

------------------------------------------------------------------------
On 2008-07-23T05:37:58+00:00 Drago01 wrote:

So we should not print warnings unless in verbose mode?
Some messages like "Please run as root" are warnings and they should show up by default.

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/289592/comments/2

------------------------------------------------------------------------
On 2009-10-21T07:09:34+00:00 Samuli Suominen wrote:

Also a problem for us in Gentoo.

While I agree that KDE shouldn't be defining these at all, 
they should only show up with some switch.

http://bugs.gentoo.org/261446

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/289592/comments/8

------------------------------------------------------------------------
On 2010-01-09T10:04:10+00:00 pva wrote:

I'm not sure, but why

https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/289592
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469833
http://bugs.gentoo.org/261446

mention this bug as a "fix"? It looks like kde.xml does something
unusual and either this should became allowed in specification or
prohibited. But in any case trying to hide the problem does not sound
like a good solution. So I guess the real question here is, what do do
with the following mime:

  <!-- all/ fake mime types -->
  <mime-type type="all/all">
    <comment>all files and folders</comment>
  </mime-type>

Should update-mime-database warn about them or ignore?

Reply at: https://bugs.launchpad.net/shared-mime-
info/+bug/289592/comments/10


** Changed in: shared-mime-info
   Importance: Unknown => Wishlist

-- 
Unknown media types in /usr/share/mime/packages/kde.xml
https://bugs.launchpad.net/bugs/289592
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.