invalid MIME types in /usr/share/applications/kde4/kmplayer.desktop

Bug #570816 reported by Laurent Bonnaud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KMPlayer
Fix Released
Medium
kmplayer (Mandriva)
Fix Released
Medium
kmplayer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kmplayer

Here is the problem:

# update-desktop-database
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/mms" is an invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/pnm" is an invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/rtspt" is an invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/rtspu" is an invalid MIME type ("uri" is an unregistered media type)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: kmplayer 1:0.11.2a-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Tue Apr 27 18:33:57 2010
EcryptfsInUse: Yes
SourcePackage: kmplayer

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug is fixed in Mandriva.

Changed in kmplayer (Mandriva):
status: Unknown → Fix Released
Changed in kmplayer (Ubuntu):
status: New → Confirmed
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug is still in maverick with this package version:

Package: kmplayer
Version: 1:0.11.2b-1ubuntu2

Changed in kmplayer (Mandriva):
importance: Unknown → Medium
Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Created attachment 58212
suggseted patch

Version: unspecified (using KDE 4.6.1)
OS: Linux

.desktop files shipped in 0.11.2c fail using desktop-file-validate, among the errors include invalid mimetypes:

Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/mms" is an
invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/pnm" is an
invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/rtspt" is
an invalid MIME type ("uri" is an unregistered media type)
Error in file "/usr/share/applications/kde4/kmplayer.desktop": "uri/rtspu" is
an invalid MIME type ("uri" is an unregistered media type)

missing "Player" category, and invalid locales.

Reproducible: Always

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Created attachment 58224
suggested patch

last one missed adding "Player" to Categories

Revision history for this message
In , Koos-vriezen (koos-vriezen) wrote :

Looks fine to me. I think those uri/* mimetypes were valid in KDE3, where one could register for a certain protocol too.

Revision history for this message
In , Koos-vriezen (koos-vriezen) wrote :

SVN commit 1225583 by vriezen:

Remove uri/xxx mimetypes and x-test language

Patch from Rex Dieter

BUG:269045

 M +2 -5 kmplayer.desktop [TRAILING SPACE]
 M +1 -3 kmplayer_part.desktop

WebSVN link: http://websvn.kde.org/?view=rev&revision=1225583

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

I was reminded on irc that indeed the uri mimetypes are defined in kde.xml (in kdelibs). This probably ought to be fixed differently than just dropping them here then. I'll try to investigate the options.

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Oh, and the [x-test] locale entries will get re-added by scripty anyway.

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Ok, will likely have to take a similar approach as
http://svn.reviewboard.kde.org/r/6111/

Revision history for this message
In , Koos-vriezen (koos-vriezen) wrote :

Just let me know whether I should revert the uri/* removal. Looking at the file association configuration in konquerors settings, I think I indeed should.

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Yeah, I'd say revert it for now, pending a "proper" fix, sorry for the hassle here.

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug is still in natty with this package version:

Package: kmplayer
Version: 1:0.11.2c-1

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Wow, looks like the origin's of these mimetypes go all the way back to:
http://lists.freedesktop.org/archives/xdg/2010-October/011629.html
http://websvn.kde.org/?view=revision&revision=380464

It's been suggested we try to use the
x-scheme-handler/...
type referenced here,
http://lists.freedesktop.org/archives/xdg/2010-October/011629.html
instead, which seems like a fit to me.

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :
Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

SVN commit 1229117 by rdieter:

restore mimetypes removed in r1225583 as x-scheme-handler/ instead

CCBUG: 269045

 M +1 -1 kmplayer.desktop
 M +1 -1 kmplayer_part.desktop

WebSVN link: http://websvn.kde.org/?view=rev&revision=1229117

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug is still in oneiric (the package version is still the same as in natty).

Changed in kmplayer:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Bug fixed in saucy with this package version:

Package: kmplayer
Version: 1:0.11.3d-2

Changed in kmplayer (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Finally got annoyed enough to update reviewboard, see
https://git.reviewboard.kde.org/r/101231/
for fresh proposed patch.

Revision history for this message
In , Rdieter-math (rdieter-math) wrote :

Git commit 8e7c42a1da9d4abd7cb1d3a895f9884366beced7 by Rex Dieter.
Committed on 18/12/2014 at 13:58.
Pushed by rdieter into branch 'KDE/4.14'.

kill references to old uri/ style fake mimetypes
FIXED-IN: 4.14.4
REVIEW: 101231

M +0 -1 kio/misc/mms.protocol
M +0 -1 kio/misc/mmst.protocol
M +0 -1 kio/misc/mmsu.protocol
M +0 -1 kio/misc/pnm.protocol
M +0 -1 kio/misc/rtspt.protocol
M +0 -1 kio/misc/rtspu.protocol
M +0 -344 mimetypes/kde.xml

http://commits.kde.org/kdelibs/8e7c42a1da9d4abd7cb1d3a895f9884366beced7

Changed in kmplayer:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.