From 89db1179c644dde2377addf6d0c44ec330e151f6 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 4 Aug 2008 12:54:22 +0000 Subject: libopensync: added missing patches for 0.36 --- packages/opensync/libopensync-0.36/build-in-src.patch | 18 ++++++++++++++++++ packages/opensync/libopensync-0.36/cmake.patch | 18 ++++++++++++++++++ .../opensync/libopensync-0.36/no-python-check.patch | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 packages/opensync/libopensync-0.36/build-in-src.patch create mode 100644 packages/opensync/libopensync-0.36/cmake.patch create mode 100644 packages/opensync/libopensync-0.36/no-python-check.patch (limited to 'packages') diff --git a/packages/opensync/libopensync-0.36/build-in-src.patch b/packages/opensync/libopensync-0.36/build-in-src.patch new file mode 100644 index 0000000000..1810b339a6 --- /dev/null +++ b/packages/opensync/libopensync-0.36/build-in-src.patch @@ -0,0 +1,18 @@ +--- + cmake/OpenSyncInternal.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in ++++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in +@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) + INCLUDE( OpenSyncPackaging ) + INCLUDE( OpenSyncPlugin ) + INCLUDE( OpenSyncPlatforms ) + INCLUDE( MacroEnsureOutOfSourceBuild ) + +-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]'!") + + + SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) + SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) + SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" ) diff --git a/packages/opensync/libopensync-0.36/cmake.patch b/packages/opensync/libopensync-0.36/cmake.patch new file mode 100644 index 0000000000..0884e4cb79 --- /dev/null +++ b/packages/opensync/libopensync-0.36/cmake.patch @@ -0,0 +1,18 @@ +--- + opensync/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/opensync/CMakeLists.txt ++++ libopensync-0.36/opensync/CMakeLists.txt +@@ -55,11 +55,10 @@ SET( libopensync_LIB_SRCS + ADD_LIBRARY( opensync SHARED ${libopensync_LIB_SRCS} ) + + TARGET_LINK_LIBRARIES( opensync ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) + + SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION 1.0.0 SOVERSION 1 ) +-SET_TARGET_PROPERTIES( opensync PROPERTIES LINK_FLAGS ${SYMBOLS_VISIBILITY} ) + + IF ( OPENSYNC_UNITTESTS ) + ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) + TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) + ENDIF ( OPENSYNC_UNITTESTS ) diff --git a/packages/opensync/libopensync-0.36/no-python-check.patch b/packages/opensync/libopensync-0.36/no-python-check.patch new file mode 100644 index 0000000000..08a53cb9eb --- /dev/null +++ b/packages/opensync/libopensync-0.36/no-python-check.patch @@ -0,0 +1,18 @@ +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/CMakeLists.txt ++++ libopensync-0.36/CMakeLists.txt +@@ -26,11 +26,10 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BIN + + FIND_PACKAGE( GLIB2 REQUIRED ) + FIND_PACKAGE( Sqlite3 REQUIRED ) + FIND_PACKAGE( LibXml2 REQUIRED ) + FIND_PACKAGE( SWIG ) +-FIND_PACKAGE( PythonLibs ) + FIND_PACKAGE( Check ) + + ADD_SUBDIRECTORY( opensync ) + ADD_SUBDIRECTORY( formats ) + ADD_SUBDIRECTORY( tools ) -- cgit v1.2.3