The F18 rebuild-all picked up a problem in my package tnef: + desktop-file-install --dir=/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services /builddir/build/SOURCES/tnefextract.desktop
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop: error: file contains key "Type" in group "Desktop Action tnefExtractToSubfolder", but keys extending the format should start with "X-"
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop: error: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
Error on file "/builddir/build/SOURCES/tnefextract.desktop": Failed to validate the created desktop file RPM build errors: ----- The source .desktop file:
[Desktop Entry] Type=Service X-KDE-Priority=TopLevel X-KDE-ServiceTypes=KonqPopupMenu/Plugin,application/vnd.ms-tnef Name=tnef tools Comment=tnef archive tool menu Icon=archive-extract Actions=tnefExtractToSubfolder;
[Desktop Action tnefExtractToSubfolder] Type=Application Name=Extract TNEF (email attachment) Archive Exec=tnef.sh "%f" Icon=archive-extract -----
In F15/16/ this created a kde file association for winmail.dat files in the file manager, and a menu entry to "Extract TNEF Archive".
Where can I find information on how this works now, or is desktop-file-validate/install tripping up ?
On 07/23/2012 08:05 AM, David Timms wrote:
The F18 rebuild-all picked up a problem in my package tnef:
- desktop-file-install
--dir=/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services /builddir/build/SOURCES/tnefextract.desktop
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop: error: file contains key "Type" in group "Desktop Action tnefExtractToSubfolder", but keys extending the format should start with "X-"
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop: error: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
desktop-file validation is only required for stuff under /usr/share/applications
-- rex
On 07/25/2012 12:32 AM, Rex Dieter wrote:
On 07/23/2012 08:05 AM, David Timms wrote:
The F18 rebuild-all picked up a problem in my package tnef:
- desktop-file-install
--dir=/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services
/builddir/build/SOURCES/tnefextract.desktop
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop:
error: file contains key "Type" in group "Desktop Action tnefExtractToSubfolder", but keys extending the format should start with "X-"
/builddir/build/BUILDROOT/tnef-1.4.8-6.2.fc18.i386/usr/share/kde4/services/tnefextract.desktop:
error: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
desktop-file validation is only required for stuff under /usr/share/applications
Oh, OK. So instead of desktop-file-install (which I assume runs -validate), just copy the servicemenu .desktop file to this (dest) path and I'm done ?
There must have been a change between f17 and rawhide that triggers this result, but what was it ?
packaging@lists.fedoraproject.org