summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-17 11:32:30 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-17 11:32:30 +0000
commit85e2dcb42099a8de44df33fe2776fd3b12ce27f7 (patch)
treef788aeeca55bed6dea8be5e3fa1e96cb4296e7ce
parent0d25b9fe0bace63800ec95457afda31dbabf2f11 (diff)
downloadpoky-85e2dcb42099a8de44df33fe2776fd3b12ce27f7.tar.gz
Add libopesync 0.37
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5537 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/opensync/libopensync-0.37/build-in-src.patch18
-rw-r--r--meta/packages/opensync/libopensync-0.37/cmake.patch17
-rw-r--r--meta/packages/opensync/libopensync-0.37/no-python-check.patch16
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml_0.37.bb3
-rw-r--r--meta/packages/opensync/libopensync_0.37.bb28
5 files changed, 82 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-0.37/build-in-src.patch b/meta/packages/opensync/libopensync-0.37/build-in-src.patch
new file mode 100644
index 0000000000..1810b339a6
--- /dev/null
+++ b/meta/packages/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/packages/opensync/libopensync-0.37/cmake.patch b/meta/packages/opensync/libopensync-0.37/cmake.patch
new file mode 100644
index 0000000000..7ea4613548
--- /dev/null
+++ b/meta/packages/opensync/libopensync-0.37/cmake.patch
@@ -0,0 +1,17 @@
1---
2 opensync/CMakeLists.txt | 1 -
3 1 file changed, 1 deletion(-)
4
5Index: 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/packages/opensync/libopensync-0.37/no-python-check.patch b/meta/packages/opensync/libopensync-0.37/no-python-check.patch
new file mode 100644
index 0000000000..04257bc623
--- /dev/null
+++ b/meta/packages/opensync/libopensync-0.37/no-python-check.patch
@@ -0,0 +1,16 @@
1---
2 CMakeLists.txt | 1 -
3 1 file changed, 1 deletion(-)
4
5Index: 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/packages/opensync/libopensync-plugin-syncml_0.37.bb b/meta/packages/opensync/libopensync-plugin-syncml_0.37.bb
new file mode 100644
index 0000000000..7cd00f32ef
--- /dev/null
+++ b/meta/packages/opensync/libopensync-plugin-syncml_0.37.bb
@@ -0,0 +1,3 @@
1require libopensync-plugin_0.36.inc
2
3DEPENDS += " libsyncml (>= 0.4.7)"
diff --git a/meta/packages/opensync/libopensync_0.37.bb b/meta/packages/opensync/libopensync_0.37.bb
new file mode 100644
index 0000000000..0748bec99a
--- /dev/null
+++ b/meta/packages/opensync/libopensync_0.37.bb
@@ -0,0 +1,28 @@
1LICENSE = "LGPL"
2HOMEPAGE = "http://www.opensync.org/"
3
4DEPENDS = "sqlite3 libxml2 glib-2.0 check zlib libxslt"
5
6PR = "r1"
7
8SRC_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
13inherit cmake pkgconfig
14
15LEAD_SONAME = "libopensync.so"
16
17FILES_${PN} += " ${libdir}/opensync*/formats/*.so \
18 ${libdir}/opensync*/osplugin \
19 ${datadir}/opensync*/schemas \
20 ${datadir}/opensync*/capabilities \
21 ${datadir}/opensync*/descriptions \
22 "
23FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \
24 ${libdir}/opensync*/.debug/osplugin "
25
26do_stage() {
27 autotools_stage_all
28}