diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/opensync | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/opensync')
17 files changed, 205 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch new file mode 100644 index 0000000000..1810b339a6 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- | ||
2 | cmake/OpenSyncInternal.cmake.in | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | --- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in | ||
6 | +++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in | ||
7 | @@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) | ||
8 | INCLUDE( OpenSyncPackaging ) | ||
9 | INCLUDE( OpenSyncPlugin ) | ||
10 | INCLUDE( OpenSyncPlatforms ) | ||
11 | INCLUDE( MacroEnsureOutOfSourceBuild ) | ||
12 | |||
13 | -MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!") | ||
14 | |||
15 | |||
16 | SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) | ||
17 | SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) | ||
18 | SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" ) | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch new file mode 100644 index 0000000000..7ea4613548 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | --- | ||
2 | opensync/CMakeLists.txt | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | Index: libopensync-0.37/opensync/CMakeLists.txt | ||
6 | =================================================================== | ||
7 | --- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100 | ||
8 | +++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100 | ||
9 | @@ -67,8 +67,6 @@ | ||
10 | SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} ) | ||
11 | SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} ) | ||
12 | |||
13 | -SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_FLAGS ${SYMBOLS_VISIBILITY} ) | ||
14 | - | ||
15 | IF ( OPENSYNC_UNITTESTS ) | ||
16 | ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) | ||
17 | TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBEXSLT_LIBRARIES} ${SQLITE3_LIBRARIES} ) | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch new file mode 100644 index 0000000000..04257bc623 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | --- | ||
2 | CMakeLists.txt | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | Index: libopensync-0.37/CMakeLists.txt | ||
6 | =================================================================== | ||
7 | --- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100 | ||
8 | +++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100 | ||
9 | @@ -65,7 +65,6 @@ | ||
10 | FIND_PACKAGE( LibXslt REQUIRED ) | ||
11 | FIND_PACKAGE( LibExslt REQUIRED ) | ||
12 | FIND_PACKAGE( SWIG ) | ||
13 | -FIND_PACKAGE( PythonLibs ) | ||
14 | FIND_PACKAGE( Check ) | ||
15 | |||
16 | ADD_SUBDIRECTORY( opensync ) | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch new file mode 100644 index 0000000000..4a1802ce17 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Index: libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake | ||
2 | =================================================================== | ||
3 | --- libopensync-plugin-evolution2-0.36.orig/cmake/modules/FindOpenSync.cmake 2008-10-20 13:07:14.000000000 +0100 | ||
4 | +++ libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake 2008-10-20 13:08:09.000000000 +0100 | ||
5 | @@ -23,15 +23,15 @@ | ||
6 | ENDIF ( OpenSync_FIND_REQUIRED ) | ||
7 | |||
8 | IF ( OPENSYNC_MIN_VERSION ) | ||
9 | - PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0>=${OPENSYNC_MIN_VERSION} ) | ||
10 | + PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync>=${OPENSYNC_MIN_VERSION} ) | ||
11 | ELSE ( OPENSYNC_MIN_VERSION ) | ||
12 | - PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0 ) | ||
13 | + PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync ) | ||
14 | ENDIF ( OPENSYNC_MIN_VERSION ) | ||
15 | |||
16 | FIND_PROGRAM( PKGCONFIG_EXECUTABLE NAMES pkg-config ) | ||
17 | |||
18 | IF ( PKGCONFIG_EXECUTABLE ) | ||
19 | - EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS opensync-1.0 --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) | ||
20 | + EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS libopensync --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) | ||
21 | STRING( REGEX REPLACE "[\r\n]" " " _opensync_data_DIR "${_opensync_data_DIR}" ) | ||
22 | ENDIF ( PKGCONFIG_EXECUTABLE ) | ||
23 | |||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb new file mode 100644 index 0000000000..a1c4cb1887 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | DEPENDS += " eds-dbus" | ||
4 | |||
5 | SRC_URI += "file://0.37-fixes.patch;patch=1" | ||
6 | |||
7 | PR = "r1" | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb new file mode 100644 index 0000000000..33a049b7d6 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb | |||
@@ -0,0 +1 @@ | |||
require libopensync-plugin_0.36.inc | |||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb new file mode 100644 index 0000000000..33a049b7d6 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb | |||
@@ -0,0 +1 @@ | |||
require libopensync-plugin_0.36.inc | |||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb new file mode 100644 index 0000000000..c06de2fde8 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | DEPENDS += "openobex bluez4" | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch new file mode 100644 index 0000000000..7dad889422 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: libopensync-plugin-syncml-0.38/src/syncml_callbacks.c | ||
2 | =================================================================== | ||
3 | --- libopensync-plugin-syncml-0.38.orig/src/syncml_callbacks.c 2009-07-31 10:30:33.000000000 +0100 | ||
4 | +++ libopensync-plugin-syncml-0.38/src/syncml_callbacks.c 2009-07-31 10:30:39.000000000 +0100 | ||
5 | @@ -405,7 +405,7 @@ | ||
6 | } else { | ||
7 | /* This problem should be fixed with the next SLOW-SYNC. */ | ||
8 | osync_trace(TRACE_EXIT_ERROR, "%s - unexpected Add or Replace command", __func__); | ||
9 | - smlErrorSet(error, SML_ERROR_TEMPORARY, "Unwanted Add or Replace command on second OMA DS session."); | ||
10 | + smlErrorSet(error, SML_ERROR_GENERIC, "Unwanted Add or Replace command on second OMA DS session."); | ||
11 | return FALSE; | ||
12 | } | ||
13 | } | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb new file mode 100644 index 0000000000..d32d62de47 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | DEPENDS += " libsyncml (>= 0.4.7)" | ||
4 | |||
5 | SRC_URI += "file://fixerror.patch;patch=1" | ||
6 | |||
7 | PR = "r1" \ No newline at end of file | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb new file mode 100644 index 0000000000..84a48f21fe --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | DEPENDS += " check" | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc b/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc new file mode 100644 index 0000000000..db6b1fa73a --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | DEPENDS = "libopensync (>= 0.36)" | ||
2 | |||
3 | SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2" | ||
4 | |||
5 | inherit cmake | ||
6 | |||
7 | FILES_${PN} += "${libdir}/opensync*/plugins/*.so \ | ||
8 | ${libdir}/opensync*/formats/*.so \ | ||
9 | ${datadir}/opensync*/defaults/" | ||
diff --git a/meta/recipes-connectivity/opensync/libopensync_0.37.bb b/meta/recipes-connectivity/opensync/libopensync_0.37.bb new file mode 100644 index 0000000000..e9b8ce202e --- /dev/null +++ b/meta/recipes-connectivity/opensync/libopensync_0.37.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | HOMEPAGE = "http://www.opensync.org/" | ||
3 | |||
4 | DEPENDS = "sqlite3 libxml2 glib-2.0 check zlib libxslt" | ||
5 | |||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ | ||
9 | file://cmake.patch;patch=1 \ | ||
10 | file://build-in-src.patch;patch=1 \ | ||
11 | file://no-python-check.patch;patch=1" | ||
12 | |||
13 | inherit cmake pkgconfig | ||
14 | |||
15 | LEAD_SONAME = "libopensync.so" | ||
16 | |||
17 | FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ | ||
18 | ${libdir}/opensync*/osplugin \ | ||
19 | ${datadir}/opensync*/schemas \ | ||
20 | ${datadir}/opensync*/capabilities \ | ||
21 | ${datadir}/opensync*/descriptions \ | ||
22 | " | ||
23 | FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ | ||
24 | ${libdir}/opensync*/.debug/osplugin " | ||
25 | |||
diff --git a/meta/recipes-connectivity/opensync/libsync_svn.bb b/meta/recipes-connectivity/opensync/libsync_svn.bb new file mode 100644 index 0000000000..660b39aa42 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libsync_svn.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "LibSync is a GObject-based framework for more convenient use of \ | ||
2 | OpenSync in GLib applications." | ||
3 | LICENSE = "LGPL" | ||
4 | SECTION = "x11" | ||
5 | DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi" | ||
6 | RRECOMMENDS = "\ | ||
7 | libopensync-plugin-file \ | ||
8 | " | ||
9 | PV = "0.0+svnr${SRCREV}" | ||
10 | |||
11 | SRC_URI = "svn://svn.o-hand.com/repos/sync/trunk;module=sync;proto=http" | ||
12 | |||
13 | inherit autotools pkgconfig | ||
14 | |||
15 | S = "${WORKDIR}/sync" | ||
16 | |||
17 | PACKAGES += "synctool" | ||
18 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
19 | FILES_synctool = "${bindir} ${datadir}" | ||
diff --git a/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch b/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch new file mode 100644 index 0000000000..d8106bdfc7 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | --- | ||
2 | CMakeLists.txt | 4 ---- | ||
3 | 1 file changed, 4 deletions(-) | ||
4 | |||
5 | Index: libsyncml-0.5.4/CMakeLists.txt | ||
6 | =================================================================== | ||
7 | --- libsyncml-0.5.4.orig/CMakeLists.txt 2009-07-31 09:56:16.000000000 +0100 | ||
8 | +++ libsyncml-0.5.4/CMakeLists.txt 2009-07-31 09:57:33.000000000 +0100 | ||
9 | @@ -72,10 +72,6 @@ | ||
10 | CHECK_TYPE_SIZE( uint32_t UINT32_T ) | ||
11 | CHECK_TYPE_SIZE( uint8_t UINT8_T ) | ||
12 | |||
13 | -# ensure out od source build | ||
14 | -INCLUDE( MacroEnsureOutOfSourceBuild ) | ||
15 | -MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!") | ||
16 | - | ||
17 | # find requirements | ||
18 | SET ( GLIB2_MIN_VERSION "2.12" ) | ||
19 | SET ( OPENOBEX_MIN_VERSION "1.1" ) | ||
diff --git a/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb b/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb new file mode 100644 index 0000000000..7feb5e0f18 --- /dev/null +++ b/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol." | ||
2 | HOMEPAGE = "http://libsyncml.opensync.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez4 openobex check" | ||
5 | PR = "r1" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \ | ||
8 | file://build-in-src.patch;patch=1" | ||
9 | |||
10 | inherit cmake pkgconfig | ||
11 | |||
12 | PACKAGES += "${PN}-tools" | ||
13 | |||
14 | FILES_${PN}-tools = "${bindir}" | ||
15 | FILES_${PN} = "${libdir}/*.so.*" | ||
16 | |||
17 | export VERBOSE=1 \ No newline at end of file | ||
diff --git a/meta/recipes-connectivity/opensync/msynctool_0.37.bb b/meta/recipes-connectivity/opensync/msynctool_0.37.bb new file mode 100644 index 0000000000..773166b3be --- /dev/null +++ b/meta/recipes-connectivity/opensync/msynctool_0.37.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | SRC_URI = "http://www.opensync.org/download/releases/${PV}/msynctool-${PV}.tar.bz2" | ||
2 | |||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "libopensync glib-2.0" | ||
5 | HOMEPAGE = "http://www.opensync.org/" | ||
6 | |||
7 | inherit cmake pkgconfig | ||