yad has a lot of dependencies

General talk about packaging procedures and packages.
Post Reply
babam
Posts: 50
Joined: 28. Oct 2015, 14:11

yad has a lot of dependencies

Post 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
Sorry, my English is bad.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: yad has a lot of dependencies

Post 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
Image
Image
babam
Posts: 50
Joined: 28. Oct 2015, 14:11

Re: yad has a lot of dependencies

Post 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.
Sorry, my English is bad.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: yad has a lot of dependencies

Post 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.
Image
Image
Post Reply