Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589066 - virtual/notification-daemon - satisfied by kde-frameworks/knotifications which doesn't provide org.freedesktop.Notifications dbus service
Summary: virtual/notification-daemon - satisfied by kde-frameworks/knotifications whic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-18 09:25 UTC by Coacher
Modified: 2016-09-21 03:10 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 Coacher 2016-07-18 09:25:46 UTC
Hello.

This bug is closely related to bug 588114.

kde-frameworks/knotifications neither provides any standalone executable to run, nor it provides an automatic activation of org.freedesktop.Notifications dbus service.

Because of this, "notify-send 'Foo' 'Bar'" command doesn't show a notification outside of KDE session when kde-frameworks/knotifications is installed.

Please remove it as a provider for virtual/notification-daemon as it's not compliant with specs [1,2].

[1]: https://developer.gnome.org/notification-spec/
[2]: http://www.galago-project.org/specs/notification/0.9/
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-07-18 20:50:49 UTC
Service is installed. In any case this would be an upstream bug as we dont modify upstream installed filed in this package. 

>johu@rioja ~/src $ equery f knotifications | grep StatusNotifierItem
>/usr/include/KF5/KNotifications/KStatusNotifierItem
>/usr/share/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml

>johu@rioja ~/src $ head -n 3 /usr/share/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml
> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" > "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
><node>
>  <interface name="org.kde.StatusNotifierItem">
Comment 2 Coacher 2016-07-18 21:05:38 UTC
(In reply to Johannes Huber from comment #1)
> Service is installed. In any case this would be an upstream bug as we dont
> modify upstream installed filed in this package. 
> 
> >johu@rioja ~/src $ equery f knotifications | grep StatusNotifierItem
> >/usr/include/KF5/KNotifications/KStatusNotifierItem
> >/usr/share/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml
> 
> >johu@rioja ~/src $ head -n 3 /usr/share/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml
> > <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" > "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
> ><node>
> >  <interface name="org.kde.StatusNotifierItem">
This isn't a service required by spec. This is a KDE-specific service.
A proper implementation must provide org.freedesktop.Notifications service.
Comment 3 Coacher 2016-07-18 21:10:40 UTC
(In reply to Johannes Huber from comment #1)
> In any case this would be an upstream bug as we dont
> modify upstream installed filed in this package. 
Upstream doesn't need to provide such service via knotifications because plasma most likely provides it.

However, virtual/notification-daemon is Gentoo-specific and knotifications isn't a valid provider for it. Please remove knotifications from virtual/notification-daemon providers.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-09-15 16:30:38 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3067883ad54258c59e111e07e87ac6e9e04e5131
Comment 5 OwenJia 2016-09-21 03:10:10 UTC
(In reply to Michael Palimaka (kensington) from comment #4)
> Thanks, fixed in git.
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=3067883ad54258c59e111e07e87ac6e9e04e5131

But how can I use knotifications now? It doesn't work anymore.
Every time when I received a notify, it will show a very ungly gnome-style osd.