Bug 240347

Summary: [WPE][GTK] Drop libnotify
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=180813
https://bugs.webkit.org/show_bug.cgi?id=243255

Description Michael Catanzaro 2022-05-12 08:46:11 PDT
Currently WPE has no support for desktop notifications.

GTK supports desktop notifications via libnotify, but this library has been deprecated for a very long time. We should switch to GNotification. This will finally support WPE, too.
Comment 1 Michael Catanzaro 2022-05-12 09:54:56 PDT
(In reply to Michael Catanzaro from comment #0)
> We should switch to GNotification.

So I tried this today, but turns out the API is very awkward to use. Patrick suggests using the notifications portal D-Bus API directly. It's probably a smarter approach.
Comment 2 Carlos Garcia Campos 2022-08-05 04:31:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3040
Comment 3 EWS 2022-08-06 07:51:33 PDT
Committed 253179@main (95858e6cc2e3): <https://commits.webkit.org/253179@main>

Reviewed commits have been landed. Closing PR #3040 and removing active labels.