Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911345 - net-misc/icaclient shouldn't have hard dependency on net-libs/webkit-gtk
Summary: net-misc/icaclient shouldn't have hard dependency on net-libs/webkit-gtk
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-27 22:31 UTC by Mark Harmstone
Modified: 2024-11-05 15:20 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with webkit USE flag (icaclient-22.12.0.12-r2.ebuild,6.29 KB, text/plain)
2023-09-05 21:06 UTC, Mark Harmstone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Harmstone 2023-07-27 22:31:46 UTC
At present net-misc/icaclient has a hard dependency on net-libs/webkit-gtk, a package which not only takes a long time to compile, but also pulls in other stuff like Ruby. However, this is only a dependency of some ancillary files - the Citrix base program wfica works perfectly well without webkit-gtk.

It'd be nice if we could have a USE flag which gets rid of the dependency on webkit-gtk, at the expense of not pulling in the files (util/webcontainer, lib/UIDialogLibWebKit3.so, selfservice) that rely on it.

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2023-09-05 19:45:12 UTC
I previously filed a bug (bug 893706) asking whether it was possible to switch to a newer slot of webkit-gtk or drop the dependency completely.

It didn't seem like the then-maintainer knew what functionality was reliant on webkit-gtk, but it sounds like you might know better.

If you know, could you tell us here? Thanks!
Comment 2 Mark Harmstone 2023-09-05 21:06:30 UTC
Created attachment 869893 [details]
ebuild with webkit USE flag
Comment 3 Mark Harmstone 2023-09-05 21:09:39 UTC
It seems to be mainly the selfservice program, used for enrolment(?).

Have a look at the ebuild I've just attached - I've been testing it the past few days, and it's been fine.
Comment 4 Mark Harmstone 2023-09-05 21:13:07 UTC
I can't see that util/webcontainer and lib/UIDialogLibWebKit3.so are actually used by anything.
Comment 5 Michael Yagliyan 2023-09-19 20:17:59 UTC
FWIW as a regular user of icaclient, I'd happily accept some degraded functionality in order to avoid having to build webkit-gtk.  My PC has 16 cores, 32 threads, 128GB RAM, and I build entirely within RAM (in a tmpfs), and even I find building webkit-gtk to be a nuisance.
Comment 6 OzTiram 2024-10-18 19:59:32 UTC
I added myself as a co-maintainer of this ebuild, as I was who actually did the latest updated for this package. I will take a look of adding webkit-gtk as optional dependency.
Comment 7 OzTiram 2024-10-18 20:04:32 UTC
Looking at the debian package that citrix distribute:

Package: icaclient
Version: 24.8.0.98
Architecture: amd64
Maintainer: Citrix Systems, Inc. <debian.package.support@citrix.com>
Installed-Size: 1122483
Pre-Depends: debconf (>= 0.5)
Depends: libc6 (>= 2.13-38), libice6 (>= 1:1.0.0), libgtk2.0-0 (>= 2.12.0), libsm6, libx11-6, libxext6, libxmu6, libxpm4, libasound2, libstdc++6, libidn11 | libidn12, zlib1g, curl (>= 7.68), libsqlite3-0, libspeexdsp1, libva2
Recommends: libglib2.0-0 (>= 2.12.0), libgstreamer-plugins-base0.10-0 (>= 0.10.15), libgstreamer0.10-0 (>= 0.10.15), libspeex1, libvorbis0a, libvorbisenc2, libcanberra-gtk-module, gstreamer1.0-libav (>= 1.2.0), gstreamer1.0-plugins-bad (>= 1.2.0), pulseaudio, libwebkit2gtk-4.0-37

libwebkit2gtk is an optional dependecy. Hence, I think we can definitely add a use flag to pull it optionally.