Files
@ 794dc86717e2
Branch filter:
Location: portage-overlay.git/sci-mathematics/rstudio/files/rstudio-0.94.106-paths.patch - annotation
794dc86717e2
5.2 KiB
text/x-diff
initial commit of main tree
794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 | diff -urN prefs/CMakeGlobals.txt paths/CMakeGlobals.txt
--- prefs/CMakeGlobals.txt 2011-09-20 08:15:44.000000000 -0700
+++ paths/CMakeGlobals.txt 2011-09-24 00:51:30.488867289 -0700
@@ -98,7 +98,7 @@
else()
set(RSTUDIO_INSTALL_BIN bin)
endif()
- set(RSTUDIO_INSTALL_SUPPORTING .)
+ set(RSTUDIO_INSTALL_SUPPORTING ./share/rstudio-0.94.106/)
endif()
# if the install prefix is /usr/local then tweak as appropriate
diff -urN prefs/src/cpp/server/CMakeLists.txt paths/src/cpp/server/CMakeLists.txt
--- prefs/src/cpp/server/CMakeLists.txt 2011-09-20 08:15:44.000000000 -0700
+++ paths/src/cpp/server/CMakeLists.txt 2011-09-24 00:51:30.495867201 -0700
@@ -141,7 +141,7 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}.in
${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT})
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}
- DESTINATION ${RSERVER_INITD_DEBIAN_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_INITD_DEBIAN_DIR})
# install configured redhat init.d script
set(RSERVER_INITD_REDHAT_DIR "extras/init.d/redhat")
@@ -149,7 +149,7 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}.in
${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT})
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}
- DESTINATION ${RSERVER_INITD_REDHAT_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_INITD_REDHAT_DIR})
# install configured suse init.d script
set(RSERVER_INITD_SUSE_DIR "extras/init.d/suse")
@@ -157,13 +157,13 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_SUSE_SCRIPT}.in
${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT})
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT}
- DESTINATION ${RSERVER_INITD_SUSE_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_INITD_SUSE_DIR})
# install pam profile
set(RSERVER_PAM_DIR "extras/pam")
set(RSERVER_PAM_PROFILE "${RSERVER_PAM_DIR}/rstudio")
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_PAM_PROFILE}
- DESTINATION ${RSERVER_PAM_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_PAM_DIR})
# install configured apparmor profile
set(RSERVER_APPARMOR_DIR "extras/apparmor")
@@ -171,9 +171,9 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_PROFILE}.in
${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE}
- DESTINATION ${RSERVER_APPARMOR_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_APPARMOR_DIR})
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_DIR}/apparmor-profile-load
- DESTINATION ${RSERVER_APPARMOR_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_APPARMOR_DIR})
# install configured upstart profile
set(RSERVER_UPSTART_DIR "extras/upstart")
@@ -181,6 +181,6 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_UPSTART_PROFILE}.in
${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE}
- DESTINATION ${RSERVER_UPSTART_DIR})
+ DESTINATION share/rstudio-0.94.106/${RSERVER_UPSTART_DIR})
endif()
diff -urN prefs/src/cpp/server/ServerOptions.cpp paths/src/cpp/server/ServerOptions.cpp
--- prefs/src/cpp/server/ServerOptions.cpp 2011-09-20 08:15:44.000000000 -0700
+++ paths/src/cpp/server/ServerOptions.cpp 2011-09-24 00:51:30.510867013 -0700
@@ -201,7 +201,7 @@
// convert relative paths by completing from the system installation
// path (this allows us to be relocatable)
- resolvePath(installPath, &wwwLocalPath_);
+ resolvePath(installPath.childPath("share/rstudio-0.94.106"), &wwwLocalPath_);
resolvePath(installPath, &authPamHelperPath_);
resolvePath(installPath, &rsessionPath_);
resolvePath(installPath, &rldpathPath_);
diff -urN prefs/src/cpp/session/SessionOptions.cpp paths/src/cpp/session/SessionOptions.cpp
--- prefs/src/cpp/session/SessionOptions.cpp 2011-09-20 08:15:44.000000000 -0700
+++ paths/src/cpp/session/SessionOptions.cpp 2011-09-24 00:51:30.504867089 -0700
@@ -272,12 +272,12 @@
}
// convert relative paths by completing from the app resource path
- resolvePath(resourcePath, &rHelpCssFilePath_);
+ resolvePath(resourcePath.childPath("share/rstudio-0.94.106"), &rHelpCssFilePath_);
resolvePath(resourcePath, &agreementFilePath_);
- resolvePath(resourcePath, &wwwLocalPath_);
- resolvePath(resourcePath, &coreRSourcePath_);
- resolvePath(resourcePath, &modulesRSourcePath_);
- resolvePath(resourcePath, &sessionPackagesPath_);
+ resolvePath(resourcePath.childPath("share/rstudio-0.94.106"), &wwwLocalPath_);
+ resolvePath(resourcePath.childPath("share/rstudio-0.94.106"), &coreRSourcePath_);
+ resolvePath(resourcePath.childPath("share/rstudio-0.94.106"), &modulesRSourcePath_);
+ resolvePath(resourcePath.childPath("share/rstudio-0.94.106"), &sessionPackagesPath_);
resolvePath(resourcePath, &rpostbackPath_);
// shared secret with parent
|