Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 911345

Summary: net-misc/icaclient shouldn't have hard dependency on net-libs/webkit-gtk
Product: Gentoo Linux Reporter: Mark Harmstone <mark>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: UNCONFIRMED ---    
Severity: enhancement CC: burnsmellfactory, jstein, mattst88, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893706
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild with webkit USE flag

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.