Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918689 - app-text/zotero-bin requires both gtk+:3 and gtk+:2, while is working fine with gtk+:3 only
Summary: app-text/zotero-bin requires both gtk+:3 and gtk+:2, while is working fine wi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 10:09 UTC by Mantas
Modified: 2023-12-15 09:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?