- /usr/share/mimelnk is deprecated location - the installed .desktop file is broken: $ desktop-file-validate /usr/share/mimelnk/application/x-java-jnlp-file.desktop /usr/share/mimelnk/application/x-java-jnlp-file.desktop: warning: value "MimeType" for key "Type" in group "Desktop Entry" is deprecated /usr/share/mimelnk/application/x-java-jnlp-file.desktop: error: value "application/x-java-jnlp-file" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character /usr/share/mimelnk/application/x-java-jnlp-file.desktop: warning: key "Patterns" in group "Desktop Entry" is deprecated /usr/share/mimelnk/application/x-java-jnlp-file.desktop: warning: key "DefaultApp" in group "Desktop Entry" is deprecated /usr/share/mimelnk/application/x-java-jnlp-file.desktop: error: required key "Name" in group "Desktop Entry" is not present the solution is to install a .xml file to /usr/share/mime/packages/ instead, to handle the *.jnlp files instead then is should call fdo-mime.eclass, and "fdo-mime_mime_database_update" in pkg_postinst and pkg_postrm
as well as installing a .desktop file to /usr/share/applications/ to handle the MimeType=application/x-java-jnlp-file for that fdo-mime.eclass's fdo-mime_desktop_database_update should be called in pkg_post{rm,inst}
or you can just get rid of the whole file if it's not important, I doubt it has been working for a long time because of this, anyway.
Created attachment 267503 [details, diff] Fix. Remove unnecessary and deprecated file, from deprecated location... The /usr/share/applications/javaws.desktop already has proper MimeType line and supersedes this.
+ 28 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> + java-config-2.1.11-r3.ebuild: + Don't install deprecated x-java-jnlp-file.desktop to /usr/share/mimelnk wrt + #350459. Signed off by Alistair Bush.