Petteri Räty kirjoitti:
> Any objections to the attached patch:
> 
> [EMAIL PROTECTED] ~ $ desktop-file-validate
> /usr/share/applications/jedit-jedit.desktop
> /usr/share/applications/jedit-jedit.desktop: warning: key "Encoding" in
> group "Desktop Entry" is deprecated
> /usr/share/applications/jedit-jedit.desktop: warning: value "" for key
> "Path" in group "Desktop Entry" does not look like an absolute path
> 
> Regards,
> Petteri
> 

Hmm. Wrong patch attached.
Index: eutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
retrieving revision 1.292
diff -u -r1.292 eutils.eclass
--- eutils.eclass       14 Oct 2007 21:55:35 -0000      1.292
+++ eutils.eclass       17 Nov 2007 22:53:28 -0000
@@ -882,11 +882,12 @@
        Comment=${DESCRIPTION}
        Exec=${exec}
        TryExec=${exec%% *}
-       Path=${path}
        Icon=${icon}
        Categories=${type};
        EOF
 
+       [[ ${path} ]] && echo "Path=${path}" >> "${desktop}"
+
        (
                # wrap the env here so that the 'insinto' call
                # doesn't corrupt the env of the caller

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to