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/686926-desktop-file-desktop-file-install-recent-changes.html)

Rex Dieter 07-24-2012 02:32 PM

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

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

David Timms 07-24-2012 10:19 PM

.desktop file - desktop-file-install - recent changes ?
 
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 mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 07:34 AM.

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