Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gjs/files/, dev-libs/gjs/
Date: Wed, 01 May 2019 22:44:41
Message-Id: 1556750548.74882270217cd46412f7c00d1cf7bde46d26d441.leio@gentoo
1 commit: 74882270217cd46412f7c00d1cf7bde46d26d441
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 1 08:08:15 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed May 1 22:42:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74882270
7
8 dev-libs/gjs: remove old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/gjs/Manifest | 1 -
14 .../gjs/files/gjs-1.43.3-disable-unittest-1.patch | 40 -------------
15 .../gjs/files/gjs-1.43.3-disable-unittest-2.patch | 35 ------------
16 dev-libs/gjs/gjs-1.46.0.ebuild | 66 ----------------------
17 4 files changed, 142 deletions(-)
18
19 diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
20 index 1d2a8e38de9..74251b92231 100644
21 --- a/dev-libs/gjs/Manifest
22 +++ b/dev-libs/gjs/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST gjs-1.46.0.tar.xz 490812 BLAKE2B d7b71d6c611404d9313cdd19959e2a0cb7f035bbd2528db77ccb0030e685019b756216bfbc64885b3641c14cab2f29110492c87047c3ceb1a627765857b19a95 SHA512 14af40668e95d269ac87556c75cf45680c41bc8246f04c46726d34bd80e9344045c0a510567f156c2c25c1f10dd474dc38bd50581d1b2e5abe0daa0cf570e2bc
25 DIST gjs-1.48.7.tar.xz 595324 BLAKE2B eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909 SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd
26 DIST gjs-1.54.3.tar.xz 647704 BLAKE2B 792225afd9828755ef67b3e7221d4c53535d79d879e0aef0c7c56f06e02313a966776b5dddf9876649984a1599eb44a27d6288f9216bb929a66ad9e14cb632e5 SHA512 f19e667963fa3feecd23a9e4cc263a55d9d1311de7d10905969966f74e26ff982839c192c555cbc059e4fd65ff7c89d18944ca6bf8ffbb65ec91081036d19505
27
28 diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
29 deleted file mode 100644
30 index c6d740ad553..00000000000
31 --- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
32 +++ /dev/null
33 @@ -1,40 +0,0 @@
34 -From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001
35 -From: Gilles Dartiguelongue <eva@g.o>
36 -Date: Sun, 12 Oct 2014 21:57:11 +0200
37 -Subject: [PATCH 1/2] Comment broken unittests
38 -
39 ----
40 - test/gjs-tests.cpp | 10 +++++-----
41 - 1 file changed, 5 insertions(+), 5 deletions(-)
42 -
43 -diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
44 -index 6cade7b..4d6c61e 100644
45 ---- a/test/gjs-tests.cpp
46 -+++ b/test/gjs-tests.cpp
47 -@@ -324,18 +324,18 @@ main(int argc,
48 -
49 - g_test_init(&argc, &argv, NULL);
50 -
51 -- g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy);
52 -+ /* g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); */
53 - g_test_add_func("/gjs/context/construct/eval", gjstest_test_func_gjs_context_construct_eval);
54 -- g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array);
55 -- g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw);
56 -- g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8);
57 -+ /* g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); */
58 -+ /* g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); */
59 -+ /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */
60 - g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang);
61 - g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang);
62 - g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang);
63 - g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null);
64 - g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers);
65 -
66 -- gjs_test_add_tests_for_coverage ();
67 -+ /* gjs_test_add_tests_for_coverage (); */
68 -
69 - g_test_run();
70 -
71 ---
72 -2.3.6
73 -
74
75 diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
76 deleted file mode 100644
77 index fe21f92dfc2..00000000000
78 --- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
79 +++ /dev/null
80 @@ -1,35 +0,0 @@
81 -From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001
82 -From: Gilles Dartiguelongue <eva@g.o>
83 -Date: Sun, 12 Oct 2014 21:57:45 +0200
84 -Subject: [PATCH 2/2] Comment broken JS unittest
85 -
86 ----
87 - installed-tests/js/testLocale.js | 8 ++++----
88 - 1 file changed, 4 insertions(+), 4 deletions(-)
89 -
90 -diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js
91 -index b086a66..0c5abb1 100644
92 ---- a/installed-tests/js/testLocale.js
93 -+++ b/installed-tests/js/testLocale.js
94 -@@ -1,14 +1,14 @@
95 - // tests for JS_SetLocaleCallbacks().
96 - const JSUnit = imports.jsUnit;
97 -
98 --function testToLocaleDateString() {
99 -- let date = new Date();
100 -+//function testToLocaleDateString() {
101 -+ //let date = new Date();
102 - // %A is the weekday name, this tests locale_to_unicode
103 - // we're basically just testing for a non-crash, since
104 - // we'd have to run in a specific locale to have any
105 - // idea about the result.
106 -- date.toLocaleDateString("%A");
107 --}
108 -+ //date.toLocaleDateString("%A");
109 -+//}
110 -
111 - function testToLocaleLowerCase() {
112 - JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase());
113 ---
114 -2.3.6
115 -
116
117 diff --git a/dev-libs/gjs/gjs-1.46.0.ebuild b/dev-libs/gjs/gjs-1.46.0.ebuild
118 deleted file mode 100644
119 index a0935c8510f..00000000000
120 --- a/dev-libs/gjs/gjs-1.46.0.ebuild
121 +++ /dev/null
122 @@ -1,66 +0,0 @@
123 -# Copyright 1999-2018 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -inherit gnome2 pax-utils virtualx
128 -
129 -DESCRIPTION="Javascript bindings for GNOME"
130 -HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
131 -
132 -LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
133 -SLOT="0"
134 -IUSE="+cairo examples gtk test"
135 -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
136 -
137 -RDEPEND="
138 - >=dev-libs/glib-2.36:2
139 - >=dev-libs/gobject-introspection-1.41.4:=
140 -
141 - sys-libs/readline:0
142 - dev-lang/spidermonkey:24
143 - virtual/libffi:=
144 - cairo? ( x11-libs/cairo[X] )
145 - gtk? ( x11-libs/gtk+:3 )
146 -"
147 -DEPEND="${RDEPEND}
148 - gnome-base/gnome-common
149 - sys-devel/gettext
150 - virtual/pkgconfig
151 - test? ( sys-apps/dbus )
152 -"
153 -
154 -PATCHES=(
155 - # Disable broken unittests, upstream bug #????
156 - "${FILESDIR}"/${PN}-1.43.3-disable-unittest-{1,2}.patch
157 -)
158 -
159 -src_configure() {
160 - # FIXME: add systemtap/dtrace support, like in glib:2
161 - # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
162 - # XXX: Do NOT enable coverage, completely useless for portage installs
163 - gnome2_src_configure \
164 - --disable-systemtap \
165 - --disable-dtrace \
166 - --disable-coverage \
167 - $(use_with cairo cairo) \
168 - $(use_with gtk) \
169 - $(use_with test dbus-tests) \
170 - $(use_with test xvfb-tests)
171 -}
172 -
173 -src_test() {
174 - virtx emake check
175 -}
176 -
177 -src_install() {
178 - # installation sometimes fails in parallel, bug #???
179 - gnome2_src_install -j1
180 -
181 - if use examples; then
182 - insinto /usr/share/doc/"${PF}"/examples
183 - doins "${S}"/examples/*
184 - fi
185 -
186 - # Required for gjs-console to run correctly on PaX systems
187 - pax-mark mr "${ED}/usr/bin/gjs-console"
188 -}