1 |
On 01/03/2012 10:45 AM, Justin Lecher (jlec) wrote: |
2 |
> jlec 12/01/03 08:45:36 |
3 |
> |
4 |
> Modified: eutils.eclass |
5 |
> Log: |
6 |
> Convert make_desktop_entry() comment block to be eclass-manpages conform, #397451 |
7 |
|
8 |
eclass/ChangeLog unmodified? |
9 |
|
10 |
> |
11 |
> Revision Changes Path |
12 |
> 1.377 eclass/eutils.eclass |
13 |
> |
14 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.377&view=markup |
15 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.377&content-type=text/plain |
16 |
> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.376&r2=1.377 |
17 |
> |
18 |
> Index: eutils.eclass |
19 |
> =================================================================== |
20 |
> RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v |
21 |
> retrieving revision 1.376 |
22 |
> retrieving revision 1.377 |
23 |
> diff -u -r1.376 -r1.377 |
24 |
> --- eutils.eclass 17 Dec 2011 06:13:50 -0000 1.376 |
25 |
> +++ eutils.eclass 3 Jan 2012 08:45:36 -0000 1.377 |
26 |
> @@ -1,6 +1,6 @@ |
27 |
> # Copyright 1999-2011 Gentoo Foundation |
28 |
> # Distributed under the terms of the GNU General Public License v2 |
29 |
> -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.376 2011/12/17 06:13:50 vapier Exp $ |
30 |
> +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.377 2012/01/03 08:45:36 jlec Exp $ |
31 |
> |
32 |
> # @ECLASS: eutils.eclass |
33 |
> # @MAINTAINER: |
34 |
> @@ -609,20 +609,23 @@ |
35 |
> sed -i 's/\r$//' -- "$@" || die |
36 |
> } |
37 |
> |
38 |
> -# Make a desktop file ! |
39 |
> -# Great for making those icons in kde/gnome startmenu ! |
40 |
> -# Amaze your friends ! Get the women ! Join today ! |
41 |
> -# |
42 |
> -# make_desktop_entry(<command>, [name], [icon], [type], [fields]) |
43 |
> -# |
44 |
> -# binary: what command does the app run with ? |
45 |
> -# name: the name that will show up in the menu |
46 |
> -# icon: give your little like a pretty little icon ... |
47 |
> -# this can be relative (to /usr/share/pixmaps) or |
48 |
> -# a full path to an icon |
49 |
> -# type: what kind of application is this ? for categories: |
50 |
> -# http://standards.freedesktop.org/menu-spec/latest/apa.html |
51 |
> +# @FUNCTION: make_desktop_entry |
52 |
> +# @USAGE: make_desktop_entry(<command>, [name], [icon], [type], [fields]) |
53 |
> +# @DESCRIPTION: |
54 |
> +# Make a .desktop file. |
55 |
> +# |
56 |
> +# @CODE |
57 |
> +# binary: what command does the app run with ? |
58 |
> +# name: the name that will show up in the menu |
59 |
> +# icon: give your little like a pretty little icon ... |
60 |
> +# this can be relative (to /usr/share/pixmaps) or |
61 |
> +# a full path to an icon |
62 |
> +# type: what kind of application is this? |
63 |
> +# for categories: |
64 |
> +# http://standards.freedesktop.org/menu-spec/latest/apa.html |
65 |
> +# if unset, function tries to guess from package's category |
66 |
> # fields: extra fields to append to the desktop file; a printf string |
67 |
> +# @CODE |
68 |
> make_desktop_entry() { |
69 |
> [[ -z $1 ]]&& die "make_desktop_entry: You must specify the executable" |
70 |
> |
71 |
> |
72 |
> |
73 |
> |
74 |
> |