Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cjs/, gnome-extra/cjs/files/
Date: Sat, 26 May 2018 11:32:41
Message-Id: 1527334278.0b3d20f023835f5c1f7c97a27c1e54c7bc5fefc6.leio@gentoo
1 commit: 0b3d20f023835f5c1f7c97a27c1e54c7bc5fefc6
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 11:24:05 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 11:31:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3d20f0
7
8 gnome-extra/cjs: remove old
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11
12 gnome-extra/cjs/Manifest | 3 -
13 gnome-extra/cjs/cjs-3.0.1.ebuild | 71 ----------------------
14 gnome-extra/cjs/cjs-3.4.1.ebuild | 67 --------------------
15 gnome-extra/cjs/cjs-3.4.4.ebuild | 67 --------------------
16 .../cjs/files/cjs-2.4.0-disable-unittest-1.patch | 48 ---------------
17 .../cjs/files/cjs-2.4.0-disable-unittest-2.patch | 40 ------------
18 .../cjs/files/cjs-2.4.0-disable-unittest-3.patch | 35 -----------
19 7 files changed, 331 deletions(-)
20
21 diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest
22 index 19cc1a015ba..c20b7157e77 100644
23 --- a/gnome-extra/cjs/Manifest
24 +++ b/gnome-extra/cjs/Manifest
25 @@ -1,4 +1 @@
26 -DIST cjs-3.0.1.tar.gz 325349 BLAKE2B 084713cb4b8b32fdcc21284af798016e6ad58bdb06b3960913c1721807d89bf55ff90e1a523fbc5cc9d456a176365770d5c75d3c25fddd38abc383f9bb9dcb3f SHA512 3980e60ca005e616be264ec5bf6cb920452eec538da266dc0645ec1c340506b864886007b371b96830efa379e8ed9dd9127dc205b45e004705fd5c181d82e538
27 -DIST cjs-3.4.1.tar.gz 425003 BLAKE2B 6910c6658ffeaf88e671a6fa6863aa7edc48c6f053170ca735faf4ce843146e3a2d593c37828a81e33a5ec332bdbf47167b5346e5aa06f4003993efd9e2e6b3f SHA512 aab752aa03862979374bfe883d62968efab6b9137914b7ab9fcca2025bab6a6ae536db59aaee6deeeba06d2ff8c433d7f769ae0a4c0e2542e7c9a58f723d8690
28 -DIST cjs-3.4.4.tar.gz 426665 BLAKE2B 18e232b446945ae296d1dcf4b4624ff10b733f023da99315ba9aeee72228e115a634eb7a31a7c6192c3d1bfb8af1cd89488a9e7fe81edfa3a729bd62061e3581 SHA512 318a1beef6f6a827266170f0c5c1cfaa8bf48908f96e0ce625aee20ddcd648ea967f09f465ed504f21f923830017d3c4a01f62bab26a1cb84181a96131058d33
29 DIST cjs-3.6.1.tar.gz 426279 BLAKE2B b9d99e06b580b81178d0b4e2e3d854769357f28277500aed9f5bc2672f26ec72f584576c53d7aa6069737ae81bd0b1bf05d56d39c947de1206c506d72c8da075 SHA512 648997c76acb11885a53a73aa456989784fe5f5a12e0f349bce658c1eb3e3ce2b5c576ace488962c9b012fc85c2c3dd828f61f857cc9da7b60ee5fcdd7d25155
30
31 diff --git a/gnome-extra/cjs/cjs-3.0.1.ebuild b/gnome-extra/cjs/cjs-3.0.1.ebuild
32 deleted file mode 100644
33 index b56d402ca7a..00000000000
34 --- a/gnome-extra/cjs/cjs-3.0.1.ebuild
35 +++ /dev/null
36 @@ -1,71 +0,0 @@
37 -# Copyright 1999-2016 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -inherit autotools gnome2 pax-utils virtualx
42 -
43 -DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
44 -HOMEPAGE="http://cinnamon.linuxmint.com/"
45 -SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
48 -SLOT="0"
49 -IUSE="+cairo examples gtk test"
50 -KEYWORDS="amd64 x86"
51 -
52 -RDEPEND="
53 - dev-lang/spidermonkey:24
54 - >=dev-libs/glib-2.37.3:2
55 - >=dev-libs/gobject-introspection-1.38:=
56 - sys-libs/readline:0
57 - virtual/libffi
58 - cairo? ( x11-libs/cairo[X,glib] )
59 - gtk? ( x11-libs/gtk+:3 )
60 -"
61 -DEPEND="${RDEPEND}
62 - gnome-base/gnome-common
63 - sys-devel/gettext
64 - virtual/pkgconfig
65 - test? ( sys-apps/dbus )
66 -"
67 -# Cinnamon 2.2 does not work with this release.
68 -RDEPEND="${RDEPEND}
69 - !<gnome-extra/cinnamon-2.4
70 -"
71 -
72 -src_prepare() {
73 - # Disable broken unittests
74 - eapply "${FILESDIR}"/${PN}-2.4.0-disable-unittest-*.patch
75 -
76 - eautoreconf
77 - gnome2_src_prepare
78 -}
79 -
80 -src_configure() {
81 - # FIXME: add systemtap/dtrace support, like in glib:2
82 - # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
83 - # XXX: Do NOT enable coverage, completely useless for portage installs
84 - gnome2_src_configure \
85 - --disable-systemtap \
86 - --disable-dtrace \
87 - --disable-coverage \
88 - $(use_with cairo) \
89 - $(use_with gtk)
90 -}
91 -
92 -src_test() {
93 - virtx emake check
94 -}
95 -
96 -src_install() {
97 - # installation sometimes fails in parallel
98 - gnome2_src_install -j1
99 -
100 - if use examples; then
101 - insinto /usr/share/doc/"${PF}"/examples
102 - doins "${S}"/examples/*
103 - fi
104 -
105 - # Required for cjs-console to run correctly on PaX systems
106 - pax-mark mr "${ED}/usr/bin/cjs-console"
107 -}
108
109 diff --git a/gnome-extra/cjs/cjs-3.4.1.ebuild b/gnome-extra/cjs/cjs-3.4.1.ebuild
110 deleted file mode 100644
111 index 23afc9055f7..00000000000
112 --- a/gnome-extra/cjs/cjs-3.4.1.ebuild
113 +++ /dev/null
114 @@ -1,67 +0,0 @@
115 -# Copyright 1999-2017 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=6
119 -inherit autotools gnome2 pax-utils virtualx
120 -
121 -DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
122 -HOMEPAGE="http://cinnamon.linuxmint.com/"
123 -SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
126 -SLOT="0"
127 -IUSE="+cairo examples gtk test"
128 -KEYWORDS="~amd64 ~x86"
129 -
130 -RDEPEND="
131 - dev-lang/spidermonkey:38
132 - >=dev-libs/glib-2.37.3:2
133 - >=dev-libs/gobject-introspection-1.38:=
134 - sys-libs/readline:0
135 - virtual/libffi
136 - cairo? ( x11-libs/cairo[X,glib] )
137 - gtk? ( x11-libs/gtk+:3 )
138 -"
139 -DEPEND="${RDEPEND}
140 - gnome-base/gnome-common
141 - sys-devel/gettext
142 - virtual/pkgconfig
143 - test? ( sys-apps/dbus )
144 - sys-devel/autoconf-archive
145 -"
146 -# Cinnamon 2.2 does not work with this release.
147 -RDEPEND="${RDEPEND}
148 - !<gnome-extra/cinnamon-2.4
149 -"
150 -
151 -src_prepare() {
152 - eautoreconf
153 - gnome2_src_prepare
154 -}
155 -
156 -src_configure() {
157 - # FIXME: add systemtap/dtrace support, like in glib:2
158 - # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
159 - gnome2_src_configure \
160 - --disable-systemtap \
161 - --disable-dtrace \
162 - $(use_with cairo) \
163 - $(use_with gtk)
164 -}
165 -
166 -src_test() {
167 - virtx emake check
168 -}
169 -
170 -src_install() {
171 - # installation sometimes fails in parallel
172 - gnome2_src_install -j1
173 -
174 - if use examples; then
175 - insinto /usr/share/doc/"${PF}"/examples
176 - doins "${S}"/examples/*
177 - fi
178 -
179 - # Required for cjs-console to run correctly on PaX systems
180 - pax-mark mr "${ED}/usr/bin/cjs-console"
181 -}
182
183 diff --git a/gnome-extra/cjs/cjs-3.4.4.ebuild b/gnome-extra/cjs/cjs-3.4.4.ebuild
184 deleted file mode 100644
185 index 23afc9055f7..00000000000
186 --- a/gnome-extra/cjs/cjs-3.4.4.ebuild
187 +++ /dev/null
188 @@ -1,67 +0,0 @@
189 -# Copyright 1999-2017 Gentoo Foundation
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=6
193 -inherit autotools gnome2 pax-utils virtualx
194 -
195 -DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
196 -HOMEPAGE="http://cinnamon.linuxmint.com/"
197 -SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz"
198 -
199 -LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
200 -SLOT="0"
201 -IUSE="+cairo examples gtk test"
202 -KEYWORDS="~amd64 ~x86"
203 -
204 -RDEPEND="
205 - dev-lang/spidermonkey:38
206 - >=dev-libs/glib-2.37.3:2
207 - >=dev-libs/gobject-introspection-1.38:=
208 - sys-libs/readline:0
209 - virtual/libffi
210 - cairo? ( x11-libs/cairo[X,glib] )
211 - gtk? ( x11-libs/gtk+:3 )
212 -"
213 -DEPEND="${RDEPEND}
214 - gnome-base/gnome-common
215 - sys-devel/gettext
216 - virtual/pkgconfig
217 - test? ( sys-apps/dbus )
218 - sys-devel/autoconf-archive
219 -"
220 -# Cinnamon 2.2 does not work with this release.
221 -RDEPEND="${RDEPEND}
222 - !<gnome-extra/cinnamon-2.4
223 -"
224 -
225 -src_prepare() {
226 - eautoreconf
227 - gnome2_src_prepare
228 -}
229 -
230 -src_configure() {
231 - # FIXME: add systemtap/dtrace support, like in glib:2
232 - # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
233 - gnome2_src_configure \
234 - --disable-systemtap \
235 - --disable-dtrace \
236 - $(use_with cairo) \
237 - $(use_with gtk)
238 -}
239 -
240 -src_test() {
241 - virtx emake check
242 -}
243 -
244 -src_install() {
245 - # installation sometimes fails in parallel
246 - gnome2_src_install -j1
247 -
248 - if use examples; then
249 - insinto /usr/share/doc/"${PF}"/examples
250 - doins "${S}"/examples/*
251 - fi
252 -
253 - # Required for cjs-console to run correctly on PaX systems
254 - pax-mark mr "${ED}/usr/bin/cjs-console"
255 -}
256
257 diff --git a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-1.patch b/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-1.patch
258 deleted file mode 100644
259 index 5afd8929369..00000000000
260 --- a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-1.patch
261 +++ /dev/null
262 @@ -1,48 +0,0 @@
263 -From 554c220e78172213e9637f9a901009b4bc964e3a Mon Sep 17 00:00:00 2001
264 -From: "Jasper St. Pierre" <jstpierre@×××××××.net>
265 -Date: Wed, 15 Jan 2014 17:00:22 -0500
266 -Subject: [PATCH] gjs-tests: Remove dumpstack test
267 -
268 -OK, I lied. This is the most useless test ever.
269 ----
270 - test/gjs-tests.cpp | 17 -----------------
271 - 1 file changed, 17 deletions(-)
272 -
273 -diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
274 -index b79b616..6cade7b 100644
275 ---- a/test/gs-tests.cpp
276 -+++ b/test/gjs-tests.cpp
277 -@@ -163,22 +163,6 @@ gjstest_test_func_gjs_jsapi_util_string_js_string_utf8(void)
278 - }
279 -
280 - static void
281 --gjstest_test_func_gjs_stack_dump(void)
282 --{
283 -- GjsContext *context;
284 --
285 -- /* TODO this test could be better - maybe expose dumpstack as a JS API
286 -- * so that we have a JS stack to dump? At least here we're getting some
287 -- * coverage.
288 -- */
289 -- context = gjs_context_new();
290 --
291 -- gjs_dumpstack();
292 -- g_object_unref(context);
293 -- gjs_dumpstack();
294 --}
295 --
296 --static void
297 - gjstest_test_func_gjs_jsapi_util_error_throw(void)
298 - {
299 - GjsUnitTestFixture fixture;
300 -@@ -348,7 +332,6 @@ main(int argc,
301 - g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang);
302 - g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang);
303 - g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang);
304 -- g_test_add_func("/gjs/stack/dump", gjstest_test_func_gjs_stack_dump);
305 - g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null);
306 - g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers);
307 -
308 ---
309 -2.1.2
310 -
311
312 diff --git a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-2.patch b/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-2.patch
313 deleted file mode 100644
314 index 2490a63fea9..00000000000
315 --- a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-2.patch
316 +++ /dev/null
317 @@ -1,40 +0,0 @@
318 -From 4ea9fda3f323355d10e946d19d817fe8c4e6b533 Mon Sep 17 00:00:00 2001
319 -From: Gilles Dartiguelongue <eva@g.o>
320 -Date: Sun, 12 Oct 2014 21:57:11 +0200
321 -Subject: [PATCH 1/2] Comment broken unittests
322 -
323 ----
324 - test/gjs-tests.cpp | 10 +++++-----
325 - 1 file changed, 5 insertions(+), 5 deletions(-)
326 -
327 -diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
328 -index 6cade7b..4d6c61e 100644
329 ---- a/test/gjs-tests.cpp
330 -+++ b/test/gjs-tests.cpp
331 -@@ -324,18 +324,18 @@ main(int argc,
332 -
333 - g_test_init(&argc, &argv, NULL);
334 -
335 -- g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy);
336 -+ /* g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); */
337 - g_test_add_func("/gjs/context/construct/eval", gjstest_test_func_gjs_context_construct_eval);
338 -- g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array);
339 -- g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw);
340 -- g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8);
341 -+ /* g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); */
342 -+ /* g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); */
343 -+ /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */
344 - g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang);
345 - g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang);
346 - g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang);
347 - g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null);
348 - g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers);
349 -
350 -- gjs_test_add_tests_for_coverage ();
351 -+ /* gjs_test_add_tests_for_coverage (); */
352 -
353 - g_test_run();
354 -
355 ---
356 -2.1.2
357 -
358
359 diff --git a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-3.patch b/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-3.patch
360 deleted file mode 100644
361 index 7b2898b75cf..00000000000
362 --- a/gnome-extra/cjs/files/cjs-2.4.0-disable-unittest-3.patch
363 +++ /dev/null
364 @@ -1,35 +0,0 @@
365 -From da18a2676477138693e893d3245316f987d74497 Mon Sep 17 00:00:00 2001
366 -From: Gilles Dartiguelongue <eva@g.o>
367 -Date: Sun, 12 Oct 2014 21:57:45 +0200
368 -Subject: [PATCH 2/2] Comment broken JS unittest
369 -
370 ----
371 - installed-tests/js/testLocale.js | 8 ++++----
372 - 1 file changed, 4 insertions(+), 4 deletions(-)
373 -
374 -diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js
375 -index b086a66..0c5abb1 100644
376 ---- a/installed-tests/js/testLocale.js
377 -+++ b/installed-tests/js/testLocale.js
378 -@@ -1,14 +1,14 @@
379 - // tests for JS_SetLocaleCallbacks().
380 - const JSUnit = imports.jsUnit;
381 -
382 --function testToLocaleDateString() {
383 -- let date = new Date();
384 -+//function testToLocaleDateString() {
385 -+ //let date = new Date();
386 - // %A is the weekday name, this tests locale_to_unicode
387 - // we're basically just testing for a non-crash, since
388 - // we'd have to run in a specific locale to have any
389 - // idea about the result.
390 -- date.toLocaleDateString("%A");
391 --}
392 -+ //date.toLocaleDateString("%A");
393 -+//}
394 -
395 - function testToLocaleLowerCase() {
396 - JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase());
397 ---
398 -2.1.2
399 -