summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-22 02:42:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-22 02:42:13 +0100
commite7f37e03b952768321c8c943a80eff4152ea7bbd (patch)
tree355a9efb62297418cdadbc424b09dbafc54257e5 /sci-mathematics
parent2518522472e5de9c52c78dc0246475fe0ae3cc05 (diff)
gentoo auto-resync : 22:08:2022 - 02:42:13
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin16698 -> 16194 bytes
-rw-r--r--sci-mathematics/agda-stdlib/Manifest4
-rw-r--r--sci-mathematics/agda-stdlib/agda-stdlib-2.6.1.2.1.4.ebuild67
-rw-r--r--sci-mathematics/agda-stdlib/files/standard-library.agda-lib2
-rw-r--r--sci-mathematics/agda-stdlib/metadata.xml15
-rw-r--r--sci-mathematics/agda/Manifest4
-rw-r--r--sci-mathematics/agda/agda-2.6.1.2.ebuild142
-rw-r--r--sci-mathematics/agda/files/50agda2-gentoo.el10
-rw-r--r--sci-mathematics/agda/metadata.xml37
-rw-r--r--sci-mathematics/rstudio/Manifest19
-rw-r--r--sci-mathematics/rstudio/files/rsession.conf26
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch21
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.2.1335-linker_flags.patch11
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.2.5042-boost-1.73.0.patch22
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.1056-R-4.0.0.patch58
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.1056-boost-1.74.0.patch30
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch55
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.959-core.patch184
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.959-pandoc-mathjax.patch42
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.959-paths.patch118
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.959-prefs.patch68
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.959-qtsingleapplication.patch60
-rw-r--r--sci-mathematics/rstudio/files/rstudio-server.conf35
-rw-r--r--sci-mathematics/rstudio/files/rstudio-server.initd19
-rw-r--r--sci-mathematics/rstudio/files/rstudio-server.service.in11
-rw-r--r--sci-mathematics/rstudio/metadata.xml18
-rw-r--r--sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild233
27 files changed, 0 insertions, 1311 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 09498f68c43c..0867da5c82e5 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/agda-stdlib/Manifest b/sci-mathematics/agda-stdlib/Manifest
deleted file mode 100644
index ec872f003d78..000000000000
--- a/sci-mathematics/agda-stdlib/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX standard-library.agda-lib 55 BLAKE2B 057e933b07b291fd505f2e64f43b087c2aa4f4828ba2a03b5a53b9cac0f0fd0ab1f523c91efd6090e34e376dcc61d90bc5193063b6f07280c0eb2d688a07dedc SHA512 b1e2cbffe4b99157661fe6f4685580c7524890735db0a20ae1942e076b00d0df13624f587ea7584319e5665484da63beb3e0e5c77226bdbe02a4a80fa33a17b4
-DIST agda-stdlib-2.6.1.2.1.4.tar.gz 816654 BLAKE2B c8e6b6f86f32dd2e3d57da4a21066be4a441e71bc3a7cb96d8000f28c56cbb114a00e5df2777b00a8a9fc1a0f94b00bdf4b72eb46f0245ab482a41b6a9d772ee SHA512 90c05d54eaf1d7c78d00f73044afa1f3b4d99df622d40b3cea88fe280f0770ccaeddd787d8fb384c150123f592bb6a7ec24b842a9fcc2936f581d847928223ca
-EBUILD agda-stdlib-2.6.1.2.1.4.ebuild 2131 BLAKE2B 3aaf388befda982634876b99953c2e0693037ce9d97fbf3d35211c311a1cc9643ba764bd8818708f814d1ba39a943661e3ce04fde64af26db1512ee13ec6442c SHA512 3c9792873467d6bfe9f288e7cdd2869e9a2b71cf29d11361e7e27cd057bd7fa1530447acf953989f97a06a9d370bbe6aa1d7c7e6270d0034932ea107e2b84994
-MISC metadata.xml 471 BLAKE2B 308482ab94f16db0a4ef47ca204527f83bd1a3471d8d8152ab8f600cd6350fcdba8f1710e5daebac469392662843a9feea4cae66f1b8a79acbc9ed3234534e8c SHA512 853bc8aabc44e6dad3a607e6f2ab9ad20e278e7a6a309ad106ee807c3eb608066c11e42137442fd2f622881187801bff46f581e0383168a1483dc20923e74b59
diff --git a/sci-mathematics/agda-stdlib/agda-stdlib-2.6.1.2.1.4.ebuild b/sci-mathematics/agda-stdlib/agda-stdlib-2.6.1.2.1.4.ebuild
deleted file mode 100644
index 73afc2f8ee30..000000000000
--- a/sci-mathematics/agda-stdlib/agda-stdlib-2.6.1.2.1.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CABAL_FEATURES="profile"
-inherit haskell-cabal elisp-common
-
-## shared with sci-mathematics/agda
-# upstream does not maintain version ordering:
-# https://github.com/agda/agda-stdlib/releases
-# 0.11 -> 2.5.0.20160213 -> 2.5.0.20160412 -> 0.12 -> 0.13
-# As Agda-stdlib is tied to Agda version we encode
-# both versions in gentoo version.
-##
-MY_UPSTREAM_AGDA_STDLIB_V="1.4"
-MY_GENTOO_AGDA_STDLIB_V="${PV}.${MY_UPSTREAM_AGDA_STDLIB_V}"
-MY_UPSTREAM_AGDA_V="${PV%.${MY_UPSTREAM_AGDA_STDLIB_V}}"
-
-DESCRIPTION="Agda standard library"
-HOMEPAGE="https://wiki.portal.chalmers.se/agda/"
-SRC_URI="https://github.com/agda/${PN}/archive/v${MY_UPSTREAM_AGDA_STDLIB_V}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=sci-mathematics/agda-${MY_UPSTREAM_AGDA_V}:=[profile?]
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.24.2.0
- >=dev-haskell/filemanip-0.3.6.2[profile?] <dev-haskell/filemanip-0.4[profile?]
- >=dev-lang/ghc-8.0.2
-"
-
-S=${WORKDIR}/${PN}-${MY_UPSTREAM_AGDA_STDLIB_V}
-
-src_compile() {
- haskell-cabal_src_compile
- "${S}"/dist/build/GenerateEverything/GenerateEverything \
- || die "GenerateEverything failed"
- local prof
- use profile && prof="--ghc-flag=-prof"
- agda +RTS -K1G -RTS ${prof} \
- -i "${S}" -i "${S}"/src "${S}"/Everything.agda || die
- # Although my agda-9999 build has
- # /var/tmp/portage/sci-mathematics/agda-9999/work/agda-9999/dist/build/autogen/Paths_Agda.hs
- # containing:
- # datadir = "/usr/share/agda-9999/ghc-7.6.1"
- # it fails without the --css option like:
- # /usr/share/agda-9999/ghc-7.4.1/Agda.css: copyFile: does not exist
- local cssdir=$(grep -E 'datadir *=' "${S}/dist/build/autogen/Paths_lib.hs" | sed -e 's@datadir = \(.*\)@\1@')
- agda --html -i "${S}" -i "${S}"/src --css="${cssdir}/Agda.css" "${S}"/README.agda || die
-}
-
-src_test() {
- agda -i "${S}" -i "${S}"/src README.agda || die
-}
-
-src_install() {
- insinto usr/share/agda-stdlib
- insopts --preserve-timestamps
- doins -r src/*
- dodoc -r html/*
- doins "${FILESDIR}/standard-library.agda-lib"
-}
diff --git a/sci-mathematics/agda-stdlib/files/standard-library.agda-lib b/sci-mathematics/agda-stdlib/files/standard-library.agda-lib
deleted file mode 100644
index 7cd8525ff7bd..000000000000
--- a/sci-mathematics/agda-stdlib/files/standard-library.agda-lib
+++ /dev/null
@@ -1,2 +0,0 @@
-name: standard-library
-include: /usr/share/agda-stdlib
diff --git a/sci-mathematics/agda-stdlib/metadata.xml b/sci-mathematics/agda-stdlib/metadata.xml
deleted file mode 100644
index 49686165f8d9..000000000000
--- a/sci-mathematics/agda-stdlib/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-mathematics@gentoo.org</email>
- <name>Gentoo Mathematics Project</name>
- </maintainer>
-<maintainer type="project">
- <email>haskell@gentoo.org</email>
- <name>Gentoo Haskell</name>
- </maintainer>
- <upstream>
- <remote-id type="github">agda/agda-stdlib</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-mathematics/agda/Manifest b/sci-mathematics/agda/Manifest
deleted file mode 100644
index 0eb8ee571d23..000000000000
--- a/sci-mathematics/agda/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX 50agda2-gentoo.el 317 BLAKE2B c295509014fc7f254c5c0650b079d3827b182270c6e1aa3d1ddf4f4076d94115f0168d4ad0c96a876be57ead4db26219e594a9afed3aba2ce3cab30e8cf19060 SHA512 55b7438896cb66b4b32b0ba0d9468bb2496df1f63a78f3f4b4e19cc038018605c9cbd7880d2be1b40d6d1509ac6df20304cdc8c2ccde69e89777acfc65a1ce8e
-DIST Agda-2.6.1.2.tar.gz 2722270 BLAKE2B cf8d4bff2c189d87696c3f03f1b32777e8bd060102f108e0b96aca87e6b3b1cc84077a1e0fe3f9ef42293f683aa855eb60ade8b0863b3f78c96b4ebb63e456a5 SHA512 5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615
-EBUILD agda-2.6.1.2.ebuild 5118 BLAKE2B 4c45bdc04bda4f1ee36fa691ad89458312e58c04b318b5485635eb442dbae702040bb959589693a518c808aa404d6e75a9d8d31c9c17d4b0c0d610f12c6f4f77 SHA512 10111072552ed9bb046815f1e70181ad05a755f6a496d351b7de93ff9c206caef25cbe3e7241415767c523baebaa99cff6bbf8a177ac109a366a121049c06c8a
-MISC metadata.xml 1740 BLAKE2B bf985301a71c899ab82d1161cddb312f9141068b7d8cd021dec9b8ad961c8332acb2f203848ab5666a08a0a04549b49c6396abdfa45cbd598d70595ff1f1c684 SHA512 afb2feb40e48f56f4db0edf65a8931f5cd2c3aec5516cb70faac4caa26f1864ef6ee8931c6f26c11b14bd7f0cd9ffddfe6dda3793de36116b87dddd1defc71cb
diff --git a/sci-mathematics/agda/agda-2.6.1.2.ebuild b/sci-mathematics/agda/agda-2.6.1.2.ebuild
deleted file mode 100644
index a2a59db413d6..000000000000
--- a/sci-mathematics/agda/agda-2.6.1.2.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.6.6.9999
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal elisp-common
-
-MY_PN="Agda"
-MY_P="${MY_PN}-${PV}"
-
-## shared with sci-mathematics/agda-stdlib
-# upstream does not maintain version ordering:
-# https://github.com/agda/agda-stdlib/releases
-# 0.11 -> 2.5.0.20160213 -> 2.5.0.20160412 -> 0.12
-# As Agda-stdlib is tied to Agda version we encode
-# both versions in gentoo version.
-##
-MY_UPSTREAM_AGDA_STDLIB_V="1.4"
-MY_GENTOO_AGDA_STDLIB_V="${PV}.${MY_UPSTREAM_AGDA_STDLIB_V}"
-
-DESCRIPTION="A dependently typed functional programming language and proof assistant"
-HOMEPAGE="https://wiki.portal.chalmers.se/agda/"
-SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpphs debug emacs enable-cluster-counting +stdlib"
-
-RDEPEND=">=dev-haskell/aeson-1.1.2.0:=[profile?] <dev-haskell/aeson-1.6:=[profile?]
- >=dev-haskell/async-2.2:=[profile?] <dev-haskell/async-2.3:=[profile?]
- >=dev-haskell/blaze-html-0.8:=[profile?] <dev-haskell/blaze-html-0.10:=[profile?]
- >=dev-haskell/boxes-0.1.3:=[profile?] <dev-haskell/boxes-0.2:=[profile?]
- >=dev-haskell/data-hash-0.2.0.0:=[profile?] <dev-haskell/data-hash-0.3:=[profile?]
- >=dev-haskell/edit-distance-0.2.1.2:=[profile?] <dev-haskell/edit-distance-0.3:=[profile?]
- >=dev-haskell/equivalence-0.3.2:=[profile?] <dev-haskell/equivalence-0.4:=[profile?]
- >=dev-haskell/exceptions-0.8:=[profile?] <dev-haskell/exceptions-0.11:=[profile?]
- >=dev-haskell/geniplate-mirror-0.6.0.6:=[profile?] <dev-haskell/geniplate-mirror-0.8:=[profile?]
- >=dev-haskell/gitrev-1.3.1:=[profile?] <dev-haskell/gitrev-2.0:=[profile?]
- >=dev-haskell/hashable-1.2.1.0:=[profile?] <dev-haskell/hashable-1.4:=[profile?]
- >=dev-haskell/hashtables-1.2.0.2:=[profile?] <dev-haskell/hashtables-1.3:=[profile?]
- >=dev-haskell/haskeline-0.7.2.3:=[profile?] <dev-haskell/haskeline-0.9:=[profile?]
- >=dev-haskell/ieee754-0.7.8:=[profile?] <dev-haskell/ieee754-0.9:=[profile?]
- >=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
- >=dev-haskell/murmur-hash-0.1:=[profile?] <dev-haskell/murmur-hash-0.2:=[profile?]
- >=dev-haskell/regex-tdfa-1.3.1.0:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?]
- >=dev-haskell/split-0.2.0.0:=[profile?] <dev-haskell/split-0.2.4:=[profile?]
- >=dev-haskell/stm-2.4.4:=[profile?] <dev-haskell/stm-2.6:=[profile?]
- >=dev-haskell/strict-0.3.2:=[profile?] <dev-haskell/strict-0.5:=[profile?]
- >=dev-haskell/text-1.2.3.1:=[profile?] <dev-haskell/text-1.3:=[profile?]
- >=dev-haskell/unordered-containers-0.2.5.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
- >=dev-haskell/uri-encode-1.5.0.4:=[profile?] <dev-haskell/uri-encode-1.6:=[profile?]
- >=dev-haskell/zlib-0.6:=[profile?] <dev-haskell/zlib-0.7:=[profile?]
- >=dev-lang/ghc-8.0.2:=
- enable-cluster-counting? ( >=dev-haskell/text-icu-0.7:=[profile?] <dev-haskell/text-icu-0.8:=[profile?] )
-"
-RDEPEND+="
- emacs? (
- >=app-editors/emacs-23.1:*
- app-emacs/haskell-mode )
-"
-PDEPEND="stdlib? ( ~sci-mathematics/agda-stdlib-${MY_GENTOO_AGDA_STDLIB_V} )"
-DEPEND="${RDEPEND}
- dev-haskell/alex
- >=dev-haskell/cabal-1.24.2.0 <dev-haskell/cabal-3.3
- dev-haskell/happy
- cpphs? ( >=dev-haskell/cpphs-1.20.9 )
-"
-
-SITEFILE="50${PN}2-gentoo.el"
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
-
- if ! use emacs; then
- sed -e '/.*emacs-mode.*$/d' \
- -i "${S}/${MY_PN}.cabal" \
- || die "Could not remove agda-mode from ${MY_PN}.cabal"
- fi
-
- cabal_chdeps \
- 'if impl(ghc >= 8.6.4) && impl(ghc < 8.10.3)' 'if impl(ghc >= 8.6.4) && impl(ghc < 8.11.0)'
-}
-
-src_configure() {
- haskell-cabal_src_configure \
- $(cabal_flag cpphs cpphs) \
- $(cabal_flag debug debug) \
- $(cabal_flag enable-cluster-counting enable-cluster-counting)
-}
-
-src_compile() {
- if use emacs; then
- BYTECOMPFLAGS="-L ./src/data/emacs-mode"
- elisp-compile src/data/emacs-mode/*.el \
- || die "Failed to compile emacs mode"
- fi
- export LD_LIBRARY_PATH="${S}/dist/build${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- haskell-cabal_src_compile
-}
-
-src_install() {
- local add="${ED}"/usr/share/"${P}/ghc-$(ghc-version)"
-
- haskell-cabal_src_install
-
- export LD_LIBRARY_PATH="${S}/dist/build${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- # compile Agda.Primitive and Agda.Builtin modules, emulate Setup.hs postinst phase
- Agda_datadir="${add}" \
- "${ED}"/usr/bin/agda "${add}"/lib/prim/Agda/Primitive.agda \
- || die "Failed to build 'Primitive.agdai'"
- for file in "${add}"/lib/prim/Agda/Builtin/*.agda; do
- Agda_datadir="${add}" \
- "${ED}"/usr/bin/agda "${file}" \
- || die "Failed to build '${file}'"
- done
-
- if use emacs; then
- elisp-install ${PN} src/data/emacs-mode/*.el \
- || die "Failed to install emacs mode"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "Failed to install elisp site file"
- fi
-}
-
-pkg_postinst() {
- haskell-cabal_pkg_postinst
- if use emacs; then
- elisp-site-regen
- fi
-}
-
-pkg_postrm() {
- haskell-cabal_pkg_postrm
- if use emacs; then
- elisp-site-regen
- fi
-}
diff --git a/sci-mathematics/agda/files/50agda2-gentoo.el b/sci-mathematics/agda/files/50agda2-gentoo.el
deleted file mode 100644
index fd1367f727e6..000000000000
--- a/sci-mathematics/agda/files/50agda2-gentoo.el
+++ /dev/null
@@ -1,10 +0,0 @@
-;;; agda site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'agda2-mode "agda2.el"
- "Major mode for Agda files" t)
-(unless (assoc "\\.agda" auto-mode-alist)
- (setq auto-mode-alist
- (nconc '(("\\.agda" . agda2-mode)
- ("\\.alfa" . agda2-mode)) auto-mode-alist)))
-
diff --git a/sci-mathematics/agda/metadata.xml b/sci-mathematics/agda/metadata.xml
deleted file mode 100644
index 3c7fcb2824b8..000000000000
--- a/sci-mathematics/agda/metadata.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>haskell@gentoo.org</email>
- <name>Gentoo Haskell</name>
- </maintainer>
- <use>
- <flag name="cpphs">Use cpphs instead of cpp.</flag>
- <flag name="debug">Enable debugging features that may slow Agda down.</flag>
- <flag name="enable-cluster-counting">Enable the --count-clusters flag. (If enable-cluster-counting is False, then the --count-clusters flag triggers an error message.)</flag>
- <flag name="stdlib">Install the standard library.</flag>
- </use>
- <longdescription>
- Agda is a dependently typed functional programming language: It has
- inductive families, which are similar to Haskell's GADTs, but they
- can be indexed by values and not just types. It also has
- parameterised modules, mixfix operators, Unicode characters, and an
- interactive Emacs interface (the type checker can assist in the
- development of your code).
-
- Agda is also a proof assistant: It is an interactive system for
- writing and checking proofs. Agda is based on intuitionistic type
- theory, a foundational system for constructive mathematics developed
- by the Swedish logician Per Martin-L&amp;#xf6;f. It has many
- similarities with other proof assistants based on dependent types,
- such as Coq, Epigram and NuPRL.
-
- This package includes both a command-line program (agda) and an
- Emacs mode. If you want to use the Emacs mode you can set it up by
- running @agda-mode setup@ (see the README).
-
- Note that the Agda package does not follow the package versioning
- policy, because it is not intended to be used by third-party
- packages.
- </longdescription>
-</pkgmetadata>
diff --git a/sci-mathematics/rstudio/Manifest b/sci-mathematics/rstudio/Manifest
deleted file mode 100644
index c1df8e0d4d4c..000000000000
--- a/sci-mathematics/rstudio/Manifest
+++ /dev/null
@@ -1,19 +0,0 @@
-AUX rsession.conf 1145 BLAKE2B 81e0ba1c273cbebe1fcd95917cbfd9269525e4994f594734207972948ffbda5f500483ea21678dd15f28aed25ca060698f710fc3586522043347e55d3f4890a1 SHA512 90395faac5aa80ce52ae56da3565512b8a880a14ab2acf9a24c7a56c9d03f1e3d5f63ebaca66efa68f5c5c9c831235846df22ca37f20ba071437a2a963b808cf
-AUX rstudio-1.0.44-systemd.patch 1060 BLAKE2B c5417748653b60c85cacfaab08f2baf6936c3c2d76fe0c23702fe006c4f13de9d17a3556c05c0f47be41c6f4629d92da265861b1c689415bbdd59a515d1848af SHA512 3559fc0cb229b50fbfd4361e5be982396d563e41475878f15f870609caa9f85bd50b32f90b8f8d9c432287cb7286920dca21279bc5bfb33f1fd95a0ce68a2c4e
-AUX rstudio-1.2.1335-linker_flags.patch 505 BLAKE2B ac0ebca22f6dfcb799dd151e3c915c387dade30f86a9d335513d75c7c726c362255c745e91949ef3c1f58695d7a76a53550837c9d550113ba81d3d2d36507459 SHA512 221471a6ad720517a0b62563779ee11190f14b2f2f6d39e9e1c0acb32a03e41b9db5bd639c5336a26936d8f71ab5d88274471b00d224c6e31f2662680d6fd71c
-AUX rstudio-1.2.5042-boost-1.73.0.patch 728 BLAKE2B 675e5ff75ce5c3242bff5d92b32ca6391e8ceb68c504c2f161f2f30c083ae842e5e9a9c519e848595704bb6d639c5a8dc13a296dcfa445db19295f8ee78168e0 SHA512 214751fff5b027f407b093f397e70e701ed9016451a3972b240dcd4999d9b27a1309b47fb22a9f4f3944c47dc6de6bd8f1165a70a7046b5133bd88923d1b46a6
-AUX rstudio-1.3.1056-R-4.0.0.patch 1900 BLAKE2B 6429fd40c65a67a8159fda98b517f37133ff070b0b4885e14cbe9acf20516263407e4b5c96833dd6bacaf5f58cf74d65da701e52cf91c38de94c55bfa765647e SHA512 1c7ce8791b6c2f04dbad875433620efacef309b5b84d0c461617b5c52661634ca80e40d9a0fa94e606f992289972f3ce4ae015333de7f4c52b3d498e97746920
-AUX rstudio-1.3.1056-boost-1.74.0.patch 1126 BLAKE2B 289631a75eed12417f0091e20d393ce4687a849bfef47f3665c5cfc4d17da8ed9894e4bbded43c39255d58db021fc765e9f66ea0cdbcfe7cec463e271ee71c8e SHA512 c2ad2c189b845002f2b65dcdf3f7f093381759e294fec70148312a5cc5096ed9a1d47fb57d7e9f6c9b7efe174751c4d94dffd4060fc352a986c5c835d23ac5fa
-AUX rstudio-1.3.1093-boost-1.76.patch 1420 BLAKE2B d6e88da35c646f649f0487a1993a75ce5e2edeea34dbd383b927a06d635136772bc24efb4598d8c12eaca188406958d71e3bac58e324b1e7e6792d037e73aa3a SHA512 99d0198f14a0d5966cedb96e6585dfeb5e23c7392b71f41a54ccd7ef3f81d067343805cf39fe118e6174e30b42689cffb08e7001c3ae0001388a5f241468c140
-AUX rstudio-1.3.959-core.patch 7302 BLAKE2B eceff2aa67fc1a1cb36433bfa0956a4a45da3a017f80987e14893018737b3fc40cf1bbf9641e900311db3f5182828b11452c960b40c4e20ed83e5c3692e458bd SHA512 cf4e0682e3961c1208f14055bc604c2b8b8cc6db955216858ef4d95ca91154ab4d1eef58fcb5cdea84b2b755c98cd837b9028dad1520dd9dba222a45074a68f8
-AUX rstudio-1.3.959-pandoc-mathjax.patch 1997 BLAKE2B 71d40c2299b0598f9687175fe464d334e821762972dc0c4027f71c124eef2fd6795030c4426cec56c6b4fe81b8b72598f97214bab1d2b2b2a4c0c551cc1421a7 SHA512 6a5a76898500d3a8a20636a3854d459e5b8d806f68b0a4a08fcf3dae98feeebe751c14a7e4f8275c02ad47de9795168d90505d4dada19ccbdfbef0e07229cb66
-AUX rstudio-1.3.959-paths.patch 6142 BLAKE2B ed7ea6025e919e24228ea55679b198496446bc711e0efd355e1bc4ed4822078b8a486fb8390aaf6cf5852447fc9405ca68099e4a566b24521d341744c7e719a7 SHA512 9ee6c13619d6dac9f7af85557be1c4430d801424c3b29cbc73b657686d2cba49476083ae2bf87f7cef0039672116d3385fb51a03e803d9ae02e4a721403e614a
-AUX rstudio-1.3.959-prefs.patch 3132 BLAKE2B b2d815c8c08b1f9fde82e41fe1c865d0d70c9ecec729e7c62bf858cc48ab00afbc99c59086b0c2c7ab1e0a0a956fa6f448dd407750d4e92101e6609ec2e59ee9 SHA512 0e9541dd7fba278339b0ed409be9997c86ef3ed536de791cce98f9b718476e9144c53be1572fd3f4d2396ddede05df625b4d584aa7e83add7e9ddc41989c9fcd
-AUX rstudio-1.3.959-qtsingleapplication.patch 2149 BLAKE2B 5d7170aeb02fff87bfde9ad55c004a3690c6f0d2ea73602e22c17a79efa81a207ed83d23595e4e071375fb6df60d57c9f17380fe3726f57b3e126c0448560fe8 SHA512 b98761454a0afb64806409f1e330557379cce7f23aaafd3bdfe913f6d41b56738bcc746e99cf5031c8559fac5368dcd299bcbe31b7f40e3a3a7a8f92217ace05
-AUX rstudio-server.conf 1337 BLAKE2B a9a85c76a1c7c5f32f55606c6e3c9b72662dbd25e4b005f9702ed301afc21425906faf06fca91c18328524c53437aee7c9c4aee26cf293cdc72375e91ec7f701 SHA512 f166f1aa4bd370fcfcb44c5694d4e6af8bc64c5f43671e0c1def10c555d248bebf54199097f37d628a083c65913f522b7b44c3bd6a1227c011cf25eed1dba4a6
-AUX rstudio-server.initd 398 BLAKE2B 0a621dbb4a931a225913c8197d652a13e8fd1abf5a4381a05b06e8304abe3155465e388c1d060dcda4b894344762bbbe6cf38a55b5fc8bdfbe4ada29f27b9468 SHA512 3ebda251177a20acc1e52da7cbdec6bf28b702a0aa3809739f570a9be1d1e81ae46515c2af1ce14404eb2db44c18fc293e69b05e88f1502419c07f9b370c4dbf
-AUX rstudio-server.service.in 182 BLAKE2B 36ae7ad62cc7f4b1280841039d668255ea3de541043039fc624a5d9c2595278c3fff4e8c6f056d52e0edd155025be5b3ea9564a4446bbdefd1f30cf3b2b80a60 SHA512 983484b9b970ee7a9294a78edcbba801520c2d1ace7920c961f4c2a38f27e07af11ed328b4de539be8f724ce04fbffb177374fa51918bbe4c5bc8194db15a4f9
-DIST core-dictionaries.zip 876339 BLAKE2B f29afcbf5a7f8ec635e5a5b248d978af286d18488f54c9a09a2b95fde19b796e4473e5846402a46dd24b71c6e4167512539aaa32ab6d99713d500a80aaf46796 SHA512 9c5830cc9fed575e223f1c61f02e48c5aea6801bb0cd2586f02437c17fdffdb1d36c396d5a8ecbe02ba01196e73458304345b1f6b92c052bc7a7d05961fac2c9
-DIST rstudio-1.3.1093.tar.gz 89554292 BLAKE2B defd68e65a2cbc570aaf6fb14bd16342946154cda7322549d426281aea48d923803f061c1cd7d74b65b000a67ed62713dd06d311617e54130cb7c08147b34694 SHA512 c8a8d2312353e574dc2fb8ff2e64bd46c8aaf889c86f9c81ce22a7275e4cbec436dadfdaee513c3fc47dd3ad003e07a25baac4d8fcf47cc21df919afa084e92e
-EBUILD rstudio-1.3.1093-r1.ebuild 7005 BLAKE2B 9fb11909d4f2356bed0d5cdd626bad7e83364c031df894920e3f645488adbb7bd5489ce99717f4af45205db9dfb528ba12bd00f799f44bde2ee8ffc897016d7d SHA512 22569476478f751bdc4b8ce16618b0cb0632a7b6b0eb225cb9efa70669556f0d3ff08199eb5cceefca3798ca9001210f1f104781fe63f687566d1c6be9294e28
-MISC metadata.xml 591 BLAKE2B ec99d584b17af795fdb9286c9ba6f3d4ec70426bdc6b3ed8639a0503072d52d1248fd8b4e351492b4200d4911806389e0876d10e5756890c8d74a07739001453 SHA512 d44f7500e74d6e0de02ed82c1d3485b9b128b8f14731c37eaf5de0a6c6503f9988c07097f27187111a4bc8a357f8f8a832a1f58641598961be2a6e234c7ecdce
diff --git a/sci-mathematics/rstudio/files/rsession.conf b/sci-mathematics/rstudio/files/rsession.conf
deleted file mode 100644
index 645bfa46b208..000000000000
--- a/sci-mathematics/rstudio/files/rsession.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-######rsession.conf############
-# Session Timeouts
-# By default if a user hasn't issued a command for 2 hours
-# RStudio will suspend that user's R session to disk so
-# they are no longer consuming server resources (the next
-# time the user attempts to access the server their session
-# will be restored). You can change the timeout (including
-# disabling it by specifying a value of 0) using the
-# session-timeout-minutes setting
-#session-timeout-minutes=30
-
-# By default RStudio sets the R_LIBS_USER environment
-# variable to ~/R/library. This ensures that packages
-# installed by end users do not have R version numbers
-# encoded in the path (which is the default behavior).
-# This in turn enables administrators to upgrade the version
-# of R on the server without reseting users installed packages
-# (which would occur if the installed packages were in an
-# R-version derived directory).
-# If you wish to override this behavior you can do so using
-# the r-libs-user settings
-#r-libs-user=~/R/packages
-
-# You can set the default CRAN repository for the server
-# using the r-cran-repos setting
-#r-cran-repos=http://cran.case.edu/
diff --git a/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch b/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch
deleted file mode 100644
index 56601de5341c..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.0.44-systemd.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/src/cpp/server/CMakeLists.txt
-+++ b/src/cpp/server/CMakeLists.txt
-@@ -232,17 +232,12 @@
- DESTINATION ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR})
-
- # install configured systemd profile
-- set(RSERVER_SYSTEMD_DIR "extras/systemd")
-+ set(RSERVER_SYSTEMD_DIR "lib/systemd/system")
- set(RSERVER_SYSTEMD_PROFILE "${RSERVER_SYSTEMD_DIR}/rstudio-server.service")
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_SYSTEMD_PROFILE}.in
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_SYSTEMD_PROFILE})
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_SYSTEMD_PROFILE}
- DESTINATION ${RSERVER_SYSTEMD_DIR})
-- set(RSERVER_SYSTEMD_PROFILE_REDHAT "${RSERVER_SYSTEMD_DIR}/rstudio-server.redhat.service")
-- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_SYSTEMD_PROFILE_REDHAT}.in
-- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_SYSTEMD_PROFILE_REDHAT})
-- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_SYSTEMD_PROFILE_REDHAT}
-- DESTINATION ${RSERVER_SYSTEMD_DIR})
-
- elseif(APPLE)
-
diff --git a/sci-mathematics/rstudio/files/rstudio-1.2.1335-linker_flags.patch b/sci-mathematics/rstudio/files/rstudio-1.2.1335-linker_flags.patch
deleted file mode 100644
index e07ead68969e..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.2.1335-linker_flags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- rstudio-1.2.1335-orig/src/cpp/CMakeLists.txt 2019-03-28 16:08:20.000000000 +1100
-+++ rstudio-1.2.1335/src/cpp/CMakeLists.txt 2019-04-09 17:58:59.926559001 +1000
-@@ -117,7 +117,7 @@
- add_definitions(-O0)
- add_definitions(-D_GLIBCXX_ASSERTIONS)
- endif()
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie -Wl,-z,relro,-z,now")
-+ set(CMAKE_EXE_LINKER_FLAGS "-pie -Wl,-z,relro,-z,now ${CMAKE_EXE_LINKER_FLAGS}")
- endif()
-
- # other useful gcc diagnostics
diff --git a/sci-mathematics/rstudio/files/rstudio-1.2.5042-boost-1.73.0.patch b/sci-mathematics/rstudio/files/rstudio-1.2.5042-boost-1.73.0.patch
deleted file mode 100644
index cd024e9ed912..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.2.5042-boost-1.73.0.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- rstudio-1.2.5042-orig/src/cpp/core/system/PosixChildProcessTracker.cpp 2020-04-02 03:16:24.000000000 +1100
-+++ rstudio-1.2.5042/src/cpp/core/system/PosixChildProcessTracker.cpp 2020-04-28 15:36:44.839368084 +1000
-@@ -19,6 +19,8 @@
-
- #include <boost/format.hpp>
-
-+using namespace boost::placeholders;
-+
- namespace rstudio {
- namespace core {
- namespace system {
---- rstudio-1.2.5042-orig/src/cpp/core/system/PosixOutputCapture.cpp 2020-04-02 03:16:24.000000000 +1100
-+++ rstudio-1.2.5042/src/cpp/core/system/PosixOutputCapture.cpp 2020-04-28 15:35:50.869185435 +1000
-@@ -28,6 +28,8 @@
-
- #include <core/system/System.hpp>
-
-+using namespace boost::placeholders;
-+
- namespace rstudio {
- namespace core {
- namespace system {
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.1056-R-4.0.0.patch b/sci-mathematics/rstudio/files/rstudio-1.3.1056-R-4.0.0.patch
deleted file mode 100644
index 662089e93a01..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.1056-R-4.0.0.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 71b1a935762efd24a79de193662450de5a89f67e Mon Sep 17 00:00:00 2001
-From: Jonathan McPherson <jonathan@rstudio.com>
-Date: Tue, 14 Jan 2020 12:53:20 -0800
-Subject: [PATCH] use R_NoSave over R_Slave for R 4.0+
-
----
- src/cpp/r/CMakeLists.txt | 12 ++++++++++++
- src/cpp/r/config.h.in | 8 +++++++-
- src/cpp/r/session/REmbeddedPosix.cpp | 20 ++++++++++++++------
- 3 files changed, 33 insertions(+), 7 deletions(-)
-
-diff --git a/src/cpp/r/CMakeLists.txt b/src/cpp/r/CMakeLists.txt
-index 6984ae309c..29784b8b67 100644
---- a/src/cpp/r/CMakeLists.txt
-+++ b/src/cpp/r/CMakeLists.txt
-@@ -15,6 +15,18 @@
-
- project (R)
-
-+# find the version of R in play
-+find_package(LibR REQUIRED)
-+execute_process(
-+ COMMAND "${LIBR_EXECUTABLE}" "--vanilla" "--slave" "-e" "cat(as.character(getRversion()))"
-+ OUTPUT_VARIABLE LIBR_VERSION)
-+
-+# parse and save the R version to a variable
-+string(REPLACE "." ";" R_VERSION_LIST "${LIBR_VERSION}")
-+list(GET R_VERSION_LIST 0 R_VERSION_MAJOR)
-+list(GET R_VERSION_LIST 1 R_VERSION_MINOR)
-+list(GET R_VERSION_LIST 2 R_VERSION_PATCH)
-+
- # include files
- file(GLOB_RECURSE R_HEADER_FILES "*.h*")
-
-diff --git a/src/cpp/r/config.h.in b/src/cpp/r/config.h.in
-index 6ba67c8e09..00bc8b6191 100644
---- a/src/cpp/r/config.h.in
-+++ b/src/cpp/r/config.h.in
-@@ -1,7 +1,7 @@
- /*
- * config.h.in
- *
-- * Copyright (C) 2009-12 by RStudio, PBC
-+ * Copyright (C) 2009-20 by RStudio, Inc.
- *
- * Unless you have received this program directly from RStudio pursuant
- * to the terms of a commercial license agreement with RStudio, then
-@@ -16,4 +16,10 @@
-
- #cmakedefine PANGO_CAIRO_FOUND
-
-+// Important: These variables represent the version of R found during
-+// compile/link time, NOT the version of R present at runtime.
-+#define R_VERSION_MAJOR ${R_VERSION_MAJOR}
-+#define R_VERSION_MINOR ${R_VERSION_MINOR}
-+#define R_VERSION_PATCH ${R_VERSION_PATCH}
-+
-
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.1056-boost-1.74.0.patch b/sci-mathematics/rstudio/files/rstudio-1.3.1056-boost-1.74.0.patch
deleted file mode 100644
index 2fde3119e2a4..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.1056-boost-1.74.0.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- rstudio-1.3.1056-orig/src/cpp/core/file_lock/FileLock.cpp 2020-07-08 08:25:03.000000000 +1000
-+++ rstudio-1.3.1056/src/cpp/core/file_lock/FileLock.cpp 2020-07-17 18:01:57.016882590 +1000
-@@ -26,6 +26,7 @@
- #include <core/system/Environment.hpp>
-
- #include <boost/algorithm/string.hpp>
-+#include <boost/bind.hpp>
-
- // borrowed from SessionConstants.hpp
- #define kRStudioSessionRoute "RSTUDIO_SESSION_ROUTE"
---- rstudio-1.3.1056-orig/src/cpp/core/HtmlUtils.cpp 2020-07-08 08:25:03.000000000 +1000
-+++ rstudio-1.3.1056/src/cpp/core/HtmlUtils.cpp 2020-07-17 18:01:58.129886387 +1000
-@@ -19,6 +19,7 @@
-
- #include <boost/format.hpp>
- #include <boost/algorithm/string/predicate.hpp>
-+#include <boost/bind.hpp>
-
- #include <core/Base64.hpp>
- #include <core/FileSerializer.hpp>
---- rstudio-1.3.1056-orig/src/cpp/r/session/RStdCallbacks.cpp 2020-07-08 08:25:03.000000000 +1000
-+++ rstudio-1.3.1056/src/cpp/r/session/RStdCallbacks.cpp 2020-07-17 18:32:09.044071640 +1000
-@@ -19,6 +19,7 @@
-
- #include <boost/function.hpp>
- #include <boost/regex.hpp>
-+#include <boost/bind.hpp>
-
- #include <r/RExec.hpp>
- #include <r/ROptions.hpp>
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch b/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch
deleted file mode 100644
index 5e832db2883b..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- rstudio-1.3.1093-orig/src/cpp/r/session/RStdCallbacks.cpp
-+++ rstudio-1.3.1093/src/cpp/r/session/RStdCallbacks.cpp
-@@ -19,7 +19,7 @@
-
- #include <boost/function.hpp>
- #include <boost/regex.hpp>
--#include <boost/bind.hpp>
-+#include <boost/bind/bind.hpp>
-
- #include <r/RExec.hpp>
- #include <r/ROptions.hpp>
-@@ -58,6 +58,7 @@ __declspec(dllimport) SA_TYPE SaveAction
- }
-
- using namespace rstudio::core;
-+using namespace boost::placeholders;
-
- namespace rstudio {
- namespace r {
---- rstudio-1.3.1093-orig/src/cpp/core/HtmlUtils.cpp.orig
-+++ rstudio-1.3.1093/src/cpp/core/HtmlUtils.cpp
-@@ -19,13 +19,15 @@
-
- #include <boost/format.hpp>
- #include <boost/algorithm/string/predicate.hpp>
--#include <boost/bind.hpp>
-+#include <boost/bind/bind.hpp>
-
- #include <core/Base64.hpp>
- #include <core/FileSerializer.hpp>
- #include <core/RegexUtils.hpp>
-
- #include <core/http/Util.hpp>
-+
-+using namespace boost::placeholders;
-
- namespace rstudio {
- namespace core {
---- rstudio-1.3.1093-orig/src/cpp/core/file_lock/FileLock.cpp.orig
-+++ rstudio-1.3.1093/src/cpp/core/file_lock/FileLock.cpp
-@@ -26,10 +26,12 @@
- #include <core/system/Environment.hpp>
-
- #include <boost/algorithm/string.hpp>
--#include <boost/bind.hpp>
-+#include <boost/bind/bind.hpp>
-
- // borrowed from SessionConstants.hpp
- #define kRStudioSessionRoute "RSTUDIO_SESSION_ROUTE"
-+
-+using namespace boost::placeholders;
-
- namespace rstudio {
- namespace core {
- \ No newline at end of file
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.959-core.patch b/sci-mathematics/rstudio/files/rstudio-1.3.959-core.patch
deleted file mode 100644
index 0f6af4ef7f12..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.959-core.patch
+++ /dev/null
@@ -1,184 +0,0 @@
---- rstudio-1.3.959-orig/src/cpp/session/SessionClientInit.cpp 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/session/SessionClientInit.cpp 2020-05-24 17:21:56.960469575 +1000
-@@ -91,13 +91,13 @@
- boost::shared_ptr<http::Cookie>* pCookie)
- {
- // extract the base URL
-- json::JsonRpcRequest request;
-+ core::json::JsonRpcRequest request;
- Error error = parseJsonRpcRequest(ptrConnection->request().body(), &request);
- if (error)
- return error;
- std::string baseURL;
-
-- error = json::readParams(request.params, &baseURL);
-+ error = core::json::readParams(request.params, &baseURL);
- if (error)
- return error;
-
-@@ -143,7 +143,7 @@
- if (options.programMode() == kSessionProgramModeServer &&
- !core::http::validateCSRFHeaders(ptrConnection->request()))
- {
-- ptrConnection->sendJsonRpcError(Error(json::errc::Unauthorized, ERROR_LOCATION));
-+ ptrConnection->sendJsonRpcError(Error(core::json::errc::Unauthorized, ERROR_LOCATION));
- return;
- }
-
-@@ -173,12 +173,12 @@
- }
-
- // prepare session info
-- json::Object sessionInfo ;
-+ core::json::Object sessionInfo ;
- sessionInfo["clientId"] = clientId;
- sessionInfo["mode"] = options.programMode();
-
- // build initialization options for client
-- json::Object initOptions;
-+ core::json::Object initOptions;
- initOptions["restore_workspace"] = options.rRestoreWorkspace();
- initOptions["run_rprofile"] = options.rRunRprofile();
- sessionInfo["init_options"] = initOptions;
-@@ -194,8 +194,8 @@
- }
-
- // temp dir
-- FilePath tempDir = rstudio::r::session::utils::tempDir();
-- Error error = tempDir.ensureDirectory();
-+ core::FilePath tempDir = rstudio::r::session::utils::tempDir();
-+ core::Error error = tempDir.ensureDirectory();
- if (error)
- LOG_ERROR(error);
- sessionInfo["temp_dir"] = tempDir.getAbsolutePath();
-@@ -213,12 +213,12 @@
- sessionInfo["prompt"] = rstudio::r::options::getOption<std::string>("prompt");
-
- // client state
-- json::Object clientStateObject;
-+ core::json::Object clientStateObject;
- rstudio::r::session::clientState().currentState(&clientStateObject);
- sessionInfo["client_state"] = clientStateObject;
-
- // source documents
-- json::Array jsonDocs;
-+ core::json::Array jsonDocs;
- error = modules::source::clientInitDocuments(&jsonDocs);
- if (error)
- LOG_ERROR(error);
-@@ -243,7 +243,7 @@
- if (resumed)
- {
- // console actions
-- json::Object actionsObject;
-+ core::json::Object actionsObject;
- consoleActions.asJson(&actionsObject);
- sessionInfo["console_actions"] = actionsObject;
- }
-@@ -310,12 +310,12 @@
- }
- else
- {
-- sessionInfo["active_project_file"] = json::Value();
-- sessionInfo["project_ui_prefs"] = json::Value();
-- sessionInfo["project_open_docs"] = json::Value();
-+ sessionInfo["active_project_file"] = core::json::Value();
-+ sessionInfo["project_ui_prefs"] = core::json::Value();
-+ sessionInfo["project_open_docs"] = core::json::Value();
- sessionInfo["project_supports_sharing"] = false;
- sessionInfo["project_owned_by_user"] = false;
-- sessionInfo["project_user_data_directory"] = json::Value();
-+ sessionInfo["project_user_data_directory"] = core::json::Value();
- }
-
- sessionInfo["system_encoding"] = std::string(::locale2charset(nullptr));
-@@ -352,20 +352,20 @@
- sessionInfo["build_tools_bookdown_website"] =
- module_context::isBookdownWebsite();
-
-- FilePath buildTargetDir = projects::projectContext().buildTargetPath();
-+ core::FilePath buildTargetDir = projects::projectContext().buildTargetPath();
- if (!buildTargetDir.isEmpty())
- {
- sessionInfo["build_target_dir"] = module_context::createAliasedPath(
- buildTargetDir);
-- sessionInfo["has_pkg_src"] = (type == r_util::kBuildTypePackage) &&
-+ sessionInfo["has_pkg_src"] = (type == core::r_util::kBuildTypePackage) &&
- buildTargetDir.completeChildPath("src").exists();
- sessionInfo["has_pkg_vig"] =
-- (type == r_util::kBuildTypePackage) &&
-+ (type == core::r_util::kBuildTypePackage) &&
- buildTargetDir.completeChildPath("vignettes").exists();
- }
- else
- {
-- sessionInfo["build_target_dir"] = json::Value();
-+ sessionInfo["build_target_dir"] = core::json::Value();
- sessionInfo["has_pkg_src"] = false;
- sessionInfo["has_pkg_vig"] = false;
- }
-@@ -373,9 +373,9 @@
- }
- else
- {
-- sessionInfo["build_tools_type"] = r_util::kBuildTypeNone;
-+ sessionInfo["build_tools_type"] = core::r_util::kBuildTypeNone;
- sessionInfo["build_tools_bookdown_website"] = false;
-- sessionInfo["build_target_dir"] = json::Value();
-+ sessionInfo["build_target_dir"] = core::json::Value();
- sessionInfo["has_pkg_src"] = false;
- sessionInfo["has_pkg_vig"] = false;
- }
-@@ -384,7 +384,7 @@
- sessionInfo["presentation_commands"] = options.allowPresentationCommands();
-
- sessionInfo["tutorial_api_available"] = false;
-- sessionInfo["tutorial_api_client_origin"] = json::Value();
-+ sessionInfo["tutorial_api_client_origin"] = core::json::Value();
-
- sessionInfo["build_state"] = modules::build::buildStateAsJson();
- sessionInfo["devtools_installed"] = module_context::isMinimumDevtoolsInstalled();
-@@ -395,7 +395,7 @@
-
- // console history -- we do this at the end because
- // restoreBuildRestartContext may have reset it
-- json::Array historyArray;
-+ core::json::Array historyArray;
- rstudio::r::session::consoleHistory().asJson(&historyArray);
- sessionInfo["console_history"] = historyArray;
- sessionInfo["console_history_capacity"] =
-@@ -470,14 +470,14 @@
-
- sessionInfo["multi_session"] = options.multiSession();
-
-- json::Object rVersionsJson;
-+ core::json::Object rVersionsJson;
- rVersionsJson["r_version"] = module_context::rVersion();
- rVersionsJson["r_version_label"] = module_context::rVersionLabel();
- rVersionsJson["r_home_dir"] = module_context::rHomeDir();
- sessionInfo["r_versions_info"] = rVersionsJson;
-
- sessionInfo["show_user_home_page"] = options.showUserHomePage();
-- sessionInfo["user_home_page_url"] = json::Value();
-+ sessionInfo["user_home_page_url"] = core::json::Value();
-
- sessionInfo["r_addins"] = modules::r_addins::addinRegistryAsJson();
- sessionInfo["package_provided_extensions"] = modules::ppe::indexer().getPayload();
-@@ -501,7 +501,7 @@
-
- sessionInfo["launcher_jobs_enabled"] = modules::overlay::launcherJobsFeatureDisplayed();
-
-- json::Object packageDependencies;
-+ core::json::Object packageDependencies;
- error = modules::dependency_list::getDependencyList(&packageDependencies);
- if (error)
- LOG_ERROR(error);
-@@ -529,7 +529,7 @@
-
- // create response (we always set kEventsPending to false so that the client
- // won't poll for events until it is ready)
-- json::JsonRpcResponse jsonRpcResponse;
-+ core::json::JsonRpcResponse jsonRpcResponse;
- jsonRpcResponse.setField(kEventsPending, "false");
- jsonRpcResponse.setResult(sessionInfo);
-
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.959-pandoc-mathjax.patch b/sci-mathematics/rstudio/files/rstudio-1.3.959-pandoc-mathjax.patch
deleted file mode 100644
index d8718dda9b18..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.959-pandoc-mathjax.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- rstudio-1.3.959-orig/src/cpp/session/CMakeLists.txt 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/session/CMakeLists.txt 2020-05-24 18:54:40.444955162 +1000
-@@ -22,12 +22,6 @@
- if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/dictionaries")
- message(FATAL_ERROR "Dictionaries not found (re-run install-dependencies script to install)")
- endif()
--if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-27")
-- message(FATAL_ERROR "Mathjax 2.7 not found (re-run install-dependencies script to install)")
--endif()
--if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/pandoc")
-- message(FATAL_ERROR "pandoc not found (re-run install-dependencies script to install)")
--endif()
-
- # verify embedded packages are available
- foreach(PKG ${RSTUDIO_EMBEDDED_PACKAGES})
-@@ -500,10 +494,6 @@
- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DIR}/common/dictionaries"
- DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources")
-
-- # install mathjax for local html preview
-- install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-27"
-- DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources")
--
- # icons for database connections
- install(DIRECTORY "resources/connections"
- DESTINATION ${RSTUDIO_INSTALL_SUPPORTING}/resources)
-@@ -516,15 +506,6 @@
- install(DIRECTORY "resources/dependencies"
- DESTINATION ${RSTUDIO_INSTALL_SUPPORTING}/resources)
-
-- # install pandoc
-- set(PANDOC_VERSION "2.7.3" CACHE INTERNAL "Pandoc version")
--
-- set(PANDOC_BIN "${RSTUDIO_DEPENDENCIES_DIR}/common/pandoc/${PANDOC_VERSION}")
-- file(GLOB PANDOC_FILES "${PANDOC_BIN}/pandoc*")
-- install(FILES ${PANDOC_FILES}
-- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
-- DESTINATION ${RSTUDIO_INSTALL_BIN}/pandoc)
--
- # install embedded packages
- foreach(PKG ${RSTUDIO_EMBEDDED_PACKAGES})
- file(GLOB PKG_FILES "${RSTUDIO_DEPENDENCIES_DIR}/common/${PKG}*.tar.gz")
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.959-paths.patch b/sci-mathematics/rstudio/files/rstudio-1.3.959-paths.patch
deleted file mode 100644
index 175d52f7149a..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.959-paths.patch
+++ /dev/null
@@ -1,118 +0,0 @@
---- rstudio-1.3.959-orig/CMakeGlobals.txt 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/CMakeGlobals.txt 2020-05-25 19:30:10.711859714 +1000
-@@ -181,7 +181,7 @@
- else()
- set(RSTUDIO_INSTALL_BIN bin)
- endif()
-- set(RSTUDIO_INSTALL_SUPPORTING .)
-+ set(RSTUDIO_INSTALL_SUPPORTING ${DISTRO_SHARE})
- endif()
-
- # if the install prefix is /usr/local then tweak as appropriate
---- rstudio-1.3.959-orig/src/cpp/server/CMakeLists.txt 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/server/CMakeLists.txt 2020-05-25 19:30:10.711859714 +1000
-@@ -190,7 +190,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 ${DISTRO_SHARE}/${RSERVER_INITD_DEBIAN_DIR})
-
- # install configured redhat init.d script
- set(RSERVER_INITD_REDHAT_DIR "extras/init.d/redhat")
-@@ -198,7 +198,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 ${DISTRO_SHARE}/${RSERVER_INITD_REDHAT_DIR})
-
- # install configured suse init.d script
- set(RSERVER_INITD_SUSE_DIR "extras/init.d/suse")
-@@ -206,13 +206,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 ${DISTRO_SHARE}/${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 ${DISTRO_SHARE}/${RSERVER_PAM_DIR})
-
- # install configured upstart profile
- set(RSERVER_UPSTART_DIR "extras/upstart")
-@@ -220,12 +220,12 @@
- 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 ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR})
- set(RSERVER_UPSTART_PROFILE_REDHAT "${RSERVER_UPSTART_DIR}/rstudio-server.redhat.conf")
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_UPSTART_PROFILE_REDHAT}.in
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE_REDHAT})
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE_REDHAT}
-- DESTINATION ${RSERVER_UPSTART_DIR})
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR})
-
- # install configured systemd profile
- set(RSERVER_SYSTEMD_DIR "extras/systemd")
---- rstudio-1.3.959-orig/src/cpp/server/ServerOptions.cpp 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/server/ServerOptions.cpp 2020-05-25 19:34:19.377675880 +1000
-@@ -442,8 +442,8 @@
-
- // convert relative paths by completing from the system installation
- // path (this allows us to be relocatable)
-- resolvePath(resourcePath, &wwwLocalPath_);
-- resolvePath(resourcePath, &wwwSymbolMapsPath_);
-+ resolvePath(resourcePath.completeChildPath(DISTRO_SHARE), &wwwLocalPath_);
-+ resolvePath(resourcePath.completeChildPath(DISTRO_SHARE), &wwwSymbolMapsPath_);
- resolvePath(binaryPath, &authPamHelperPath_);
- resolvePath(binaryPath, &rsessionPath_);
- resolvePath(binaryPath, &rldpathPath_);
---- rstudio-1.3.959-orig/src/cpp/session/SessionOptions.cpp 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/session/SessionOptions.cpp 2020-05-25 19:33:58.318606745 +1000
-@@ -52,7 +52,7 @@
- namespace session {
-
- namespace {
--const char* const kDefaultPandocPath = "bin/pandoc";
-+const char* const kDefaultPandocPath = "bin";
- const char* const kDefaultPostbackPath = "bin/postback/rpostback";
- const char* const kDefaultRsclangPath = "bin/rsclang";
-
-@@ -586,14 +586,14 @@
- }
-
- // convert relative paths by completing from the app resource path
-- resolvePath(resourcePath_, &rResourcesPath_);
-- resolvePath(resourcePath_, &agreementFilePath_);
-- resolvePath(resourcePath_, &wwwLocalPath_);
-- resolvePath(resourcePath_, &wwwSymbolMapsPath_);
-- resolvePath(resourcePath_, &coreRSourcePath_);
-- resolvePath(resourcePath_, &modulesRSourcePath_);
-- resolvePath(resourcePath_, &sessionLibraryPath_);
-- resolvePath(resourcePath_, &sessionPackageArchivesPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &rResourcesPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &agreementFilePath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &wwwLocalPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &wwwSymbolMapsPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &coreRSourcePath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &modulesRSourcePath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &sessionLibraryPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &sessionPackageArchivesPath_);
- resolvePostbackPath(resourcePath_, &rpostbackPath_);
- #ifdef _WIN32
- resolvePath(resourcePath_, &consoleIoPath_);
-@@ -626,7 +626,7 @@
- }
- winptyPath_ = pty.completePath(completion).getAbsolutePath();
- #endif // _WIN32
-- resolvePath(resourcePath_, &hunspellDictionariesPath_);
-+ resolvePath(resourcePath_.completeChildPath(DISTRO_SHARE), &hunspellDictionariesPath_);
- resolvePath(resourcePath_, &mathjaxPath_);
- resolvePath(resourcePath_, &libclangHeadersPath_);
- resolvePandocPath(resourcePath_, &pandocPath_);
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.959-prefs.patch b/sci-mathematics/rstudio/files/rstudio-1.3.959-prefs.patch
deleted file mode 100644
index 4f9613947694..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.959-prefs.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- rstudio-1.3.959-orig/src/gwt/build.xml 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/gwt/build.xml 2020-05-25 17:38:28.911881424 +1000
-@@ -28,19 +28,37 @@
- classname="com.google.javascript.jscomp.ant.CompileTask"
- classpath="${tools.dir}/compiler/compiler.jar"/>
-
-+ <!-- Configure path to aopalliance -->
-+ <property name="aopalliance.sdk" value="@GENTOO_PORTAGE_EPREFIX@/usr/share/aopalliance-1/lib"/>
-+
-+ <!-- Configure path to javax-inject -->
-+ <property name="javax.inject" value="@GENTOO_PORTAGE_EPREFIX@/usr/share/javax-inject/lib"/>
-+
-+ <!-- Configure path to validation-api -->
-+ <property name="validation.api" value="@GENTOO_PORTAGE_EPREFIX@/usr/share/validation-api-1.0/lib"/>
-+ <property name="validation.api.sources" value="@GENTOO_PORTAGE_EPREFIX@/usr/share/validation-api-1.0/sources"/>
-+
- <!-- Configure path to GWT SDK -->
- <property name="gwt.sdk" value="${lib.dir}/gwt/gwt-rstudio-1.3"/>
-+ <!-- Configure path to Google Gin -->
-+ <property name="gin.sdk" value="@GENTOO_PORTAGE_EPREFIX@/usr/share/gin-2.1/lib"/>
-+
- <property name="gwt.extra.args" value=""/>
- <property name="gwt.main.module" value="org.rstudio.studio.RStudio"/>
- <property name="ace.bin" value="${src.dir}/org/rstudio/studio/client/workbench/views/source/editors/text/ace"/>
-+ <property environment="env"/>
-
- <!-- configure code server -->
- <property name="bind.address" value="127.0.0.1"/>
-
- <path id="project.class.path">
- <pathelement location="${build.dir}"/>
-+ <fileset dir="${aopalliance.sdk}" includes="*.jar"/>
-+ <fileset dir="${javax.inject}" includes="*.jar"/>
-+ <fileset dir="${validation.api}" includes="*.jar"/>
-+ <fileset dir="${validation.api.sources}" includes="*.zip"/>
- <fileset dir="${gwt.sdk}" includes="*.jar"/>
-- <fileset dir="${lib.dir}/gin/2.1.2" includes="*.jar"/>
-+ <fileset dir="${gin.sdk}" includes="*.jar"/>
- </path>
-
- <path id="test.class.path">
-@@ -114,8 +132,10 @@
- <pathelement location="${src.dir}"/>
- <path refid="project.class.path"/>
- </classpath>
-+ <jvmarg value="-Duser.home=${env.T}"/>
- <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
- <jvmarg value="-Xmx1536M"/>
-+ <jvmarg value="-Djava.util.prefs.userRoot=${env.T}"/>
- <arg value="-war"/>
- <arg value="${www.dir}"/>
- <arg value="-localWorkers"/>
-@@ -168,6 +188,7 @@
- <pathelement location="${src.dir}"/>
- <path refid="project.class.path"/>
- </classpath>
-+ <jvmarg value="-Duser.home=${env.T}"/>
- <jvmarg value="-Xmx2048M"/>
- <arg value="-style"/>
- <arg value="PRETTY"/>
-@@ -212,6 +233,7 @@
- <pathelement location="${test.dir}"/>
- <pathelement location="${src.dir}"/>
- </classpath>
-+ <jvmarg value="-Duser.home=${env.T}"/>
- <classpath refid="project.class.path"/>
- <classpath refid="unittest.class.path"/>
- <arg value="org.rstudio.studio.client.RStudioUnitTestSuite"/>
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.959-qtsingleapplication.patch b/sci-mathematics/rstudio/files/rstudio-1.3.959-qtsingleapplication.patch
deleted file mode 100644
index 3ced4f9afa1c..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-1.3.959-qtsingleapplication.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- rstudio-1.3.959-orig/src/cpp/desktop/CMakeLists.txt 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/desktop/CMakeLists.txt 2020-05-24 17:15:47.039422975 +1000
-@@ -138,6 +138,13 @@
- get_filename_component(QT_LIBRARY_PATH "${QT_BIN_DIR}/../lib" ABSOLUTE CACHE)
- get_filename_component(QT_INSTALL_PATH "${QT_BIN_DIR}/.." ABSOLUTE CACHE)
-
-+find_path(QTSINGLEAPPLIB_INCLUDE_DIR NAMES QtSingleApplication
-+ PATH_SUFFIXES QtSolutions
-+ PATHS
-+ /usr/include/qt5)
-+find_library(QTSINGLEAPPLIB Qt5Solutions_SingleApplication-2.6
-+ libQt5Solutions_SingleApplication-2.6)
-+
- # disable clang warnings for qt sources
- if(APPLE)
- add_definitions(-Wno-unused-private-field
-@@ -156,7 +163,6 @@
-
- set(MOC_DESKTOP_HEADER_FILES ${DESKTOP_HEADER_FILES})
- list(REMOVE_ITEM MOC_DESKTOP_HEADER_FILES
-- ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qtsingleapplication/qtlockedfile.h
- ${CMAKE_CURRENT_SOURCE_DIR}/DesktopDetectRHome.hpp
- ${CMAKE_CURRENT_SOURCE_DIR}/DesktopOptions.hpp
- ${CMAKE_CURRENT_SOURCE_DIR}/DesktopRVersion.hpp
-@@ -225,8 +231,6 @@
- DesktopSynctex.cpp
- DesktopJobLauncherOverlay.cpp
- RemoteDesktopSessionLauncherOverlay.cpp
-- 3rdparty/qtsingleapplication/qtsingleapplication.cpp
-- 3rdparty/qtsingleapplication/qtlocalpeer.cpp
- )
-
- if(WIN32)
-@@ -283,6 +287,7 @@
- ${OPENSSL_INCLUDE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}
-+ ${QTSINGLEAPPLIB_INCLUDE_DIR}
- ${EXT_SOURCE_DIR}
- ${SESSION_SOURCE_DIR}/include
- ${TESTS_INCLUDE_DIR}
-@@ -386,6 +391,7 @@
- # set link dependencies
- target_link_libraries(rstudio
- ${RSTUDIO_QTMODULES}
-+ ${QTSINGLEAPPLIB}
- ${QT_LIBRARIES}
- ${Boost_LIBRARIES}
- rstudio-core
---- rstudio-1.3.959-orig/src/cpp/desktop/DesktopPosixApplication.hpp 2020-05-19 04:11:10.000000000 +1000
-+++ rstudio-1.3.959/src/cpp/desktop/DesktopPosixApplication.hpp 2020-05-24 17:13:22.050016953 +1000
-@@ -16,7 +16,7 @@
- #ifndef DESKTOP_POSIX_APPLICATION_HPP
- #define DESKTOP_POSIX_APPLICATION_HPP
-
--#include "3rdparty/qtsingleapplication/QtSingleApplication"
-+#include <QtSingleApplication>
-
- #include "DesktopApplicationLaunch.hpp"
-
diff --git a/sci-mathematics/rstudio/files/rstudio-server.conf b/sci-mathematics/rstudio/files/rstudio-server.conf
deleted file mode 100644
index 34e93e9fab0b..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-server.conf
+++ /dev/null
@@ -1,35 +0,0 @@
-###########rstudio-server.conf#############
-
-# www-port entry corresponding to the port you want RStudio to listen on
-#www-port=80
-
-
-# By default RStudio binds to address 0.0.0.0 (accepting connections
-# from any remote IP). You can modify this behavior using the
-# www-address entry.
-#www-address=127.0.0.1
-
-
-# You can add elements to the default LD_LIBRARY_PATH for R
-# sessions (as determined by the R ldpaths script) by adding
-# an rsession-ld-library-path entry to the server config file.
-# This might be useful for ensuring that packages can
-# locate external library dependencies that aren't installed
-# in the system standard library paths
-#rsession-ld-library-path=/opt/local/lib:/opt/local/someapp/lib
-
-
-#By default RStudio Server runs against the version of R which
-# is found on the system PATH (using which R). You can override
-# which version of R is used via the rsession-which-r setting
-# in the server config file. For example, if you have two
-# versions of R installed on the server and want to make sure
-# the one at /usr/local/bin/R is used by RStudio then you would use:
-rsession-which-r=/usr/bin/R
-
-########ADDITIONALAL#########
-
-# To limit the users who can login to RStudio to the members
-# of a specific group, you use the auth-required-user-group
-# setting
-auth-required-user-group=rstudio-server
diff --git a/sci-mathematics/rstudio/files/rstudio-server.initd b/sci-mathematics/rstudio/files/rstudio-server.initd
deleted file mode 100644
index 96c1e4f210c1..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-server.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting RStudio Server"
- start-stop-daemon --start --quiet --exec /usr/bin/rserver
- eend $?
-}
-
-stop() {
- ebegin "Stopping RStudio Server"
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name /usr/bin/rserver
- eend $?
-}
diff --git a/sci-mathematics/rstudio/files/rstudio-server.service.in b/sci-mathematics/rstudio/files/rstudio-server.service.in
deleted file mode 100644
index 08965a836a27..000000000000
--- a/sci-mathematics/rstudio/files/rstudio-server.service.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=RStudio Server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=${CMAKE_INSTALL_PREFIX}/bin/rserver
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
diff --git a/sci-mathematics/rstudio/metadata.xml b/sci-mathematics/rstudio/metadata.xml
deleted file mode 100644
index fc2df9ad1f06..000000000000
--- a/sci-mathematics/rstudio/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>gienah@gentoo.org</email>
- <name>Mark Wright</name>
- </maintainer>
- <longdescription lang="en">
- RStudio is an integrated development environment (IDE) for R. It can
- run it on a desktop or even over the web using RStudio Server.
- </longdescription>
- <use>
- <flag name="server">Build and install the RStudio server</flag>
- </use>
- <upstream>
- <remote-id type="github">rstudio/rstudio</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild b/sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild
deleted file mode 100644
index 851ffef54c98..000000000000
--- a/sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils cmake pam xdg-utils java-pkg-2 java-ant-2 pax-utils prefix qmake-utils vcs-clean
-
-# TODO
-# * use dict from tree, linguas
-# * do src_test (use junit from tree?)
-
-GIN_VER=2.1.2
-# grep 'PANDOC_VERSION=' dependencies/common/install-pandoc
-PANDOC_VER=2.9.2.1
-# grep -5 QT_CANDIDATES src/cpp/desktop/CMakeLists.txt
-QT_VER=5.12.6
-QT_SLOT=5
-
-DESCRIPTION="IDE for the R language"
-HOMEPAGE="
- http://www.rstudio.org
- https://github.com/rstudio/rstudio/"
-SRC_URI="
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip
-"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="dedicated server"
-
-RDEPEND="
- >=app-text/pandoc-${PANDOC_VER}
- dev-java/aopalliance:1
- dev-java/gin:2.1
- dev-java/javax-inject
- =dev-java/validation-api-1.0*:1.0[source]
- dev-haskell/pandoc-citeproc
- dev-lang/R
- dev-libs/boost:=
- >=dev-libs/mathjax-2.7.4
- sys-apps/util-linux
- sys-devel/clang:*
- sys-libs/zlib
- >=virtual/jre-1.8:=
- x11-libs/pango
- !dedicated? (
- >=dev-qt/qtcore-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtdeclarative-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtdbus-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtgui-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtnetwork-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtopengl-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtpositioning-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtprintsupport-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtsingleapplication-2.6.1_p20150629[X,qt5(+)]
- >=dev-qt/qtsensors-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtsql-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtsvg-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtwebchannel-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtwebengine-${QT_VER}:${QT_SLOT}[widgets]
- >=dev-qt/qtwidgets-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtxml-${QT_VER}:${QT_SLOT}
- >=dev-qt/qtxmlpatterns-${QT_VER}:${QT_SLOT}
- server? ( sys-libs/pam )
- )
- dedicated? ( sys-libs/pam )
- dedicated? (
- sys-libs/pam
- acct-user/rstudio-server
- acct-group/rstudio-server
- )
- server? (
- acct-user/rstudio-server
- acct-group/rstudio-server
- )
- dev-libs/openssl:0=
- "
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-java/ant-core
- >=virtual/jdk-1.8:=
- virtual/pkgconfig"
-# test? ( dev-java/junit:4 )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.3.959-prefs.patch
- "${FILESDIR}"/${PN}-1.3.959-paths.patch
- "${FILESDIR}"/${PN}-1.3.959-pandoc-mathjax.patch
- "${FILESDIR}"/${PN}-1.2.1335-linker_flags.patch
- "${FILESDIR}"/${PN}-1.3.959-qtsingleapplication.patch
- "${FILESDIR}"/${PN}-1.0.44-systemd.patch
- "${FILESDIR}"/${PN}-1.3.959-core.patch
- "${FILESDIR}"/${PN}-1.2.5042-boost-1.73.0.patch
- "${FILESDIR}"/${PN}-1.3.1056-R-4.0.0.patch
- "${FILESDIR}"/${PN}-1.3.1056-boost-1.74.0.patch
- "${FILESDIR}"/${PN}-1.3.1093-boost-1.76.patch
-)
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}" || die
- mkdir -p dependencies/common/dictionaries
- unzip -qd dependencies/common/dictionaries \
- "${DISTDIR}"/core-dictionaries.zip || die
-}
-
-src_prepare() {
- cmake_src_prepare
- java-pkg-2_src_prepare
- egit_clean
-
- # Enable CMake to install our .service file for systemd usage
- mkdir -vp "${S}/src/cpp/server/lib/systemd/system" || die
- cp -v "${FILESDIR}/rstudio-server.service.in" "${S}/src/cpp/server/lib/systemd/system/" || die
-
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using
- # this sed hack for now. ~RMH
- sed -i \
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \
- src/cpp/server/ServerOptions.cpp \
- src/cpp/session/SessionOptions.cpp || die
-
- # use mathjax from system
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax-26 || die
-
- # make sure icons and mime stuff are with prefix
- sed -i \
- -e "s:/usr:${EPREFIX}/usr:g" \
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die
-
- # install themes in /etc/rstudio/extra/sthemes instead of /usr/extra/themes
- sed -i \
- -e "s@\(DESTINATION \"\)\(extras/themes\"\)@\1${EROOT}/etc/rstudio/\2@" \
- src/cpp/server/CMakeLists.txt || die
-
- # On Gentoo the rstudio-server configuration file is /etc/conf.d/rstudio-server.conf
- sed -e "s@/etc/rstudio/rserver.conf@${EROOT}/etc/conf.d/rstudio-server.conf@" \
- -i src/cpp/server/ServerOptions.cpp \
- || die
-
- # Set the rsession.conf file location for Gentoo prefix
- sed -e "s@/etc/rstudio/rsession.conf@${EROOT}/etc/rstudio/rsession.conf@" \
- -i src/cpp/session/SessionOptions.cpp \
- || die
-
- # dev-qt/qtsingleapplication-2.6.1_p20150629 does not provide a cmake module.
- # It provides a library that has its version number appended to the end,
- # which is difficult to handle in cmake, as find_library does not support
- # searching for wildcard library names. So I find the library name from the
- # qmake spec, and then sed this into the patched src/cpp/desktop/CMakeLists.txt.
- rm -rf "${S}"/src/cpp/desktop/3rdparty || die
- local s=$(grep '\-lQt$${QT_MAJOR_VERSION}Solutions_SingleApplication' \
- $(qt5_get_mkspecsdir)/features/qtsingleapplication.prf \
- | sed -e 's@\$\${QT_MAJOR_VERSION}@5@' \
- -e 's@LIBS \*= -l@@')
- sed -e "s@Qt5Solutions_SingleApplication-2.6@${s}@g" \
- -i "${S}"/src/cpp/desktop/CMakeLists.txt \
- || die
-
- # The git commit for tag: git rev-list -n 1 v${PV}
- sed -e 's@git ARGS rev-parse HEAD@echo ARGS aee44535570639672cf61c0545113e7a62c90b5b@'\
- -i "${S}"/CMakeLists.txt \
- "${S}"/CMakeGlobals.txt \
- || die
-
- eprefixify src/gwt/build.xml
-}
-
-src_configure() {
- export RSTUDIO_VERSION_MAJOR=$(ver_cut 1)
- export RSTUDIO_VERSION_MINOR=$(ver_cut 2)
- export RSTUDIO_VERSION_PATCH=$(ver_cut 3)
-
- local mycmakeargs=(
- -DDISTRO_SHARE=share/${PN}
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "Development" "Desktop")")
- -DRSTUDIO_VERIFY_R_VERSION=FALSE
- -DRSTUDIO_USE_SYSTEM_BOOST=TRUE
- -DRSTUDIO_BOOST_SIGNALS_VERSION=2
- )
-
- if use !dedicated; then
- mycmakeargs+=(
- -DRSTUDIO_INSTALL_FREEDESKTOP="$(usex !dedicated "ON" "OFF")"
- -DQT_QMAKE_EXECUTABLE=$(qt5_get_bindir)/qmake
- )
- fi
- cmake_src_configure
-}
-
-src_compile() {
- local JAVA_ANT_REWRITE_CLASSPATH="yes"
- local EANT_BUILD_XML="src/gwt/build.xml"
- local EANT_BUILD_TARGET="clean"
- java-pkg-2_src_compile
-
- # Avoid the rest of the oracle-jdk-bin-1.8.0.60 sandbox violations F: mkdir S: deny
- # P: /root/.oracle_jre_usage.
- export ANT_OPTS="-Duser.home=${T}"
- cmake_src_compile
-}
-
-src_install() {
- export ANT_OPTS="-Duser.home=${T}"
- cmake_src_install
- use dedicated || pax-mark m "${ED}/usr/bin/rstudio"
- doconfd "${FILESDIR}"/rstudio-server.conf
- insinto /etc/rstudio
- doins "${FILESDIR}"/rsession.conf
- dosym ../conf.d/rstudio-server.conf /etc/rstudio/rserver.conf
- if use dedicated || use server; then
- dopamd src/cpp/server/extras/pam/rstudio
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server
- fi
-}
-
-pkg_preinst() {
- java-pkg-2_pkg_preinst
-}
-
-pkg_postinst() {
- use dedicated || { xdg_desktop_database_update
- xdg_mimeinfo_database_update
- xdg_icon_cache_update ;}
-}
-
-pkg_postrm() {
- use dedicated || { xdg_desktop_database_update
- xdg_mimeinfo_database_update
- xdg_icon_cache_update ;}
-}