In package shared-mime-info there is update-mime-database.c and around
line 51 there is a hard-programmed list of mime types used to flag
invalid MIME types

================
/* This is the list of directories to scan when finding old type files to
 * delete. It is also used to warn about invalid MIME types.
 */
const char *media_types[] = {
  "text",
  "application",
  "image",
  "audio",
  "inode",
  "video",
  "message",
  "model",
  "multipart",
  "x-content",
  "x-epoc",
  "x-scheme-handler",
};
================

in the get_type function around line 261 the program scans the hard-
coded list of mime types or it returns the error that everyone is
complaining about.

================
  for (i = 0; i < G_N_ELEMENTS(media_types); i++)
  {
    if (strcmp(media_types[i], type->media) == 0)
      return type;
  }

  g_warning("Unknown media type in type '%s'", name);
================

Dean M.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in Ubuntu.
https://bugs.launchpad.net/bugs/289592

Title:
  Unknown media types in /usr/share/mime/packages/kde.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/shared-mime-info/+bug/289592/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to