unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile
@ 2016-03-19 18:32 Danny Milosavljevic
  2016-03-23 17:25 ` Leo Famulari
  2016-04-02 20:42 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2016-03-19 18:32 UTC (permalink / raw)
  To: 23066

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. 

Also, the desktop file should also be in there, then it's at more consistent.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile
  2016-03-19 18:32 bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile Danny Milosavljevic
@ 2016-03-23 17:25 ` Leo Famulari
  2016-04-02 20:42 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2016-03-23 17:25 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 23066

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile
  2016-03-19 18:32 bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile Danny Milosavljevic
  2016-03-23 17:25 ` Leo Famulari
@ 2016-04-02 20:42 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-04-02 20:42 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 23066-done

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> 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).

Fixed in 07366434240747f9dbbc7c3b606bb07ad9e66502.

> But
>
> $ guix package -i transmission:gui
>
> works. If that's supposed to be the official way, that's not discoverable. 

If you have ideas on how to make outputs more discoverable, let us know!
They’re certainly less “obvious” than package names, but they’re
documented and show by every user interface as Leo wrote.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-02 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-19 18:32 bug#23066: "guix package -i transmission" doesn't install transmission-gtk into profile Danny Milosavljevic
2016-03-23 17:25 ` Leo Famulari
2016-04-02 20:42 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).