mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
obex-data-server: Fix build with new openobex version
Add missing dependency on dbus-glib-native, this is needed for getting DBUS_BINDING_TOOL Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
|||||||
|
Submitted By: Armin K. <krejzi at email dot com>
|
||||||
|
Date: 2012-07-06
|
||||||
|
Initial Package Version: 0.4.6
|
||||||
|
Upstream Status: Unknown
|
||||||
|
Origin: Self
|
||||||
|
Description: Some build fixes.
|
||||||
|
|
||||||
|
Index: obex-data-server-0.4.6/src/ods-obex.c
|
||||||
|
===================================================================
|
||||||
|
--- obex-data-server-0.4.6.orig/src/ods-obex.c
|
||||||
|
+++ obex-data-server-0.4.6/src/ods-obex.c
|
||||||
|
@@ -412,7 +412,7 @@ ods_obex_setup_usbtransport (OdsObexCont
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
|
||||||
|
- interfaces_num = OBEX_FindInterfaces(obex_context->obex_handle, &obex_intf);
|
||||||
|
+ interfaces_num = OBEX_EnumerateInterfaces(obex_context->obex_handle);
|
||||||
|
if (intf_num >= interfaces_num) {
|
||||||
|
g_set_error (error, ODS_ERROR, ODS_ERROR_FAILED, "Invalid interface number");
|
||||||
|
goto err;
|
||||||
@@ -2,14 +2,15 @@ DESCRIPTION = "obex-data-server is a D-Bus service providing high-level OBEX cli
|
|||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||||
|
|
||||||
DEPENDS = "gtk+ dbus-glib imagemagick openobex"
|
DEPENDS = "gtk+ dbus-glib dbus-glib-native imagemagick openobex"
|
||||||
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
|
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
|
||||||
|
|
||||||
SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz"
|
SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz \
|
||||||
|
file://obex-data-server-0.4.6-build-fixes-1.patch \
|
||||||
|
"
|
||||||
SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d"
|
SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d"
|
||||||
SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f"
|
SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig
|
inherit autotools-brokensep pkgconfig
|
||||||
|
|
||||||
FILES_${PN} += "${datadir}/dbus-1/"
|
FILES_${PN} += "${datadir}/dbus-1/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user