Bug#492027: dh_desktop: hardcode the path to the executable when possible

2008-07-23 Thread Josselin Mouette
Package: debhelper Version: 7.0.14 Severity: wishlist Following the discussion on debian-devel about hardcoding paths to binaries in desktop files, here is a patch to dh_desktop which will do that automatically if the file is located in the same package. Cheers, -- .''`. : :' : We are

Bug#492027: dh_desktop: hardcode the path to the executable when possible

2008-07-23 Thread Josselin Mouette
Le mercredi 23 juillet 2008 à 11:14 -0400, Joey Hess a écrit : I don't recall that thread being particularly convincing. I've reviewed it and find it even less convincing. In fact the sole useful data point in the whole thread was from you; you said that you were hardcoding paths to

Bug#492027: dh_desktop: hardcode the path to the executable when possible

2008-07-23 Thread Joey Hess
Josselin Mouette wrote: * /usr/games not being in the PATH It's in the default system PATH. If I take it out of my PATH I presumably don't want to play games. * /usr/games/$exec and /usr/local/bin/$exec both exist If I create a program in /usr/local/bin, it's because I want it to

Bug#492027: dh_desktop: hardcode the path to the executable when possible

2008-07-23 Thread Vincent Lefevre
On 2008-07-23 13:13:25 -0400, Joey Hess wrote: Josselin Mouette wrote: * /usr/games not being in the PATH It's in the default system PATH. If I take it out of my PATH I presumably don't want to play games. Games should be removed from menus then. * $HOME/bin/$exec has the