diff options
Diffstat (limited to 'packages/openobex')
-rw-r--r-- | packages/openobex/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openobex/openobex-1.0.1/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openobex/openobex-1.0.1/syms.patch | 44 | ||||
-rw-r--r-- | packages/openobex/openobex_1.0.1.bb | 24 |
4 files changed, 68 insertions, 0 deletions
diff --git a/packages/openobex/.mtn2git_empty b/packages/openobex/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openobex/.mtn2git_empty diff --git a/packages/openobex/openobex-1.0.1/.mtn2git_empty b/packages/openobex/openobex-1.0.1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openobex/openobex-1.0.1/.mtn2git_empty diff --git a/packages/openobex/openobex-1.0.1/syms.patch b/packages/openobex/openobex-1.0.1/syms.patch index e69de29bb2..46eea177cf 100644 --- a/packages/openobex/openobex-1.0.1/syms.patch +++ b/packages/openobex/openobex-1.0.1/syms.patch @@ -0,0 +1,44 @@ +Index: obex.sym +=================================================================== +RCS file: /cvsroot/openobex/openobex/lib/src/obex.sym,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -r1.7 -r1.8 +--- openobex/src/obex.sym 15 Nov 2002 09:14:11 -0000 1.7 ++++ openobex/src/obex.sym 30 Jan 2004 19:25:45 -0000 1.8 +@@ -1,27 +1,31 @@ + OBEX_Init + OBEX_Cleanup ++OBEX_SetUserData ++OBEX_GetUserData ++OBEX_SetUserCallBack ++OBEX_SetTransportMTU ++OBEX_GetFD + OBEX_RegisterCTransport + OBEX_SetCustomData + OBEX_GetCustomData + OBEX_TransportConnect + OBEX_TransportDisconnect + OBEX_CustomDataFeed +-OBEX_GetFD + OBEX_HandleInput + OBEX_ServerRegister ++OBEX_ServerAccept + OBEX_Request + OBEX_CancelRequest +-OBEX_SetUserData +-OBEX_GetUserData + OBEX_ObjectNew + OBEX_ObjectDelete + OBEX_ObjectAddHeader + OBEX_ObjectGetNextHeader +-OBEX_ObjectReadStream ++OBEX_ObjectReParseHeaders + OBEX_ObjectSetRsp + OBEX_ObjectGetNonHdrData + OBEX_ObjectSetNonHdrData + OBEX_ObjectSetHdrOffset ++OBEX_ObjectReadStream + OBEX_UnicodeToChar + OBEX_CharToUnicode + OBEX_ResponseToString diff --git a/packages/openobex/openobex_1.0.1.bb b/packages/openobex/openobex_1.0.1.bb index e69de29bb2..17cfe8dca6 100644 --- a/packages/openobex/openobex_1.0.1.bb +++ b/packages/openobex/openobex_1.0.1.bb @@ -0,0 +1,24 @@ +LICENSE = GPL +DESCRIPTION = "The Openobex project aims to make an \ +open source implementation of the Object Exchange \ +(OBEX) protocol." +SECTION = "libs" +PR = "r2" + +# put openobex-config into -dev package +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \ + file://syms.patch;patch=1" + +inherit autotools binconfig + +do_stage () { + oe_libinstall -so -C src libopenobex ${STAGING_LIBDIR} + ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.0.so + install -d ${STAGING_INCDIR}/openobex + install -m 0644 src/obex_const.h src/obex.h ${STAGING_INCDIR}/openobex/ + install -d ${STAGING_DIR}/aclocal + install -m 0644 m4macros/openobex.m4 ${STAGING_DATADIR}/aclocal/ +} |