From 4ffe8f6b1ff640722880cf2cd88990956de87e30 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Wed, 3 Jan 2007 20:55:29 +0000 Subject: Check in opensync/libsync/synctool bits - Mostly compiles, not tested git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1113 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../opensync/libopensync-plugin-file-sync_svn.bb | 3 ++ .../libopensync-plugin-syncml-client-plugin_0.1.bb | 9 ++++++ .../opensync/libopensync-plugin-syncml-plugin.bb | 16 ++++++++++ meta/packages/opensync/libopensync-plugin.inc | 24 +++++++++++++++ meta/packages/opensync/libopensync_svn.bb | 18 +++++++++++ meta/packages/opensync/libsyncml_svn.bb | 35 ++++++++++++++++++++++ meta/packages/opensync/msynctool_svn.bb | 10 +++++++ meta/packages/opensync/syncml-client_0.1.bb | 8 +++++ 8 files changed, 123 insertions(+) create mode 100644 meta/packages/opensync/libopensync-plugin-file-sync_svn.bb create mode 100644 meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb create mode 100644 meta/packages/opensync/libopensync-plugin-syncml-plugin.bb create mode 100644 meta/packages/opensync/libopensync-plugin.inc create mode 100644 meta/packages/opensync/libopensync_svn.bb create mode 100644 meta/packages/opensync/libsyncml_svn.bb create mode 100644 meta/packages/opensync/msynctool_svn.bb create mode 100644 meta/packages/opensync/syncml-client_0.1.bb (limited to 'meta/packages/opensync') diff --git a/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb b/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb new file mode 100644 index 000000000..c1c8162b0 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-file-sync_svn.bb @@ -0,0 +1,3 @@ + +require libopensync-plugin.inc + diff --git a/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb b/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb new file mode 100644 index 000000000..9e4749183 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-syncml-client-plugin_0.1.bb @@ -0,0 +1,9 @@ + +SRC_URI = "svn://svn.opensync.org/plugins/syncml-client/plugin/tags;module=release-0.1;proto=http" +S = "${WORKDIR}/release-0.1" +PV = "0.1" + +require libopensync-plugin.inc + +DEPENDS += " syncml-client" + diff --git a/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb b/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb new file mode 100644 index 000000000..0a7d82db7 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-syncml-plugin.bb @@ -0,0 +1,16 @@ + +SRC_URI = "svn://svn.opensync.org/plugins;module=syncml;proto=http" +S = "${WORKDIR}/syncml" + +require libopensync-plugin.inc + +DEPENDS += " libsyncml" + +do_install() { + install -d ${D}${datadir}/opensync/defaults + install -d ${D}${libdir}/opensync/plugins + install -m 644 src/syncml-http-server ${D}${datadir}/opensync/defaults + install -m 644 src/syncml-obex-client ${D}${datadir}/opensync/defaults + install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/ +} + diff --git a/meta/packages/opensync/libopensync-plugin.inc b/meta/packages/opensync/libopensync-plugin.inc new file mode 100644 index 000000000..f26397373 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin.inc @@ -0,0 +1,24 @@ + +PV ?= "0.20+svn${SRCDATE}" +PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}" +PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so" +SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http" +S ?= "${WORKDIR}/${PLUGIN_NAME}" + +LICENSE ?= "LGPL" +DEPENDS += " libopensync" +RRECOMMENDS += " msynctool" +HOMEPAGE ?= "http://www.opensync.org/" + +inherit autotools pkgconfig + +FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug" + +do_install() { + install -d ${D}${datadir}/opensync/defaults + install -d ${D}${libdir}/opensync/plugins + install -m 644 src/${PLUGIN_NAME} ${D}${datadir}/opensync/defaults + install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/ +} + diff --git a/meta/packages/opensync/libopensync_svn.bb b/meta/packages/opensync/libopensync_svn.bb new file mode 100644 index 000000000..7a12d3c91 --- /dev/null +++ b/meta/packages/opensync/libopensync_svn.bb @@ -0,0 +1,18 @@ +LICENSE = "LGPL" +HOMEPAGE = "http://www.opensync.org/" +DEPENDS = "sqlite3 libxml2 zlib glib-2.0" +PV = "0.20+svn${SRCDATE}" +SRC_URI = "svn://svn.opensync.org;module=trunk;proto=http" + +inherit autotools pkgconfig lib_package + +S = "${WORKDIR}/trunk" +EXTRA_OECONF = "--disable-python" +LEAD_SONAME = "libopensync.so" + +FILES_${PN} += " ${libdir}/opensync/formats/*.so" + +do_stage() { + autotools_stage_all +} + diff --git a/meta/packages/opensync/libsyncml_svn.bb b/meta/packages/opensync/libsyncml_svn.bb new file mode 100644 index 000000000..17b2537e8 --- /dev/null +++ b/meta/packages/opensync/libsyncml_svn.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol." +HOMEPAGE = "http://libsyncml.opensync.org/" +LICENSE = "LGPL" + +DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez-libs openobex" + +PV = "0.4.2+svn${SRCDATE}" +SRC_URI = "svn://svn.opensync.org/libsyncml;module=trunk;proto=http" +S = "${WORKDIR}/trunk" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --enable-http \ + --enable-obex \ + --enable-bluetooth \ + --enable-tools \ + --with-wbxml" + +CFLAGS += "-I${STAGING_INCDIR}/libsoup-2.2" + +do_configure_append() { + sed -i s:-I/usr/include/:-I/foo/:g Makefile + sed -i s:-I/usr/include/:-I/foo/:g */Makefile + sed -i s:-I/usr/include/:-I/foo/:g */*/Makefile +} + +do_stage() { + autotools_stage_all +} + +PACKAGES += "${PN}-tools" + +FILES_${PN}-tools = "${bindir}" +FILES_${PN} = "${libdir}/*.so.*" + diff --git a/meta/packages/opensync/msynctool_svn.bb b/meta/packages/opensync/msynctool_svn.bb new file mode 100644 index 000000000..b2a5c0c00 --- /dev/null +++ b/meta/packages/opensync/msynctool_svn.bb @@ -0,0 +1,10 @@ +PV = "0.20+svn${SRCDATE}" +SRC_URI = "svn://svn.opensync.org/multisync;module=trunk;proto=http" +S = "${WORKDIR}/trunk" + +LICENSE = "GPL" +DEPENDS = "libopensync" +HOMEPAGE = "http://www.opensync.org/" + +inherit autotools pkgconfig + diff --git a/meta/packages/opensync/syncml-client_0.1.bb b/meta/packages/opensync/syncml-client_0.1.bb new file mode 100644 index 000000000..7a99236d9 --- /dev/null +++ b/meta/packages/opensync/syncml-client_0.1.bb @@ -0,0 +1,8 @@ +SRC_URI = "http://hem.bredband.net/miko22/${P}.tar.gz" + +LICENSE = "GPL" +DEPENDS = "gtk+ curl gconf" +HOMEPAGE = "http://hem.bredband.net/miko22/" +DESCRIPTION = "Linux port of the Funambol C++ SyncML client connector." + +inherit autotools pkgconfig -- cgit v1.2.3