[kservice] new warnings from kbuildsycoca5, every time

David Faure faure at kde.org
Wed Jun 1 21:49:51 UTC 2016


On Wednesday, June 1, 2016 10:23:25 PM CEST René J.V. Bertin wrote:
> I've scoured a number of locations for the other perpetrators:
> > > Not found: "image/x-pcx"
> 
> %> fgrep image/x-pcx ~/.local/share/applications/mimeapps.list
> ~/.config/mimeapps.list -R KF5rameworks-mp9-work --exclude="*.[ao]"
> --exclude="*.dylib" --exclude="*.so" --exclude="build*"
> --exclude="destroot*" -R /opt/local/share/mime/packages/
> kimageformats-5.22.0/src/imageformats/pcx.desktop:X-KDE-MimeType=image/x-pcx
> kimageformats-5.22.0/src/imageformats/pcx.json:    "MimeTypes": [
> "image/x-pcx" ]
> [....]

The new name since s-m-i 1.5 is image/vnd.zbrush.pcx, but image/x-pcx is an 
alias so it should be fine for these uses you found (desktop files referring to 
an alias). It must come from elsewhere.

Apply http://www.davidfaure.fr/2016/more_debug.diff to kservice
and then run 
kbuildsycoca5 2>&1 | grep pcx
?

> > > Not found: "application/x-deb"
> 
> %>  fgrep x-deb ~/.local/share/applications/mimeapps.list
> ~/.config/mimeapps.list -R KF5rameworks-mp9-work --exclude="*.[ao]"
> --exclude="*.dylib" --exclude="*.so" --exclude="build*"
> --exclude="destroot*" -R /opt/local/share/mime/packages/
> kio-5.22.0/src/ioslaves/http/http.cpp:            m_mimeType =
> QStringLiteral("application/x-deb");
> /opt/local/share/mime/packages/freedesktop.org.xml:    <alias
> type="application/x-deb"/>
> /opt/local/share/mime/packages/freedesktop.org.xml:    <alias
> type="application/x-debian-package"/>

Same issue. Your list of dirs to grep is likely not complete enough, because 
it finds no reason to warn.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list