Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908536 - [earshark] x11-misc/ulauncher-5.15.2 is missing runtime dependency >=x11-libs/libnotify-0.7.0
Summary: [earshark] x11-misc/ulauncher-5.15.2 is missing runtime dependency >=x11-libs...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Valeriy Malov
URL: https://github.com/gentoo-mirror/ears...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-15 12:49 UTC by bugs.gentoo.org
Modified: 2023-06-17 18:54 UTC (History)
0 users

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


Attachments
ulauncher error when missing dependency (ulauncher-error.log,1.26 KB, text/plain)
2023-06-15 12:49 UTC, bugs.gentoo.org
Details

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