Bug 342 - bad MIME type for kmailservice.desktop
Summary: bad MIME type for kmailservice.desktop
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: John Balcaen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 18:44 CET by Yann Ciret
Modified: 2011-04-13 13:13 CEST (History)
1 user (show)

See Also:
Source RPM: desktop-file-utils-0.17-1.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Yann Ciret 2011-03-11 18:44:02 CET
Description of problem:

urpmi --auto-upgrade --keep give me some warnings :

Warning in file "/usr/share/applications/kde4/kmailservice.desktop": usage of MIME type "x-scheme-handler/mailto" is discouraged (the use of "x-scheme-handler" as media type is strongly discouraged in favor of a subtype of the "application" media type)

Reproducible: 

Steps to Reproduce:
Comment 1 Yann Ciret 2011-03-11 18:53:06 CET
I forgot these warnings for kdelibs4-4.6.1-2.mga1.src.rpm :

Warning in file "/usr/share/applications/kde4/ktelnetservice.desktop": usage of MIME type "x-scheme-handler/telnet" is discouraged (the use of "x-scheme-handler" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Warning in file "/usr/share/applications/kde4/ktelnetservice.desktop": usage of MIME type "x-scheme-handler/rlogin" is discouraged (the use of "x-scheme-handler" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Warning in file "/usr/share/applications/kde4/ktelnetservice.desktop": usage of MIME type "x-scheme-handler/ssh" is discouraged (the use of "x-scheme-handler" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Yann Ciret 2011-03-11 18:53:49 CET

Summary: bad MIME type for kmailservice.desktop => bad MIME type for several kdelibs desktop files

Comment 2 John Balcaen 2011-03-11 18:59:00 CET
Hum there's no urpmi --auto-upgrade function maybe you mean urpmi --auto-update.
I just did the upgrade here i did not notice any errors regarding this file btw :/
Anyway indeed according to our current desktop-file-validate, this .desktop is not valid because we are not up to date: we're using currently 0.17 while the correct version of desktop file utils is 0.18 cf http://freedesktop.org/wiki/Software/desktop-file-utils
& with this version this .desktop file is valid.

We'll upgrade desktop-files-utils to fix this
Regards,

Status: NEW => ASSIGNED
CC: (none) => balcaen.john
Summary: bad MIME type for several kdelibs desktop files => bad MIME type for kmailservice.desktop
Source RPM: kdelibs4-4.6.1-2.mga1.src.rpm => desktop-file-utils-0.17-1.mga1.src.rpm

Comment 3 John Balcaen 2011-03-11 19:00:23 CET
Of course this going to wait after alpha 2 release since we're in freeze.
John Balcaen 2011-03-11 19:00:45 CET

Hardware: i586 => All
Assignee: bugsquad => balcaen.john

Comment 4 Ahmad Samir 2011-03-13 16:53:13 CET
(In reply to comment #2)
> Hum there's no urpmi --auto-upgrade function maybe you mean urpmi
> --auto-update.
> I just did the upgrade here i did not notice any errors regarding this file btw
> :/

It only happened with mozilla-thunderbird which had an update-desktop-database post/postun scriptlet, I've removed it as it's not needed with rpm filetriggers (it was missed because the tb spec wasn't using the regular/old %update_menus).
Comment 5 John Balcaen 2011-04-13 13:13:40 CEST
Thoses errors was fixed with desktop-file-utils-0.18-1.mga1.src.rpm

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.