[Pkg-owncloud-commits] [owncloud-client] 42/171: shell integration: Create a plugin for nemo out of the nautilus one.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.
commit afa8d671be1d363afba3f87e7e5901363c442d68
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Dec 22 11:05:00 2015 +0100
shell integration: Create a plugin for nemo out of the nautilus one.
---
shell_integration/nautilus/CMakeLists.txt | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/shell_integration/nautilus/CMakeLists.txt b/shell_integration/nautilus/CMakeLists.txt
index 249892c..6c1e9f7 100644
--- a/shell_integration/nautilus/CMakeLists.txt
+++ b/shell_integration/nautilus/CMakeLists.txt
@@ -3,6 +3,7 @@
if( UNIX AND NOT APPLE )
configure_file(syncstate.py syncstate.py COPYONLY)
+ configure_file(syncstate.py syncstate_nemo.py COPYONLY)
# Call the setupappname.sh script to set the custom app name.
set (cmd "${CMAKE_CURRENT_SOURCE_DIR}/setappname.sh")
@@ -10,7 +11,18 @@ if( UNIX AND NOT APPLE )
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
ERROR_VARIABLE errors OUTPUT_VARIABLE out)
- install(FILES syncstate.py DESTINATION ${DATADIR}/nautilus-python/extensions)
+ # Create a nemo plugin script from the nautilus one.
+ # nemocmd copies the syncstate.py and performs string replacement.
+ set (nemocmd "${CMAKE_CURRENT_SOURCE_DIR}/createnemoplugin.sh")
+ execute_process(COMMAND ${nemocmd}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ ERROR_VARIABLE errors OUTPUT_VARIABLE out)
+
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate.py DESTINATION ${DATADIR}/nautilus-python/extensions)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_nemo.py DESTINATION ${DATADIR}/nemo-python/extensions RENAME syncstate.py)
+
+
endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list