notification-daemon: add obligatory --prefix parameter to dbus-binding-tool
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 15 Jan 2007 15:43:24 +0000 (15:43 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 15 Jan 2007 15:43:24 +0000 (15:43 +0000)
- fixes compilation against dbus-glib >= 0.72

packages/notification-daemon/files/.mtn2git_empty [new file with mode: 0644]
packages/notification-daemon/files/dbus-glib-tool-prefix.patch [new file with mode: 0644]
packages/notification-daemon/notification-daemon_0.3.6.bb

diff --git a/packages/notification-daemon/files/.mtn2git_empty b/packages/notification-daemon/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/notification-daemon/files/dbus-glib-tool-prefix.patch b/packages/notification-daemon/files/dbus-glib-tool-prefix.patch
new file mode 100644 (file)
index 0000000..bfe06f7
--- /dev/null
@@ -0,0 +1,13 @@
+Index: notification-daemon-0.3.6/src/Makefile.am
+===================================================================
+--- notification-daemon-0.3.6.orig/src/Makefile.am     2007-01-15 16:25:37.000000000 +0100
++++ notification-daemon-0.3.6/src/Makefile.am  2007-01-15 16:26:01.000000000 +0100
+@@ -13,7 +13,7 @@
+ BUILT_SOURCES = notificationdaemon-dbus-glue.h
+ notificationdaemon-dbus-glue.h: notificationdaemon.xml
+-      dbus-binding-tool --mode=glib-server \
++      dbus-binding-tool --mode=glib-server --prefix= \
+               $(srcdir)/notificationdaemon.xml > notificationdaemon-dbus-glue.h
+ INCLUDES = \
index 8acabfa..1fdf6f2 100644 (file)
@@ -9,7 +9,8 @@ FILES_${PN} = "${libexecdir}/notification-daemon \
        ${libdir}/notification-daemon-1.0/engines/libstandard.so \
        ${sysconfdir}/gconf/schemas/notification-daemon.schemas"
 
-SRC_URI =       "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz"
+SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz \
+       file://dbus-glib-tool-prefix.patch;patch=1"
 EXTRA_OECONF = "--disable-binreloc"
 
 inherit autotools pkgconfig