View previous topic :: View next topic |
Author |
Message |
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 114
|
Posted: Thu Nov 07, 2024 5:03 am Post subject: equery g "package" not definitive |
|
|
The command would show dependencies of ffmpeg but I was expecting it to output
only those dependencies which are installed, like how does. What other command would show only
currently installed dependencies? Right now, I would do ldd, and reverse search the package but that is bit overkill. |
|
Back to top |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 358
|
Posted: Thu Nov 07, 2024 6:26 am Post subject: |
|
|
There's qdepends. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2397
|
Posted: Thu Nov 07, 2024 7:26 am Post subject: |
|
|
Equery never reported on those in any of the queries it supports. You need to check further.
Unfortunately qdepends outputs everything on one line which is inconvenient, but I think it takes into account what's installed and what not.
Best Regards,
Georgi |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 436 Location: Naarm/Melbourne, Australia
|
Posted: Fri Nov 08, 2024 12:48 am Post subject: |
|
|
qdepend's `-v` option produces multi-line output, although by default it will show RDEPENDs and BDEPENDs as well, so the `-d` option can be used to limit output to just DEPENDs:
Code: | $ qdepends -vd ffmpeg
media-video/ffmpeg-4.4.5-r1:
DEPEND="
>=media-libs/alsa-lib-1.0.27.2[abi_x86_64(+)]
>=app-arch/bzip2-1.0.6-r4[abi_x86_64(+)]
>=media-libs/dav1d-0.4.0:0/7=[abi_x86_64(+)]
>=media-sound/lame-3.99.5-r1[abi_x86_64(+)]
>=media-libs/openh264-1.4.0-r1:0/7=[abi_x86_64(+)]
>=media-libs/libogg-1.3.0[abi_x86_64(+)]
>=media-libs/libtheora-1.1.1[encode,abi_x86_64(+)]
>=media-libs/libwebp-0.3.0:0/7=[abi_x86_64(+)]
>=media-libs/x264-0.0.20130506:0/164=[abi_x86_64(+)]
>=media-libs/xvid-1.3.2-r1[abi_x86_64(+)]
>=media-libs/fontconfig-2.10.92[abi_x86_64(+)]
>=virtual/libiconv-0-r1[abi_x86_64(+)]
dev-libs/libxml2:2/2=[abi_x86_64(+)]
>=media-libs/opus-1.0.2-r2[abi_x86_64(+)]
>=media-sound/pulseaudio-2.1-r1[abi_x86_64(+)]
gnome-base/librsvg:2/2=[abi_x86_64(+)]
x11-libs/cairo[abi_x86_64(+)]
>=media-libs/freetype-2.5.0.1:2[abi_x86_64(+)]
>=media-libs/libva-1.2.1-r1:0/2=[abi_x86_64(+)]
>=x11-libs/libvdpau-0.7[abi_x86_64(+)]
>=media-libs/libvorbis-1.3.3-r1[abi_x86_64(+)]
>=media-libs/libogg-1.3.0[abi_x86_64(+)]
>=media-libs/libvpx-1.4.0:0/9=[abi_x86_64(+)]
>=media-libs/vulkan-loader-1.1.97:0/0=[abi_x86_64(+)]
>=x11-libs/libX11-1.6.2[abi_x86_64(+)]
>=x11-libs/libXext-1.3.2[abi_x86_64(+)]
>=x11-libs/libXv-1.0.10[abi_x86_64(+)]
>=x11-libs/libxcb-1.4:0/1.12=[abi_x86_64(+)]
>=sys-libs/zlib-1.2.8-r1[abi_x86_64(+)]
>=net-libs/gnutls-2.12.23-r6:0/30.30=[abi_x86_64(+)]
" |
_________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
|