FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 01-03-2012, 07:48 AM
Samuli Suominen
 
Default gentoo-x86 commit in eclass: eutils.eclass

On 01/03/2012 10:45 AM, Justin Lecher (jlec) wrote:

jlec 12/01/03 08:45:36

Modified: eutils.eclass
Log:
Convert make_desktop_entry() comment block to be eclass-manpages conform, #397451


eclass/ChangeLog unmodified?



Revision Changes Path
1.377 eclass/eutils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.377&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.377&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.376&r2=1.377

Index: eutils.eclass
================================================== =================
RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
retrieving revision 1.376
retrieving revision 1.377
diff -u -r1.376 -r1.377
--- eutils.eclass 17 Dec 2011 06:13:50 -0000 1.376
+++ eutils.eclass 3 Jan 2012 08:45:36 -0000 1.377
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.376 2011/12/17 06:13:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.377 2012/01/03 08:45:36 jlec Exp $

# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -609,20 +609,23 @@
sed -i 's/
$//' -- "$@" || die
}

-# Make a desktop file !
-# Great for making those icons in kde/gnome startmenu !
-# Amaze your friends ! Get the women ! Join today !
-#
-# make_desktop_entry(<command>, [name], [icon], [type], [fields])
-#
-# binary: what command does the app run with ?
-# name: the name that will show up in the menu
-# icon: give your little like a pretty little icon ...
-# this can be relative (to /usr/share/pixmaps) or
-# a full path to an icon
-# type: what kind of application is this ? for categories:
-# http://standards.freedesktop.org/menu-spec/latest/apa.html
+# @FUNCTION: make_desktop_entry
+# @USAGE: make_desktop_entry(<command>, [name], [icon], [type], [fields])
+# @DESCRIPTION:
+# Make a .desktop file.
+#
+# @CODE
+# binary: what command does the app run with ?
+# name: the name that will show up in the menu
+# icon: give your little like a pretty little icon ...
+# this can be relative (to /usr/share/pixmaps) or
+# a full path to an icon
+# type: what kind of application is this?
+# for categories:
+# http://standards.freedesktop.org/menu-spec/latest/apa.html
+# if unset, function tries to guess from package's category
# fields: extra fields to append to the desktop file; a printf string
+# @CODE
make_desktop_entry() {
[[ -z $1 ]]&& die "make_desktop_entry: You must specify the executable"
 

Thread Tools




All times are GMT. The time now is 06:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org