Latest version in the tree is https://github.com/rstudio/rstudio/releases/tag/v1.0.143 https://github.com/rstudio/rstudio/releases v1.1 - Release Notes: https://github.com/rstudio/rstudio/blob/master/NEWS.md
I bumped it to 1.0.153 which is the latest version listed here: https://www.rstudio.com/products/rstudio/release-notes/ Which gives me the impression that the releases tagged in github that are not mentioned in the release notes page above are not official releases, but rather just alpha or development versions?
See also bug #626062 - apparently only rstudio 1.1.x is compatible with R 3.4 and above.
Created attachment 487784 [details] Ebuild for rstudio-1.1.318 applying rstudio-1.1.318-clang-pandoc.patch Here's the ebuild for the new version. I updated the patch removing in-tree clang and pandoc to the current version, no other changes.
Created attachment 487786 [details, diff] Updated patch to remove in-tree clang and pandoc.
(In reply to Bernd Feige from comment #3) > Created attachment 487784 [details] > Ebuild for rstudio-1.1.318 applying rstudio-1.1.318-clang-pandoc.patch ... Also works cleanly with current 1.1.324 BTW, just rename the ebuild - very quick with releases they are ;-)
thanks Bernd worked for me
Thanks Bernd, your patch and ebuild (rstudio-1.1.318.ebuild) also worked for me. Best //rolf
(In reply to Bernd Feige from comment #3) > Created attachment 487784 [details] > Ebuild for rstudio-1.1.318 applying rstudio-1.1.318-clang-pandoc.patch > > Here's the ebuild for the new version. I updated the patch removing in-tree > clang and pandoc to the current version, no other changes. It's should depend on >=dev-libs/boost-1.63:=
Doesn't work for 1.1.318: <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/core/Trace.cpp: In function ‘void rstudio::core::trace::add(void*, const string&)’: /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/core/Trace.cpp:40:7: error: ‘cerr’ is not a member of ‘std’ std::cerr << key << " " << functionName << std::endl; ^~~
(In reply to Alex from comment #9) > Doesn't work for 1.1.318: > > > <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined > <built-in>: note: this is the location of the previous definition > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/ > cpp/core/Trace.cpp: In function ‘void rstudio::core::trace::add(void*, const > string&)’: > /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/ > cpp/core/Trace.cpp:40:7: error: ‘cerr’ is not a member of ‘std’ > std::cerr << key << " " << functionName << std::endl; > ^~~ I encountered the same problem, we need the attached patch (just including iostream at the beginning of Trace.cpp).
Created attachment 494306 [details, diff] Patch to fixe Trace.cpp compilation.
(In reply to Bernd Feige from comment #11) > Created attachment 494306 [details, diff] [details, diff] > Patch to fixe Trace.cpp compilation. Works like a charm on 1.1.318, thank you.
where in the list of patches does this new one go? I added it after the clang-pandoc one in the ebuild but now it dies at the clang-pandoc patch. Have been OK with 1.1.318 then 1.1.324. I upgraded boost to 1.65 and now that will not rebuild so I came back to this page. Maybe I did something else wrong? I renamed the ebuild just like before, then added the new boost patch at * PATCHES=( "${FILESDIR}/${PN}-0.99.879-prefs.patch" "${FILESDIR}/${PN}-1.0.44-paths.patch" "${FILESDIR}/${PN}-1.1.318-clang-pandoc.patch" --> * "${FILESDIR}/${PN}-0.98.490-linker_flags.patch" "${FILESDIR}/${PN}-0.98.1091-boost-1.57.patch" "${FILESDIR}/${PN}-0.99.473-qtsingleapplication.patch" "${FILESDIR}/${PN}-1.0.44-systemd.patch" ) but like I said, now it dies at this previous patch. so I guess it looks like this PATCHES=( "${FILESDIR}/${PN}-0.99.879-prefs.patch" "${FILESDIR}/${PN}-1.0.44-paths.patch" "${FILESDIR}/${PN}-1.1.318-clang-pandoc.patch" "${FILESDIR}/${PN}-1.1.357-boost.patch" "${FILESDIR}/${PN}-0.98.490-linker_flags.patch" "${FILESDIR}/${PN}-0.98.1091-boost-1.57.patch" "${FILESDIR}/${PN}-0.99.473-qtsingleapplication.patch" "${FILESDIR}/${PN}-1.0.44-systemd.patch" ) any advice would be appreciated. Thanks for the help thus far!!
Created attachment 494752 [details, diff] Updated patch to remove in-tree clang and pandoc
Created attachment 494754 [details, diff] Ebuild for rstudio-1.1.365 applying current patches
(In reply to Carl W. Harlow from comment #13) > where in the list of patches does this new one go? I added it after the > clang-pandoc one in the ebuild but now it dies at the clang-pandoc patch. > Have been OK with 1.1.318 then 1.1.324. I upgraded boost to 1.65 and now > that will not rebuild so I came back to this page. > > Maybe I did something else wrong? I renamed the ebuild just like before, > then added the new boost patch at * Sorry, clang-pandoc.patch needs to be updated as well. I updated ebuild and patches now...
Created attachment 494772 [details] Ebuild for rstudio-1.1.368 applying current patches Updated ebuild for current 1.1.368, now got around to update the boost dependency as per oleg's advice.
thanks very much Bernd I appreciate it!
(In reply to Bernd Feige from comment #17) > Created attachment 494772 [details] > Ebuild for rstudio-1.1.368 applying current patches > > Updated ebuild for current 1.1.368, now got around to update the boost > dependency as per oleg's advice. It would be nice if you made a merge request. Cheers Sobhan
Bumped, thanks: ommit a36219a (HEAD -> master, origin/master, origin/HEAD) Author: Sobhan Mohammadpour www.sobhan.mohammadpour@gmail.com Date: Mon Oct 23 15:58:39 2017 +0330 sci-mathematics/rstudio: version bump to 1.1.368 Bump to 1.1.368. This also updates the clang pandoc patch Fixes bug 626056, thanks to Harris Landgarten for reporting, Sobhan Mohammadpour for adding the missing dependency in 1.1.383. Fixes bug 626062 by bumping rstudio to version 1.1.383 that builds with R 3.4. Thanks to Harris Landgarten for reporting, jstein, Volkmar Glauche, Bernd Feige and yuri for testing and helping, Sobhan Mohammadpour for bumping rstudio in PR #6003. Fixes bug 622254, thanks to jstein for reporting, Volkmar Glauche, Bernd Feige, Carl W. Harlow, Rolf S. Arvidson, Oleg, Alex and Sobhan Mohammadpour for testing and helping. Fixes bug 633936, thanks to Neil for reporting, Fran<C3><A7>ois Valenduc and Bernd for helping. Suggested-by: Bernd Feige <Bernd.Feige@gmx.net> Gentoo-bug: 626056, 626062. 622254, 633936
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcb31051b785dc5e617e418073f07eedfcc8a1b commit 3fcb31051b785dc5e617e418073f07eedfcc8a1b Author: Bernd Waibel <waebbl@gmail.com> AuthorDate: 2017-11-07 19:54:42 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2017-12-03 15:57:44 +0000 sci-mathematics/rstudio: version bump to 1.1.383 Ebuild is based on https://bugs.gentoo.org/attachment.cgi?id=494772 and the published rstudio-1.1.368.ebuild file. files/rstudio-0.98.1091-boost-1.57.patch: removed from patches, it's no longer possible to apply this patch, due to changes in src/cpp/desktop/DesktopApplicationLaunch.hpp (see https://github.com/rstudio/rstudio/commit/585f7244797814d969418d8fe795d1952d84f6df) which added an #include <QProcess> statement which lets the patch fail. Thanks to Bernd Feige <Bernd.Feige@gmx.net> for the initial ebuild and a17r on github for his suggestions on my first try to create a PR for this. Bug: https://bugs.gentoo.org/633936 Bug: https://bugs.gentoo.org/622254 Reported-by: Neil <nshephard@gmail.com> (#633936) Reported-by: Jonas Stein <jstein@gentoo.org> (#622254) Package Manager: portage-2.3.13 repoman-2.3.4 Closes: https://github.com/gentoo/gentoo/pull/6145 sci-mathematics/rstudio/Manifest | 1 + sci-mathematics/rstudio/rstudio-1.1.383.ebuild | 247 +++++++++++++++++++++++++ 2 files changed, 248 insertions(+)}