Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
rstudio
0001-Unbundle-mathjax-and-pandoc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Unbundle-mathjax-and-pandoc.patch of Package rstudio
From 29dab1f5996b759ff3c97362e13a316f25641575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com> Date: Mon, 13 Jan 2020 11:27:06 +0100 Subject: [PATCH 1/8] Unbundle mathjax and pandoc Use find_file() & find_program() functions to find the dependencies in the dependencies/ subdirectory first. If they are not there, use the system paths instead. --- src/cpp/session/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/cpp/session/CMakeLists.txt b/src/cpp/session/CMakeLists.txt index 54d15d9055..dc383952df 100644 --- a/src/cpp/session/CMakeLists.txt +++ b/src/cpp/session/CMakeLists.txt @@ -48,14 +48,6 @@ else() endif() -foreach(DEP "${RSTUDIO_DEPENDENCIES_DICTIONARIES_DIR}" - "${RSTUDIO_DEPENDENCIES_MATHJAX_DIR}" - "${RSTUDIO_DEPENDENCIES_PANDOC_DIR}") - if(NOT EXISTS "${DEP}") - message(FATAL_ERROR "${DEP} not found (re-run install-dependencies script to install") - endif() -endforeach() - # verify embedded packages are available foreach(PKG ${RSTUDIO_EMBEDDED_PACKAGES}) file(GLOB PKG_FILES "${RSTUDIO_DEPENDENCIES_DIR}/common/${PKG}*.tar.gz") @@ -558,6 +550,14 @@ if(NOT RSTUDIO_SESSION_WIN32 AND NOT RSESSION_ALTERNATE_BUILD) install(FILES ${R_MODULE_SRC_FILES} DESTINATION ${RSTUDIO_INSTALL_SUPPORTING}/R/modules) + # install hunspell dictionaries + install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DIR}/common/dictionaries" + DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources") + + # install mathjax for local html preview + install(DIRECTORY "${MATHJAX_PATH}" + DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources") + # icons for database connections install(DIRECTORY "resources/connections" DESTINATION ${RSTUDIO_INSTALL_SUPPORTING}/resources) -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor