startup-notification: replace obsolete automake macros with working ones
authorMarko Lindqvist <cazfi74@gmail.com>
Thu, 10 Jan 2013 10:02:34 +0000 (12:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Jan 2013 08:10:13 +0000 (08:10 +0000)
Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: f311b2d9978e07d4e5f4b6687ff2dba41b5e5da4)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/startup-notification/startup-notification-0.12/obsolete_automake_macros.patch [new file with mode: 0644]
meta/recipes-graphics/startup-notification/startup-notification_0.12.bb

diff --git a/meta/recipes-graphics/startup-notification/startup-notification-0.12/obsolete_automake_macros.patch b/meta/recipes-graphics/startup-notification/startup-notification-0.12/obsolete_automake_macros.patch
new file mode 100644 (file)
index 0000000..9e86f2b
--- /dev/null
@@ -0,0 +1,15 @@
+Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=59097]
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff -Nurd startup-notification-0.12/configure.in startup-notification-0.12/configure.in
+--- startup-notification-0.12/configure.in     2011-05-16 17:29:20.000000000 +0300
++++ startup-notification-0.12/configure.in     2013-01-07 06:00:48.921905409 +0200
+@@ -3,7 +3,7 @@
+ AC_CONFIG_SRCDIR(libsn/sn-launchee.c)
+
+ AM_INIT_AUTOMAKE
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ # Honor aclocal flags
+ AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
index 5598187..036058a 100644 (file)
@@ -19,7 +19,9 @@ DEPENDS = "virtual/libx11 libsm xcb-util"
 
 inherit autotools pkgconfig
 
-SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/${BPN}-${PV}.tar.gz"
+SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/${BPN}-${PV}.tar.gz \
+           file://obsolete_automake_macros.patch \
+"
 
 SRC_URI[md5sum] = "2cd77326d4dcaed9a5a23a1232fb38e9"
 SRC_URI[sha256sum] = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a"