Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
owncloud-client12
> owncloud-client-osx-1.2.1.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File owncloud-client-osx-1.2.1.patch of Package owncloud-client12
--- CMakeLists.txt.orig 2013-02-26 18:06:48.934633028 +0100 +++ CMakeLists.txt 2013-02-26 18:07:22.294633609 +0100 @@ -39,18 +39,18 @@ ##### ## handle BUILD_OWNCLOUD_OSX_BUNDLE # BUILD_OWNCLOUD_OSX_BUNDLE was not initialized OR set to true on OSX -if(APPLE AND (NOT DEFINED BUILD_OWNCLOUD_OSX_BUNDLE OR BUILD_OWNCLOUD_OSX_BUNDLE)) - set(BUILD_OWNCLOUD_OSX_BUNDLE ON) - set(OWNCLOUD_OSX_BUNDLE "${APPLICATION_EXECUTABLE}.app") - +#if(APPLE AND (NOT DEFINED BUILD_OWNCLOUD_OSX_BUNDLE OR BUILD_OWNCLOUD_OSX_BUNDLE)) +# set(BUILD_OWNCLOUD_OSX_BUNDLE ON) +# set(OWNCLOUD_OSX_BUNDLE "${APPLICATION_EXECUTABLE}.app") +# # BUILD_OWNCLOUD_OSX_BUNDLE was disabled on OSX -elseif(APPLE AND NOT BUILD_OWNCLOUD_OSX_BUNDLE) - message(FATAL_ERROR "Building in non-bundle mode on OSX is currently not supported. Comment this error out if you want to work on/test it.") +#elseif(APPLE AND NOT BUILD_OWNCLOUD_OSX_BUNDLE) +# message(FATAL_ERROR "Building in non-bundle mode on OSX is currently not supported. Comment this error out if you want to work on/test it.") # any other platform -else() +#else() set(BUILD_OWNCLOUD_OSX_BUNDLE OFF) -endif() +#endif() ##### #### find libs --- doc/CMakeLists.txt.orig 2013-02-26 18:08:26.402637725 +0100 +++ doc/CMakeLists.txt 2013-02-26 18:09:25.034637009 +0100 @@ -15,10 +15,10 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" conf.py @ONLY) add_custom_target(doc DEPENDS doc-html doc-man COMMENT "Building documentation...") - if (UNIX AND (NOT APPLE)) + #if (UNIX AND (NOT APPLE)) install(DIRECTORY ${SPHINX_HTML_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(DIRECTORY ${SPHINX_MAN_DIR} DESTINATION ${CMAKE_INSTALL_MANDIR}) - endif (UNIX AND (NOT APPLE)) + #endif (UNIX AND (NOT APPLE)) if(PDFLATEX_FOUND) # if this still fails on Debian/Ubuntu, run @@ -32,9 +32,9 @@ add_custom_target(doc-pdf make -C ${SPHINX_PDF_DIR} all-pdf DEPENDS doc-latex ) add_dependencies(doc doc-pdf) - if (UNIX AND (NOT APPLE)) + #if (UNIX AND (NOT APPLE)) install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR}) - endif (UNIX AND (NOT APPLE)) + #endif (UNIX AND (NOT APPLE)) endif(PDFLATEX_FOUND) if (EXISTS ${QT_QCOLLECTIONGENERATOR_EXECUTABLE}) add_custom_target( doc-qch-sphinx ${SPHINX_EXECUTABLE} @@ -46,9 +46,9 @@ ${SPHINX_QCH_DIR}/*.qhcp DEPENDS doc-qch-sphinx ) add_dependencies(doc doc-qch) - if (UNIX AND (NOT APPLE)) + #if (UNIX AND (NOT APPLE)) install(DIRECTORY ${SPHINX_QCH_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR}) - endif (UNIX AND (NOT APPLE)) + #endif (UNIX AND (NOT APPLE)) endif() add_custom_target( doc-html ${SPHINX_EXECUTABLE} -q -c . -b html