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

Diff of /eclass/eutils.eclass

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

Revision 1.88 Revision 1.89
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
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.88 2004/04/18 20:45:23 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.89 2004/06/22 22:36:22 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
693# name: the name that will show up in the menu 693# name: the name that will show up in the menu
694# icon: give your little like a pretty little icon ... 694# icon: give your little like a pretty little icon ...
695# this can be relative (to /usr/share/pixmaps) or 695# this can be relative (to /usr/share/pixmaps) or
696# a full path to an icon 696# a full path to an icon
697# type: what kind of application is this ? for categories: 697# type: what kind of application is this ? for categories:
698# http://www.freedesktop.org/standards/menu/draft/menu-spec/menu-spec.html 698# http://www.freedesktop.org/standards/menu-spec/
699# path: if your app needs to startup in a specific dir 699# path: if your app needs to startup in a specific dir
700make_desktop_entry() { 700make_desktop_entry() {
701 [ -z "$1" ] && eerror "You must specify the executable" && return 1 701 [ -z "$1" ] && eerror "You must specify the executable" && return 1
702 702
703 local exec="${1}" 703 local exec="${1}"

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.20