1 |
commit: e1c2137b100f2f69ede6d2820da45c262f7bbc8d |
2 |
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> |
3 |
AuthorDate: Thu May 27 13:13:46 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 27 13:13:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1c2137b |
7 |
|
8 |
app-editors/visual-studio-code-bin: move to ::gentoo as `app-editors/vscode` |
9 |
|
10 |
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> |
11 |
|
12 |
app-editors/visual-studio-code-bin/Manifest | 6 -- |
13 |
.../files/code-url-handler.desktop | 12 ---- |
14 |
.../visual-studio-code-bin/files/code.desktop | 18 ------ |
15 |
app-editors/visual-studio-code-bin/metadata.xml | 27 -------- |
16 |
.../visual-studio-code-bin-1.55.2.ebuild | 73 ---------------------- |
17 |
.../visual-studio-code-bin-1.56.2.ebuild | 73 ---------------------- |
18 |
profiles/repo_name | 2 +- |
19 |
7 files changed, 1 insertion(+), 210 deletions(-) |
20 |
|
21 |
diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest |
22 |
deleted file mode 100644 |
23 |
index 080471f3e..000000000 |
24 |
--- a/app-editors/visual-studio-code-bin/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1,6 +0,0 @@ |
27 |
-DIST visual-studio-code-bin-1.55.2-amd64.tar.gz 97507317 BLAKE2B b9278fe79e07a7884827a90c6d177819a8b81967cdfc1e9dc715c0d51a48e2c12980ebe994b64df125d33559a70beb38f6214c849a9204c82c75421438fbd70f SHA512 0f3727eb505b5ca2cdec8cc708ae88ba2028d068d7f69df35144b3c43dc8a1a5bbbd7471092cf8e2848018661496eb55442fb18e7e0595436f28502c94537556 |
28 |
-DIST visual-studio-code-bin-1.55.2-arm.tar.gz 88826643 BLAKE2B c128e483545bcd709783c3e5f323fe98d93f28a84d2eeb6651102fba91182264716208a23d284e4858d19f5c1602f40bffea60d2f4c6fb72aafaf5f44560ee8f SHA512 1fc03b563ec69d53429e4ae1d1c6dd60bf72c439c66c0300287c393acc224fd77f2a596fd90a23205007ba6e5bcea105009e971b19ad032db0ca66c45c171417 |
29 |
-DIST visual-studio-code-bin-1.55.2-arm64.tar.gz 102015928 BLAKE2B f55928101bf728071384747bdb70a82aad6e7bff9cf506d2284e48fac3e21acb64dbf34bdc9023dd4af82f0f53d51e2f0b985be9c76c7c10309673794d86430b SHA512 2e311c490fc01c9db00cc275d55f1f9c16a622259bd2f6e5e6a16c5bbfee7b06f01f35055eff97415f05c033112a0f3f48779c1d2c55a8685f00ad301da9bbaa |
30 |
-DIST visual-studio-code-bin-1.56.2-amd64.tar.gz 104824843 BLAKE2B 608cc74daad0534a91d3c6200827b82efa0c2a9634c3cd9f031d4744a35f25c5201a7310011d6dfe57f761845e79574d068678a4500650c47d8404d2bd810f4d SHA512 35ef320b92a66d05a8c2b61a81978d659245f37ef0b2f05002083386a265a232ed163dcc06ddee9bc2bc8f1205fa80e7841268bf66fdddcabe4a8ed35fb50a35 |
31 |
-DIST visual-studio-code-bin-1.56.2-arm.tar.gz 95395040 BLAKE2B e948f09a97a39f898276fe4bbc9f7f35fa96b833732a48058e402aaa0246790d79c5422f5e209c842b94c6c46d19b657cdeefa9caa1e255331f81e91e0760c69 SHA512 4486d030d2d611aa0d29a156ba5c2beb2bd0ab1950684c7bdea44460fb05f3a18b62419c346d99a84cd71bb595f7802dab10730b40600879e442ee3181129e6f |
32 |
-DIST visual-studio-code-bin-1.56.2-arm64.tar.gz 110174990 BLAKE2B 3b512136911b3ca431fbf71951655490c85f1c7cc707c6ddea3fd4d41b956fbf33dd8264e279d1d6e69564506aefcd9588397665133a3a34997d916605c9aa73 SHA512 bc3fb6b78e33286486411aa78b538693c371b309e86a84ee7361a2fd78d2d8e0dd4e9dd761f9278ced4e3a31a532e2534cdde001635935dfda92dfab85eb9e51 |
33 |
|
34 |
diff --git a/app-editors/visual-studio-code-bin/files/code-url-handler.desktop b/app-editors/visual-studio-code-bin/files/code-url-handler.desktop |
35 |
deleted file mode 100644 |
36 |
index 30ecb71dc..000000000 |
37 |
--- a/app-editors/visual-studio-code-bin/files/code-url-handler.desktop |
38 |
+++ /dev/null |
39 |
@@ -1,12 +0,0 @@ |
40 |
-[Desktop Entry] |
41 |
-Name=Visual Studio Code - URL Handler |
42 |
-Comment=Code Editing. Redefined. |
43 |
-GenericName=Text Editor |
44 |
-Exec=/usr/bin/code --no-sandbox --open-url %U |
45 |
-Icon=visual-studio-code |
46 |
-Type=Application |
47 |
-NoDisplay=true |
48 |
-StartupNotify=true |
49 |
-Categories=Utility;TextEditor;Development;IDE; |
50 |
-MimeType=x-scheme-handler/vscode; |
51 |
-Keywords=vscode; |
52 |
|
53 |
diff --git a/app-editors/visual-studio-code-bin/files/code.desktop b/app-editors/visual-studio-code-bin/files/code.desktop |
54 |
deleted file mode 100644 |
55 |
index 8d428b915..000000000 |
56 |
--- a/app-editors/visual-studio-code-bin/files/code.desktop |
57 |
+++ /dev/null |
58 |
@@ -1,18 +0,0 @@ |
59 |
-[Desktop Entry] |
60 |
-Name=Visual Studio Code |
61 |
-Comment=Code Editing. Redefined. |
62 |
-GenericName=Text Editor |
63 |
-Exec=/usr/bin/code --no-sandbox --unity-launch %F |
64 |
-Icon=visual-studio-code |
65 |
-Type=Application |
66 |
-StartupNotify=false |
67 |
-StartupWMClass=Code |
68 |
-Categories=Utility;TextEditor;Development;IDE; |
69 |
-MimeType=text/plain;inode/directory;application/x-code-workspace; |
70 |
-Actions=new-empty-window; |
71 |
-Keywords=vscode; |
72 |
- |
73 |
-[Desktop Action new-empty-window] |
74 |
-Name=New Empty Window |
75 |
-Exec=/usr/share/code/code --no-sandbox --new-window %F |
76 |
-Icon=com.visualstudio.code |
77 |
|
78 |
diff --git a/app-editors/visual-studio-code-bin/metadata.xml b/app-editors/visual-studio-code-bin/metadata.xml |
79 |
deleted file mode 100644 |
80 |
index 47fc4d3bf..000000000 |
81 |
--- a/app-editors/visual-studio-code-bin/metadata.xml |
82 |
+++ /dev/null |
83 |
@@ -1,27 +0,0 @@ |
84 |
-<?xml version="1.0" encoding="UTF-8"?> |
85 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
86 |
-<pkgmetadata> |
87 |
- <maintainer type="person"> |
88 |
- <email>onigino@××××××××××.com</email> |
89 |
- <name>Gino McCarty</name> |
90 |
- </maintainer> |
91 |
- <maintainer type="person"> |
92 |
- <email>rossbridger.cc@×××××.com</email> |
93 |
- <name>Ross Charles Campbell</name> |
94 |
- </maintainer> |
95 |
- <maintainer type="person"> |
96 |
- <email>adel.ks@×××××××××.com</email> |
97 |
- <name>Adel KARA SLIMANE</name> |
98 |
- </maintainer> |
99 |
- <longdescription> |
100 |
-Visual Studio Code is a lightweight but powerful source code editor which |
101 |
-runs on your desktop and is available for Windows, macOS and Linux. It |
102 |
-comes with built-in support for JavaScript, TypeScript and Node.js and has |
103 |
-a rich ecosystem of extensions for other languages (such as C++, C#, Java, |
104 |
-Python, PHP, Go) and runtimes (such as .NET and Unity). |
105 |
- </longdescription> |
106 |
- <upstream> |
107 |
- <remote-id type="github">microsoft/vscode</remote-id> |
108 |
- <bugs-to>https://github.com/microsoft/vscode/issues</bugs-to> |
109 |
- </upstream> |
110 |
-</pkgmetadata> |
111 |
|
112 |
diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild |
113 |
deleted file mode 100644 |
114 |
index 753167b06..000000000 |
115 |
--- a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,73 +0,0 @@ |
118 |
-# Copyright 1999-2021 Gentoo Authors |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=7 |
122 |
- |
123 |
-inherit desktop pax-utils xdg |
124 |
- |
125 |
-DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" |
126 |
-HOMEPAGE="https://code.visualstudio.com" |
127 |
-SRC_URI=" |
128 |
- amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) |
129 |
- arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) |
130 |
- arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )" |
131 |
- |
132 |
-RESTRICT="mirror strip bindist" |
133 |
- |
134 |
-LICENSE="MIT Microsoft-VSCode" |
135 |
-SLOT="0" |
136 |
-KEYWORDS="-* ~amd64 ~arm ~arm64" |
137 |
-IUSE="" |
138 |
- |
139 |
-RDEPEND=" |
140 |
- app-accessibility/at-spi2-atk |
141 |
- app-crypt/libsecret[crypt] |
142 |
- dev-libs/nss |
143 |
- media-libs/alsa-lib |
144 |
- media-libs/libpng:0/16 |
145 |
- x11-libs/cairo |
146 |
- x11-libs/gtk+:3 |
147 |
- x11-libs/libnotify |
148 |
- x11-libs/libxkbcommon |
149 |
- x11-libs/libxkbfile |
150 |
- x11-libs/libXScrnSaver |
151 |
- x11-libs/libXtst |
152 |
- x11-libs/pango |
153 |
-" |
154 |
- |
155 |
-QA_PRESTRIPPED="*" |
156 |
- |
157 |
-QA_PREBUILT="*" |
158 |
- |
159 |
-pkg_setup() { |
160 |
- if use amd64; then |
161 |
- S="${WORKDIR}/VSCode-linux-x64" |
162 |
- elif use arm; then |
163 |
- S="${WORKDIR}/VSCode-linux-armhf" |
164 |
- elif use arm64; then |
165 |
- S="${WORKDIR}/VSCode-linux-arm64" |
166 |
- else |
167 |
- die "Visual Studio Code only supports amd64, arm and arm64" |
168 |
- fi |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- pax-mark m code |
173 |
- insinto "/opt/${PN}" |
174 |
- doins -r * |
175 |
- fperms +x /opt/${PN}/{,bin/}code |
176 |
- fperms +x /opt/${PN}/chrome-sandbox |
177 |
- fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
178 |
- fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
179 |
- dosym "../../opt/${PN}/bin/code" "usr/bin/code" |
180 |
- domenu "${FILESDIR}/code.desktop" |
181 |
- domenu "${FILESDIR}/code-url-handler.desktop" |
182 |
- dodoc "resources/app/LICENSE.rtf" |
183 |
- newicon "resources/app/resources/linux/code.png" "visual-studio-code.png" |
184 |
-} |
185 |
- |
186 |
-pkg_postinst() { |
187 |
- xdg_pkg_postinst |
188 |
- elog "You may want to install some additional utils, check in:" |
189 |
- elog "https://code.visualstudio.com/Docs/setup#_additional-tools" |
190 |
-} |
191 |
|
192 |
diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild |
193 |
deleted file mode 100644 |
194 |
index 753167b06..000000000 |
195 |
--- a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild |
196 |
+++ /dev/null |
197 |
@@ -1,73 +0,0 @@ |
198 |
-# Copyright 1999-2021 Gentoo Authors |
199 |
-# Distributed under the terms of the GNU General Public License v2 |
200 |
- |
201 |
-EAPI=7 |
202 |
- |
203 |
-inherit desktop pax-utils xdg |
204 |
- |
205 |
-DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" |
206 |
-HOMEPAGE="https://code.visualstudio.com" |
207 |
-SRC_URI=" |
208 |
- amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) |
209 |
- arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) |
210 |
- arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )" |
211 |
- |
212 |
-RESTRICT="mirror strip bindist" |
213 |
- |
214 |
-LICENSE="MIT Microsoft-VSCode" |
215 |
-SLOT="0" |
216 |
-KEYWORDS="-* ~amd64 ~arm ~arm64" |
217 |
-IUSE="" |
218 |
- |
219 |
-RDEPEND=" |
220 |
- app-accessibility/at-spi2-atk |
221 |
- app-crypt/libsecret[crypt] |
222 |
- dev-libs/nss |
223 |
- media-libs/alsa-lib |
224 |
- media-libs/libpng:0/16 |
225 |
- x11-libs/cairo |
226 |
- x11-libs/gtk+:3 |
227 |
- x11-libs/libnotify |
228 |
- x11-libs/libxkbcommon |
229 |
- x11-libs/libxkbfile |
230 |
- x11-libs/libXScrnSaver |
231 |
- x11-libs/libXtst |
232 |
- x11-libs/pango |
233 |
-" |
234 |
- |
235 |
-QA_PRESTRIPPED="*" |
236 |
- |
237 |
-QA_PREBUILT="*" |
238 |
- |
239 |
-pkg_setup() { |
240 |
- if use amd64; then |
241 |
- S="${WORKDIR}/VSCode-linux-x64" |
242 |
- elif use arm; then |
243 |
- S="${WORKDIR}/VSCode-linux-armhf" |
244 |
- elif use arm64; then |
245 |
- S="${WORKDIR}/VSCode-linux-arm64" |
246 |
- else |
247 |
- die "Visual Studio Code only supports amd64, arm and arm64" |
248 |
- fi |
249 |
-} |
250 |
- |
251 |
-src_install() { |
252 |
- pax-mark m code |
253 |
- insinto "/opt/${PN}" |
254 |
- doins -r * |
255 |
- fperms +x /opt/${PN}/{,bin/}code |
256 |
- fperms +x /opt/${PN}/chrome-sandbox |
257 |
- fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
258 |
- fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
259 |
- dosym "../../opt/${PN}/bin/code" "usr/bin/code" |
260 |
- domenu "${FILESDIR}/code.desktop" |
261 |
- domenu "${FILESDIR}/code-url-handler.desktop" |
262 |
- dodoc "resources/app/LICENSE.rtf" |
263 |
- newicon "resources/app/resources/linux/code.png" "visual-studio-code.png" |
264 |
-} |
265 |
- |
266 |
-pkg_postinst() { |
267 |
- xdg_pkg_postinst |
268 |
- elog "You may want to install some additional utils, check in:" |
269 |
- elog "https://code.visualstudio.com/Docs/setup#_additional-tools" |
270 |
-} |
271 |
|
272 |
diff --git a/profiles/repo_name b/profiles/repo_name |
273 |
index 83855914b..674167d5f 100644 |
274 |
--- a/profiles/repo_name |
275 |
+++ b/profiles/repo_name |
276 |
@@ -1 +1 @@ |
277 |
-guru |
278 |
+guru-dev |