From: Mark Wright Date: Fri, 29 Jan 2016 04:59:09 +0000 (+1100) Subject: sci-mathematics/rstudio: Thanks to tomboy-64 for fixing bug Bug 534152 - sci-mathemat... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c812d14ee2c817bc63175175b93de6c98c544019;p=gentoo.git sci-mathematics/rstudio: Thanks to tomboy-64 for fixing bug Bug 534152 - sci-mathematics/rstudio - add systemd support --- c812d14ee2c817bc63175175b93de6c98c544019 diff --cc sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild index 64818de5367e,4f1c7f328431..764c9da06e46 --- a/sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild +++ b/sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild @@@ -125,15 -133,13 +135,13 @@@ src_unpack() src_prepare() { java-pkg-2_src_prepare - find . -name .gitignore -delete || die + egit_clean - epatch \ - "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ - "${FILESDIR}"/${PN}-0.99.473-paths.patch \ - "${FILESDIR}"/${PN}-0.99.473-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 + epatch "${PATCHES[@]}" + + # 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