Package Details: rstudio-desktop-git 1.2.1330.r1351-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: artemklevtsov
Votes: 55
Popularity: 0.225337
First Submitted: 2011-03-09 06:13
Last Updated: 2019-08-29 06:55

Latest Comments

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

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.

pat-s commented on 2019-04-01 20:59

gwt-2.8.2 is required in upstream.

maquiavel commented on 2019-02-25 00:44

hey ConorIA ,

I have tested the file 'EDIT: built package https://gitlab.com/ConorIA/pkgbuild_testing/-/jobs/166533565/artifacts/file/pkgs/rstudio-desktop-git-1.2.679.r1682-1-x86_64.pkg.tar.xz'

Is working well.

ConorIA commented on 2019-02-24 02:51

I think that I have this package building successfully with the system QT libs again. That said, there have been times when I have lost a lot of good work time because I had to re-compile RStudio before I could get anything done (damn boost!), so I want to make sure to test the changes before I push them here. I'd love if some additional folks could try the PKGBUILD at https://gitlab.com/ConorIA/pkgbuild_testing/tree/rstudio-desktop-git/rstudio-desktop-git (you can ignore the .info.yaml file) and report their results.

EDIT: built package https://gitlab.com/ConorIA/pkgbuild_testing/-/jobs/166533565/artifacts/file/pkgs/rstudio-desktop-git-1.2.679.r1682-1-x86_64.pkg.tar.xz

maquiavel commented on 2019-02-12 02:21

hey guys! Qt framework is already up to date in Arch Linux. 5.12 is the pattern. I have troubles with rstudio-desktop-git: black screen when I open application. I have compiled directly of rstudio source on github with qt 5.11.1 and works good.

ConorIA commented on 2018-12-09 01:11

About to push some changes that should address the last couple of issues. Since I am a co-maintainer, I think it is useful to explain my reasoning for each change:

1) Change hunspell dep to hunspell-en_US: hunspell doesn't actually install any dictionaries to /usr/share/myspell/dicts, so on a minimal, fresh system, this will cause the install to complain that the dictionaries weren't installed. I opted for en_US, as it is probably the most common "default" language. I figured the rest of the world wouldn't appreciate me imposing en_CA on them! core-dictionaries.zip contains AU, GB, and US ... not sure if we need all of them.

2) Remove the core-dictionaries.zip stuff: no need to keep it, as the build process wasn't even looking at it, just the link to /usr/share/myspell/dicts.

3) Change java-environment dep to jdk8-openjdk: 9, 10, and 11 fail to build.

4) Change md5sums to sha256sums: seems to be more common.

5) No extract gin: we extract it later with unzip, so no need to extract it to $srcdir.

5) Remove .install file: pacman now handles all of the icon cache and desktop file stuff automatically (if I'm not mistaken).