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

Bug 918689

Summary: app-text/zotero-bin requires both gtk+:3 and gtk+:2, while is working fine with gtk+:3 only
Product: Gentoo Linux Reporter: Mantas <mantas>
Component: Current packagesAssignee: Andrew Ammerlaan <andrewammerlaan>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mantas 2023-11-28 10:09:55 UTC
zotero-bin ebuild has folowing in RDEPEND:
        x11-libs/gtk+:2
        x11-libs/gtk+:3

while zotero seems to work fine with only gtk+:3 installed in the system, old version dependency seems unneeded or optional

Reproducible: Always

Steps to Reproduce:
1. emerge zotero-bin on gtk-less system
2. both gtk2 and gtk3 are pulled in
3.
Comment 1 Alfred Wingate 2023-11-28 11:54:42 UTC
So zotero ships with libmozgtk.so and gtk2/libmozgtk.so. I don't know what uses the gtk2 version other than seeing that the gtk3 version is used.

[pid  1098] openat(AT_FDCWD, "/opt/zotero/libmozgtk.so", O_RDONLY) = 4
[pid  1098] openat(AT_FDCWD, "/opt/zotero/libmozgtk.so", O_RDONLY|O_CLOEXEC) = 4

So there may be some gtk2/gtk3 conditional paths or the gtk2 version is leftover.
Comment 2 Andrew Ammerlaan gentoo-dev 2023-11-28 12:29:22 UTC
I think (but I am not sure) that gtk2 (via gtk2/libmozgtk.so) might be required for some plugins.
Comment 3 Mantas 2023-12-15 09:57:01 UTC
Would it be suitable to put gtk2 dependency behind a useflag?