1 |
commit: 679cc5c1a355784caac199f88a5dcfb84c6d6b06 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 14 21:16:37 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 15 12:22:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679cc5c1 |
7 |
|
8 |
sci-mathematics/rstudio: Drop old, Qt4WebKit rdeps |
9 |
|
10 |
Gentoo-bug: 526660, 583100, 608134, 634280 |
11 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
12 |
|
13 |
sci-mathematics/rstudio/Manifest | 12 -- |
14 |
.../files/rstudio-0.97.336-boost-1.53.patch | 64 ------- |
15 |
.../files/rstudio-0.97.336-linker_flags.patch | 18 -- |
16 |
.../rstudio/files/rstudio-0.97.336-paths.patch | 112 ------------ |
17 |
.../rstudio/files/rstudio-0.97.336-prefs.patch | 24 --- |
18 |
.../files/rstudio-0.97.551-boost-1.53.patch | 64 ------- |
19 |
.../files/rstudio-0.97.551-linker_flags.patch | 18 -- |
20 |
.../rstudio/files/rstudio-0.97.551-paths.patch | 112 ------------ |
21 |
.../rstudio/files/rstudio-0.97.551-prefs.patch | 24 --- |
22 |
sci-mathematics/rstudio/rstudio-0.97.336.ebuild | 143 --------------- |
23 |
sci-mathematics/rstudio/rstudio-0.97.551.ebuild | 143 --------------- |
24 |
sci-mathematics/rstudio/rstudio-0.98.1028.ebuild | 164 ----------------- |
25 |
sci-mathematics/rstudio/rstudio-0.98.1091.ebuild | 198 --------------------- |
26 |
sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild | 129 -------------- |
27 |
sci-mathematics/rstudio/rstudio-0.98.490.ebuild | 142 --------------- |
28 |
sci-mathematics/rstudio/rstudio-0.98.932.ebuild | 173 ------------------ |
29 |
sci-mathematics/rstudio/rstudio-0.98.953.ebuild | 174 ------------------ |
30 |
17 files changed, 1714 deletions(-) |
31 |
|
32 |
diff --git a/sci-mathematics/rstudio/Manifest b/sci-mathematics/rstudio/Manifest |
33 |
index f742b19bb98..728e003ec65 100644 |
34 |
--- a/sci-mathematics/rstudio/Manifest |
35 |
+++ b/sci-mathematics/rstudio/Manifest |
36 |
@@ -1,22 +1,10 @@ |
37 |
DIST chromedriver-linux 19303552 SHA256 1ff3e9fc17e456571c440ab160f25ee451b2a4d36e61c8e297737cff7433f48c SHA512 18774ede961dec222058dd0e3f128d63732cd444ee310136b44d5bf508a4f2f2c164a2c8d195d80bce8b5fb6303559e167f82f384e4a58e30f48b151a4206ee8 WHIRLPOOL 06534c131d3a8ade4fb12ad94955f430f23d86654342357d223e78e210cc401416361a847934bccb3957702bbe8fc8a6dd7f18416461edf486145bde96c7091e |
38 |
DIST core-dictionaries.zip 876339 SHA256 4341a9630efb9dcf7f215c324136407f3b3d6003e1c96f2e5e1f9f14d5787494 SHA512 9c5830cc9fed575e223f1c61f02e48c5aea6801bb0cd2586f02437c17fdffdb1d36c396d5a8ecbe02ba01196e73458304345b1f6b92c052bc7a7d05961fac2c9 WHIRLPOOL 316dced8ac46e4216613b0b850c33d4c1e10ef0ecd954d786eb131ea80b34e66ba3d39a0ef25b45230b64ded415737ddabef8f7d68f4d42caea98679cff44ee0 |
39 |
DIST gin-1.5.zip 1055663 SHA256 f561f4eb5d5fe1cff95c881e6aed53a86e9f0de8a52863295a8600375f96ab94 SHA512 3f6649565f9600daaca6ddf3fb431925b5a1ce1ada38e6389de64cef617abba9d3f49c555d0a20053fb06f17ccbe4e1141b39966fbe4b2975d7b120377504897 WHIRLPOOL e66d348ed275eb20518369c39592a5a03ee4257422e2947520385377939de65a54d131332818362a47597392026db48ed1332f11ae218e336798498ae5d5b196 |
40 |
-DIST gwt-2.5.0.rc1.zip 104156555 SHA256 83a6dec583d1b7f3bf3fd2e321d89c1d95881eed1f81c7ea4056201fc105258b SHA512 c0c4f502b4ca191537eada53eb0458c0d33282661423f6d2648e6107ed8e38465b189377fcd0d9babcbf2c688e16080d33cbd7165ed20dafda7fedc39a74e163 WHIRLPOOL b37f12d1937b6479b97e274a59a1856dcf0c5cc3b767b6a19f65d7807e1f32cc2483358f1414c4c9e427d890eb1e0617fe8af84c6f0dca4a9ded64ae5ffde129 |
41 |
-DIST gwt-2.5.1.zip 111070580 SHA256 c457df45a3eed582452c5784ed11746685df494c0ffe4a8ae4de52945916593a SHA512 845c6bc6ce5ade57eeddd8b40cc3458f5e7d40d881cb4017615897eebd5349bfecfef8cd3e3b05a09b33ecf9ee0262d4a84700b0965a27b40cb60d701457a7ea WHIRLPOOL 9d820026e97f96402fc6b69a06f24d2f79df830a0afdba808ab98f14a32312bc999692ad5822005acf6fdcd1b4261918a318f9f20980c640cf32292d5df83a05 |
42 |
-DIST gwt-2.6.0.zip 108819959 SHA256 bd4c13a5d1078446d519a742ee233971e55c447d1b87ffd5b1f90e54dd876b9a SHA512 40690f83f6271ab58abf0ccbf2da1045ea142867ed88accdce91f65a70e39ecf48070696caffcab3f797523ee69b0431b67155b7f04c2856cd95856a7e20d2fb WHIRLPOOL d59ce0f9b13a9956b07905479b394397020fcbc85ac3aabff9ebd74d39b7e660c862e7fe1adb32160e82186d83db10d1254121846e1a9bdafacc38efc55a38fd |
43 |
DIST gwt-2.7.0.zip 108818328 SHA256 aa65061b73836190410720bea422eb8e787680d7bc0c2b244ae6c9a0d24747b3 SHA512 a1eed5cc25c888cf81d4f22b1f9494d5d8567b911f7aeb1d164a6359120543668280afe1a3ffc9ed87b139c7db67fbcaaabde2066e3279909d7cd6fc22eaf499 WHIRLPOOL 96ca3c3bd39116fd6109a3e436f41875b6e3343596165d2a7941a961562f5ebd412f0a455d57fc47a9551d0ba76df172a4ad2622500715625faa325d94f3d961 |
44 |
DIST packrat-0.98.1000.tar.gz 97677 SHA256 c2da99ea6b62fd460f36b76f6c9b91865c42851545d61817c181bf6109e2df6b SHA512 2290c768ecf27a037e73c3f8336b9fd71c68ff19d071b4a8fbc469550d29007cacacdb75f854f73b5db2139a5104f129b85a3612e2ee47bd6118ee13f7d103a6 WHIRLPOOL a2d0c3c3e04cbc496f59abbf1065fcd0b7ae25433ce0b7ca8e75ab59362f320508537b2a62ed1028dd5baad6cbab5ef2e91dd9d3af327bbd04c08a96c57d80f4 |
45 |
-DIST packrat_0.3.0.tar.gz 79974 SHA256 5ea35b6cb964188f4ffe58a3c9cf2c1f5a436569117c218d097e0fa66d032ebb SHA512 7f964e94e62193466e9bc880fea2c2fef8a0996061d9b971789e4e33a2d1e6327033f03236327545aa73e1112e2bea730c3fc0984729ecdec6f1582855c1b249 WHIRLPOOL 7ff4c3f3681300d402e8738b1aceac7ee2dbd55edb36966e3b7453b1b90182093979436d2c1193d460418251bc370ab222f61142311d8fe1a5a42527c5869aa3 |
46 |
DIST rmarkdown-0.98.1000.tar.gz 1423820 SHA256 56e9f964f805627f6d6face9bf09e6435be4cc48321447ad4041fee86d6f88b4 SHA512 df3540c24c87930fe55bff2ffe67c86c219800cb00ed72ba9451ecd0d0cad411548a78c1a04b9a2e301e853616dcb77e09129c4e48ade6f16d3f14b7ea7e4852 WHIRLPOOL 51098cd48a12a61da312fc1cc96927626db4a19cc069c88f615dd20abe40f52a7b1ac1325b52b1922110ffa76a7f255d9ff2a75cd05d3de01d1b96f0c8286790 |
47 |
-DIST rmarkdown_0.2.49.tar.gz 3846795 SHA256 56b9a032b07d62c6af2a4a2d04007cccf379a9c8e91426c59f265c8b7fd992ee SHA512 46d15c354c9a90ae75a7dc3660b1ea82d097aaceb3dd220a4a8c6f4b22751ad2d63fd5ef3d56821160716ab6552529cef6513b5cd7043368d13513f537511fef WHIRLPOOL d658a091d1b4508ea38fbf2f3691517dc2b814aa3ffaec25483263266106756a89712d7c8a2ec3de8d6d45234d5f8b11340c287509bd836be5875527077f7fcd |
48 |
DIST rsconnect_0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0.tar.gz 197051 SHA256 e1e3e1f799eb8be679be9a2ed5aad7e9ce6cd603e3cb43fdc242490f0c311113 SHA512 208dc349f4aa7613ecf94939aba60d22d3a06972344b526c9b6c951015571f5922927bca08db571a7b8a268e42609a4f558f01278c9685f6da2ffc66a1f95ade WHIRLPOOL 4e3d64de00a98190c435d76f12a401d30950fdc7590b6bcc886ae50d4771825d39f93ea2bdcb4a9db026361c522f16f11297ff89dcb15c35f9471c1abf4f4e2c |
49 |
-DIST rstudio-0.97.336.tar.gz 12598580 SHA256 e6c24d6a865827d3a39e64508976a825bba705efe0921eb06f9a95ba58aefcd1 SHA512 bfaf6218cb400e83a97a320cf633e4656f1552e27bb9843fda1837945a3823fb0df20a2c86e0b6d76608d98806b0acf163aaba10783c923ef900b3eaf03b7569 WHIRLPOOL eca7b837ccff6cc6595298c3137f8663c0754256763a1d049e44a11e10daf53914234c426e004cc1f0158d7b4a38319f61653f78785c7189a64413fc196848c2 |
50 |
-DIST rstudio-0.97.551.tar.gz 12602738 SHA256 caed5f6b6ec57139ddf550dc2f51c1f9a74b39b81b878863b97e1a12edecf498 SHA512 f855a5ba3a86e44c870a4843e94678a1f6eeedc49934d8ad42f202815f93d282913a0be739435be63e510a6ec81b7a1436e4c911acbff955f5fb28b78b00fd10 WHIRLPOOL d8cd3d2978b690fc8c83696cb2017748e74b38309174ac85d6d35d5a1dd91d8e0d8ea06177b349754b3be9eb5e78e04b1d23b82f9e7940d062b262c1eb7eb58e |
51 |
-DIST rstudio-0.98.1028.tar.gz 15555649 SHA256 19827c3d05b4817530fb07f235fe38ec5e391324acd1d5d8ab6711d0db4757ef SHA512 db1be9f91263386ad0fb8addc80421434695d2c8dd53101af268e878fd59c59b9349cc9456d7096d2c660ee2681cd0172d8f4d8432ccf7322a1a2b473ce291fd WHIRLPOOL ab2974d2e529fea03fe641569d4b74a6eb1d86179be47de46531a970d5f70624824e08573835d531a5033d20f800117174926b83aee290f784ac31f7a9627d7d |
52 |
-DIST rstudio-0.98.1091.tar.gz 15551758 SHA256 61745708096b5feb3d88befab65adf67dd386262cde1ef2b351f56695f5b9ac2 SHA512 6b2fcd7418118b8845266dc12ff4680623a68a8fdfda2bdc523e8cd30139e99fa29063438fbb441f23d04e57715eec1ee21763baf0ab77d313b763d8b3d9e3a0 WHIRLPOOL 356297217bdc70954b79695755fb873127e9b7c5a8ff2be18e237b559638aa1ec3c0349d8606598bd81e4057914e518748c236dc4a701d9a1f27805c2a4c7327 |
53 |
-DIST rstudio-0.98.490.tar.gz 14989329 SHA256 e38296a10b12c9e769a8be0545c36745999b9ba90942f7ffb6d27f05192a7f93 SHA512 b167083eb4adf1203da63299e61c9e3f40b8aeb4728d25c9d840f8a22659aad8de442dbba3a68e7d11f6157680d3a3636f6d5fecbabab82fd8d1a8278e3f1cb1 WHIRLPOOL d7c07aea3aef424aa9fa05f74b8222cae69b9ce287ba67d80591dc2a433471e7127d975119667560bf6667190d128b0ffcf82f641792075dacf826f4d76df568 |
54 |
-DIST rstudio-0.98.932.tar.gz 15515025 SHA256 e4a69a2f746cb7cfcacd3811f15e41a9d156175607da334f412614cc4cb70728 SHA512 beeb8c035d4f8524bd3e497162e3a218e92fbd1c1704ff3bc99a70a1248244155e3998272a6aa985b59cfa67c640adec877465f5d50acb9e47abca2657f2a06f WHIRLPOOL e422a2cef857aa9d094dd11e62b6c762a2a7477e7d84fd66456152c6521aebd94d4c365980ed6c06fc1c90d5a62426376d978de0ed23186d4732c0b148cc62bc |
55 |
-DIST rstudio-0.98.953.tar.gz 15518231 SHA256 944f5882a0d61f551cd6f6cbe7882b5a5ea5be12d2c6d5ec9e79cee65869dbb7 SHA512 38a17d1abf91f4e775c4d735152fe6c8030b2df771bd7333fb3c9408fe14ac0b6180d7eaad7ac09ce2d50e5dcaa5a3b828909b30f507fd7c35fe27f7bd96866c WHIRLPOOL e2135f425b48b952282d8c44bd121517098521715c70537a6ac1a3be1732928666c5cb40fbc20b9f394a606e0e116723190790a202cbf62986ffbca528646058 |
56 |
DIST rstudio-0.99.473.tar.gz 16993092 SHA256 a402995251393d50fa70e2e02188a8b32dc34e067f2f8461f087bf71f643585c SHA512 5615840501f7629e82100fee78c35b8d4dc78d78932d65c2e91a6472bc94726389566f5853a99e3d0631fd260e59acea5a40acf82f72709741b89a1ed3c901af WHIRLPOOL 809549c76efee8b29452584ab4295bcbbf533f8100c8caf4dd3b4a3c8843dc54a0d8f3178a6aecab5c188f2498a74daa6c6677fc6d43bd7dd861487c557e48df |
57 |
DIST rstudio-0.99.482.tar.gz 16992873 SHA256 1185d6ce5d3872e134f3255668d8f082370c760f06ec409c7b84c0936f52c4bf SHA512 bdb845cceae851d27323448a3570621bcb2aba7742e9e1669c88f3ebeaaade8c8371eb38f2ad348d7e2b740778c34f73e59013502ae3cebafba84e5d249c3e52 WHIRLPOOL 743440227c8d7e56000b1ff0b1a12def50e006b4f34d2067587274e2bae0eda42656787fc0cf6c51ffdbfcca08fc6eab0d042891bd77e4446b6fe26c6d19cc05 |
58 |
DIST rstudio-0.99.483.tar.gz 16993049 SHA256 85ce1a2f40690e4ed0338b153a1b3279ce9564396d8c6d6201a0ad39297d4a9a SHA512 7d9cc8b471a4d799f286193da5f6f950f85e82949ede0f1ffe3626a429a49204878fb731250e5f54164a48e1d6e9cbb19a04a38ff83e35fd46c0ba05ef78a9bc WHIRLPOOL 0c5c1d86b0bafe9d5ca02397793f902b4dca7edc3f507a472b8b235f91965d8a769a7873cc87d834fbb121792b52eb6908018ce6579acdf3d285b6ec986abc20 |
59 |
|
60 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.336-boost-1.53.patch b/sci-mathematics/rstudio/files/rstudio-0.97.336-boost-1.53.patch |
61 |
deleted file mode 100644 |
62 |
index 38bb63a8ab6..00000000000 |
63 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.336-boost-1.53.patch |
64 |
+++ /dev/null |
65 |
@@ -1,64 +0,0 @@ |
66 |
-=== modified file 'src/cpp/core/include/core/http/AsyncServer.hpp' |
67 |
---- src/cpp/core/include/core/http/AsyncServer.hpp 2013-07-09 12:02:58 +0000 |
68 |
-+++ src/cpp/core/include/core/http/AsyncServer.hpp 2013-07-09 12:03:34 +0000 |
69 |
-@@ -264,7 +264,7 @@ |
70 |
- |
71 |
- // convert to cannonical HttpConnection |
72 |
- boost::shared_ptr<AsyncConnection> pAsyncConnection = |
73 |
-- boost::shared_static_cast<AsyncConnection>(pConnection); |
74 |
-+ boost::static_pointer_cast<AsyncConnection>(pConnection); |
75 |
- |
76 |
- // call the appropriate handler to generate a response |
77 |
- std::string uri = pRequest->uri(); |
78 |
- |
79 |
-=== modified file 'src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp' |
80 |
---- src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp 2013-07-09 12:02:58 +0000 |
81 |
-+++ src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp 2013-07-09 12:03:36 +0000 |
82 |
-@@ -87,7 +87,7 @@ |
83 |
- boost::shared_ptr<AsyncClient<boost::asio::local::stream_protocol::socket> > |
84 |
- ptrShared = shared_from_this(); |
85 |
- |
86 |
-- return boost::shared_static_cast<LocalStreamAsyncClient>(ptrShared); |
87 |
-+ return boost::static_pointer_cast<LocalStreamAsyncClient>(ptrShared); |
88 |
- } |
89 |
- |
90 |
- private: |
91 |
- |
92 |
-=== modified file 'src/cpp/core/include/core/http/TcpIpAsyncClient.hpp' |
93 |
---- src/cpp/core/include/core/http/TcpIpAsyncClient.hpp 2013-07-09 12:02:58 +0000 |
94 |
-+++ src/cpp/core/include/core/http/TcpIpAsyncClient.hpp 2013-07-09 12:03:32 +0000 |
95 |
-@@ -74,7 +74,7 @@ |
96 |
- boost::shared_ptr<AsyncClient<boost::asio::ip::tcp::socket> > ptrShared |
97 |
- = shared_from_this(); |
98 |
- |
99 |
-- return boost::shared_static_cast<TcpIpAsyncClient>(ptrShared); |
100 |
-+ return boost::static_pointer_cast<TcpIpAsyncClient>(ptrShared); |
101 |
- } |
102 |
- |
103 |
- private: |
104 |
- |
105 |
-=== modified file 'src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp' |
106 |
---- src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp 2013-07-09 12:02:58 +0000 |
107 |
-+++ src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp 2013-07-09 12:03:39 +0000 |
108 |
-@@ -109,7 +109,7 @@ |
109 |
- boost::shared_ptr<AsyncClient<boost::asio::ssl::stream<boost::asio::ip::tcp::socket> > > ptrShared |
110 |
- = shared_from_this(); |
111 |
- |
112 |
-- return boost::shared_static_cast<TcpIpAsyncClientSsl>(ptrShared); |
113 |
-+ return boost::static_pointer_cast<TcpIpAsyncClientSsl>(ptrShared); |
114 |
- } |
115 |
- |
116 |
- virtual bool isShutdownError(const boost::system::error_code& ec) |
117 |
- |
118 |
-=== modified file 'src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp' |
119 |
---- src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp 2013-07-09 12:02:58 +0000 |
120 |
-+++ src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp 2013-07-09 12:03:29 +0000 |
121 |
-@@ -256,7 +256,7 @@ |
122 |
- { |
123 |
- // convert to cannonical HttpConnection |
124 |
- boost::shared_ptr<HttpConnection> ptrHttpConnection = |
125 |
-- boost::shared_static_cast<HttpConnection>(ptrConnection); |
126 |
-+ boost::static_pointer_cast<HttpConnection>(ptrConnection); |
127 |
- |
128 |
- if (!authenticate(ptrHttpConnection)) |
129 |
- { |
130 |
|
131 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.336-linker_flags.patch b/sci-mathematics/rstudio/files/rstudio-0.97.336-linker_flags.patch |
132 |
deleted file mode 100644 |
133 |
index a336fccbc98..00000000000 |
134 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.336-linker_flags.patch |
135 |
+++ /dev/null |
136 |
@@ -1,18 +0,0 @@ |
137 |
-Some gcc hardening options were added, however since we add |
138 |
-"-Wl,--as-needed" we end up with "-Wl,--as-needed;-Wl,-z,relro" which |
139 |
-leads to linker errors about unknown options, if we make it so the |
140 |
-as-needed option is the last option on the line, everything is fine. |
141 |
- |
142 |
-diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt |
143 |
-index 0589ca0..fe5bd5f 100644 |
144 |
---- a/src/cpp/CMakeLists.txt |
145 |
-+++ b/src/cpp/CMakeLists.txt |
146 |
-@@ -57,7 +57,7 @@ if(UNIX) |
147 |
- add_definitions(-D_FORTIFY_SOURCE=2) |
148 |
- add_definitions(-fstack-protector --param ssp-buffer-size=4) |
149 |
- add_definitions(-pie -fPIE) |
150 |
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,-z,now") |
151 |
-+ set(CMAKE_EXE_LINKER_FLAGS "-Wl,-z,relro,-z,now ${CMAKE_EXE_LINKER_FLAGS}") |
152 |
- endif() |
153 |
- |
154 |
- # Win32 specific global directives |
155 |
|
156 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.336-paths.patch b/sci-mathematics/rstudio/files/rstudio-0.97.336-paths.patch |
157 |
deleted file mode 100644 |
158 |
index 7b44374a72d..00000000000 |
159 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.336-paths.patch |
160 |
+++ /dev/null |
161 |
@@ -1,112 +0,0 @@ |
162 |
-change the install path, as by default everything is dumped right under |
163 |
-the prefix. After fixing install paths, now fix the source so the |
164 |
-program can find the moved resources. |
165 |
- |
166 |
-diff --git a/CMakeGlobals.txt b/CMakeGlobals.txt |
167 |
-index da74970..1537bff 100644 |
168 |
---- a/CMakeGlobals.txt |
169 |
-+++ b/CMakeGlobals.txt |
170 |
-@@ -103,7 +103,7 @@ else() |
171 |
- else() |
172 |
- set(RSTUDIO_INSTALL_BIN bin) |
173 |
- endif() |
174 |
-- set(RSTUDIO_INSTALL_SUPPORTING .) |
175 |
-+ set(RSTUDIO_INSTALL_SUPPORTING ${DISTRO_SHARE}) |
176 |
- endif() |
177 |
- |
178 |
- # if the install prefix is /usr/local then tweak as appropriate |
179 |
-diff --git a/src/cpp/server/CMakeLists.txt b/src/cpp/server/CMakeLists.txt |
180 |
-index af4db1c..96b767e 100644 |
181 |
---- a/src/cpp/server/CMakeLists.txt |
182 |
-+++ b/src/cpp/server/CMakeLists.txt |
183 |
-@@ -142,7 +142,7 @@ if (UNIX AND NOT APPLE) |
184 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}.in |
185 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}) |
186 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT} |
187 |
-- DESTINATION ${RSERVER_INITD_DEBIAN_DIR}) |
188 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_DEBIAN_DIR}) |
189 |
- |
190 |
- # install configured redhat init.d script |
191 |
- set(RSERVER_INITD_REDHAT_DIR "extras/init.d/redhat") |
192 |
-@@ -150,7 +150,7 @@ if (UNIX AND NOT APPLE) |
193 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}.in |
194 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}) |
195 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT} |
196 |
-- DESTINATION ${RSERVER_INITD_REDHAT_DIR}) |
197 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_REDHAT_DIR}) |
198 |
- |
199 |
- # install configured suse init.d script |
200 |
- set(RSERVER_INITD_SUSE_DIR "extras/init.d/suse") |
201 |
-@@ -158,13 +158,13 @@ if (UNIX AND NOT APPLE) |
202 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_SUSE_SCRIPT}.in |
203 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT}) |
204 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT} |
205 |
-- DESTINATION ${RSERVER_INITD_SUSE_DIR}) |
206 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_SUSE_DIR}) |
207 |
- |
208 |
- # install pam profile |
209 |
- set(RSERVER_PAM_DIR "extras/pam") |
210 |
- set(RSERVER_PAM_PROFILE "${RSERVER_PAM_DIR}/rstudio") |
211 |
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_PAM_PROFILE} |
212 |
-- DESTINATION ${RSERVER_PAM_DIR}) |
213 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_PAM_DIR}) |
214 |
- |
215 |
- # install configured apparmor profile |
216 |
- set(RSERVER_APPARMOR_DIR "extras/apparmor") |
217 |
-@@ -172,9 +172,9 @@ if (UNIX AND NOT APPLE) |
218 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_PROFILE}.in |
219 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE}) |
220 |
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE} |
221 |
-- DESTINATION ${RSERVER_APPARMOR_DIR}) |
222 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_APPARMOR_DIR}) |
223 |
- install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_DIR}/apparmor-profile-load |
224 |
-- DESTINATION ${RSERVER_APPARMOR_DIR}) |
225 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_APPARMOR_DIR}) |
226 |
- |
227 |
- # install configured upstart profile |
228 |
- set(RSERVER_UPSTART_DIR "extras/upstart") |
229 |
-@@ -182,6 +182,6 @@ if (UNIX AND NOT APPLE) |
230 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_UPSTART_PROFILE}.in |
231 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE}) |
232 |
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE} |
233 |
-- DESTINATION ${RSERVER_UPSTART_DIR}) |
234 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR}) |
235 |
- |
236 |
- endif() |
237 |
-diff --git a/src/cpp/server/ServerOptions.cpp b/src/cpp/server/ServerOptions.cpp |
238 |
-index 77a63f1..f0d25f0 100644 |
239 |
---- a/src/cpp/server/ServerOptions.cpp |
240 |
-+++ b/src/cpp/server/ServerOptions.cpp |
241 |
-@@ -201,7 +201,7 @@ ProgramStatus Options::read(int argc, char * const argv[]) |
242 |
- |
243 |
- // convert relative paths by completing from the system installation |
244 |
- // path (this allows us to be relocatable) |
245 |
-- resolvePath(installPath, &wwwLocalPath_); |
246 |
-+ resolvePath(installPath.childPath(DISTRO_SHARE), &wwwLocalPath_); |
247 |
- resolvePath(installPath, &authPamHelperPath_); |
248 |
- resolvePath(installPath, &rsessionPath_); |
249 |
- resolvePath(installPath, &rldpathPath_); |
250 |
-diff --git a/src/cpp/session/SessionOptions.cpp b/src/cpp/session/SessionOptions.cpp |
251 |
-index 0df1081..777cc6a 100644 |
252 |
---- a/src/cpp/session/SessionOptions.cpp |
253 |
-+++ b/src/cpp/session/SessionOptions.cpp |
254 |
-@@ -333,12 +333,12 @@ core::ProgramStatus Options::read(int argc, char * const argv[]) |
255 |
- |
256 |
- // convert relative paths by completing from the app resource path |
257 |
-- resolvePath(resourcePath, &rResourcesPath_); |
258 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &rResourcesPath_); |
259 |
- resolvePath(resourcePath, &agreementFilePath_); |
260 |
-- resolvePath(resourcePath, &wwwLocalPath_); |
261 |
-- resolvePath(resourcePath, &coreRSourcePath_); |
262 |
-- resolvePath(resourcePath, &modulesRSourcePath_); |
263 |
-- resolvePath(resourcePath, &sessionLibraryPath_); |
264 |
-- resolvePath(resourcePath, &sessionPackagesPath_); |
265 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &wwwLocalPath_); |
266 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &coreRSourcePath_); |
267 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &modulesRSourcePath_); |
268 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &sessionLibraryPath_); |
269 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &sessionPackagesPath_); |
270 |
- resolvePostbackPath(resourcePath, &rpostbackPath_); |
271 |
- #ifdef _WIN32 |
272 |
- resolvePath(resourcePath, &consoleIoPath_); |
273 |
- |
274 |
|
275 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.336-prefs.patch b/sci-mathematics/rstudio/files/rstudio-0.97.336-prefs.patch |
276 |
deleted file mode 100644 |
277 |
index 3175d47235a..00000000000 |
278 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.336-prefs.patch |
279 |
+++ /dev/null |
280 |
@@ -1,24 +0,0 @@ |
281 |
-And now we fix src/gwt/build.xml since java's user preference class is |
282 |
-braindead and insists on writing where it is not allowed. |
283 |
-much thanks to http://www.allaboutbalance.com/articles/disableprefs/ |
284 |
- |
285 |
-diff --git a/src/gwt/build.xml b/src/gwt/build.xml |
286 |
-index e7d2418..ae3a331 100644 |
287 |
---- a/src/gwt/build.xml |
288 |
-+++ b/src/gwt/build.xml |
289 |
-@@ -25,6 +25,7 @@ |
290 |
- <property name="gwt.extra.args" value=""/> |
291 |
- <property name="gwt.main.module" value="org.rstudio.studio.RStudio"/> |
292 |
- <property name="ace.bin" value="src/org/rstudio/studio/client/workbench/views/source/editors/text/ace"/> |
293 |
-+ <property environment="env"/> |
294 |
- |
295 |
- <path id="project.class.path"> |
296 |
- <pathelement location="bin"/> |
297 |
-@@ -109,6 +110,7 @@ |
298 |
- </classpath> |
299 |
- <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError --> |
300 |
- <jvmarg value="-Xmx1024M"/> |
301 |
-+ <jvmarg value="-Djava.util.prefs.userRoot=${env.T}"/> |
302 |
- <arg value="-war"/> |
303 |
- <arg value="www"/> |
304 |
- <arg value="-localWorkers"/> |
305 |
|
306 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.551-boost-1.53.patch b/sci-mathematics/rstudio/files/rstudio-0.97.551-boost-1.53.patch |
307 |
deleted file mode 100644 |
308 |
index 38bb63a8ab6..00000000000 |
309 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.551-boost-1.53.patch |
310 |
+++ /dev/null |
311 |
@@ -1,64 +0,0 @@ |
312 |
-=== modified file 'src/cpp/core/include/core/http/AsyncServer.hpp' |
313 |
---- src/cpp/core/include/core/http/AsyncServer.hpp 2013-07-09 12:02:58 +0000 |
314 |
-+++ src/cpp/core/include/core/http/AsyncServer.hpp 2013-07-09 12:03:34 +0000 |
315 |
-@@ -264,7 +264,7 @@ |
316 |
- |
317 |
- // convert to cannonical HttpConnection |
318 |
- boost::shared_ptr<AsyncConnection> pAsyncConnection = |
319 |
-- boost::shared_static_cast<AsyncConnection>(pConnection); |
320 |
-+ boost::static_pointer_cast<AsyncConnection>(pConnection); |
321 |
- |
322 |
- // call the appropriate handler to generate a response |
323 |
- std::string uri = pRequest->uri(); |
324 |
- |
325 |
-=== modified file 'src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp' |
326 |
---- src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp 2013-07-09 12:02:58 +0000 |
327 |
-+++ src/cpp/core/include/core/http/LocalStreamAsyncClient.hpp 2013-07-09 12:03:36 +0000 |
328 |
-@@ -87,7 +87,7 @@ |
329 |
- boost::shared_ptr<AsyncClient<boost::asio::local::stream_protocol::socket> > |
330 |
- ptrShared = shared_from_this(); |
331 |
- |
332 |
-- return boost::shared_static_cast<LocalStreamAsyncClient>(ptrShared); |
333 |
-+ return boost::static_pointer_cast<LocalStreamAsyncClient>(ptrShared); |
334 |
- } |
335 |
- |
336 |
- private: |
337 |
- |
338 |
-=== modified file 'src/cpp/core/include/core/http/TcpIpAsyncClient.hpp' |
339 |
---- src/cpp/core/include/core/http/TcpIpAsyncClient.hpp 2013-07-09 12:02:58 +0000 |
340 |
-+++ src/cpp/core/include/core/http/TcpIpAsyncClient.hpp 2013-07-09 12:03:32 +0000 |
341 |
-@@ -74,7 +74,7 @@ |
342 |
- boost::shared_ptr<AsyncClient<boost::asio::ip::tcp::socket> > ptrShared |
343 |
- = shared_from_this(); |
344 |
- |
345 |
-- return boost::shared_static_cast<TcpIpAsyncClient>(ptrShared); |
346 |
-+ return boost::static_pointer_cast<TcpIpAsyncClient>(ptrShared); |
347 |
- } |
348 |
- |
349 |
- private: |
350 |
- |
351 |
-=== modified file 'src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp' |
352 |
---- src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp 2013-07-09 12:02:58 +0000 |
353 |
-+++ src/cpp/core/include/core/http/TcpIpAsyncClientSsl.hpp 2013-07-09 12:03:39 +0000 |
354 |
-@@ -109,7 +109,7 @@ |
355 |
- boost::shared_ptr<AsyncClient<boost::asio::ssl::stream<boost::asio::ip::tcp::socket> > > ptrShared |
356 |
- = shared_from_this(); |
357 |
- |
358 |
-- return boost::shared_static_cast<TcpIpAsyncClientSsl>(ptrShared); |
359 |
-+ return boost::static_pointer_cast<TcpIpAsyncClientSsl>(ptrShared); |
360 |
- } |
361 |
- |
362 |
- virtual bool isShutdownError(const boost::system::error_code& ec) |
363 |
- |
364 |
-=== modified file 'src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp' |
365 |
---- src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp 2013-07-09 12:02:58 +0000 |
366 |
-+++ src/cpp/session/http/SessionHttpConnectionListenerImpl.hpp 2013-07-09 12:03:29 +0000 |
367 |
-@@ -256,7 +256,7 @@ |
368 |
- { |
369 |
- // convert to cannonical HttpConnection |
370 |
- boost::shared_ptr<HttpConnection> ptrHttpConnection = |
371 |
-- boost::shared_static_cast<HttpConnection>(ptrConnection); |
372 |
-+ boost::static_pointer_cast<HttpConnection>(ptrConnection); |
373 |
- |
374 |
- if (!authenticate(ptrHttpConnection)) |
375 |
- { |
376 |
|
377 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.551-linker_flags.patch b/sci-mathematics/rstudio/files/rstudio-0.97.551-linker_flags.patch |
378 |
deleted file mode 100644 |
379 |
index a336fccbc98..00000000000 |
380 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.551-linker_flags.patch |
381 |
+++ /dev/null |
382 |
@@ -1,18 +0,0 @@ |
383 |
-Some gcc hardening options were added, however since we add |
384 |
-"-Wl,--as-needed" we end up with "-Wl,--as-needed;-Wl,-z,relro" which |
385 |
-leads to linker errors about unknown options, if we make it so the |
386 |
-as-needed option is the last option on the line, everything is fine. |
387 |
- |
388 |
-diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt |
389 |
-index 0589ca0..fe5bd5f 100644 |
390 |
---- a/src/cpp/CMakeLists.txt |
391 |
-+++ b/src/cpp/CMakeLists.txt |
392 |
-@@ -57,7 +57,7 @@ if(UNIX) |
393 |
- add_definitions(-D_FORTIFY_SOURCE=2) |
394 |
- add_definitions(-fstack-protector --param ssp-buffer-size=4) |
395 |
- add_definitions(-pie -fPIE) |
396 |
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,-z,now") |
397 |
-+ set(CMAKE_EXE_LINKER_FLAGS "-Wl,-z,relro,-z,now ${CMAKE_EXE_LINKER_FLAGS}") |
398 |
- endif() |
399 |
- |
400 |
- # Win32 specific global directives |
401 |
|
402 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.551-paths.patch b/sci-mathematics/rstudio/files/rstudio-0.97.551-paths.patch |
403 |
deleted file mode 100644 |
404 |
index 7b44374a72d..00000000000 |
405 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.551-paths.patch |
406 |
+++ /dev/null |
407 |
@@ -1,112 +0,0 @@ |
408 |
-change the install path, as by default everything is dumped right under |
409 |
-the prefix. After fixing install paths, now fix the source so the |
410 |
-program can find the moved resources. |
411 |
- |
412 |
-diff --git a/CMakeGlobals.txt b/CMakeGlobals.txt |
413 |
-index da74970..1537bff 100644 |
414 |
---- a/CMakeGlobals.txt |
415 |
-+++ b/CMakeGlobals.txt |
416 |
-@@ -103,7 +103,7 @@ else() |
417 |
- else() |
418 |
- set(RSTUDIO_INSTALL_BIN bin) |
419 |
- endif() |
420 |
-- set(RSTUDIO_INSTALL_SUPPORTING .) |
421 |
-+ set(RSTUDIO_INSTALL_SUPPORTING ${DISTRO_SHARE}) |
422 |
- endif() |
423 |
- |
424 |
- # if the install prefix is /usr/local then tweak as appropriate |
425 |
-diff --git a/src/cpp/server/CMakeLists.txt b/src/cpp/server/CMakeLists.txt |
426 |
-index af4db1c..96b767e 100644 |
427 |
---- a/src/cpp/server/CMakeLists.txt |
428 |
-+++ b/src/cpp/server/CMakeLists.txt |
429 |
-@@ -142,7 +142,7 @@ if (UNIX AND NOT APPLE) |
430 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}.in |
431 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT}) |
432 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_DEBIAN_SCRIPT} |
433 |
-- DESTINATION ${RSERVER_INITD_DEBIAN_DIR}) |
434 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_DEBIAN_DIR}) |
435 |
- |
436 |
- # install configured redhat init.d script |
437 |
- set(RSERVER_INITD_REDHAT_DIR "extras/init.d/redhat") |
438 |
-@@ -150,7 +150,7 @@ if (UNIX AND NOT APPLE) |
439 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}.in |
440 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT}) |
441 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_REDHAT_SCRIPT} |
442 |
-- DESTINATION ${RSERVER_INITD_REDHAT_DIR}) |
443 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_REDHAT_DIR}) |
444 |
- |
445 |
- # install configured suse init.d script |
446 |
- set(RSERVER_INITD_SUSE_DIR "extras/init.d/suse") |
447 |
-@@ -158,13 +158,13 @@ if (UNIX AND NOT APPLE) |
448 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_INITD_SUSE_SCRIPT}.in |
449 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT}) |
450 |
- install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_INITD_SUSE_SCRIPT} |
451 |
-- DESTINATION ${RSERVER_INITD_SUSE_DIR}) |
452 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_INITD_SUSE_DIR}) |
453 |
- |
454 |
- # install pam profile |
455 |
- set(RSERVER_PAM_DIR "extras/pam") |
456 |
- set(RSERVER_PAM_PROFILE "${RSERVER_PAM_DIR}/rstudio") |
457 |
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_PAM_PROFILE} |
458 |
-- DESTINATION ${RSERVER_PAM_DIR}) |
459 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_PAM_DIR}) |
460 |
- |
461 |
- # install configured apparmor profile |
462 |
- set(RSERVER_APPARMOR_DIR "extras/apparmor") |
463 |
-@@ -172,9 +172,9 @@ if (UNIX AND NOT APPLE) |
464 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_PROFILE}.in |
465 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE}) |
466 |
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_APPARMOR_PROFILE} |
467 |
-- DESTINATION ${RSERVER_APPARMOR_DIR}) |
468 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_APPARMOR_DIR}) |
469 |
- install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_APPARMOR_DIR}/apparmor-profile-load |
470 |
-- DESTINATION ${RSERVER_APPARMOR_DIR}) |
471 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_APPARMOR_DIR}) |
472 |
- |
473 |
- # install configured upstart profile |
474 |
- set(RSERVER_UPSTART_DIR "extras/upstart") |
475 |
-@@ -182,6 +182,6 @@ if (UNIX AND NOT APPLE) |
476 |
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${RSERVER_UPSTART_PROFILE}.in |
477 |
- ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE}) |
478 |
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${RSERVER_UPSTART_PROFILE} |
479 |
-- DESTINATION ${RSERVER_UPSTART_DIR}) |
480 |
-+ DESTINATION ${DISTRO_SHARE}/${RSERVER_UPSTART_DIR}) |
481 |
- |
482 |
- endif() |
483 |
-diff --git a/src/cpp/server/ServerOptions.cpp b/src/cpp/server/ServerOptions.cpp |
484 |
-index 77a63f1..f0d25f0 100644 |
485 |
---- a/src/cpp/server/ServerOptions.cpp |
486 |
-+++ b/src/cpp/server/ServerOptions.cpp |
487 |
-@@ -201,7 +201,7 @@ ProgramStatus Options::read(int argc, char * const argv[]) |
488 |
- |
489 |
- // convert relative paths by completing from the system installation |
490 |
- // path (this allows us to be relocatable) |
491 |
-- resolvePath(installPath, &wwwLocalPath_); |
492 |
-+ resolvePath(installPath.childPath(DISTRO_SHARE), &wwwLocalPath_); |
493 |
- resolvePath(installPath, &authPamHelperPath_); |
494 |
- resolvePath(installPath, &rsessionPath_); |
495 |
- resolvePath(installPath, &rldpathPath_); |
496 |
-diff --git a/src/cpp/session/SessionOptions.cpp b/src/cpp/session/SessionOptions.cpp |
497 |
-index 0df1081..777cc6a 100644 |
498 |
---- a/src/cpp/session/SessionOptions.cpp |
499 |
-+++ b/src/cpp/session/SessionOptions.cpp |
500 |
-@@ -333,12 +333,12 @@ core::ProgramStatus Options::read(int argc, char * const argv[]) |
501 |
- |
502 |
- // convert relative paths by completing from the app resource path |
503 |
-- resolvePath(resourcePath, &rResourcesPath_); |
504 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &rResourcesPath_); |
505 |
- resolvePath(resourcePath, &agreementFilePath_); |
506 |
-- resolvePath(resourcePath, &wwwLocalPath_); |
507 |
-- resolvePath(resourcePath, &coreRSourcePath_); |
508 |
-- resolvePath(resourcePath, &modulesRSourcePath_); |
509 |
-- resolvePath(resourcePath, &sessionLibraryPath_); |
510 |
-- resolvePath(resourcePath, &sessionPackagesPath_); |
511 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &wwwLocalPath_); |
512 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &coreRSourcePath_); |
513 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &modulesRSourcePath_); |
514 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &sessionLibraryPath_); |
515 |
-+ resolvePath(resourcePath.childPath(DISTRO_SHARE), &sessionPackagesPath_); |
516 |
- resolvePostbackPath(resourcePath, &rpostbackPath_); |
517 |
- #ifdef _WIN32 |
518 |
- resolvePath(resourcePath, &consoleIoPath_); |
519 |
- |
520 |
|
521 |
diff --git a/sci-mathematics/rstudio/files/rstudio-0.97.551-prefs.patch b/sci-mathematics/rstudio/files/rstudio-0.97.551-prefs.patch |
522 |
deleted file mode 100644 |
523 |
index 3175d47235a..00000000000 |
524 |
--- a/sci-mathematics/rstudio/files/rstudio-0.97.551-prefs.patch |
525 |
+++ /dev/null |
526 |
@@ -1,24 +0,0 @@ |
527 |
-And now we fix src/gwt/build.xml since java's user preference class is |
528 |
-braindead and insists on writing where it is not allowed. |
529 |
-much thanks to http://www.allaboutbalance.com/articles/disableprefs/ |
530 |
- |
531 |
-diff --git a/src/gwt/build.xml b/src/gwt/build.xml |
532 |
-index e7d2418..ae3a331 100644 |
533 |
---- a/src/gwt/build.xml |
534 |
-+++ b/src/gwt/build.xml |
535 |
-@@ -25,6 +25,7 @@ |
536 |
- <property name="gwt.extra.args" value=""/> |
537 |
- <property name="gwt.main.module" value="org.rstudio.studio.RStudio"/> |
538 |
- <property name="ace.bin" value="src/org/rstudio/studio/client/workbench/views/source/editors/text/ace"/> |
539 |
-+ <property environment="env"/> |
540 |
- |
541 |
- <path id="project.class.path"> |
542 |
- <pathelement location="bin"/> |
543 |
-@@ -109,6 +110,7 @@ |
544 |
- </classpath> |
545 |
- <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError --> |
546 |
- <jvmarg value="-Xmx1024M"/> |
547 |
-+ <jvmarg value="-Djava.util.prefs.userRoot=${env.T}"/> |
548 |
- <arg value="-war"/> |
549 |
- <arg value="www"/> |
550 |
- <arg value="-localWorkers"/> |
551 |
|
552 |
diff --git a/sci-mathematics/rstudio/rstudio-0.97.336.ebuild b/sci-mathematics/rstudio/rstudio-0.97.336.ebuild |
553 |
deleted file mode 100644 |
554 |
index e10f30a21ca..00000000000 |
555 |
--- a/sci-mathematics/rstudio/rstudio-0.97.336.ebuild |
556 |
+++ /dev/null |
557 |
@@ -1,143 +0,0 @@ |
558 |
-# Copyright 1999-2016 Gentoo Foundation |
559 |
-# Distributed under the terms of the GNU General Public License v2 |
560 |
- |
561 |
-EAPI=5 |
562 |
- |
563 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
564 |
- |
565 |
-# TODO |
566 |
-# * package gin and gwt |
567 |
-# * use dict from tree, linguas |
568 |
-# * do src_test (use junit from tree?) |
569 |
-# * fix the about/help/menu and get rid of license |
570 |
- |
571 |
-GWTVER=2.5.0.rc1 |
572 |
-GINVER=1.5 |
573 |
- |
574 |
-DESCRIPTION="IDE for the R language" |
575 |
-HOMEPAGE="http://www.rstudio.org" |
576 |
-SRC_URI=" |
577 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
578 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
579 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
580 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" |
581 |
- |
582 |
-LICENSE="AGPL-3" |
583 |
-SLOT="0" |
584 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
585 |
-IUSE="dedicated server" |
586 |
- |
587 |
-QTVER=4.8 |
588 |
-QTSLOT=4 |
589 |
-RDEPEND=" |
590 |
- >=dev-lang/R-2.11.1 |
591 |
- >=dev-libs/boost-1.50:= |
592 |
- dev-libs/mathjax |
593 |
- dev-libs/openssl:0 |
594 |
- >=virtual/jre-1.5:= |
595 |
- x11-libs/pango |
596 |
- !dedicated? ( |
597 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
598 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
599 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
600 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
601 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
602 |
- server? ( virtual/pam ) |
603 |
- ) |
604 |
- dedicated? ( virtual/pam )" |
605 |
-DEPEND="${RDEPEND} |
606 |
- app-arch/unzip |
607 |
- dev-java/ant-core |
608 |
- >=virtual/jdk-1.5 |
609 |
- virtual/pkgconfig" |
610 |
-# test? ( dev-java/junit:4 ) |
611 |
- |
612 |
-src_unpack() { |
613 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
614 |
- cd "${S}" || die |
615 |
- mkdir -p src/gwt/lib/{gin,gwt} dependencies/common/dictionaries || die |
616 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
617 |
- unzip -qd src/gwt/lib/gin/${GINVER} "${DISTDIR}"/gin-${GINVER}.zip || die |
618 |
- unzip -qd dependencies/common/dictionaries "${DISTDIR}"/core-dictionaries.zip || die |
619 |
-} |
620 |
- |
621 |
-src_prepare() { |
622 |
- java-pkg-2_src_prepare |
623 |
- |
624 |
- egit_clean |
625 |
- |
626 |
- epatch \ |
627 |
- "${FILESDIR}"/${P}-prefs.patch \ |
628 |
- "${FILESDIR}"/${P}-paths.patch \ |
629 |
- "${FILESDIR}"/${P}-linker_flags.patch \ |
630 |
- "${FILESDIR}"/${P}-boost-1.53.patch |
631 |
- |
632 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
633 |
- # this sed hack for now. ~RMH |
634 |
- sed -i \ |
635 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
636 |
- src/cpp/server/ServerOptions.cpp \ |
637 |
- src/cpp/session/SessionOptions.cpp || die |
638 |
- |
639 |
- # use mathjax from system |
640 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
641 |
- |
642 |
- # make sure icons and mime stuff are with prefix |
643 |
- sed -i \ |
644 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
645 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
646 |
- |
647 |
- # specify that namespace core the is in the global namespace and not |
648 |
- # relative to some other namespace (like its ::core not ::boost::core) |
649 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
650 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
651 |
-} |
652 |
- |
653 |
-src_configure() { |
654 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
655 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
656 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
657 |
- |
658 |
- local mycmakeargs=( |
659 |
- -DDISTRO_SHARE=share/${PN} |
660 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
661 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "All" "Desktop")") |
662 |
- ) |
663 |
- |
664 |
- cmake-utils_src_configure |
665 |
-} |
666 |
- |
667 |
-src_compile() { |
668 |
- cmake-utils_src_compile |
669 |
-} |
670 |
- |
671 |
-src_install() { |
672 |
- cmake-utils_src_install |
673 |
- pax-mark m "${ED}usr/bin/rstudio" |
674 |
- if use dedicated || use server; then |
675 |
- dopamd src/cpp/server/extras/pam/rstudio |
676 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
677 |
- fi |
678 |
-} |
679 |
- |
680 |
-pkg_preinst() { |
681 |
- use dedicated || gnome2_icon_savelist |
682 |
- java-pkg-2_pkg_preinst |
683 |
-} |
684 |
- |
685 |
-pkg_postinst() { |
686 |
- use dedicated || { fdo-mime_desktop_database_update |
687 |
- fdo-mime_mime_database_update |
688 |
- gnome2_icon_cache_update ;} |
689 |
- |
690 |
- if use dedicated || use server; then |
691 |
- enewgroup rstudio-server |
692 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
693 |
- fi |
694 |
-} |
695 |
- |
696 |
-pkg_postrm() { |
697 |
- use dedicated || { fdo-mime_desktop_database_update |
698 |
- fdo-mime_mime_database_update |
699 |
- gnome2_icon_cache_update ;} |
700 |
-} |
701 |
|
702 |
diff --git a/sci-mathematics/rstudio/rstudio-0.97.551.ebuild b/sci-mathematics/rstudio/rstudio-0.97.551.ebuild |
703 |
deleted file mode 100644 |
704 |
index e10f30a21ca..00000000000 |
705 |
--- a/sci-mathematics/rstudio/rstudio-0.97.551.ebuild |
706 |
+++ /dev/null |
707 |
@@ -1,143 +0,0 @@ |
708 |
-# Copyright 1999-2016 Gentoo Foundation |
709 |
-# Distributed under the terms of the GNU General Public License v2 |
710 |
- |
711 |
-EAPI=5 |
712 |
- |
713 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
714 |
- |
715 |
-# TODO |
716 |
-# * package gin and gwt |
717 |
-# * use dict from tree, linguas |
718 |
-# * do src_test (use junit from tree?) |
719 |
-# * fix the about/help/menu and get rid of license |
720 |
- |
721 |
-GWTVER=2.5.0.rc1 |
722 |
-GINVER=1.5 |
723 |
- |
724 |
-DESCRIPTION="IDE for the R language" |
725 |
-HOMEPAGE="http://www.rstudio.org" |
726 |
-SRC_URI=" |
727 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
728 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
729 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
730 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" |
731 |
- |
732 |
-LICENSE="AGPL-3" |
733 |
-SLOT="0" |
734 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
735 |
-IUSE="dedicated server" |
736 |
- |
737 |
-QTVER=4.8 |
738 |
-QTSLOT=4 |
739 |
-RDEPEND=" |
740 |
- >=dev-lang/R-2.11.1 |
741 |
- >=dev-libs/boost-1.50:= |
742 |
- dev-libs/mathjax |
743 |
- dev-libs/openssl:0 |
744 |
- >=virtual/jre-1.5:= |
745 |
- x11-libs/pango |
746 |
- !dedicated? ( |
747 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
748 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
749 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
750 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
751 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
752 |
- server? ( virtual/pam ) |
753 |
- ) |
754 |
- dedicated? ( virtual/pam )" |
755 |
-DEPEND="${RDEPEND} |
756 |
- app-arch/unzip |
757 |
- dev-java/ant-core |
758 |
- >=virtual/jdk-1.5 |
759 |
- virtual/pkgconfig" |
760 |
-# test? ( dev-java/junit:4 ) |
761 |
- |
762 |
-src_unpack() { |
763 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
764 |
- cd "${S}" || die |
765 |
- mkdir -p src/gwt/lib/{gin,gwt} dependencies/common/dictionaries || die |
766 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
767 |
- unzip -qd src/gwt/lib/gin/${GINVER} "${DISTDIR}"/gin-${GINVER}.zip || die |
768 |
- unzip -qd dependencies/common/dictionaries "${DISTDIR}"/core-dictionaries.zip || die |
769 |
-} |
770 |
- |
771 |
-src_prepare() { |
772 |
- java-pkg-2_src_prepare |
773 |
- |
774 |
- egit_clean |
775 |
- |
776 |
- epatch \ |
777 |
- "${FILESDIR}"/${P}-prefs.patch \ |
778 |
- "${FILESDIR}"/${P}-paths.patch \ |
779 |
- "${FILESDIR}"/${P}-linker_flags.patch \ |
780 |
- "${FILESDIR}"/${P}-boost-1.53.patch |
781 |
- |
782 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
783 |
- # this sed hack for now. ~RMH |
784 |
- sed -i \ |
785 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
786 |
- src/cpp/server/ServerOptions.cpp \ |
787 |
- src/cpp/session/SessionOptions.cpp || die |
788 |
- |
789 |
- # use mathjax from system |
790 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
791 |
- |
792 |
- # make sure icons and mime stuff are with prefix |
793 |
- sed -i \ |
794 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
795 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
796 |
- |
797 |
- # specify that namespace core the is in the global namespace and not |
798 |
- # relative to some other namespace (like its ::core not ::boost::core) |
799 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
800 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
801 |
-} |
802 |
- |
803 |
-src_configure() { |
804 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
805 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
806 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
807 |
- |
808 |
- local mycmakeargs=( |
809 |
- -DDISTRO_SHARE=share/${PN} |
810 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
811 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "All" "Desktop")") |
812 |
- ) |
813 |
- |
814 |
- cmake-utils_src_configure |
815 |
-} |
816 |
- |
817 |
-src_compile() { |
818 |
- cmake-utils_src_compile |
819 |
-} |
820 |
- |
821 |
-src_install() { |
822 |
- cmake-utils_src_install |
823 |
- pax-mark m "${ED}usr/bin/rstudio" |
824 |
- if use dedicated || use server; then |
825 |
- dopamd src/cpp/server/extras/pam/rstudio |
826 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
827 |
- fi |
828 |
-} |
829 |
- |
830 |
-pkg_preinst() { |
831 |
- use dedicated || gnome2_icon_savelist |
832 |
- java-pkg-2_pkg_preinst |
833 |
-} |
834 |
- |
835 |
-pkg_postinst() { |
836 |
- use dedicated || { fdo-mime_desktop_database_update |
837 |
- fdo-mime_mime_database_update |
838 |
- gnome2_icon_cache_update ;} |
839 |
- |
840 |
- if use dedicated || use server; then |
841 |
- enewgroup rstudio-server |
842 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
843 |
- fi |
844 |
-} |
845 |
- |
846 |
-pkg_postrm() { |
847 |
- use dedicated || { fdo-mime_desktop_database_update |
848 |
- fdo-mime_mime_database_update |
849 |
- gnome2_icon_cache_update ;} |
850 |
-} |
851 |
|
852 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.1028.ebuild b/sci-mathematics/rstudio/rstudio-0.98.1028.ebuild |
853 |
deleted file mode 100644 |
854 |
index ebaf1bd04ec..00000000000 |
855 |
--- a/sci-mathematics/rstudio/rstudio-0.98.1028.ebuild |
856 |
+++ /dev/null |
857 |
@@ -1,164 +0,0 @@ |
858 |
-# Copyright 1999-2016 Gentoo Foundation |
859 |
-# Distributed under the terms of the GNU General Public License v2 |
860 |
- |
861 |
-EAPI=5 |
862 |
- |
863 |
-inherit eutils cmake-utils gnome2-utils versionator fdo-mime java-pkg-2 pax-utils |
864 |
- |
865 |
-# TODO |
866 |
-# * package gin and gwt |
867 |
-# * use dict from tree, linguas |
868 |
-# * do src_test (use junit from tree?) |
869 |
- |
870 |
-# update from scripts in dependencies/common |
871 |
-GWTVER=2.6.0 |
872 |
-GINVER=1.5 |
873 |
-SELENIUMVER=2.37.0 |
874 |
-CHROMEDRIVER_VER=2.7 |
875 |
-PANDOC_VER=1.12.3 |
876 |
-PACKRAT_VER=0.3.0 |
877 |
-RMARKDOWN_VER=0.2.49 |
878 |
- |
879 |
-DESCRIPTION="IDE for the R language" |
880 |
-HOMEPAGE=" |
881 |
- http://www.rstudio.org |
882 |
- https://github.com/rstudio/rstudio/" |
883 |
-SRC_URI=" |
884 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
885 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
886 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
887 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip |
888 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-server-standalone-${SELENIUMVER}.jar |
889 |
- https://s3.amazonaws.com/rstudio-buildtools/chromedriver-linux |
890 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip |
891 |
- https://dev.gentoo.org/~hasufell/distfiles/packrat_${PACKRAT_VER}.tar.gz |
892 |
- https://dev.gentoo.org/~hasufell/distfiles/rmarkdown_${RMARKDOWN_VER}.tar.gz" |
893 |
- |
894 |
-LICENSE="AGPL-3" |
895 |
-SLOT="0" |
896 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
897 |
-IUSE="" |
898 |
- |
899 |
-QTVER=4.8 |
900 |
-QTSLOT=4 |
901 |
-RDEPEND=" |
902 |
- app-text/pandoc |
903 |
- dev-haskell/pandoc-citeproc |
904 |
- >=dev-lang/R-2.11.1 |
905 |
- >=dev-libs/boost-1.50 |
906 |
- dev-libs/mathjax |
907 |
- dev-libs/openssl:0 |
908 |
- sys-apps/util-linux |
909 |
- sys-libs/zlib |
910 |
- >=virtual/jre-1.5:= |
911 |
- x11-libs/pango |
912 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
913 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
914 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
915 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
916 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT}" |
917 |
-DEPEND="${RDEPEND} |
918 |
- app-arch/unzip |
919 |
- dev-java/ant-core |
920 |
- >=virtual/jdk-1.5 |
921 |
- virtual/pkgconfig" |
922 |
-# test? ( dev-java/junit:4 ) |
923 |
- |
924 |
-src_unpack() { |
925 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
926 |
- cd "${S}" || die |
927 |
- mkdir -p src/gwt/lib/{gin,gwt} \ |
928 |
- dependencies/common/dictionaries \ |
929 |
- src/gwt/lib/selenium/${SELENIUMVER} \ |
930 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER} || die |
931 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
932 |
- unzip -qd src/gwt/lib/gin/${GINVER} \ |
933 |
- "${DISTDIR}"/gin-${GINVER}.zip || die |
934 |
- unzip -qd dependencies/common/dictionaries \ |
935 |
- "${DISTDIR}"/core-dictionaries.zip || die |
936 |
- unzip -qd src/gwt/lib/selenium/${SELENIUMVER} \ |
937 |
- "${DISTDIR}"/selenium-java-${SELENIUMVER}.zip || die |
938 |
- cp "${DISTDIR}"/selenium-server-standalone-${SELENIUMVER}.jar \ |
939 |
- src/gwt/lib/selenium/${SELENIUMVER}/ || die |
940 |
- cp "${DISTDIR}"/chromedriver-linux \ |
941 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER}/ || die |
942 |
- cd dependencies/common || die |
943 |
- unpack packrat_${PACKRAT_VER}.tar.gz |
944 |
- unpack rmarkdown_${RMARKDOWN_VER}.tar.gz |
945 |
- cp "${DISTDIR}"/rmarkdown_${RMARKDOWN_VER}.tar.gz \ |
946 |
- . || die |
947 |
- cp "${DISTDIR}"/packrat_${PACKRAT_VER}.tar.gz \ |
948 |
- . || die |
949 |
-} |
950 |
- |
951 |
-src_prepare() { |
952 |
- java-pkg-2_src_prepare |
953 |
- |
954 |
- egit_clean |
955 |
- |
956 |
- epatch \ |
957 |
- "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ |
958 |
- "${FILESDIR}"/${PN}-0.98.932-paths.patch \ |
959 |
- "${FILESDIR}"/${PN}-0.98.932-pandoc.patch \ |
960 |
- "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch |
961 |
- |
962 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
963 |
- # this sed hack for now. ~RMH |
964 |
- sed -i \ |
965 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
966 |
- src/cpp/server/ServerOptions.cpp \ |
967 |
- src/cpp/session/SessionOptions.cpp || die |
968 |
- |
969 |
- # use mathjax from system |
970 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
971 |
- |
972 |
- # make sure icons and mime stuff are with prefix |
973 |
- sed -i \ |
974 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
975 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
976 |
- |
977 |
- # specify that namespace core the is in the global namespace and not |
978 |
- # relative to some other namespace (like its ::core not ::boost::core) |
979 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
980 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
981 |
-} |
982 |
- |
983 |
-src_configure() { |
984 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
985 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
986 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
987 |
- |
988 |
- local mycmakeargs=( |
989 |
- -DDISTRO_SHARE=share/${PN} |
990 |
- -DRSTUDIO_INSTALL_FREEDESKTOP=ON |
991 |
- -DRSTUDIO_TARGET=Desktop |
992 |
- ) |
993 |
- |
994 |
- cmake-utils_src_configure |
995 |
-} |
996 |
- |
997 |
-src_compile() { |
998 |
- cmake-utils_src_compile |
999 |
-} |
1000 |
- |
1001 |
-src_install() { |
1002 |
- cmake-utils_src_install |
1003 |
- pax-mark m "${ED}usr/bin/rstudio" |
1004 |
-} |
1005 |
- |
1006 |
-pkg_preinst() { |
1007 |
- gnome2_icon_savelist |
1008 |
- java-pkg-2_pkg_preinst |
1009 |
-} |
1010 |
- |
1011 |
-pkg_postinst() { |
1012 |
- fdo-mime_desktop_database_update |
1013 |
- fdo-mime_mime_database_update |
1014 |
- gnome2_icon_cache_update |
1015 |
-} |
1016 |
- |
1017 |
-pkg_postrm() { |
1018 |
- fdo-mime_desktop_database_update |
1019 |
- fdo-mime_mime_database_update |
1020 |
- gnome2_icon_cache_update |
1021 |
-} |
1022 |
|
1023 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.1091.ebuild b/sci-mathematics/rstudio/rstudio-0.98.1091.ebuild |
1024 |
deleted file mode 100644 |
1025 |
index eeda0fd3c15..00000000000 |
1026 |
--- a/sci-mathematics/rstudio/rstudio-0.98.1091.ebuild |
1027 |
+++ /dev/null |
1028 |
@@ -1,198 +0,0 @@ |
1029 |
-# Copyright 1999-2016 Gentoo Foundation |
1030 |
-# Distributed under the terms of the GNU General Public License v2 |
1031 |
- |
1032 |
-EAPI=5 |
1033 |
- |
1034 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
1035 |
- |
1036 |
-# TODO |
1037 |
-# * package gin and gwt |
1038 |
-# * use dict from tree, linguas |
1039 |
-# * do src_test (use junit from tree?) |
1040 |
- |
1041 |
-# update from scripts in dependencies/common |
1042 |
-GWTVER=2.6.0 |
1043 |
-GINVER=1.5 |
1044 |
-SELENIUMVER=2.37.0 |
1045 |
-CHROMEDRIVER_VER=2.7 |
1046 |
-PANDOC_VER=1.12.4.2 |
1047 |
-PACKRAT_VER=0.98.1000 |
1048 |
-RMARKDOWN_VER=0.98.1000 |
1049 |
-SHINYAPPS_VER=0.98.1000 |
1050 |
- |
1051 |
-DESCRIPTION="IDE for the R language" |
1052 |
-HOMEPAGE=" |
1053 |
- http://www.rstudio.org |
1054 |
- https://github.com/rstudio/rstudio/" |
1055 |
-SRC_URI=" |
1056 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1057 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
1058 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
1059 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip |
1060 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-server-standalone-${SELENIUMVER}.jar |
1061 |
- https://s3.amazonaws.com/rstudio-buildtools/chromedriver-linux |
1062 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip |
1063 |
- https://dev.gentoo.org/~gienah/distfiles/packrat-${PACKRAT_VER}.tar.gz |
1064 |
- https://dev.gentoo.org/~gienah/distfiles/rmarkdown-${RMARKDOWN_VER}.tar.gz |
1065 |
- https://dev.gentoo.org/~gienah/distfiles/shinyapps-${SHINYAPPS_VER}.tar.gz" |
1066 |
- |
1067 |
-LICENSE="AGPL-3" |
1068 |
-SLOT="0" |
1069 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1070 |
-IUSE="dedicated server" |
1071 |
- |
1072 |
-QTVER=4.8 |
1073 |
-QTSLOT=4 |
1074 |
-RDEPEND=" |
1075 |
- app-text/pandoc |
1076 |
- dev-haskell/pandoc-citeproc |
1077 |
- >=dev-lang/R-2.11.1 |
1078 |
- >=dev-libs/boost-1.50:= |
1079 |
- >=dev-libs/mathjax-2.3 |
1080 |
- dev-libs/openssl:0 |
1081 |
- sys-apps/util-linux |
1082 |
- sys-libs/zlib |
1083 |
- >=virtual/jre-1.5:= |
1084 |
- x11-libs/pango |
1085 |
- !dedicated? ( |
1086 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
1087 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
1088 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
1089 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
1090 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
1091 |
- server? ( virtual/pam ) |
1092 |
- ) |
1093 |
- dedicated? ( virtual/pam )" |
1094 |
-DEPEND="${RDEPEND} |
1095 |
- app-arch/unzip |
1096 |
- dev-java/ant-core |
1097 |
- >=virtual/jdk-1.5 |
1098 |
- virtual/pkgconfig" |
1099 |
-# test? ( dev-java/junit:4 ) |
1100 |
- |
1101 |
-src_unpack() { |
1102 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
1103 |
- cd "${S}" || die |
1104 |
- mkdir -p src/gwt/lib/{gin,gwt} \ |
1105 |
- dependencies/common/dictionaries \ |
1106 |
- src/gwt/lib/selenium/${SELENIUMVER} \ |
1107 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER} || die |
1108 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
1109 |
- unzip -qd src/gwt/lib/gin/${GINVER} \ |
1110 |
- "${DISTDIR}"/gin-${GINVER}.zip || die |
1111 |
- unzip -qd dependencies/common/dictionaries \ |
1112 |
- "${DISTDIR}"/core-dictionaries.zip || die |
1113 |
- unzip -qd src/gwt/lib/selenium/${SELENIUMVER} \ |
1114 |
- "${DISTDIR}"/selenium-java-${SELENIUMVER}.zip || die |
1115 |
- cp "${DISTDIR}"/selenium-server-standalone-${SELENIUMVER}.jar \ |
1116 |
- src/gwt/lib/selenium/${SELENIUMVER}/ || die |
1117 |
- cp "${DISTDIR}"/chromedriver-linux \ |
1118 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER}/ || die |
1119 |
- cd dependencies/common || die |
1120 |
- unpack packrat-${PACKRAT_VER}.tar.gz |
1121 |
- unpack rmarkdown-${RMARKDOWN_VER}.tar.gz |
1122 |
- unpack shinyapps-${RMARKDOWN_VER}.tar.gz |
1123 |
- cp "${DISTDIR}"/rmarkdown-${RMARKDOWN_VER}.tar.gz \ |
1124 |
- . || die |
1125 |
- cp "${DISTDIR}"/packrat-${PACKRAT_VER}.tar.gz \ |
1126 |
- . || die |
1127 |
- cp "${DISTDIR}"/shinyapps-${SHINYAPPS_VER}.tar.gz \ |
1128 |
- . || die |
1129 |
-} |
1130 |
- |
1131 |
-src_prepare() { |
1132 |
- java-pkg-2_src_prepare |
1133 |
- |
1134 |
- egit_clean |
1135 |
- |
1136 |
- epatch \ |
1137 |
- "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ |
1138 |
- "${FILESDIR}"/${PN}-0.98.932-paths.patch \ |
1139 |
- "${FILESDIR}"/${PN}-0.98.1091-pandoc.patch \ |
1140 |
- "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \ |
1141 |
- "${FILESDIR}"/${PN}-0.98.1091-boost-1.57.patch |
1142 |
- |
1143 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
1144 |
- # this sed hack for now. ~RMH |
1145 |
- sed -i \ |
1146 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
1147 |
- src/cpp/server/ServerOptions.cpp \ |
1148 |
- src/cpp/session/SessionOptions.cpp || die |
1149 |
- |
1150 |
- # use mathjax from system |
1151 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax-23 || die |
1152 |
- |
1153 |
- # make sure icons and mime stuff are with prefix |
1154 |
- sed -i \ |
1155 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
1156 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
1157 |
- |
1158 |
- # specify that namespace core the is in the global namespace and not |
1159 |
- # relative to some other namespace (like its ::core not ::boost::core) |
1160 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
1161 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
1162 |
- |
1163 |
- # On Gentoo the rstudio-server configuration file is /etc/conf.d/rstudio-server.conf |
1164 |
- sed -e "s@/etc/rstudio/rserver.conf@${EROOT}etc/conf.d/rstudio-server.conf@" \ |
1165 |
- -i src/cpp/server/ServerOptions.cpp \ |
1166 |
- || die |
1167 |
- |
1168 |
- # Set the rsession.conf file location for Gentoo prefix |
1169 |
- sed -e "s@/etc/rstudio/rsession.conf@${EROOT}etc/rstudio/rsession.conf@" \ |
1170 |
- -i src/cpp/session/SessionOptions.cpp \ |
1171 |
- || die |
1172 |
-} |
1173 |
- |
1174 |
-src_configure() { |
1175 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
1176 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
1177 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
1178 |
- |
1179 |
- local mycmakeargs=( |
1180 |
- -DDISTRO_SHARE=share/${PN} |
1181 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
1182 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "Development" "Desktop")") |
1183 |
- ) |
1184 |
- |
1185 |
- cmake-utils_src_configure |
1186 |
-} |
1187 |
- |
1188 |
-src_compile() { |
1189 |
- cmake-utils_src_compile |
1190 |
-} |
1191 |
- |
1192 |
-src_install() { |
1193 |
- cmake-utils_src_install |
1194 |
- pax-mark m "${ED}usr/bin/rstudio" |
1195 |
- doconfd "${FILESDIR}"/rstudio-server.conf |
1196 |
- dodir /etc/rstudio |
1197 |
- insinto /etc/rstudio |
1198 |
- doins "${FILESDIR}"/rsession.conf |
1199 |
- dosym /etc/conf.d/rstudio-server.conf /etc/rstudio/rserver.conf |
1200 |
- if use dedicated || use server; then |
1201 |
- dopamd src/cpp/server/extras/pam/rstudio |
1202 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
1203 |
- fi |
1204 |
-} |
1205 |
- |
1206 |
-pkg_preinst() { |
1207 |
- use dedicated || gnome2_icon_savelist |
1208 |
- java-pkg-2_pkg_preinst |
1209 |
-} |
1210 |
- |
1211 |
-pkg_postinst() { |
1212 |
- use dedicated || { fdo-mime_desktop_database_update |
1213 |
- fdo-mime_mime_database_update |
1214 |
- gnome2_icon_cache_update ;} |
1215 |
- |
1216 |
- if use dedicated || use server; then |
1217 |
- enewgroup rstudio-server |
1218 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
1219 |
- fi |
1220 |
-} |
1221 |
- |
1222 |
-pkg_postrm() { |
1223 |
- use dedicated || { fdo-mime_desktop_database_update |
1224 |
- fdo-mime_mime_database_update |
1225 |
- gnome2_icon_cache_update ;} |
1226 |
-} |
1227 |
|
1228 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild b/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild |
1229 |
deleted file mode 100644 |
1230 |
index cb0e8c0ef94..00000000000 |
1231 |
--- a/sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild |
1232 |
+++ /dev/null |
1233 |
@@ -1,129 +0,0 @@ |
1234 |
-# Copyright 1999-2016 Gentoo Foundation |
1235 |
-# Distributed under the terms of the GNU General Public License v2 |
1236 |
- |
1237 |
-EAPI=5 |
1238 |
- |
1239 |
-inherit eutils cmake-utils gnome2-utils versionator fdo-mime java-pkg-2 pax-utils |
1240 |
- |
1241 |
-# TODO |
1242 |
-# * package gin and gwt |
1243 |
-# * use dict from tree, linguas |
1244 |
-# * do src_test (use junit from tree?) |
1245 |
- |
1246 |
-GWTVER=2.5.1 |
1247 |
-GINVER=1.5 |
1248 |
- |
1249 |
-DESCRIPTION="IDE for the R language" |
1250 |
-HOMEPAGE="http://www.rstudio.org" |
1251 |
-SRC_URI=" |
1252 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1253 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
1254 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
1255 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" |
1256 |
- |
1257 |
-LICENSE="AGPL-3" |
1258 |
-SLOT="0" |
1259 |
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
1260 |
-IUSE="" |
1261 |
- |
1262 |
-QTVER=4.8 |
1263 |
-QTSLOT=4 |
1264 |
-RDEPEND=" |
1265 |
- >=dev-lang/R-2.11.1 |
1266 |
- >=dev-libs/boost-1.50:= |
1267 |
- dev-libs/mathjax |
1268 |
- dev-libs/openssl:0 |
1269 |
- sys-libs/zlib |
1270 |
- >=virtual/jre-1.5:= |
1271 |
- x11-libs/pango |
1272 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
1273 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
1274 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
1275 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
1276 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT}" |
1277 |
-DEPEND="${RDEPEND} |
1278 |
- app-arch/unzip |
1279 |
- dev-java/ant-core |
1280 |
- >=virtual/jdk-1.5 |
1281 |
- virtual/pkgconfig" |
1282 |
-# test? ( dev-java/junit:4 ) |
1283 |
- |
1284 |
-src_unpack() { |
1285 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
1286 |
- cd "${S}" || die |
1287 |
- mkdir -p src/gwt/lib/{gin,gwt} dependencies/common/dictionaries || die |
1288 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
1289 |
- unzip -qd src/gwt/lib/gin/${GINVER} "${DISTDIR}"/gin-${GINVER}.zip || die |
1290 |
- unzip -qd dependencies/common/dictionaries "${DISTDIR}"/core-dictionaries.zip || die |
1291 |
-} |
1292 |
- |
1293 |
-src_prepare() { |
1294 |
- java-pkg-2_src_prepare |
1295 |
- |
1296 |
- egit_clean |
1297 |
- |
1298 |
- epatch \ |
1299 |
- "${FILESDIR}"/${P}-prefs.patch \ |
1300 |
- "${FILESDIR}"/${P}-paths.patch \ |
1301 |
- "${FILESDIR}"/${P}-linker_flags.patch |
1302 |
- |
1303 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
1304 |
- # this sed hack for now. ~RMH |
1305 |
- sed -i \ |
1306 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
1307 |
- src/cpp/server/ServerOptions.cpp \ |
1308 |
- src/cpp/session/SessionOptions.cpp || die |
1309 |
- |
1310 |
- # use mathjax from system |
1311 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
1312 |
- |
1313 |
- # make sure icons and mime stuff are with prefix |
1314 |
- sed -i \ |
1315 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
1316 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
1317 |
- |
1318 |
- # specify that namespace core the is in the global namespace and not |
1319 |
- # relative to some other namespace (like its ::core not ::boost::core) |
1320 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
1321 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
1322 |
-} |
1323 |
- |
1324 |
-src_configure() { |
1325 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
1326 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
1327 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
1328 |
- |
1329 |
- local mycmakeargs=( |
1330 |
- -DDISTRO_SHARE=share/${PN} |
1331 |
- -DRSTUDIO_INSTALL_FREEDESKTOP=ON |
1332 |
- -DRSTUDIO_TARGET=Desktop |
1333 |
- ) |
1334 |
- |
1335 |
- cmake-utils_src_configure |
1336 |
-} |
1337 |
- |
1338 |
-src_compile() { |
1339 |
- cmake-utils_src_compile |
1340 |
-} |
1341 |
- |
1342 |
-src_install() { |
1343 |
- cmake-utils_src_install |
1344 |
- pax-mark m "${ED}usr/bin/rstudio" |
1345 |
-} |
1346 |
- |
1347 |
-pkg_preinst() { |
1348 |
- gnome2_icon_savelist |
1349 |
- java-pkg-2_pkg_preinst |
1350 |
-} |
1351 |
- |
1352 |
-pkg_postinst() { |
1353 |
- fdo-mime_desktop_database_update |
1354 |
- fdo-mime_mime_database_update |
1355 |
- gnome2_icon_cache_update |
1356 |
-} |
1357 |
- |
1358 |
-pkg_postrm() { |
1359 |
- fdo-mime_desktop_database_update |
1360 |
- fdo-mime_mime_database_update |
1361 |
- gnome2_icon_cache_update |
1362 |
-} |
1363 |
|
1364 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.490.ebuild b/sci-mathematics/rstudio/rstudio-0.98.490.ebuild |
1365 |
deleted file mode 100644 |
1366 |
index 59f506a074b..00000000000 |
1367 |
--- a/sci-mathematics/rstudio/rstudio-0.98.490.ebuild |
1368 |
+++ /dev/null |
1369 |
@@ -1,142 +0,0 @@ |
1370 |
-# Copyright 1999-2016 Gentoo Foundation |
1371 |
-# Distributed under the terms of the GNU General Public License v2 |
1372 |
- |
1373 |
-EAPI=5 |
1374 |
- |
1375 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
1376 |
- |
1377 |
-# TODO |
1378 |
-# * package gin and gwt |
1379 |
-# * use dict from tree, linguas |
1380 |
-# * do src_test (use junit from tree?) |
1381 |
- |
1382 |
-GWTVER=2.5.1 |
1383 |
-GINVER=1.5 |
1384 |
- |
1385 |
-DESCRIPTION="IDE for the R language" |
1386 |
-HOMEPAGE="http://www.rstudio.org" |
1387 |
-SRC_URI=" |
1388 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1389 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
1390 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
1391 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip" |
1392 |
- |
1393 |
-LICENSE="AGPL-3" |
1394 |
-SLOT="0" |
1395 |
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" |
1396 |
-IUSE="dedicated server" |
1397 |
- |
1398 |
-QTVER=4.8 |
1399 |
-QTSLOT=4 |
1400 |
-RDEPEND=" |
1401 |
- >=dev-lang/R-2.11.1 |
1402 |
- >=dev-libs/boost-1.50:= |
1403 |
- dev-libs/mathjax |
1404 |
- dev-libs/openssl:0 |
1405 |
- sys-libs/zlib |
1406 |
- >=virtual/jre-1.5:= |
1407 |
- x11-libs/pango |
1408 |
- !dedicated? ( |
1409 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
1410 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
1411 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
1412 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
1413 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
1414 |
- server? ( virtual/pam ) |
1415 |
- ) |
1416 |
- dedicated? ( virtual/pam )" |
1417 |
-DEPEND="${RDEPEND} |
1418 |
- app-arch/unzip |
1419 |
- dev-java/ant-core |
1420 |
- >=virtual/jdk-1.5 |
1421 |
- virtual/pkgconfig" |
1422 |
-# test? ( dev-java/junit:4 ) |
1423 |
- |
1424 |
-src_unpack() { |
1425 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
1426 |
- cd "${S}" || die |
1427 |
- mkdir -p src/gwt/lib/{gin,gwt} dependencies/common/dictionaries || die |
1428 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
1429 |
- unzip -qd src/gwt/lib/gin/${GINVER} "${DISTDIR}"/gin-${GINVER}.zip || die |
1430 |
- unzip -qd dependencies/common/dictionaries "${DISTDIR}"/core-dictionaries.zip || die |
1431 |
-} |
1432 |
- |
1433 |
-src_prepare() { |
1434 |
- java-pkg-2_src_prepare |
1435 |
- |
1436 |
- egit_clean |
1437 |
- |
1438 |
- epatch \ |
1439 |
- "${FILESDIR}"/${P}-prefs.patch \ |
1440 |
- "${FILESDIR}"/${P}-paths.patch \ |
1441 |
- "${FILESDIR}"/${P}-linker_flags.patch |
1442 |
- |
1443 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
1444 |
- # this sed hack for now. ~RMH |
1445 |
- sed -i \ |
1446 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
1447 |
- src/cpp/server/ServerOptions.cpp \ |
1448 |
- src/cpp/session/SessionOptions.cpp || die |
1449 |
- |
1450 |
- # use mathjax from system |
1451 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
1452 |
- |
1453 |
- # make sure icons and mime stuff are with prefix |
1454 |
- sed -i \ |
1455 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
1456 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
1457 |
- |
1458 |
- # specify that namespace core the is in the global namespace and not |
1459 |
- # relative to some other namespace (like its ::core not ::boost::core) |
1460 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
1461 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
1462 |
-} |
1463 |
- |
1464 |
-src_configure() { |
1465 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
1466 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
1467 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
1468 |
- |
1469 |
- local mycmakeargs=( |
1470 |
- -DDISTRO_SHARE=share/${PN} |
1471 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
1472 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "Development" "Desktop")") |
1473 |
- ) |
1474 |
- |
1475 |
- cmake-utils_src_configure |
1476 |
-} |
1477 |
- |
1478 |
-src_compile() { |
1479 |
- cmake-utils_src_compile |
1480 |
-} |
1481 |
- |
1482 |
-src_install() { |
1483 |
- cmake-utils_src_install |
1484 |
- pax-mark m "${ED}usr/bin/rstudio" |
1485 |
- if use dedicated || use server; then |
1486 |
- dopamd src/cpp/server/extras/pam/rstudio |
1487 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
1488 |
- fi |
1489 |
-} |
1490 |
- |
1491 |
-pkg_preinst() { |
1492 |
- use dedicated || gnome2_icon_savelist |
1493 |
- java-pkg-2_pkg_preinst |
1494 |
-} |
1495 |
- |
1496 |
-pkg_postinst() { |
1497 |
- use dedicated || { fdo-mime_desktop_database_update |
1498 |
- fdo-mime_mime_database_update |
1499 |
- gnome2_icon_cache_update ;} |
1500 |
- |
1501 |
- if use dedicated || use server; then |
1502 |
- enewgroup rstudio-server |
1503 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
1504 |
- fi |
1505 |
-} |
1506 |
- |
1507 |
-pkg_postrm() { |
1508 |
- use dedicated || { fdo-mime_desktop_database_update |
1509 |
- fdo-mime_mime_database_update |
1510 |
- gnome2_icon_cache_update ;} |
1511 |
-} |
1512 |
|
1513 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.932.ebuild b/sci-mathematics/rstudio/rstudio-0.98.932.ebuild |
1514 |
deleted file mode 100644 |
1515 |
index f52c74fdfd9..00000000000 |
1516 |
--- a/sci-mathematics/rstudio/rstudio-0.98.932.ebuild |
1517 |
+++ /dev/null |
1518 |
@@ -1,173 +0,0 @@ |
1519 |
-# Copyright 1999-2016 Gentoo Foundation |
1520 |
-# Distributed under the terms of the GNU General Public License v2 |
1521 |
- |
1522 |
-EAPI=5 |
1523 |
- |
1524 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
1525 |
- |
1526 |
-# TODO |
1527 |
-# * package gin and gwt |
1528 |
-# * use dict from tree, linguas |
1529 |
-# * do src_test (use junit from tree?) |
1530 |
- |
1531 |
-GWTVER=2.6.0 |
1532 |
-GINVER=1.5 |
1533 |
-SELENIUMVER=2.37.0 |
1534 |
-CHROMEDRIVER_VER=2.7 |
1535 |
-PANDOC_VER=1.12.3 |
1536 |
-PACKRAT_VER=0.3.0 |
1537 |
-RMARKDOWN_VER=0.2.49 |
1538 |
- |
1539 |
-DESCRIPTION="IDE for the R language" |
1540 |
-HOMEPAGE="http://www.rstudio.org" |
1541 |
-SRC_URI=" |
1542 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1543 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
1544 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
1545 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip |
1546 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-server-standalone-${SELENIUMVER}.jar |
1547 |
- https://s3.amazonaws.com/rstudio-buildtools/chromedriver-linux |
1548 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip |
1549 |
- https://dev.gentoo.org/~hasufell/distfiles/packrat_${PACKRAT_VER}.tar.gz |
1550 |
- https://dev.gentoo.org/~hasufell/distfiles/rmarkdown_${RMARKDOWN_VER}.tar.gz" |
1551 |
- |
1552 |
-LICENSE="AGPL-3" |
1553 |
-SLOT="0" |
1554 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1555 |
-IUSE="dedicated server" |
1556 |
- |
1557 |
-QTVER=4.8 |
1558 |
-QTSLOT=4 |
1559 |
-RDEPEND=" |
1560 |
- app-text/pandoc |
1561 |
- dev-haskell/pandoc-citeproc |
1562 |
- >=dev-lang/R-2.11.1 |
1563 |
- >=dev-libs/boost-1.50:= |
1564 |
- dev-libs/mathjax |
1565 |
- dev-libs/openssl:0 |
1566 |
- sys-libs/zlib |
1567 |
- >=virtual/jre-1.5:= |
1568 |
- x11-libs/pango |
1569 |
- !dedicated? ( |
1570 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
1571 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
1572 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
1573 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
1574 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
1575 |
- server? ( virtual/pam ) |
1576 |
- ) |
1577 |
- dedicated? ( virtual/pam )" |
1578 |
-DEPEND="${RDEPEND} |
1579 |
- app-arch/unzip |
1580 |
- dev-java/ant-core |
1581 |
- >=virtual/jdk-1.5 |
1582 |
- virtual/pkgconfig" |
1583 |
-# test? ( dev-java/junit:4 ) |
1584 |
- |
1585 |
-src_unpack() { |
1586 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
1587 |
- cd "${S}" || die |
1588 |
- mkdir -p src/gwt/lib/{gin,gwt} \ |
1589 |
- dependencies/common/dictionaries \ |
1590 |
- src/gwt/lib/selenium/${SELENIUMVER} \ |
1591 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER} || die |
1592 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
1593 |
- unzip -qd src/gwt/lib/gin/${GINVER} \ |
1594 |
- "${DISTDIR}"/gin-${GINVER}.zip || die |
1595 |
- unzip -qd dependencies/common/dictionaries \ |
1596 |
- "${DISTDIR}"/core-dictionaries.zip || die |
1597 |
- unzip -qd src/gwt/lib/selenium/${SELENIUMVER} \ |
1598 |
- "${DISTDIR}"/selenium-java-${SELENIUMVER}.zip || die |
1599 |
- cp "${DISTDIR}"/selenium-server-standalone-${SELENIUMVER}.jar \ |
1600 |
- src/gwt/lib/selenium/${SELENIUMVER}/ || die |
1601 |
- cp "${DISTDIR}"/chromedriver-linux \ |
1602 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER}/ || die |
1603 |
- cd dependencies/common || die |
1604 |
- unpack packrat_${PACKRAT_VER}.tar.gz |
1605 |
- unpack rmarkdown_${RMARKDOWN_VER}.tar.gz |
1606 |
- cp "${DISTDIR}"/rmarkdown_${RMARKDOWN_VER}.tar.gz \ |
1607 |
- . || die |
1608 |
- cp "${DISTDIR}"/packrat_${PACKRAT_VER}.tar.gz \ |
1609 |
- . || die |
1610 |
-} |
1611 |
- |
1612 |
-src_prepare() { |
1613 |
- java-pkg-2_src_prepare |
1614 |
- |
1615 |
- egit_clean |
1616 |
- |
1617 |
- epatch \ |
1618 |
- "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ |
1619 |
- "${FILESDIR}"/${P}-paths.patch \ |
1620 |
- "${FILESDIR}"/${P}-pandoc.patch \ |
1621 |
- "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch |
1622 |
- |
1623 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
1624 |
- # this sed hack for now. ~RMH |
1625 |
- sed -i \ |
1626 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
1627 |
- src/cpp/server/ServerOptions.cpp \ |
1628 |
- src/cpp/session/SessionOptions.cpp || die |
1629 |
- |
1630 |
- # use mathjax from system |
1631 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
1632 |
- |
1633 |
- # make sure icons and mime stuff are with prefix |
1634 |
- sed -i \ |
1635 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
1636 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
1637 |
- |
1638 |
- # specify that namespace core the is in the global namespace and not |
1639 |
- # relative to some other namespace (like its ::core not ::boost::core) |
1640 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
1641 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
1642 |
-} |
1643 |
- |
1644 |
-src_configure() { |
1645 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
1646 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
1647 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
1648 |
- |
1649 |
- local mycmakeargs=( |
1650 |
- -DDISTRO_SHARE=share/${PN} |
1651 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
1652 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "Development" "Desktop")") |
1653 |
- ) |
1654 |
- |
1655 |
- cmake-utils_src_configure |
1656 |
-} |
1657 |
- |
1658 |
-src_compile() { |
1659 |
- cmake-utils_src_compile |
1660 |
-} |
1661 |
- |
1662 |
-src_install() { |
1663 |
- cmake-utils_src_install |
1664 |
- pax-mark m "${ED}usr/bin/rstudio" |
1665 |
- if use dedicated || use server; then |
1666 |
- dopamd src/cpp/server/extras/pam/rstudio |
1667 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
1668 |
- fi |
1669 |
-} |
1670 |
- |
1671 |
-pkg_preinst() { |
1672 |
- use dedicated || gnome2_icon_savelist |
1673 |
- java-pkg-2_pkg_preinst |
1674 |
-} |
1675 |
- |
1676 |
-pkg_postinst() { |
1677 |
- use dedicated || { fdo-mime_desktop_database_update |
1678 |
- fdo-mime_mime_database_update |
1679 |
- gnome2_icon_cache_update ;} |
1680 |
- |
1681 |
- if use dedicated || use server; then |
1682 |
- enewgroup rstudio-server |
1683 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
1684 |
- fi |
1685 |
-} |
1686 |
- |
1687 |
-pkg_postrm() { |
1688 |
- use dedicated || { fdo-mime_desktop_database_update |
1689 |
- fdo-mime_mime_database_update |
1690 |
- gnome2_icon_cache_update ;} |
1691 |
-} |
1692 |
|
1693 |
diff --git a/sci-mathematics/rstudio/rstudio-0.98.953.ebuild b/sci-mathematics/rstudio/rstudio-0.98.953.ebuild |
1694 |
deleted file mode 100644 |
1695 |
index 9b56c4790ed..00000000000 |
1696 |
--- a/sci-mathematics/rstudio/rstudio-0.98.953.ebuild |
1697 |
+++ /dev/null |
1698 |
@@ -1,174 +0,0 @@ |
1699 |
-# Copyright 1999-2016 Gentoo Foundation |
1700 |
-# Distributed under the terms of the GNU General Public License v2 |
1701 |
- |
1702 |
-EAPI=5 |
1703 |
- |
1704 |
-inherit eutils user cmake-utils gnome2-utils pam versionator fdo-mime java-pkg-2 pax-utils |
1705 |
- |
1706 |
-# TODO |
1707 |
-# * package gin and gwt |
1708 |
-# * use dict from tree, linguas |
1709 |
-# * do src_test (use junit from tree?) |
1710 |
- |
1711 |
-GWTVER=2.6.0 |
1712 |
-GINVER=1.5 |
1713 |
-SELENIUMVER=2.37.0 |
1714 |
-CHROMEDRIVER_VER=2.7 |
1715 |
-PANDOC_VER=1.12.3 |
1716 |
-PACKRAT_VER=0.3.0 |
1717 |
-RMARKDOWN_VER=0.2.49 |
1718 |
- |
1719 |
-DESCRIPTION="IDE for the R language" |
1720 |
-HOMEPAGE="http://www.rstudio.org" |
1721 |
-SRC_URI=" |
1722 |
- https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz |
1723 |
- https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip |
1724 |
- https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip |
1725 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip |
1726 |
- https://s3.amazonaws.com/rstudio-buildtools/selenium-server-standalone-${SELENIUMVER}.jar |
1727 |
- https://s3.amazonaws.com/rstudio-buildtools/chromedriver-linux |
1728 |
- https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip |
1729 |
- https://dev.gentoo.org/~hasufell/distfiles/packrat_${PACKRAT_VER}.tar.gz |
1730 |
- https://dev.gentoo.org/~hasufell/distfiles/rmarkdown_${RMARKDOWN_VER}.tar.gz" |
1731 |
- |
1732 |
-LICENSE="AGPL-3" |
1733 |
-SLOT="0" |
1734 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1735 |
-IUSE="dedicated server" |
1736 |
- |
1737 |
-QTVER=4.8 |
1738 |
-QTSLOT=4 |
1739 |
-RDEPEND=" |
1740 |
- app-text/pandoc |
1741 |
- dev-haskell/pandoc-citeproc |
1742 |
- >=dev-lang/R-2.11.1 |
1743 |
- >=dev-libs/boost-1.50:= |
1744 |
- dev-libs/mathjax |
1745 |
- dev-libs/openssl:0 |
1746 |
- sys-apps/util-linux |
1747 |
- sys-libs/zlib |
1748 |
- >=virtual/jre-1.5:= |
1749 |
- x11-libs/pango |
1750 |
- !dedicated? ( |
1751 |
- >=dev-qt/qtcore-${QTVER}:${QTSLOT} |
1752 |
- >=dev-qt/qtdbus-${QTVER}:${QTSLOT} |
1753 |
- >=dev-qt/qtgui-${QTVER}:${QTSLOT} |
1754 |
- >=dev-qt/qtwebkit-${QTVER}:${QTSLOT} |
1755 |
- >=dev-qt/qtxmlpatterns-${QTVER}:${QTSLOT} |
1756 |
- server? ( virtual/pam ) |
1757 |
- ) |
1758 |
- dedicated? ( virtual/pam )" |
1759 |
-DEPEND="${RDEPEND} |
1760 |
- app-arch/unzip |
1761 |
- dev-java/ant-core |
1762 |
- >=virtual/jdk-1.5 |
1763 |
- virtual/pkgconfig" |
1764 |
-# test? ( dev-java/junit:4 ) |
1765 |
- |
1766 |
-src_unpack() { |
1767 |
- unpack ${P}.tar.gz gwt-${GWTVER}.zip |
1768 |
- cd "${S}" || die |
1769 |
- mkdir -p src/gwt/lib/{gin,gwt} \ |
1770 |
- dependencies/common/dictionaries \ |
1771 |
- src/gwt/lib/selenium/${SELENIUMVER} \ |
1772 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER} || die |
1773 |
- mv ../gwt-${GWTVER} src/gwt/lib/gwt/${GWTVER} || die |
1774 |
- unzip -qd src/gwt/lib/gin/${GINVER} \ |
1775 |
- "${DISTDIR}"/gin-${GINVER}.zip || die |
1776 |
- unzip -qd dependencies/common/dictionaries \ |
1777 |
- "${DISTDIR}"/core-dictionaries.zip || die |
1778 |
- unzip -qd src/gwt/lib/selenium/${SELENIUMVER} \ |
1779 |
- "${DISTDIR}"/selenium-java-${SELENIUMVER}.zip || die |
1780 |
- cp "${DISTDIR}"/selenium-server-standalone-${SELENIUMVER}.jar \ |
1781 |
- src/gwt/lib/selenium/${SELENIUMVER}/ || die |
1782 |
- cp "${DISTDIR}"/chromedriver-linux \ |
1783 |
- src/gwt/lib/selenium/chromedriver/${CHROMEDRIVER_VER}/ || die |
1784 |
- cd dependencies/common || die |
1785 |
- unpack packrat_${PACKRAT_VER}.tar.gz |
1786 |
- unpack rmarkdown_${RMARKDOWN_VER}.tar.gz |
1787 |
- cp "${DISTDIR}"/rmarkdown_${RMARKDOWN_VER}.tar.gz \ |
1788 |
- . || die |
1789 |
- cp "${DISTDIR}"/packrat_${PACKRAT_VER}.tar.gz \ |
1790 |
- . || die |
1791 |
-} |
1792 |
- |
1793 |
-src_prepare() { |
1794 |
- java-pkg-2_src_prepare |
1795 |
- |
1796 |
- egit_clean |
1797 |
- |
1798 |
- epatch \ |
1799 |
- "${FILESDIR}"/${PN}-0.98.490-prefs.patch \ |
1800 |
- "${FILESDIR}"/${PN}-0.98.932-paths.patch \ |
1801 |
- "${FILESDIR}"/${PN}-0.98.932-pandoc.patch \ |
1802 |
- "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch |
1803 |
- |
1804 |
- # Adding -DDISTRO_SHARE=... to append-flags breaks cmake so using |
1805 |
- # this sed hack for now. ~RMH |
1806 |
- sed -i \ |
1807 |
- -e "s|DISTRO_SHARE|\"share/${PN}\"|g" \ |
1808 |
- src/cpp/server/ServerOptions.cpp \ |
1809 |
- src/cpp/session/SessionOptions.cpp || die |
1810 |
- |
1811 |
- # use mathjax from system |
1812 |
- ln -sf "${EPREFIX}"/usr/share/mathjax dependencies/common/mathjax || die |
1813 |
- |
1814 |
- # make sure icons and mime stuff are with prefix |
1815 |
- sed -i \ |
1816 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
1817 |
- CMakeGlobals.txt src/cpp/desktop/CMakeLists.txt || die |
1818 |
- |
1819 |
- # specify that namespace core the is in the global namespace and not |
1820 |
- # relative to some other namespace (like its ::core not ::boost::core) |
1821 |
- find . \( -name *.cpp -or -name *.hpp \) -exec sed \ |
1822 |
- -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \; |
1823 |
-} |
1824 |
- |
1825 |
-src_configure() { |
1826 |
- export RSTUDIO_VERSION_MAJOR=$(get_version_component_range 1) |
1827 |
- export RSTUDIO_VERSION_MINOR=$(get_version_component_range 2) |
1828 |
- export RSTUDIO_VERSION_PATCH=$(get_version_component_range 3) |
1829 |
- |
1830 |
- local mycmakeargs=( |
1831 |
- -DDISTRO_SHARE=share/${PN} |
1832 |
- $(cmake-utils_use !dedicated RSTUDIO_INSTALL_FREEDESKTOP) |
1833 |
- -DRSTUDIO_TARGET=$(usex dedicated "Server" "$(usex server "Development" "Desktop")") |
1834 |
- ) |
1835 |
- |
1836 |
- cmake-utils_src_configure |
1837 |
-} |
1838 |
- |
1839 |
-src_compile() { |
1840 |
- cmake-utils_src_compile |
1841 |
-} |
1842 |
- |
1843 |
-src_install() { |
1844 |
- cmake-utils_src_install |
1845 |
- pax-mark m "${ED}usr/bin/rstudio" |
1846 |
- if use dedicated || use server; then |
1847 |
- dopamd src/cpp/server/extras/pam/rstudio |
1848 |
- newinitd "${FILESDIR}"/rstudio-server.initd rstudio-server |
1849 |
- fi |
1850 |
-} |
1851 |
- |
1852 |
-pkg_preinst() { |
1853 |
- use dedicated || gnome2_icon_savelist |
1854 |
- java-pkg-2_pkg_preinst |
1855 |
-} |
1856 |
- |
1857 |
-pkg_postinst() { |
1858 |
- use dedicated || { fdo-mime_desktop_database_update |
1859 |
- fdo-mime_mime_database_update |
1860 |
- gnome2_icon_cache_update ;} |
1861 |
- |
1862 |
- if use dedicated || use server; then |
1863 |
- enewgroup rstudio-server |
1864 |
- enewuser rstudio-server -1 -1 -1 rstudio-server |
1865 |
- fi |
1866 |
-} |
1867 |
- |
1868 |
-pkg_postrm() { |
1869 |
- use dedicated || { fdo-mime_desktop_database_update |
1870 |
- fdo-mime_mime_database_update |
1871 |
- gnome2_icon_cache_update ;} |
1872 |
-} |