-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #5527 from nextcloud/feature/file-provider…
…-try-2" This reverts commit c4d1211, reversing changes made to 9b77da6. Signed-off-by: Claudio Cambra <[email protected]>
- Loading branch information
1 parent
1929c48
commit 21c5dec
Showing
59 changed files
with
750 additions
and
5,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,6 @@ dlldata.c | |
# macOS specific | ||
xcuserdata/ | ||
**/.DS_Store | ||
**/Carthage/ | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,26 @@ | ||
if(APPLE) | ||
set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns") | ||
set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns") | ||
|
||
if (CMAKE_BUILD_TYPE MATCHES "Debug" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo") | ||
set(XCODE_TARGET_CONFIGURATION "Debug") | ||
else() | ||
set(XCODE_TARGET_CONFIGURATION "Release") | ||
endif() | ||
# The bundle identifier and application group need to have compatible values with the client | ||
# to be able to open a Mach port across the extension's sandbox boundary. | ||
# Pass the info through the xcodebuild command line and make sure that the project uses | ||
# those user-defined settings to build the plist. | ||
add_custom_target( mac_overlayplugin ALL | ||
xcodebuild ARCHS=${CMAKE_OSX_ARCHITECTURES} ONLY_ACTIVE_ARCH=NO | ||
-project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj | ||
-target FinderSyncExt -configuration Release "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}" | ||
"OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}" | ||
"OC_APPLICATION_NAME=${APPLICATION_NAME}" | ||
"OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}" | ||
"OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}" | ||
COMMENT building Mac Overlay icons | ||
VERBATIM) | ||
add_dependencies(mac_overlayplugin nextcloud) # for the ownCloud.icns to be generated | ||
|
||
# The bundle identifier and application group need to have compatible values with the client | ||
# to be able to open a Mach port across the extension's sandbox boundary. | ||
# Pass the info through the xcodebuild command line and make sure that the project uses | ||
# those user-defined settings to build the plist. | ||
add_custom_target( mac_overlayplugin ALL | ||
xcodebuild ARCHS=${CMAKE_OSX_ARCHITECTURES} ONLY_ACTIVE_ARCH=NO | ||
-project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj | ||
-target FinderSyncExt -configuration ${XCODE_TARGET_CONFIGURATION} "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}" | ||
"OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}" | ||
"OC_APPLICATION_NAME=${APPLICATION_NAME}" | ||
"OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}" | ||
"OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}" | ||
COMMENT building Mac Overlay icons | ||
VERBATIM) | ||
|
||
if (BUILD_FILE_PROVIDER_MODULE) | ||
add_custom_target( mac_fileproviderplugin ALL | ||
xcodebuild ARCHS=${CMAKE_OSX_ARCHITECTURES} ONLY_ACTIVE_ARCH=NO | ||
-project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj | ||
-target FileProviderExt -configuration ${XCODE_TARGET_CONFIGURATION} "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}" | ||
"OC_APPLICATION_EXECUTABLE_NAME=${APPLICATION_EXECUTABLE}" | ||
"OC_APPLICATION_VENDOR=${APPLICATION_VENDOR}" | ||
"OC_APPLICATION_NAME=${APPLICATION_NAME}" | ||
"OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}" | ||
"OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}" | ||
COMMENT building macOS File Provider extension | ||
VERBATIM) | ||
|
||
add_dependencies(mac_overlayplugin mac_fileproviderplugin nextcloud) # for the ownCloud.icns to be generated | ||
else() | ||
add_dependencies(mac_overlayplugin nextcloud) # for the ownCloud.icns to be generated | ||
endif() | ||
|
||
if (BUILD_OWNCLOUD_OSX_BUNDLE) | ||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/FinderSyncExt.appex | ||
DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/PlugIns | ||
USE_SOURCE_PERMISSIONS) | ||
|
||
if (BUILD_FILE_PROVIDER_MODULE) | ||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/FileProviderExt.appex | ||
DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/PlugIns | ||
USE_SOURCE_PERMISSIONS) | ||
endif() | ||
endif() | ||
if (BUILD_OWNCLOUD_OSX_BUNDLE) | ||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/FinderSyncExt.appex | ||
DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/PlugIns | ||
USE_SOURCE_PERMISSIONS) | ||
endif() | ||
endif() | ||
|
7 changes: 0 additions & 7 deletions
7
shell_integration/MacOSX/Nextcloud.xcworkspace/contents.xcworkspacedata
This file was deleted.
Oops, something went wrong.
145 changes: 0 additions & 145 deletions
145
...cloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager+Directories.swift
This file was deleted.
Oops, something went wrong.
91 changes: 0 additions & 91 deletions
91
...tcloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager+LocalFiles.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.