diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-03-27 14:22:30 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-27 14:22:30 +0000 |
commit | 7946db6bacf66b8632151912347e5f6e3018f1b1 (patch) | |
tree | 86d920aa4c6cf80bd48845aabc916289648b2c77 /packages/openobex | |
parent | 49de111e7100b173dedad323fa7537bd4b362c37 (diff) |
openobex: add version 1.2, remove version 1.0.1
openobex-apps has been integrated into openobex
Diffstat (limited to 'packages/openobex')
-rw-r--r-- | packages/openobex/files/.mtn2git_empty (renamed from packages/openobex/openobex-1.0.1/.mtn2git_empty) | 0 | ||||
-rw-r--r-- | packages/openobex/files/disable-cable-test.patch | 16 | ||||
-rw-r--r-- | packages/openobex/openobex-1.0.1/syms.patch | 44 | ||||
-rw-r--r-- | packages/openobex/openobex_1.0.1.bb | 24 | ||||
-rw-r--r-- | packages/openobex/openobex_1.2.bb | 29 |
5 files changed, 45 insertions, 68 deletions
diff --git a/packages/openobex/openobex-1.0.1/.mtn2git_empty b/packages/openobex/files/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/openobex/openobex-1.0.1/.mtn2git_empty +++ b/packages/openobex/files/.mtn2git_empty diff --git a/packages/openobex/files/disable-cable-test.patch b/packages/openobex/files/disable-cable-test.patch new file mode 100644 index 0000000000..95b636dd8f --- /dev/null +++ b/packages/openobex/files/disable-cable-test.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- openobex-1.2/apps/Makefile.am~disable-cable-test ++++ openobex-1.2/apps/Makefile.am +@@ -6,7 +6,7 @@ + obex_io.c obex_io.h \ + obex_put_common.c obex_put_common.h + +-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test ++bin_PROGRAMS = irxfer obex_tcp irobex_palm3 + + obex_test_SOURCES = \ + obex_test.c obex_test.h \ diff --git a/packages/openobex/openobex-1.0.1/syms.patch b/packages/openobex/openobex-1.0.1/syms.patch deleted file mode 100644 index 46eea177cf..0000000000 --- a/packages/openobex/openobex-1.0.1/syms.patch +++ /dev/null @@ -1,44 +0,0 @@ -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 deleted file mode 100644 index 221ea71d61..0000000000 --- a/packages/openobex/openobex_1.0.1.bb +++ /dev/null @@ -1,24 +0,0 @@ -LICENSE = "GPL" -DESCRIPTION = "The Openobex project aims to make an \ -open source implementation of the Object Exchange \ -(OBEX) protocol." -SECTION = "libs" -PR = "r4" - -# 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/ -} diff --git a/packages/openobex/openobex_1.2.bb b/packages/openobex/openobex_1.2.bb new file mode 100644 index 0000000000..61ce72663b --- /dev/null +++ b/packages/openobex/openobex_1.2.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "The Openobex project aims to make an \ +open source implementation of the Object Exchange \ +(OBEX) protocol." +HOMEPAGE = "http://openobex.triq.net" +SECTION = "libs" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \ + file://disable-cable-test.patch;patch=1" + +inherit autotools binconfig pkgconfig + +EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump" + +do_stage() { + oe_libinstall -so -C lib libopenobex ${STAGING_LIBDIR} + ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.2.so + install -d ${STAGING_INCDIR}/openobex + install -m 0644 include/*.h ${STAGING_INCDIR}/openobex/ + install -d ${STAGING_DIR}/aclocal + install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/ +} + +# how to stop shlibrename from renaming -apps? +PACKAGES = "${PN} ${PN}-dev openobex-apps" +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir}/openobex-config" +FILES_${PN}-apps = "${bindir}" |