all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Revert dependencies graph
@ 2018-12-15 17:10 znavko
  2018-12-15 18:34 ` Oleg Pykhalov
  2018-12-15 19:44 ` Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: znavko @ 2018-12-15 17:10 UTC (permalink / raw)
  To: Help Guix

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

Hello, Guix Help! Updating with `guix pull` and `guix package -u` has made me waiting for 3 hours already. webkitgtk is compiling so long.
I've checked all browsers I have and found this is epiphany that needs webkitgtk

$ guix package --show=epiphany | grep gtk
+ gnome-desktop@3.24.2 gsettings-desktop-schemas@3.24.1 gtk+@3.24.0
+ sqlite@3.24.0 webkitgtk@2.22.4
But I have not found in manual revert dependencies graph.
Does Guix can show revert dependencies? I want only type something to check what the package needs webkitgtk.

Please, let me know if Guix shows revert dependencies of installed packages?

[-- Attachment #2: Type: text/html, Size: 1170 bytes --]

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

* Re: Revert dependencies graph
  2018-12-15 17:10 Revert dependencies graph znavko
@ 2018-12-15 18:34 ` Oleg Pykhalov
  2018-12-15 19:10   ` znavko
  2018-12-15 19:55   ` Pierre Neidhardt
  2018-12-15 19:44 ` Leo Famulari
  1 sibling, 2 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2018-12-15 18:34 UTC (permalink / raw)
  To: znavko; +Cc: Help Guix

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Hello,

<znavko@tutanota.com> writes:

> Hello, Guix Help! Updating with `guix pull` and `guix package -u` has made me waiting for 3 hours already. webkitgtk is compiling so long.
> I've checked all browsers I have and found this is epiphany that needs webkitgtk
>
> $ guix package --show=epiphany | grep gtk
> + gnome-desktop@3.24.2 gsettings-desktop-schemas@3.24.1 gtk+@3.24.0
> + sqlite@3.24.0 webkitgtk@2.22.4
> But I have not found in manual revert dependencies graph.
> Does Guix can show revert dependencies? I want only type something to check what the package needs webkitgtk.
>
> Please, let me know if Guix shows revert dependencies of installed packages?

I had the same issue, but with qtwebkit.  Maybe this could help:
--8<---------------cut here---------------start------------->8---
for i in $(guix package -I | awk '{print $1}') ; do guix graph $i | grep -q qtwebkit && echo $i ; done
--8<---------------cut here---------------end--------------->8---

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: Revert dependencies graph
  2018-12-15 18:34 ` Oleg Pykhalov
@ 2018-12-15 19:10   ` znavko
  2018-12-15 19:55   ` Pierre Neidhardt
  1 sibling, 0 replies; 5+ messages in thread
From: znavko @ 2018-12-15 19:10 UTC (permalink / raw)
  Cc: Help Guix

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]


Awesome Script! 
Thank you, Oleg Pykhalov!


>> Please, let me know if Guix shows revert dependencies of installed packages?
>>
>
> I had the same issue, but with qtwebkit.  Maybe this could help:
> --8<---------------cut here---------------start------------->8---
> for i in $(guix package -I | awk '{print $1}') ; do guix graph $i | grep -q qtwebkit && echo $i ; done
> --8<---------------cut here---------------end--------------->8---
>
> Oleg.
>


[-- Attachment #2: Type: text/html, Size: 1345 bytes --]

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

* Re: Revert dependencies graph
  2018-12-15 17:10 Revert dependencies graph znavko
  2018-12-15 18:34 ` Oleg Pykhalov
@ 2018-12-15 19:44 ` Leo Famulari
  1 sibling, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2018-12-15 19:44 UTC (permalink / raw)
  To: znavko; +Cc: Help Guix

[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]

On Sat, Dec 15, 2018 at 06:10:10PM +0100, znavko@tutanota.com wrote:
> Hello, Guix Help! Updating with `guix pull` and `guix package -u` has made me waiting for 3 hours already. webkitgtk is compiling so long.
> I've checked all browsers I have and found this is epiphany that needs webkitgtk
> 
> $ guix package --show=epiphany | grep gtk
> + gnome-desktop@3.24.2 gsettings-desktop-schemas@3.24.1 gtk+@3.24.0
> + sqlite@3.24.0 webkitgtk@2.22.4
> But I have not found in manual revert dependencies graph.
> Does Guix can show revert dependencies? I want only type something to check what the package needs webkitgtk.
> 
> Please, let me know if Guix shows revert dependencies of installed packages?

`guix graph` can show the reverse dependency graph of a package. It does
not show the intersection of that graph with your installed packages,
but it still will help:

`guix graph --type=reverse-package webkitgtk | dot -Tsvg > ~/out.svg`

And then open the SVG image of the graph to view it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Revert dependencies graph
  2018-12-15 18:34 ` Oleg Pykhalov
  2018-12-15 19:10   ` znavko
@ 2018-12-15 19:55   ` Pierre Neidhardt
  1 sibling, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2018-12-15 19:55 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: Help Guix

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Guix calls "reverse dependencies" "dependents".  You can list them with:

--8<---------------cut here---------------start------------->8---
> guix refresh --list-dependent webkitgtk
Building the following 2 packages would ensure 3 dependent packages are rebuilt: eolie@0.9.45 gnome@3.24.3
--8<---------------cut here---------------end--------------->8---

Hope that helps!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-12-15 19:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-15 17:10 Revert dependencies graph znavko
2018-12-15 18:34 ` Oleg Pykhalov
2018-12-15 19:10   ` znavko
2018-12-15 19:55   ` Pierre Neidhardt
2018-12-15 19:44 ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.