1 |
commit: c812d14ee2c817bc63175175b93de6c98c544019 |
2 |
Author: Mark Wright <gienah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 04:59:09 2016 +0000 |
4 |
Commit: Mark Wright <gienah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 04:59:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c812d14e |
7 |
|
8 |
sci-mathematics/rstudio: Thanks to tomboy-64 for fixing bug Bug 534152 - sci-mathematics/rstudio - add systemd support |
9 |
|
10 |
.../rstudio/files/rstudio-0.99.486-systemd.patch | 22 ++++++++++++++++++++++ |
11 |
sci-mathematics/rstudio/files/rstudio-server.conf | 2 +- |
12 |
.../rstudio/files/rstudio-server.service.in | 10 ++++++++++ |
13 |
...-0.99.486.ebuild => rstudio-0.99.486-r1.ebuild} | 22 +++++++++++++++------- |
14 |
4 files changed, 48 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --cc sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild |
17 |
index 64818de,4f1c7f3..764c9da |
18 |
--- a/sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild |
19 |
+++ b/sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild |
20 |
@@@ -125,15 -133,13 +135,13 @@@ src_unpack() |
21 |
src_prepare() { |
22 |
java-pkg-2_src_prepare |
23 |
|
24 |
- find . -name .gitignore -delete || die |
25 |
+ egit_clean |
26 |
|
27 |
- epatch \ |
28 |
- "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ |
29 |
- "${FILESDIR}"/${PN}-0.99.473-paths.patch \ |
30 |
- "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \ |
31 |
- "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \ |
32 |
- "${FILESDIR}"/${PN}-0.98.1091-boost-1.57.patch \ |
33 |
- "${FILESDIR}"/${PN}-0.99.473-qtsingleapplication.patch |
34 |
+ epatch "${PATCHES[@]}" |
35 |
+ |
36 |
+ # Enable CMake to install our .service file for systemd usage |
37 |
+ mkdir -vp "${S}/src/cpp/server/lib/systemd/system" || die |
38 |
+ cp -v "${FILESDIR}/rstudio-server.service.in" "${S}/src/cpp/server/lib/systemd/system/" || die |
39 |
|
40 |
# Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
41 |
# this sed hack for now. ~RMH |