Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 414125

Summary: repoman does not recognize Konqueror Service Menus
Product: Portage Development Reporter: Julian Ospald <hasufell>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus#Creating_an_Action
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 409383    

Description Julian Ospald 2012-04-30 15:38:25 UTC
explanation: http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus#Creating_an_Action
example file: http://git.overlays.gentoo.org/gitweb/?p=proj/sunrise-reviewed.git;a=blob_plain;f=www-misc/abloadtool/files/abloadaction.desktop

repoman report:
  desktop.invalid               3
   www-misc/abloadtool/files/abloadaction.desktop: required key "Name" in group "Desktop Entry" is not present
   www-misc/abloadtool/files/abloadaction.desktop: key "Actions" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
   www-misc/abloadtool/files/abloadaction.desktop: key "MimeType" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"


as far as I understand those menu files can be recognized by the following entry:

ServiceTypes=KonqPopupMenu/Plugin
Comment 1 Zac Medico gentoo-dev 2012-04-30 17:02:17 UTC
We simply call desktop-file-validate from the dev-util/desktop-file-utils program. I guess we can add some code to detect this specific error and ignore it when appropriate.
Comment 3 Zac Medico gentoo-dev 2012-05-08 17:34:21 UTC
This is released for testing in 2.2.0_alpha102.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-09 08:21:29 UTC
I believe this was wrongly resolved and KDE developers have just not pushed hard enough in the XDG mailing list to validate new type of entries
Everything possible recognizing them as such should keep on complaining long as they do the work
Comment 5 Zac Medico gentoo-dev 2012-05-09 08:34:23 UTC
Well, the spec explicitly mentions that Type=Service is reserved for use within KDE:

  http://standards.freedesktop.org/desktop-entry-spec/latest/apb.html

Based on that, I get the feeling that desktop-file-validate just doesn't support these "KDE-specific extensions" happen to be mentioned in the spec.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-09 08:42:04 UTC
(In reply to comment #5)
> Well, the spec explicitly mentions that Type=Service is reserved for use
> within KDE:
> 
>   http://standards.freedesktop.org/desktop-entry-spec/latest/apb.html
> 
> Based on that, I get the feeling that desktop-file-validate just doesn't
> support these "KDE-specific extensions" happen to be mentioned in the spec.

ah yes, you seem to be right if it's mentioned there too :)
Comment 7 Zac Medico gentoo-dev 2012-05-09 23:16:53 UTC
This is fixed in 2.1.10.58.