/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.237 Revision 1.238
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.237 2006/06/04 15:18:12 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.238 2006/06/05 18:03:19 tupone Exp $
4# 4#
5# This eclass is for general purpose functions that most ebuilds 5# This eclass is for general purpose functions that most ebuilds
6# have to implement themselves. 6# have to implement themselves.
7# 7#
8# NB: If you add anything, please comment it! 8# NB: If you add anything, please comment it!
765 765
766# Make a desktop file ! 766# Make a desktop file !
767# Great for making those icons in kde/gnome startmenu ! 767# Great for making those icons in kde/gnome startmenu !
768# Amaze your friends ! Get the women ! Join today ! 768# Amaze your friends ! Get the women ! Join today !
769# 769#
770# make_desktop_entry(<binary>, [name], [icon], [type], [path]) 770# make_desktop_entry(<command>, [name], [icon], [type], [path])
771# 771#
772# binary: what binary does the app run with ? 772# binary: what command does the app run with ?
773# name: the name that will show up in the menu 773# name: the name that will show up in the menu
774# icon: give your little like a pretty little icon ... 774# icon: give your little like a pretty little icon ...
775# this can be relative (to /usr/share/pixmaps) or 775# this can be relative (to /usr/share/pixmaps) or
776# a full path to an icon 776# a full path to an icon
777# type: what kind of application is this ? for categories: 777# type: what kind of application is this ? for categories:
898Version=0.9.2 898Version=0.9.2
899Name=${name} 899Name=${name}
900Type=Application 900Type=Application
901Comment=${DESCRIPTION} 901Comment=${DESCRIPTION}
902Exec=${exec} 902Exec=${exec}
903TryExec=${exec} 903TryExec=${exec%% *}
904Path=${path} 904Path=${path}
905Icon=${icon} 905Icon=${icon}
906Categories=Application;${type};" > "${desktop}" 906Categories=Application;${type};" > "${desktop}"
907 907
908 ( 908 (

Legend:
Removed from v.1.237  
changed lines
  Added in v.1.238

  ViewVC Help
Powered by ViewVC 1.1.20