Bug 235564

Summary: invalid MIME type in /usr/share/applications/kde4/kfontview.desktop
Product: [Unmaintained] plasma4 Reporter: Laurent Bonnaud <L.Bonnaud>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, giecrilj, L.Bonnaud, l.lunak, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 250924    
Bug Blocks:    

Description Laurent Bonnaud 2010-04-27 19:34:10 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Here is the problem:

# update-desktop-database
[...]
Error in file "/usr/share/applications/kde4/kfontview.desktop": "fonts/package" is an invalid MIME type ("fonts" is an unregistered media type)
Comment 1 Laurent Bonnaud 2010-04-27 19:45:37 UTC
Also reported here:

https://bugs.launchpad.net/kdebase/+bug/570832
Comment 2 Aaron J. Seigo 2010-05-07 23:41:44 UTC
nothing to do with plasma (it's part of the kde font tools), but i have this mimetype here. it's generated by the build, apparently, so it's a packaging issue.
Comment 3 Rex Dieter 2010-09-07 19:41:26 UTC
desktop-file-utils-0.16 reports this, fonts/package to be an invalid mimetype , so is that error bogus?
Comment 4 Rex Dieter 2010-09-07 19:42:12 UTC
ok, it's in kde.xml ,

  <!-- fonts/ fake mime types -->
  <mime-type type="fonts/package">
    <sub-class-of type="application/zip"/>
    <comment>fonts package</comment>
    <glob pattern="*.fonts.zip"/>
  </mime-type>
Comment 5 Aaron J. Seigo 2010-09-09 20:00:56 UTC
it should probably be application/x-kde-fontpackage (assuming it's a kde specific mime type)
Comment 6 Christopher Yeleighton 2010-09-11 21:05:50 UTC
Contrary to the decision, it is neither resolved nor downstream.
Still present in HEAD.  Please reopen.
<URL:http://websvn.kde.org/trunk/KDE/kdelibs/mimetypes/kde.xml#xpointer(//mime-type[type="fonts/package"])>
Comment 7 Rex Dieter 2010-09-11 21:49:19 UTC
ok, I'll take care if this and related bug #250924 using the suggestion from comment #5
Comment 8 Rex Dieter 2010-09-11 22:02:04 UTC
seems
Comment 9 Laurent Bonnaud 2010-12-13 16:02:33 UTC
This bug still exists in KDE 4.5.4:

Package: kdebase-workspace-bin
Version: 4:4.5.4-0ubuntu1~maverick1~ppa1
Comment 10 Rex Dieter 2010-12-13 17:32:40 UTC
Please review/test,
http://reviewboard.kde.org/r/6111/
Comment 11 Rex Dieter 2010-12-20 23:55:37 UTC
Fixed in trunk/ with commit r1208194
Comment 12 Christoph Feck 2010-12-23 05:49:21 UTC
*** Bug 240349 has been marked as a duplicate of this bug. ***