Page 1 of 1

yad has a lot of dependencies

Posted: 26. Sep 2022, 08:58
by babam
Why does yad have so many dependencies

Code: Select all

,PACKAGE NAME:  yad-7.3-x86_64-1salix15.0.txz
PACKAGE LOCATION:  ./salix/desktop
PACKAGE SIZE (compressed):  197 K
PACKAGE SIZE (uncompressed):  788 K
PACKAGE REQUIRED:  aaa_libraries|bzip2,aaa_libraries|elfutils,aaa_libraries|eudev,aaa_libraries|gcc,aaa_libraries|gcc-g++,aaa_libraries|glib2,aaa_libraries|libcap,aaa_libraries|libffi,aaa_libraries|libidn2,aaa_libraries|libjpeg-turbo,aaa_libraries|libpng,aaa_libraries|libpsl,aaa_libraries|libunwind,aaa_libraries|pcre,aaa_libraries|xz,aaa_libraries|zstd,aspell,at-spi2-atk,at-spi2-core,atk,brotli,cairo,dbus,elfutils,elogind,enchant,expat,fontconfig,freetype,fribidi,gdk-pixbuf2,glib2,graphite2,gst-plugins-base,gstreamer,gtk+3,gtksourceview3,harfbuzz,hyphen,icu4c,lcms2,libICE,libSM,libX11,libXau,libXcomposite,libXcursor,libXdamage,libXdmcp,libXext,libXfixes,libXi,libXinerama,libXrandr,libXrender,libXt,libdrm,libepoxy,libevdev,libgcrypt,libglvnd,libgpg-error,libgudev,libmanette,libnotify,libseccomp,libsecret,libsoup,libtasn1,libunistring,libwebp,libwpe,libxcb,libxkbcommon,libxml2,libxslt,mesa,openjpeg,orc,pango,pixman,sqlite,util-linux,wayland,webkit2gtk,woff2,wpebackend-fdo,zlib
Does yad need all that?
webkit2gtk is optional dependency

Thanks

Re: yad has a lot of dependencies

Posted: 26. Sep 2022, 09:25
by gapan
Yes, it needs all that. webkit2gtk is not optional for this package:

Code: Select all

george[~]$ sudo spkg -d webkit2gtk
Removing package webkit2gtk-2.34.3-x86_64-1gv...
george[~]$ yad --help
yad: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

Re: yad has a lot of dependencies

Posted: 26. Sep 2022, 09:40
by babam
gapan wrote: 26. Sep 2022, 09:25 Yes, it needs all that. webkit2gtk is not optional for this package:
yad.SlackBuild

Code: Select all

if pkg-config --exists webkit2gtk-4.0 ; then HTML="--enable-html" ; else HTML="" ; fi
http://slackbuilds.org/repository/15.0/desktop/yad/
Optional dependency: webkit2gtk.

Re: yad has a lot of dependencies

Posted: 26. Sep 2022, 09:43
by gapan
It is optional if you want to compile it from source. In the case of this package (or any other package), software is already compiled. The yad package in the repositories has been compiled with webkit support, so it is not optional.