Subject: Re: Desktop files
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/27/2005 09:10:24
On Thu, 27 Jan 2005, Julio M. Merino Vidal wrote:

> There is usually no need to preprocess the files with SED, because
> all the existing ones do not even use hardcoded paths to installed
> files.  For binaries, we might want to use full paths, but then we'd
> have to go and fix other .desktop files for consistency.  For icons
> it's even unacceptable to use absolute paths to them because they
> should be themeable.

I think it may be good to use full paths to the binaries.

As for other desktop files, maybe they could be patched and use some
variable to point to the WRKSRC version (instead of defaulting to
FILESDIR).

Full paths could be good when using pkgviews and someone is testing
multiple versions -- then again maybe the menu entries wouldn't work
correctly and the user would not easily know which is which. And also I
don't know, how we would have the share/applications/ be shared between
pkgviews packages to even take advantage of this.



 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/