From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Adding .xsession to guile-wm Date: Tue, 13 Sep 2016 13:52:49 +0200 Message-ID: <87wpig584u.fsf@gnu.org> References: <20160912160527.GA6808@jocasta.intra> <20160912180710.GC24630@macbook42.flashner.co.il> <20160912181313.GA8567@jocasta.intra> <87zinc3850.fsf@loki.i-did-not-set--mail-host-address--so-tickle-me> <20160913042709.GA12270@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjmGp-00031X-9l for guix-devel@gnu.org; Tue, 13 Sep 2016 07:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjmGo-0002Ve-2X for guix-devel@gnu.org; Tue, 13 Sep 2016 07:52:58 -0400 In-Reply-To: <20160913042709.GA12270@jocasta.intra> (John Darrington's message of "Tue, 13 Sep 2016 06:27:10 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel , Alex ter Weele John Darrington skribis: > On Mon, Sep 12, 2016 at 09:45:22PM -0400, Thompson, David wrote: > On Mon, Sep 12, 2016 at 9:23 PM, Alex ter Weele > wrote: > > I don't believe there is a standard, but different packages do it > > different ways. Under my patch, guile-wm will regenerate its .desk= top as > > part of the build process, so its Exec=3D should be kept up-to-dat= e. >=20=20=20=20=20=20 > We should always refer to the absolute path to binaries so that we > don't rely on $PATH, which would be nondeterministic. >=20=20=20=20=20=20 > > In that case, below is a (non-exhaustive) list of .desktop files from > various packages which do it "wrong". Is there not some way we can > automatically flag such cases at build time? Maybe we could have a =E2=80=98patch-desktop-files=E2=80=99 phase that auto= matically expands relative file names in .desktop files? Ludo=E2=80=99.