Thomas de Grenier de Latour wrote:
> On Wed, 31 Jan 2007 23:30:53 -0500, Mike Frysinger <[EMAIL PROTECTED]>
> wrote:
> 
> > about the only thing that'd work is an additional parameter called
> > "cruft" that'd be passed unfiltered into the .desktop file
> 
> You can also imagine a "-v" switch, which would make this function print
> the full path (with its $D prefix) of the file.desktop it has created.
> This way, people could do:
> 
>   src_install() {
>     ...
>     local desktop_file=$(make_desktop_entry -v ...) || die
>     echo "MimeType=..."  >> "${desktop_file}"
>     ...
>   }
> 
> I don't say this solution is better than the "cruft" parameter though,
> it's really a matter of taste.

Nice.  I like this idea, and humbly request that someone implement it
in this way, or give me permission to do so.

-- 
Jim Ramsay
Gentoo/Linux Developer (rox)

Attachment: signature.asc
Description: PGP signature

Reply via email to