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

Bug 908536

Summary: [earshark] x11-misc/ulauncher-5.15.2 is missing runtime dependency >=x11-libs/libnotify-0.7.0
Product: Gentoo Linux Reporter: bugs.gentoo.org
Component: OverlaysAssignee: Valeriy Malov <jazzvoid>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo-mirror/earshark/tree/master/x11-misc/ulauncher
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ulauncher error when missing dependency

Description bugs.gentoo.org 2023-06-15 12:49:36 UTC
Created attachment 863859 [details]
ulauncher error when missing dependency

x11-misc/ulauncher-5.15.2, provided in earshark overlay, is missing runtime dependency x11-libs/libnotify.

When running ulauncher, it will attempt sending a notification regarding what its keybinding is.

"ulauncher/utils/desktop/notification.py" (https://github.com/Ulauncher/Ulauncher/blob/v5/ulauncher/utils/desktop/notification.py), lines 3 and 5, tries a "gi.require_version()" check for "Notify" "0.7" or "0.8" before import, failure *missing or wrong version) leads to ulauncher exiting with a ValueError exception.

x11-libs/libnotify satisfies the check, but is not listed in RDEPEND of ulauncher-5.15.2.ebuild.

Adding "|| ( =x11-libs/libnotify-0.8* =x11-libs/libnotify-0.7* )" to RDEPEND of ebuild pulled in libnotify-0.8.2 (and its own dependencies) and ulauncher started normally as expected. I Used the 'Any of Many' syntax since notification.py is hard coded to check for only version 0.7.x and 0.8.x.
Comment 1 bugs.gentoo.org 2023-06-15 12:55:24 UTC
According to https://wiki.gentoo.org/wiki/Bugzilla/Guide bug submitter should be able to reassign, but I can't find where/how to do that.

Should be assigned to mailto:jazzvoid@gmail.com