summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-02-01 13:05:39 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:59:42 +0000
commit50b9f87124bcfce2ff2dd65009272885eed6ee7a (patch)
tree566325bc9a20019f28021bf3d3739027752b7266 /meta/recipes-support
parenta196ab068fa0717d724e7e7c6c60bb38237f771b (diff)
downloadpoky-50b9f87124bcfce2ff2dd65009272885eed6ee7a.tar.gz
libfm: remove add_missing.patch as part of glib-2.0 downgrade
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch50
-rw-r--r--meta/recipes-support/libfm/libfm_0.1.14.bb5
2 files changed, 2 insertions, 53 deletions
diff --git a/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch b/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch
deleted file mode 100644
index 3739d8056e..0000000000
--- a/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1Add missing definitions and declarations for libfm which are
2needed by libfm.
3
4Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
5
6diff -ruN libfm-0.1.12-orig/src/gio/fm-app-lookup.h libfm-0.1.12/src/gio/fm-app-lookup.h
7--- libfm-0.1.12-orig/src/gio/fm-app-lookup.h 2010-11-17 22:00:48.000000000 +0800
8+++ libfm-0.1.12/src/gio/fm-app-lookup.h 2010-11-17 22:01:13.000000000 +0800
9@@ -53,6 +53,41 @@
10 GType fm_app_lookup_get_type(void);
11 void fm_app_lookup_register(GIOModule *module);
12
13+#define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup_get_type ())
14+#define G_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookup))
15+#define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP))
16+#define G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookupIface))
17+
18+/**
19+ * G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME:
20+ *
21+ * Extension point for default handler to URI association. See
22+ * <link linkend="extending-gio">Extending GIO</link>.
23+ */
24+#define G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME "gio-desktop-app-info-lookup"
25+
26+/**
27+ * GDesktopAppInfoLookup:
28+ *
29+ * Interface that is used by backends to associate default
30+ * handlers with URI schemes.
31+ */
32+typedef struct _GDesktopAppInfoLookup GDesktopAppInfoLookup;
33+typedef struct _GDesktopAppInfoLookupIface GDesktopAppInfoLookupIface;
34+
35+struct _GDesktopAppInfoLookupIface
36+{
37+ GTypeInterface g_iface;
38+
39+ GAppInfo * (* get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup,
40+ const char *uri_scheme);
41+};
42+
43+GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST;
44+
45+GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
46+ const char *uri_scheme);
47+
48 G_END_DECLS
49
50 #endif /* __FM_APP_LOOKUP_H__ */
diff --git a/meta/recipes-support/libfm/libfm_0.1.14.bb b/meta/recipes-support/libfm/libfm_0.1.14.bb
index e8e672cf83..c56ad331c1 100644
--- a/meta/recipes-support/libfm/libfm_0.1.14.bb
+++ b/meta/recipes-support/libfm/libfm_0.1.14.bb
@@ -10,10 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
10SECTION = "x11/libs" 10SECTION = "x11/libs"
11DEPENDS = "gtk+ menu-cache intltool" 11DEPENDS = "gtk+ menu-cache intltool"
12 12
13PR = "r1" 13PR = "r2"
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz"
16 file://add_missing.patch"
17 16
18SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f" 17SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f"
19SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b" 18SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b"