From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/rstudio: rstudio-0.98.490-r1.ebuild ChangeLog |
Date: | Wed, 27 Aug 2014 15:38:07 |
Message-Id: | 20140827153802.87DEB3FE2@oystercatcher.gentoo.org |
1 | hasufell 14/08/27 15:38:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rstudio-0.98.490-r1.ebuild |
5 | Log: |
6 | rm server support wrt #519290 |
7 | |
8 | (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
9 | |
10 | Revision Changes Path |
11 | 1.13 sci-mathematics/rstudio/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/rstudio/ChangeLog?rev=1.13&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/rstudio/ChangeLog?rev=1.13&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/rstudio/ChangeLog?r1=1.12&r2=1.13 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/rstudio/ChangeLog,v |
20 | retrieving revision 1.12 |
21 | retrieving revision 1.13 |
22 | diff -u -r1.12 -r1.13 |
23 | --- ChangeLog 27 Jul 2014 11:33:09 -0000 1.12 |
24 | +++ ChangeLog 27 Aug 2014 15:38:02 -0000 1.13 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-mathematics/rstudio |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/rstudio/ChangeLog,v 1.12 2014/07/27 11:33:09 phajdan.jr Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/rstudio/ChangeLog,v 1.13 2014/08/27 15:38:02 hasufell Exp $ |
30 | + |
31 | +*rstudio-0.98.490-r1 (27 Aug 2014) |
32 | + |
33 | + 27 Aug 2014; Julian Ospald <hasufell@g.o> +rstudio-0.98.490-r1.ebuild: |
34 | + rm server support wrt #519290 |
35 | |
36 | 26 Jul 2014; Pawel Hajdan jr <phajdan.jr@g.o> rstudio-0.98.490.ebuild: |
37 | x86 stable wrt bug #516464 |
38 | |
39 | |
40 | |
41 | 1.1 sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rstudio-0.98.490-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild,v 1.1 2014/08/27 15:38:02 hasufell Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit eutils cmake-utils gnome2-utils versionator fdo-mime java-pkg-2 |
55 | |
56 | # TODO |
57 | # * package gin and gwt |
58 | # * use dict from tree, linguas |
59 | # * do src_test (use junit from tree?) |
60 | |
61 | GWTVER=2.5.1 |
62 | GINVER=1.5 |
63 | |
64 | DESCRIPTION="IDE for the R language" |
65 | HOMEPAGE="http://www.rstudio.org" |
66 | SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
67 | https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
68 | https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
69 | https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" |
70 | |
71 | LICENSE="AGPL-3" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
74 | IUSE="" |
75 | |
76 | QTVER=4.8 |
77 | QTSLOT=4 |
78 | RDEPEND=">=dev-lang/R-2.11.1 |
79 | >=dev-libs/boost-1.50 |
80 | dev-libs/mathjax |
81 | dev-libs/openssl |
82 | sys-libs/zlib |
83 | >=virtual/jre-1.5 |
84 | x11-libs/pango |
85 | >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
86 | >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
87 | >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
88 | >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
89 | >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT}" |
90 | DEPEND="${RDEPEND} |
91 | app-arch/unzip |
92 | dev-java/ant-core |
93 | >=virtual/jdk-1.5 |
94 | virtual/pkgconfig" |
95 | # test? ( dev-java/junit:4 ) |
96 | |
97 | src_unpack() { |
98 | unpack ${P}.tar.gz gwt-${GWTVER}.zip |
99 | cd "${S}" || die |
100 | mkdir -p src/gwt/lib/{gin,gwt} dependencies/common/dictionaries || die |
101 | mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
102 | unzip -qd src/gwt/lib/gin/${GINVER} "${DISTDIR}"/gin-${GINVER}.zip || die |
103 | unzip -qd dependencies/common/dictionaries "${DISTDIR}"/core-dictionaries.zip || die |
104 | } |
105 | |
106 | src_prepare() { |
107 | java-pkg-2_src_prepare |
108 | |
109 | find . -name .gitignore -delete || die |
110 | |
111 | epatch "${FILESDIR}"/${P}-prefs.patch \ |
112 | "${FILESDIR}"/${P}-paths.patch \ |
113 | "${FILESDIR}"/${P}-linker_flags.patch |
114 | |
115 | # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
116 | # this sed hack for now. ~RMH |
117 | sed -i \ |
118 | -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
119 | src/cpp/server/ServerOptions.cpp \ |
120 | src/cpp/session/SessionOptions.cpp || die |
121 | |
122 | # use mathjax from system |
123 | ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
124 | |
125 | # make sure icons and mime stuff are with prefix |
126 | sed -i \ |
127 | -e "s:/usr:${EPREFIX}/usr:g" \ |
128 | CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
129 | } |
130 | |
131 | src_configure() { |
132 | export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
133 | export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
134 | export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
135 | |
136 | local mycmakeargs=( |
137 | -DDISTRO_SHARE=share/${PN} |
138 | -DRSTUDIO_INSTALL_FREEDESKTOP=ON |
139 | -DRSTUDIO_TARGET=Desktop |
140 | ) |
141 | |
142 | cmake-utils_src_configure |
143 | } |
144 | |
145 | src_compile() { |
146 | cmake-utils_src_compile |
147 | } |
148 | |
149 | src_install() { |
150 | cmake-utils_src_install |
151 | } |
152 | |
153 | pkg_preinst() { |
154 | gnome2_icon_savelist |
155 | java-pkg-2_pkg_preinst |
156 | } |
157 | |
158 | pkg_postinst() { |
159 | fdo-mime_desktop_database_update |
160 | fdo-mime_mime_database_update |
161 | gnome2_icon_cache_update |
162 | } |
163 | |
164 | pkg_postrm() { |
165 | fdo-mime_desktop_database_update |
166 | fdo-mime_mime_database_update |
167 | gnome2_icon_cache_update |
168 | } |