From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ri00A-0008CB-Jo for garchives@archives.gentoo.org; Tue, 03 Jan 2012 08:45:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA33D21C027; Tue, 3 Jan 2012 08:45:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 938A921C027 for ; Tue, 3 Jan 2012 08:45:38 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01452643ED for ; Tue, 3 Jan 2012 08:45:38 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2264) id C8F232004B; Tue, 3 Jan 2012 08:45:36 +0000 (UTC) From: "Justin Lecher (jlec)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, jlec@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: eutils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: eutils.eclass X-VCS-Directories: eclass X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher Content-Type: text/plain; charset=utf8 Message-Id: <20120103084536.C8F232004B@flycatcher.gentoo.org> Date: Tue, 3 Jan 2012 08:45:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 09034078-cc29-407c-bf9d-a6823eada02b X-Archives-Hash: bc9d2dbf7a2dff9a6e5c94fac66dee15 jlec 12/01/03 08:45:36 Modified: eutils.eclass Log: Convert make_desktop_entry() comment block to be eclass-manpages confor= m, #397451 Revision Changes Path 1.377 eclass/eutils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.ecla= ss?rev=3D1.377&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.ecla= ss?rev=3D1.377&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.ecla= ss?r1=3D1.376&r2=3D1.377 Index: eutils.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 $ =20 # @ECLASS: eutils.eclass # @MAINTAINER: @@ -609,20 +609,23 @@ sed -i 's/\r$//' -- "$@" || die } =20 -# Make a desktop file ! -# Great for making those icons in kde/gnome startmenu ! -# Amaze your friends ! Get the women ! Join today ! -# -# make_desktop_entry(, [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(, [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= " =20