summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/menu-cache/files/Fix-segfault.patch31
-rw-r--r--meta/recipes-graphics/menu-cache/menu-cache_0.4.1.bb21
-rw-r--r--meta/recipes-graphics/menu-cache/menu-cache_1.0.0.bb16
3 files changed, 16 insertions, 52 deletions
diff --git a/meta/recipes-graphics/menu-cache/files/Fix-segfault.patch b/meta/recipes-graphics/menu-cache/files/Fix-segfault.patch
deleted file mode 100644
index 74a04074ec..0000000000
--- a/meta/recipes-graphics/menu-cache/files/Fix-segfault.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From a497ea6aae3994b7f6527ef7599dd95baf2ad841 Mon Sep 17 00:00:00 2001
2From: Laurentiu Palcu <laurentiu.palcu@intel.com>
3Date: Mon, 29 Apr 2013 12:04:20 +0300
4Subject: [PATCH] Fix segfault
5
6Apparently, g_io_channel_unref() was called twice: once in the
7menu-cache's on_client_closed() callback and once from the finalize
8function, g_io_unix_finalize()/g_io_win32_finalize(), which is called
9anyway when the source is removed.
10
11Upstream-Status: Pending
12Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
13---
14 menu-cache-daemon/menu-cached.c | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/menu-cache-daemon/menu-cached.c b/menu-cache-daemon/menu-cached.c
18index e246bb4..a10b6db 100644
19--- a/menu-cache-daemon/menu-cached.c
20+++ b/menu-cache-daemon/menu-cached.c
21@@ -579,7 +579,6 @@ static void on_client_closed(gpointer user_data)
22 }
23 }
24 /* DEBUG("client closed"); */
25- g_io_channel_unref(ch);
26 }
27
28 static gboolean on_client_data_in(GIOChannel* ch, GIOCondition cond, gpointer user_data)
29--
301.7.9.5
31
diff --git a/meta/recipes-graphics/menu-cache/menu-cache_0.4.1.bb b/meta/recipes-graphics/menu-cache/menu-cache_0.4.1.bb
deleted file mode 100644
index 98bbe76412..0000000000
--- a/meta/recipes-graphics/menu-cache/menu-cache_0.4.1.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1SUMMARY = "Library for caching application menus"
2DESCRIPTION = "A library creating and utilizing caches to speed up freedesktop.org application menus"
3HOMEPAGE = "http://lxde.sourceforge.net/"
4
5LICENSE = "GPLv2 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://libmenu-cache/menu-cache.h;endline=29;md5=26571532593adb17a37eac396260532c \
8 file://menu-cache-daemon/menu-cached.c;endline=22;md5=fcecb7d315c57ef804103fa9cdab7111"
9
10SECTION = "x11/libs"
11DEPENDS = "glib-2.0 zlib"
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/menu-cache-${PV}.tar.gz \
14 file://Fix-segfault.patch \
15 "
16
17SRC_URI[md5sum] = "20fed982f5d8e6ec8a56a5b48894ecf0"
18SRC_URI[sha256sum] = "4fa9408e353fedba5b7314cbf6b6cd06d873a1424e281aa050d88bb9c0a0191e"
19
20
21inherit autotools pkgconfig gtk-doc
diff --git a/meta/recipes-graphics/menu-cache/menu-cache_1.0.0.bb b/meta/recipes-graphics/menu-cache/menu-cache_1.0.0.bb
new file mode 100644
index 0000000000..ab909f7361
--- /dev/null
+++ b/meta/recipes-graphics/menu-cache/menu-cache_1.0.0.bb
@@ -0,0 +1,16 @@
1SUMMARY = "Library for caching application menus"
2DESCRIPTION = "A library creating and utilizing caches to speed up freedesktop.org application menus"
3HOMEPAGE = "http://lxde.sourceforge.net/"
4
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0964c689fcf4c21c6797ea87408416b6"
7
8SECTION = "x11/libs"
9DEPENDS = "glib-2.0 intltool-native libfm-extra"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/menu-cache-${PV}.tar.xz"
12
13SRC_URI[md5sum] = "4a8e6c1a86d5e64ec725d850a4abfbad"
14SRC_URI[sha256sum] = "ff7df437bbfd3119c5f662c6d209b98f15de03a7203308c6b56a4c1e1d419aaf"
15
16inherit autotools gettext pkgconfig gtk-doc