Bug 718828

Summary: [notification] missing libnotify support
Product: [Fedora] Fedora Reporter: Flavio Leitner <fleitner>
Component: claws-mail-pluginsAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: andreas.bierfert, bugs.michael
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: claws-mail-plugins-3.7.9-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-15 01:26:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Flavio Leitner 2011-07-04 21:51:31 UTC
Description of problem:

Though the package has a patch to enable libnotify > 0.7.0, it misses to change the configure and configure.ac which requires libnotify < 0.7.3, so as the current libnotify is bigger than that, the support is disabled.

Patching configure.ac and configure files to ignore the  LIBNOTIFY_TOO_HIGH fixes the issue.

Version-Release number of selected component (if applicable):
claws-mail-plugins-notification-3.7.9-3.fc15.i686

How reproducible:
Always

Steps to Reproduce:
1. Install the package
2. check ldd output on /usr/lib/claws-mail/plugins/notification_plugin.so the missing libnotify link

Actual results:
It falls back to a standalone window.

Expected results:
Uses the notification mechanism provided by libnotify:
$ ldd /usr/lib/claws-mail/plugins/notification_plugin.so | grep notify
	libnotify.so.4 => /usr/lib/libnotify.so.4 (0x002a8000)

Comment 1 Michael Schwendt 2011-07-05 07:51:52 UTC
The problem is something else.

This is new in 3.7.9, btw, where the configure script has changed. In 3.7.8 the build.log said "libnotify ... yes":
http://kojipkgs.fedoraproject.org/packages/claws-mail-plugins/3.7.8/8.fc15/data/logs/i686/build.log


>  to ignore the  LIBNOTIFY_TOO_HIGH

Not ignore it, but bump it and:

The notification-plugin ought to add configure option --enable-libnotify explicitly as then it is supposed to error out for an incompatible libnotify.

Comment 2 Fedora Update System 2011-07-05 09:14:19 UTC
claws-mail-plugins-3.7.9-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-4.fc15

Comment 3 Fedora Update System 2011-07-05 09:14:27 UTC
claws-mail-plugins-3.7.9-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-4.fc14

Comment 4 Fedora Update System 2011-07-06 21:25:18 UTC
Package claws-mail-plugins-3.7.9-4.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing claws-mail-plugins-3.7.9-4.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.9-4.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-07-15 01:26:44 UTC
claws-mail-plugins-3.7.9-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2011-07-15 01:28:42 UTC
claws-mail-plugins-3.7.9-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.