https://bugs.meego.com/show_bug.cgi?id=22668

           Summary: syncevolution.org binaries: libnotify1 -> libnotify4
                    incompatibility
    Classification: MeeGo Projects
           Product: SyncEvolution
          Platform: ---
           Version: unspecified
          Platform: Common
      Architecture: ---
            Status: NEW
          Severity: enhancement
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


Newer Linux distros no longer have libnotify.so.1, preventing installation
resp. running binaries from syncevolution.org. It got replaced with
libnotify.so.4.

The source code already works with the old and new API:
#ifndef NOTIFY_CHECK_VERSION
# define NOTIFY_CHECK_VERSION(_x,_y,_z) 0
#endif
#if !NOTIFY_CHECK_VERSION(0,7,0)
    m_notification = notify_notification_new(summary.c_str(), body.c_str(),
NULL, NULL);
#else
    m_notification = notify_notification_new(summary.c_str(), body.c_str(),
NULL);
#endif

For binaries we need a --enable-libnotify-compatibility switch, similar to
--enable-neon-compatibility. Simply always calling notify_notification_new()
with four parameters may be enough.

--------
Product: SyncEvolution
Component: SyncEvolution
MeeGo Release: unspecified
Severity: enhancement
Priority: Undecided
Keywords: 
Status: NEW
Who: [email protected]
Assigned To: [email protected]
Target Build: ---
Flags: 
Changed: 
--------

https://bugs.meego.com/show_bug.cgi?id=22668


-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to