Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   .desktop file - desktop-file-install - recent changes ? (http://www.linux-archive.org/fedora-packaging/686547-desktop-file-desktop-file-install-recent-changes.html)

David Timms 07-23-2012 01:05 PM

.desktop file - desktop-file-install - recent changes ?
 
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 ?

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 07:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.