Comma at end of list isn't valid c++, and c++ code might use libnotify.

Old gcc releases don't support attributes on enum members.

Index: libnotify/notification.h
--- libnotify/notification.h.orig
+++ libnotify/notification.h
@@ -84,7 +84,7 @@ typedef enum
 {
         NOTIFY_URGENCY_LOW,
         NOTIFY_URGENCY_NORMAL,
-        NOTIFY_URGENCY_CRITICAL,
+        NOTIFY_URGENCY_CRITICAL
 
 } NotifyUrgency;
 
@@ -109,8 +109,8 @@ typedef enum
         NOTIFY_CLOSED_REASON_UNDEFINED = 4,
 
         NOTIFY_CLOSED_REASON_UNDEFIEND
-        __attribute__((__deprecated__(
-                "Use 'NOTIFY_CLOSED_REASON_UNDEFINED' instead"))) = 4,
+        /*__attribute__((__deprecated__(
+                "Use 'NOTIFY_CLOSED_REASON_UNDEFINED' instead")))*/ = 4,
 } NotifyClosedReason;
 
 /**
