Package Details: rstudio-desktop-git 1.2.5019.r1893-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop-git.git (read-only)
Package Base: rstudio-desktop-git
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://www.rstudio.com/products/rstudio/
Keywords: data IDE R science statistics
Licenses: AGPL3
Conflicts: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Provides: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Submitter: None
Maintainer: artemklevtsov (hwkiller, ConorIA, kngwyu)
Last Packager: hwkiller
Votes: 55
Popularity: 0.043208
First Submitted: 2011-03-09 06:13
Last Updated: 2019-12-02 09:39

Latest Comments

1 2 3 4 5 6 ... Next › Last »

hwkiller commented on 2019-12-02 20:26

@pat-s, Thanks for the heads up. I updated the package last night with that fix (as well as rstudio-server-git).

@dviktor, because pandoc is part of their official build process (as far as I know), I include it. There's not really an incentive to move pandoc to optdepends. It may not be needed at runtime, but I try to stick as close to the upstream build process as we can. Perhaps other maintainers feel differently.

As for the versions, I updated some of the versions, but others are not necessarily worth updating. E.g., they tend to lag behind boost releases by a fair amount, and new boost versions often break the build. Is there a particular reason you want to specify version minimums?

pat-s commented on 2019-12-02 08:45

Mathjax dep needs to be fixed after the Mathjax v3.0 update. Maybe depending on mathjax2 from community does it for now. Probably rstudio does not yet work with the v3.0?

dviktor commented on 2019-11-28 16:26

Just rechecked dependencies on GitHub. They states that the following list should be satisfied:

r>=3.0.1
cmake>=3.4.3
boost>=1.69
qt>=5.12.5
patchelf>=0.9

Also it seems like pandoc is optional dependency and needed only for RMarkdown support so you can move it to optdepends

masca commented on 2019-10-07 12:34

gwt-2.8.2.zip does not pass the validity check.

pat-s commented on 2019-10-07 08:11

I see

CMake Error at /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LibR (missing: LIBR_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindLibR.cmake:207 (find_package_handle_standard_args)
  src/cpp/CMakeLists.txt:464 

artemklevtsov commented on 2019-08-29 06:57

Fixed issued wth boost. @hwkiller you are have access to push commits to this package.

hwkiller commented on 2019-08-07 22:07

Yet another update: This has been fixed.

But -DRSTUDIO_USE_SYSTEM_BOOST=yes should be added to the cmake call.

hwkiller commented on 2019-08-07 20:24

Just an update; I made a comment about this on github. They did not intend to force a bundled boost. There will be a PR soon remedying this situation, after which point the patch will be unnecessary. May need to specify an option though to declare whether or not to use system or rstudio-tools boost.

hwkiller commented on 2019-08-07 10:05

diff --git a/.SRCINFO b/.SRCINFO
index 59fb47c..e2b7f34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = rstudio-desktop-git
    pkgdesc = A powerful and productive integrated development environment (IDE) for R programming language
-   pkgver = 1.2.679.r1682
+   pkgver = 1.2.1330.r1174
    pkgrel = 1
    url = https://www.rstudio.com/products/rstudio/
    arch = i686
@@ -41,9 +41,11 @@ pkgbase = rstudio-desktop-git
    source = git+https://github.com/rstudio/rstudio.git
    source = https://s3.amazonaws.com/rstudio-buildtools/gin-2.1.2.zip
    source = https://s3.amazonaws.com/rstudio-buildtools/gwt-2.8.2.zip
+   source = boost-system.patch
    sha256sums = SKIP
    sha256sums = b98e704164f54be596779696a3fcd11be5785c9907a99ec535ff6e9525ad5f9a
    sha256sums = 970701dacc55170088f5eb327137cb4a7581ebb4734188dfcc2fad9941745d1b
+   sha256sums = e33ff4198a6ed8a00812d419de49267b51b28dd626f5991db680176f14b1f6fa

 pkgname = rstudio-desktop-git

diff --git a/PKGBUILD b/PKGBUILD
index 4e9164b..577365f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=rstudio-desktop-git
 _gitname=rstudio
-pkgver=1.2.1330.r238
+pkgver=1.2.1330.r1174
 _gwtver=2.8.2
 _ginver=2.1.2
 pkgrel=1
@@ -20,10 +20,13 @@ provides=('rstudio-desktop' 'rstudio-desktop-bin' 'rstudio-desktop-preview')
 conflicts=('rstudio-desktop' 'rstudio-desktop-bin' 'rstudio-desktop-preview')
 source=("git+https://github.com/rstudio/rstudio.git"
         "https://s3.amazonaws.com/rstudio-buildtools/gin-${_ginver}.zip"
-        "https://s3.amazonaws.com/rstudio-buildtools/gwt-${_gwtver}.zip")
+        "https://s3.amazonaws.com/rstudio-buildtools/gwt-${_gwtver}.zip"
+   "boost-system.patch"
+)
 sha256sums=('SKIP'
             'b98e704164f54be596779696a3fcd11be5785c9907a99ec535ff6e9525ad5f9a'
-            '970701dacc55170088f5eb327137cb4a7581ebb4734188dfcc2fad9941745d1b')
+            '970701dacc55170088f5eb327137cb4a7581ebb4734188dfcc2fad9941745d1b'
+            'e33ff4198a6ed8a00812d419de49267b51b28dd626f5991db680176f14b1f6fa')
 noextract=("gin-${_ginver}.zip")

 pkgver() {
@@ -32,6 +35,8 @@ pkgver() {
 }

 prepare() {
+    cd "${srcdir}/${_gitname}/"
+    patch -p1 < ${srcdir}/boost-system.patch
     msg "Extracting dependencies..."
     cd "${srcdir}/${_gitname}/src/gwt"
     install -d lib/{gin,gwt}
diff --git a/boost-system.patch b/boost-system.patch
new file mode 100644
index 0000000..1c88899
--- /dev/null
+++ b/boost-system.patch
@@ -0,0 +1,13 @@
+diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
+index 4cdfb88bfa..4c40f9bb51 100644
+--- a/src/cpp/CMakeLists.txt
++++ b/src/cpp/CMakeLists.txt
+@@ -210,7 +210,7 @@ list(APPEND BOOST_LIBS
+ )
+ 
+ # tell cmake not to look for boost on system paths.
+-set(Boost_NO_SYSTEM_PATHS ON)
++#set(Boost_NO_SYSTEM_PATHS ON)
+ # UNIX BOOST
+ if(UNIX)
+    # prefer static link to our custom built version

hwkiller commented on 2019-08-07 09:39

This might not compile soon. The current git revision has a cmake setting that disallows cmake from searching for system-installed boost; their plan seems to be to provide a self-contained boost version.

I had to patch this check out in rstudio-server-git; if necessary, we could take the same patch over here too.

There may be another way of disabling the local-boost-only setting, but I could not find one.

Confirmed: This does not compile as of 8/7/2019. If you grab the patch from rstudio-server-git (boost-system.patch), include it into this source array, and add patch -p1 < ${srcdir}/boost-system.patch, it works.