From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile Date: Wed, 23 Mar 2016 13:25:36 -0400 Message-ID: <20160323172536.GB3893@jasmine> References: <20160319193253.619b21a9@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimXm-00043I-11 for bug-guix@gnu.org; Wed, 23 Mar 2016 13:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aimXi-0008Li-MN for bug-guix@gnu.org; Wed, 23 Mar 2016 13:26:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimXi-0008Lb-D4 for bug-guix@gnu.org; Wed, 23 Mar 2016 13:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aimXi-00051S-3d for bug-guix@gnu.org; Wed, 23 Mar 2016 13:26:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20160319193253.619b21a9@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Danny Milosavljevic Cc: 23066@debbugs.gnu.org On Sat, Mar 19, 2016 at 07:32:53PM +0100, Danny Milosavljevic wrote: > However, it installs share/applications/transmission-gtk.desktop into the profile, containing > > Exec=transmission-gtk %U > > i.e. it won't find it. > > transmission-cli works. > > I checked gnu/packages/bittorrent.scm , it seems to do some weird special-case for the gui (it puts the gui into a "gui" output and the rest into an "out" output). > > But > > $ guix package -i transmission:gui > > works. If that's supposed to be the official way, that's not discoverable. If you do `guix package --show=transmission`, the following line appears in the output: outputs: out gui So, it is discoverable, although it doesn't jump out at you. I think that when we have a graphical package management tool, the multiple outputs should be made more apparent to our users. > Also, the desktop file should also be in there, then it's at more consistent. Can you look at how some other packages do this [0], and send a patch fixing this aspect of the transmission package to guix-devel@gnu.org? [0] If you don't know where to start, just try using `grep` for the relevant terms in 'gnu/packages'. I don't really know much about this subject, so sorry that I can't give more specific advice.