File 0002-Don-t-install-pandoc-and-mathjax.patch of Package rstudio
From cd6b655335f32096f67e97736bc07babb3cdb846 Mon Sep 17 00:00:00 2001
From: haem <mixosaurus+obs@pm.me>
Date: Fri, 12 Sep 2025 17:16:28 +0200
Subject: [PATCH 02/12] Don't install pandoc and mathjax
shorten the installation time a bit by not installing mathjax
---
src/cpp/session/CMakeLists.txt | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/src/cpp/session/CMakeLists.txt b/src/cpp/session/CMakeLists.txt
index 75850da1..fa93a1e2 100644
--- a/src/cpp/session/CMakeLists.txt
+++ b/src/cpp/session/CMakeLists.txt
@@ -694,31 +694,6 @@ if(NOT RSTUDIO_SESSION_WIN32 AND NOT RSESSION_ALTERNATE_BUILD)
install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DICTIONARIES_DIR}"
DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources")
- # install mathjax for local html preview
- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_MATHJAX_DIR}"
- DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources")
-
- # install quarto (or pandoc if quarto disabled)
- if(QUARTO_ENABLED)
- # install some quarto folders into Resources, as needed
- if(APPLE)
- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_QUARTO_DIR}"
- DESTINATION "${RSTUDIO_INSTALL_RESOURCES}/app"
- USE_SOURCE_PERMISSIONS
- PATTERN ".gitignore"
- EXCLUDE)
- else()
- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_QUARTO_DIR}"
- DESTINATION "${RSTUDIO_INSTALL_BIN}"
- USE_SOURCE_PERMISSIONS
- PATTERN ".gitignore"
- EXCLUDE)
- endif()
- else()
- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_PANDOC_DIR}/"
- DESTINATION "${RSTUDIO_INSTALL_BIN}/pandoc"
- USE_SOURCE_PERMISSIONS)
- endif()
# install Copilot Language Server
if(RSTUDIO_ENABLE_COPILOT)
--
2.51.0