Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933447 - x11-terms/kitty-0.35.1: missing runtime dep x11-libs/startup-notification
Summary: x11-terms/kitty-0.35.1: missing runtime dep x11-libs/startup-notification
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 06:09 UTC by nurali
Modified: 2024-06-03 06:40 UTC (History)
3 users (show)

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 nurali 2024-06-03 06:09:25 UTC
ali@gentoo /usr/lib64 $ kitty
[0.145] Failed to load libstartup-notification-1.so with error: libstartup-notification-1.so.0.0.0: cannot open shared object file: No such file or directory. This has two main effects: There will be no startup feedback and when using --single-instance, kitty windows may start on an incorrect desktop/workspace.

Missing so that provided by x11-libs/startup-notification
Should depend x11-libs/startup-notification
Comment 1 Ionen Wolkens gentoo-dev 2024-06-03 06:15:08 UTC
Think this is more of an optfeature, been quite happy without having that installed myself.
Comment 2 Ionen Wolkens gentoo-dev 2024-06-03 06:19:43 UTC
(In reply to Ionen Wolkens from comment #1)
> Think this is more of an optfeature, been quite happy without having that
> installed myself.
...it's furthermore a X11-only library and would prevent installation libX11-less systems, and some people like using kitty without it.

So figure I'll just add it as optfeature like libcanberra and xdg-utils.
Comment 3 nurali 2024-06-03 06:29:12 UTC
(In reply to Ionen Wolkens from comment #2)
> (In reply to Ionen Wolkens from comment #1)
> > Think this is more of an optfeature, been quite happy without having that
> > installed myself.
> ...it's furthermore a X11-only library and would prevent installation
> libX11-less systems, and some people like using kitty without it.
> 
> So figure I'll just add it as optfeature like libcanberra and xdg-utils.

Hmmm, first day with Kitty (Using Konsole before), controlling by USE flag is maybe better? Or maybe not, I am not dev, if it is not a big problem, I also can leave it what it is.
Comment 4 Ionen Wolkens gentoo-dev 2024-06-03 06:33:46 UTC
(In reply to nurali from comment #3)
> (In reply to Ionen Wolkens from comment #2)
> > (In reply to Ionen Wolkens from comment #1)
> > > Think this is more of an optfeature, been quite happy without having that
> > > installed myself.
> > ...it's furthermore a X11-only library and would prevent installation
> > libX11-less systems, and some people like using kitty without it.
> > 
> > So figure I'll just add it as optfeature like libcanberra and xdg-utils.
> 
> Hmmm, first day with Kitty (Using Konsole before), controlling by USE flag
> is maybe better? Or maybe not, I am not dev, if it is not a big problem, I
> also can leave it what it is.

optfeatures are used to advertise that it's something people may want, but does not force anything -- aka if you want it, then you add it to your world file (no real need for a USE here, it's also against Gentoo policy to have USE that only control runtime dependencies bare some exceptions due to causing unnecessary rebuilds when changing them).

kitty also gives a similar error for libsystemd:
[0.493] Failed to load libsystemd.so with error: libsystemd.so.0.38.0: cannot open shared object file: No such file or directory

But not going make it a systemd-only package over that :) It's just noise.
Comment 5 Ionen Wolkens gentoo-dev 2024-06-03 06:35:31 UTC
libcanberra is also another similar dep for kitty's audio bell support, but not everyone care for that and want to install it
Comment 6 nurali 2024-06-03 06:39:12 UTC
(In reply to Ionen Wolkens from comment #5)
> libcanberra is also another similar dep for kitty's audio bell support, but
> not everyone care for that and want to install it

Understood.Thank you for explaining
Can you mark this as RESOLVED?
Comment 7 Larry the Git Cow gentoo-dev 2024-06-03 06:40:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5135aa73a2e56a73df28b4342375b0097be53a

commit ec5135aa73a2e56a73df28b4342375b0097be53a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-06-03 06:37:57 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-06-03 06:39:31 +0000

    x11-terms/kitty: advertise startup-notification optfeature
    
    Closes: https://bugs.gentoo.org/933447
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-terms/kitty/kitty-0.35.1.ebuild | 1 +
 x11-terms/kitty/kitty-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)