[weasel-commit] Source: notification-daemon=0.4.0-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2010 11:20:33 -0500

================================
notification-daemon:source=0.4.0-1
cvc rdiff notification-daemon -1 /weasel.rpath.org@wgl:3-devel/0.4.0-1
================================
0.4.0-1 Filip Brcic (brcha@xxxxxxx) Fri Jan 29 11:20:23 2010
    notification-daemon 0.4.0

notification-daemon.recipe: new
--- /dev/null
+++ notification-daemon.recipe
@@ -0,0 +31 @@
+#
+# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx>
+# Distributed under the terms of the GNU General Public License v3
+#
+
+loadSuperClass('gnomepackage')
+class NotificationDaemon(GnomePackageRecipe):
+    name = 'notification-daemon'
+    version = '0.4.0'
+
+    buildRequires = [
+        'GConf:devel', 'GConf:runtime', 'desktop-file-utils:runtime',
+        'gstreamer:devel', 'libglade:devel', 'libnotify:devel',
+        'libsexy:devel', 'libwnck:devel', 'libxml2:devel',
+        ]
+
+    shortDesc  = 'Notifications daemon'
+    url        = 'http://www.galago-project.org/'
+    licenses   = [ 'GPL-2' ]
+    categories = [ 'X' ]
+
+    externalArchive = 
'http://www.galago-project.org/files/releases/source/%(name)s/'
+
+    patches = [
+        'notification-daemon-0.4.0-report-sound-capability.patch',
+        ]
+
+    extraConfig = (
+        ' --enable-sound'
+        ' --enable-gstreamer'
+        )

notification-daemon-0.4.0-report-sound-capability.patch: new
--- /dev/null
+++ notification-daemon-0.4.0-report-sound-capability.patch
@@ -0,0 +27 @@
+diff -Nur notification-daemon-0.4.0/src/daemon/daemon.c 
notification-daemon-0.4.0_patched/src/daemon/daemon.c
+--- notification-daemon-0.4.0/src/daemon/daemon.c      2008-09-26 
04:27:07.000000000 +0300
++++ notification-daemon-0.4.0_patched/src/daemon/daemon.c      2009-05-02 
18:50:32.000000000 +0300
+@@ -1370,14 +1370,23 @@
+ gboolean
+ notify_daemon_get_capabilities(NotifyDaemon *daemon, char ***caps)
+ {
++#ifdef HAVE_GSTREAMER
++      *caps = g_new0(char *, 7);
++#else
+       *caps = g_new0(char *, 6);
++#endif
+ 
+       (*caps)[0] = g_strdup("actions");
+       (*caps)[1] = g_strdup("body");
+       (*caps)[2] = g_strdup("body-hyperlinks");
+       (*caps)[3] = g_strdup("body-markup");
+       (*caps)[4] = g_strdup("icon-static");
++#ifdef HAVE_GSTREAMER
++      (*caps)[5] = g_strdup("sound");
++      (*caps)[6] = NULL;
++#else
+       (*caps)[5] = NULL;
++#endif
+ 
+       return TRUE;
+ }

notification-daemon-0.4.0.tar.bz2: new

Committed by: brcha

Other related posts: