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

Diff of /eclass/eutils.eclass

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

Revision 1.319 Revision 1.320
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.319 2009/09/12 14:37:51 grobian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.320 2009/09/24 02:49:32 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
943 local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop" 943 local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop"
944 #local desktop=${T}/${exec%% *:-${desktop_name}}.desktop 944 #local desktop=${T}/${exec%% *:-${desktop_name}}.desktop
945 945
946 cat <<-EOF > "${desktop}" 946 cat <<-EOF > "${desktop}"
947 [Desktop Entry] 947 [Desktop Entry]
948 Version=1.0
949 Name=${name} 948 Name=${name}
950 Type=Application 949 Type=Application
951 Comment=${DESCRIPTION} 950 Comment=${DESCRIPTION}
952 Exec=${exec} 951 Exec=${exec}
953 TryExec=${exec%% *} 952 TryExec=${exec%% *}

Legend:
Removed from v.1.319  
changed lines
  Added in v.1.320

  ViewVC Help
Powered by ViewVC 1.1.20