commit:     74882270217cd46412f7c00d1cf7bde46d26d441
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed May  1 08:08:15 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed May  1 22:42:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74882270

dev-libs/gjs: remove old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 dev-libs/gjs/Manifest                              |  1 -
 .../gjs/files/gjs-1.43.3-disable-unittest-1.patch  | 40 -------------
 .../gjs/files/gjs-1.43.3-disable-unittest-2.patch  | 35 ------------
 dev-libs/gjs/gjs-1.46.0.ebuild                     | 66 ----------------------
 4 files changed, 142 deletions(-)

diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
index 1d2a8e38de9..74251b92231 100644
--- a/dev-libs/gjs/Manifest
+++ b/dev-libs/gjs/Manifest
@@ -1,3 +1,2 @@
-DIST gjs-1.46.0.tar.xz 490812 BLAKE2B 
d7b71d6c611404d9313cdd19959e2a0cb7f035bbd2528db77ccb0030e685019b756216bfbc64885b3641c14cab2f29110492c87047c3ceb1a627765857b19a95
 SHA512 
14af40668e95d269ac87556c75cf45680c41bc8246f04c46726d34bd80e9344045c0a510567f156c2c25c1f10dd474dc38bd50581d1b2e5abe0daa0cf570e2bc
 DIST gjs-1.48.7.tar.xz 595324 BLAKE2B 
eac8b5b2f7e909e94e3fb305cac443da3f433047ee07fa8fbd15905890f77d57449c8689867df61f1ac849b8b4bddc089a9b1ddc3aa79d4b3d054226c58fa909
 SHA512 
b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd
 DIST gjs-1.54.3.tar.xz 647704 BLAKE2B 
792225afd9828755ef67b3e7221d4c53535d79d879e0aef0c7c56f06e02313a966776b5dddf9876649984a1599eb44a27d6288f9216bb929a66ad9e14cb632e5
 SHA512 
f19e667963fa3feecd23a9e4cc263a55d9d1311de7d10905969966f74e26ff982839c192c555cbc059e4fd65ff7c89d18944ca6bf8ffbb65ec91081036d19505

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
deleted file mode 100644
index c6d740ad553..00000000000
--- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <[email protected]>
-Date: Sun, 12 Oct 2014 21:57:11 +0200
-Subject: [PATCH 1/2] Comment broken unittests
-
----
- test/gjs-tests.cpp | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
-index 6cade7b..4d6c61e 100644
---- a/test/gjs-tests.cpp
-+++ b/test/gjs-tests.cpp
-@@ -324,18 +324,18 @@ main(int    argc,
- 
-     g_test_init(&argc, &argv, NULL);
- 
--    g_test_add_func("/gjs/context/construct/destroy", 
gjstest_test_func_gjs_context_construct_destroy);
-+    /* g_test_add_func("/gjs/context/construct/destroy", 
gjstest_test_func_gjs_context_construct_destroy); */
-     g_test_add_func("/gjs/context/construct/eval", 
gjstest_test_func_gjs_context_construct_eval);
--    g_test_add_func("/gjs/jsapi/util/array", 
gjstest_test_func_gjs_jsapi_util_array);
--    g_test_add_func("/gjs/jsapi/util/error/throw", 
gjstest_test_func_gjs_jsapi_util_error_throw);
--    g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", 
gjstest_test_func_gjs_jsapi_util_string_js_string_utf8);
-+    /* g_test_add_func("/gjs/jsapi/util/array", 
gjstest_test_func_gjs_jsapi_util_array); */
-+    /* g_test_add_func("/gjs/jsapi/util/error/throw", 
gjstest_test_func_gjs_jsapi_util_error_throw); */
-+    /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", 
gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */
-     g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", 
gjstest_test_strip_shebang_no_advance_for_no_shebang);
-     g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", 
gjstest_test_strip_shebang_advance_for_shebang);
-     g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", 
gjstest_test_strip_shebang_return_null_for_just_shebang);
-     g_test_add_func("/util/glib/strv/concat/null", 
gjstest_test_func_util_glib_strv_concat_null);
-     g_test_add_func("/util/glib/strv/concat/pointers", 
gjstest_test_func_util_glib_strv_concat_pointers);
- 
--    gjs_test_add_tests_for_coverage ();
-+    /* gjs_test_add_tests_for_coverage (); */
- 
-     g_test_run();
- 
--- 
-2.3.6
-

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
deleted file mode 100644
index fe21f92dfc2..00000000000
--- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <[email protected]>
-Date: Sun, 12 Oct 2014 21:57:45 +0200
-Subject: [PATCH 2/2] Comment broken JS unittest
-
----
- installed-tests/js/testLocale.js | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/installed-tests/js/testLocale.js 
b/installed-tests/js/testLocale.js
-index b086a66..0c5abb1 100644
---- a/installed-tests/js/testLocale.js
-+++ b/installed-tests/js/testLocale.js
-@@ -1,14 +1,14 @@
- // tests for JS_SetLocaleCallbacks().
- const JSUnit = imports.jsUnit;
- 
--function testToLocaleDateString() {
--    let date = new Date();
-+//function testToLocaleDateString() {
-+    //let date = new Date();
-     // %A is the weekday name, this tests locale_to_unicode
-     // we're basically just testing for a non-crash, since
-     // we'd have to run in a specific locale to have any
-     // idea about the result.
--    date.toLocaleDateString("%A");
--}
-+    //date.toLocaleDateString("%A");
-+//}
- 
- function testToLocaleLowerCase() {
-     JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase());
--- 
-2.3.6
-

diff --git a/dev-libs/gjs/gjs-1.46.0.ebuild b/dev-libs/gjs/gjs-1.46.0.ebuild
deleted file mode 100644
index a0935c8510f..00000000000
--- a/dev-libs/gjs/gjs-1.46.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome2 pax-utils virtualx
-
-DESCRIPTION="Javascript bindings for GNOME"
-HOMEPAGE="https://wiki.gnome.org/Projects/Gjs";
-
-LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
-SLOT="0"
-IUSE="+cairo examples gtk test"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
-
-RDEPEND="
-       >=dev-libs/glib-2.36:2
-       >=dev-libs/gobject-introspection-1.41.4:=
-
-       sys-libs/readline:0
-       dev-lang/spidermonkey:24
-       virtual/libffi:=
-       cairo? ( x11-libs/cairo[X] )
-       gtk? ( x11-libs/gtk+:3 )
-"
-DEPEND="${RDEPEND}
-       gnome-base/gnome-common
-       sys-devel/gettext
-       virtual/pkgconfig
-       test? ( sys-apps/dbus )
-"
-
-PATCHES=(
-       # Disable broken unittests, upstream bug #????
-       "${FILESDIR}"/${PN}-1.43.3-disable-unittest-{1,2}.patch
-)
-
-src_configure() {
-       # FIXME: add systemtap/dtrace support, like in glib:2
-       # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
-       # XXX: Do NOT enable coverage, completely useless for portage installs
-       gnome2_src_configure \
-               --disable-systemtap \
-               --disable-dtrace \
-               --disable-coverage \
-               $(use_with cairo cairo) \
-               $(use_with gtk) \
-               $(use_with test dbus-tests) \
-               $(use_with test xvfb-tests)
-}
-
-src_test() {
-       virtx emake check
-}
-
-src_install() {
-       # installation sometimes fails in parallel, bug #???
-       gnome2_src_install -j1
-
-       if use examples; then
-               insinto /usr/share/doc/"${PF}"/examples
-               doins "${S}"/examples/*
-       fi
-
-       # Required for gjs-console to run correctly on PaX systems
-       pax-mark mr "${ED}/usr/bin/gjs-console"
-}

Reply via email to