On Sun, 19 Apr 2020, at 14:29, Erling Westenvik wrote:
> Way out of my league here, but perhaps:
> 
> $ pkg_info -S python-3.7.6p1 | tail -n 2 | tr ',' '\n' | grep @
> @bzip2-1.0.8
> @gettext-runtime-0.20.1p1
> @libffi-3.3
> @sqlite3-3.31.1p0
> @xz-5.2.4p0

This gets you the direct dependencies but doesn't show the full
tree. In this case, gettext-runtime itself depends on libiconv.

Using Firefox as a more complex example the output might be:

    Information for inst:firefox-esr-68.7.0

    Directly depends on:
    atk-2.32.0
    cairo-1.16.0
    desktop-file-utils-0.24p0
    gdk-pixbuf-2.38.2
    gettext-runtime-0.20.1p0
    glib2-2.60.7p0
    gtk+2-2.24.32p5
    gtk+3-3.24.12
    icu4c-64.2p0
    nspr-4.22
    nss-3.46
    pango-1.42.4p3
    sqlite3-3.29.0

    Transitively depends on:
    adwaita-icon-theme-3.32.0
    at-spi2-atk-2.32.0
    at-spi2-core-2.32.1
    bzip2-1.0.8
    dbus-1.12.16v0
    dconf-0.32.0p0
    fribidi-1.0.7p0
    gnome-icon-theme-3.12.0p5
    gnome-icon-theme-symbolic-3.12.0p3
    graphite2-1.3.13p0
    gtk-update-icon-cache-3.24.12
    harfbuzz-2.6.2
    hicolor-icon-theme-0.17
    jasper-2.0.14
    jpeg-2.0.3v0
    libcroco-0.6.13
    libffi-3.2.1p5
    libiconv-1.16p0
    librsvg-2.46.4
    libxml-2.9.9
    lzo2-2.10p1
    pcre-8.41p2
    png-1.6.37
    python-3.7.4
    shared-mime-info-1.10p5
    tiff-4.0.10
    xz-5.2.4

--
Chris Rawnsley

Reply via email to