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

Adys 289592 at bugs.launchpad.net
Sun Apr 24 09:47:41 UTC 2011

adys at azura:/usr/share/mime/packages$ ack allfiles
186:  <mime-type type="all/allfiles">

adys at azura:/usr/share/mime/packages$ dlocate /usr/share/mime/packages/kde.xml
kdelibs5-data: /usr/share/mime/packages/kde.xml

adys at azura:/usr/share/mime/packages$ sudo rm kde.xml
adys at azura:/usr/share/mime/packages$ sudo apt-get install --reinstall shared-mime-info kdelibs5-data
Preparing to replace kdelibs5-data 4:4.6.2-0ubuntu4 (using .../kdelibs5-data_4%3a4.6.2-0ubuntu4_all.deb) ...
Unpacking replacement kdelibs5-data ...
Preparing to replace shared-mime-info 0.90-1ubuntu3 (using .../shared-mime-info_0.90-1ubuntu3_amd64.deb) ...
Unpacking replacement shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Setting up kdelibs5-data (4:4.6.2-0ubuntu4) ...
Setting up shared-mime-info (0.90-1ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'

Why is this invalid in kde4libs? This is where it comes from. interface/x-winamp-skin is a stupid mimetype, the uri/ mimetypes should be replaced by x-scheme-handler/ mimetypes as defined in http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2869854
Ass for the all/ mimetypes, god knows what those are.

And a quick grep on the sources:

adys at azura:~/tmp/kde4libs-4.6.2$ ack allfiles
159:    // TODO do the same for all/all and all/allfiles, if (!KServiceTypeProfile::configurationMode())

70:     * and all/allfiles are excluded from the results of the queries.

348:                    *it == "allfiles" /*compat with KDE up to 3.0.3*/) {
355:                    *it == "all/allfiles") {

114:        filter << "all/allfiles" << "text/plain";
115:        dlg->setMimeFilter( filter, "all/allfiles" );

23:    filter << "all/allfiles" << "text/plain";
24:    dlg->setMimeFilter( filter, "all/allfiles" );

186:  <mime-type type="all/allfiles">
adys at azura:~/tmp/kde4libs-4.6.2$ ack "uri/"
190:  <!-- uri/ fake mime types -->
191:  <mime-type type="uri/mms">
194:  <mime-type type="uri/mmst">
197:  <mime-type type="uri/mmsu">
200:  <mime-type type="uri/pnm">
203:  <mime-type type="uri/rtspt">
206:  <mime-type type="uri/rtspu">
adys at azura:~/tmp/kde4libs-4.6.2$ ack winamp-skin
352:        // #178560: Removing ark from interface/x-winamp-skin didn't work
353:        const QString mime = "interface/x-winamp-skin";
358:                                   "interface/x-winamp-skin=fakearkapplication.desktop;\n"));

350:  <mime-type type="interface/x-winamp-skin">

** Changed in: kde4libs (Ubuntu)
       Status: Invalid => Confirmed

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in Ubuntu.

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

More information about the kubuntu-bugs mailing list