Bug 426336

Summary: installing Okular on MacOS via Homebrew: Too many dependencies
Product: [Applications] okular Reporter: Rapha <rapha.k>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
URL: https://github.com/KDE/okular/releases/tag/v20.08.1
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Too many dependencies

Description Rapha 2020-09-09 09:56:22 UTC
Created attachment 131509 [details]
Too many dependencies

SUMMARY
I just wanted to install Okular on my Mac, but it takes too long time and heating up the CPU.

STEPS TO REPRODUCE
1. 
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

2. 
brew install wget
brew untap kde-mac/kde 2> /dev/null
brew tap kde-mac/kde https://invent.kde.org/packaging/homebrew-kde.git --force-auto-update
(brew --repo kde-mac/kde)/tools/do-caveats.sh"

3. 
brew install kde-mac/kde/okular

OBSERVED RESULT
Here are all the packages, which are still being installed without my consent:

cmake, kde-extra-cmake-modules, doxygen, qt, kde-ki18n, ninja, docbook, docbook-xsl, xz, kde-karchive, gdbm, readline, sqlite, python@3.8, libxml2, libxslt, KDE-mac/kde/kf5-kdoctools, jpeg, libtiff, djvulibre, libpng, freetype, KDE-mac/kde/kf5-breeze-icons, icu4c, boost, fontconfig, webp, gd, libffi, pcre, glib, jasper, netpbm, gts, libtool, lzo, pixman, cairo, fribidi, pkg-config, gobject-introspection, graphite2, harfbuzz, pango, graphviz, KDE-mac/kde/kf5-kconfig, gnu-getopt, xmlto, shared-mime-info, KDE-mac/kde/kf5-kcoreaddons, KDE-mac/kde/kf5-kwindowsystem, KDE-mac/kde/kf5-kactivities, gperf, giflib, KDE-mac/kde/kf5-kjs, desktop-file-utils, KDE-mac/kde/kf5-attica, KDE-mac/kde/kf5-kcrash, KDE-mac/kde/kf5-kdbusaddons, KDE-mac/kde/kf5-kglobalaccel, KDE-mac/kde/kf5-kwidgetsaddons, KDE-mac/kde/kf5-kcompletion, adns, gmp, bdw-gc, guile, libtasn1, nettle, p11-kit, libevent, unbound, gnutls, libgpg-error, libassuan, libgcrypt, libksba, libusb, npth, pinentry, gnupg, gpgme, KDE-mac/kde/kf5-kauth, KDE-mac/kde/kf5-kcodecs, KDE-mac/kde/kf5-kguiaddons, KDE-mac/kde/kf5-kconfigwidgets, KDE-mac/kde/kf5-kitemviews, KDE-mac/kde/kf5-kiconthemes, bison, flex, KDE-mac/kde/kf5-kservice, KDE-mac/kde/kf5-sonnet, KDE-mac/kde/kf5-ktextwidgets, KDE-mac/kde/kf5-kxmlgui, KDE-mac/kde/kf5-kbookmarks, KDE-mac/kde/kf5-kjobwidgets, KDE-mac/kde/phonon, libogg, libvorbis, libcanberra, KDE-mac/kde/kf5-knotifications, KDE-mac/kde/kf5-kwallet, KDE-mac/kde/kf5-solid, KDE-mac/kde/kf5-kio, KDE-mac/kde/kf5-kparts, zlib, KDE-mac/kde/kf5-khtml, KDE-mac/kde/kf5-kpackage, KDE-mac/kde/kf5-kirigami2, KDE-mac/kde/kf5-kpty, libssh, exiv2, KDE-mac/kde/libkexiv2, kde-threadweaver, ghostscript, libspectre, little-cms2, nspr, nss, openjpeg, poppler, botan, pkcs11-helper and qca

EXPECTED RESULT
inform me before heating up my mac for almost one hour, just to install one software package.

SOFTWARE/OS VERSIONS
macOS: Catalina
I'had never installed any KDE software on this Mac before this.

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2020-09-09 10:04:58 UTC
I can not see any dependency there that is unneeded. I will be grateful if you can point which of those is unneeded.
Comment 2 Rapha 2020-09-09 11:00:31 UTC
another bug report after installation of okular in macos via homebrew: 
https://bugs.kde.org/show_bug.cgi?id=426338
Comment 3 Rapha 2020-09-09 11:03:51 UTC
I know from Linux that dependencies may exist. I am newby to installing Linux software on MacOS, so I didn't expect soo many dependencies. But this installation just took too long via Homebrew, and made my MacBook ventillator run fast for about one hour. The installation was successful with minor bugs, which I reported under: https://bugs.kde.org/show_bug.cgi?id=426338

(In reply to Albert Astals Cid from comment #1)
> I can not see any dependency there that is unneeded. I will be grateful if
> you can point which of those is unneeded.