diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/gjs |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/gjs')
-rw-r--r-- | dev-libs/gjs/Manifest | 12 | ||||
-rw-r--r-- | dev-libs/gjs/files/1.48.6-disable-unittest.patch | 24 | ||||
-rw-r--r-- | dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch | 40 | ||||
-rw-r--r-- | dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch | 35 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.46.0.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.48.6.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.48.7.ebuild | 62 | ||||
-rw-r--r-- | dev-libs/gjs/metadata.xml | 8 |
8 files changed, 313 insertions, 0 deletions
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest new file mode 100644 index 000000000000..519574252051 --- /dev/null +++ b/dev-libs/gjs/Manifest @@ -0,0 +1,12 @@ +AUX 1.48.6-disable-unittest.patch 854 SHA256 42381c5f8bd1d7ed46512c8611be404557bf927aa5e43ec2191354211c73a1b7 SHA512 d905f40bec47f6c643307dee88c95eb22e995b191caceb5c1faa0b6eecdb7b3d4c79c96ee54917aae26cba75d59880bd71a3728ce468c6caa824e677edaa36b0 WHIRLPOOL e81f5870bb7607bc88a80a8ffa2c4134634b4452a9be26d8e16c3656fa41b08b5e393236ddf013abedcce541399435b03eee5213fe9dc79e82a40f2a4930e077 +AUX gjs-1.43.3-disable-unittest-1.patch 2128 SHA256 30be307e5939ad2b313642224e08164d01e32adb4d164a9940a185bd18e17732 SHA512 6fd3134bb5c19c46ee2b1f0d87e8644bc5c7a92e32fd62963fe6051ca49f20affde5f6cfbc134aaea0b7b6a5b9833e946796c689e7ebec56951b805b96cc56f2 WHIRLPOOL 3490dc9618f6268d53f9fb3af29a257c84ebc19cd42f0095f1bcb47683dd2e12b9bbafad887491383bd155946c5a11eb76648820552586ae07f95ddae005bfff +AUX gjs-1.43.3-disable-unittest-2.patch 1119 SHA256 d64b41557f09f3860581b1a6a25284afddf7e68710337261c95b562935444e93 SHA512 a6f8df3c3454a635852b83ad1c3733182f2e7a28874476d1c28fb2edf8a8c0bcd7fece723c2baa43141c0ac252c2450a6b57e73821a991cb0ddd5a49aca62251 WHIRLPOOL 16825454922571202985ead62873067c2aefa729ea9cdcbfb1b5ff41eef43ca73c5073cf6f4e64b54cbb67a9a01f1ddcd407da8844608a67e6732af5b4f9a615 +DIST gjs-1.46.0.tar.xz 490812 SHA256 2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4 SHA512 14af40668e95d269ac87556c75cf45680c41bc8246f04c46726d34bd80e9344045c0a510567f156c2c25c1f10dd474dc38bd50581d1b2e5abe0daa0cf570e2bc WHIRLPOOL 4aaf910c344d7df028a52e43b60b49e4fb0aefd92968e068d0effc4817b0f6b3d388c8287c6f7e3f85bc92c9e5605c03ff4743677ebc95dcd383d5a84d06f4fa +DIST gjs-1.48.6.tar.xz 596964 SHA256 e85f65ba4b38bf80b6174949dfe6fce89e88b8213bbdde4ac1fde473c08bd312 SHA512 29d70bbee722bbb58eb95acf1409d5e34930d11ebd9525f3b7d0050a13b72eb50e357df7c2bb9bc2ba147dcfdbc2dfb1f1f7b710347473d05cd484006b6ea256 WHIRLPOOL e18a79c04b2b49f250d378bbaf43aa461b8673a819ca1fb2ba02c5b0985fec4555e700c07213654eba57e390856b4951ad158ff669f12e24b6325f5ca7f681b6 +DIST gjs-1.48.7.tar.xz 595324 SHA256 09dbf6e1a7f821df7c50098acc4489cfb4e943ec12f10258bb42b1a71061c36e SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd WHIRLPOOL 4b34be1fb60d46ecb57e5d990c0b863d24ff829d2240e5d032ad74669ff11bd59cfc7a43607ad68ff1de814b668e46b65cd64f55871cff8d90845f68167dc441 +EBUILD gjs-1.46.0.ebuild 1559 SHA256 bead9ee5deb1fb824b65c90040fd2a004acb1dd4f486da2e8299edf12f7af487 SHA512 083fd06684cd111f77b35f251c9d1418614550947366e838408daa2f214204d530273a2954304f6e3aba092c8160dec9ae581d7422f033cbf3aaaf72ec99ccae WHIRLPOOL c581f22d4cf152555d781940cffe1c34354ad726cc38e475cd4c3031f5c71031b98a56265106b074c9e129b3cd2243c8d8eee5dd86a3b05fa41a86af365eeee4 +EBUILD gjs-1.48.6.ebuild 1587 SHA256 64981b2ab768a26bfc52b46f0b4774830fb59321793804675896d2629077deb7 SHA512 1ebb3aa24c7164d00f0179f3ec361642ea2b58b080366e018b374eced5680af0b829be8d9d266677b3a8c32557cba8d9c8a97e933142a0933b54d5ff7a29810f WHIRLPOOL c8f063f534070626d23b5a67b70312ee6dada2ef6d2f8115ed48b3f6e9df310e740a0d6678ca6a4a62f3bdf00f636ce60e8104ae22b0e387219aa3d505459b00 +EBUILD gjs-1.48.7.ebuild 1556 SHA256 1c51de546f74840f53effbc7fa672674ab2ba58071655c4a21e5aa96f73ea217 SHA512 ed7eacb397017e527378e22efc7d6573baaadda4176a6e660f1715c2e9887686c9e9400bab29a5537e6f29487718ee6049aed1ea9fcd9174c8efb693a955aa18 WHIRLPOOL d5f3434f8d00cf4b71a61ee5de555e220708301728eb3b102d15ac21c972fd4537d4b352db02700e10ee74c87537821d8363ebacd1955334c14a80f93f0f6758 +MISC ChangeLog 6842 SHA256 2479b06773e23b863c1a0af896920b51ce5a449e32195630a2aeb79a1d605ffd SHA512 ddbe59282ba59b0928b32c072f0a5a60dd70d0b0bf8971733e05acae1b9720aec286ed1780fdbe57a9fdb4001321421b4a955d4ccee4295e7400b804fb0f3e20 WHIRLPOOL 0ebc85d65818e2a9a34ad67a5211aa109b1e672ca6a28030e4b0b70ddfa54f89460281af33d1b3151b7c1ae02850bfb740f1009abdffaff90b26692443a3163a +MISC ChangeLog-2015 9258 SHA256 857e7939a8f8063ba33349d442a456697b84a8e90a585653c3dabb7e40240b15 SHA512 480ef94cc3160f6f9b3a4fb2c109e45a1c5fc841caa070295811f0d8f6210ece139f9f81b5e048c84a9a29c7125794ff6c4ce843dd79e674b3de7131b6f4e3b3 WHIRLPOOL e0232e2b2d984272d4b7631bce3f522271635f3e761d17aaba1885e3cc483b0a6a2517059a4926046f16b5db7ffac07d33dd2e75166941bd58e2bb64ac391e83 +MISC metadata.xml 259 SHA256 6d16d32cce05219baff0d7aef9baf4f8f4622ba77a55e9bc5ae9b074ae8d4600 SHA512 fbef629394690b3a5608abc6344816f6acf1e8e2663f29949fd14a662c628f16fee77a1ec1641066806d143fb94c1571bc5b46b829dc53620af6956377fe15cc WHIRLPOOL dd2c856848fdc98df5a4ffca31b95078656373a87ccf2e44be410e7139f2980f3ebb0ae951e2e92fc46ce8e3a3ecefec169c3a15bbcceba69c1bd8224a8dd271 diff --git a/dev-libs/gjs/files/1.48.6-disable-unittest.patch b/dev-libs/gjs/files/1.48.6-disable-unittest.patch new file mode 100644 index 000000000000..3925fed0140d --- /dev/null +++ b/dev-libs/gjs/files/1.48.6-disable-unittest.patch @@ -0,0 +1,24 @@ +commit e9b7360c9a057c4a6718c9561e5cb6dcee279ec2 +Author: Timo Tambet <ttambet@gmail.com> +Date: Sat Apr 22 22:32:36 2017 +0300 + + Comment out broken JS unittest + +diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js +index edd8a6e..0b0847a 100644 +--- a/installed-tests/js/testLocale.js ++++ b/installed-tests/js/testLocale.js +@@ -4,11 +4,12 @@ describe('JS_SetLocaleCallbacks', function () { + }); + + // Requesting the weekday name tests locale_to_unicode ++ /* + it('toLocaleDateString() works', function () { + let date = new Date('12/15/1981'); + let datestr = date.toLocaleDateString('pt-BR', { weekday: 'long' }); + expect(datestr).toEqual('terça-feira'); +- }); ++ });*/ + + it('toLocaleLowerCase() works', function () { + expect('AAA'.toLocaleLowerCase()).toEqual('aaa'); 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 new file mode 100644 index 000000000000..c6d740ad5537 --- /dev/null +++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch @@ -0,0 +1,40 @@ +From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +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 new file mode 100644 index 000000000000..fe21f92dfc2b --- /dev/null +++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch @@ -0,0 +1,35 @@ +From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +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 new file mode 100644 index 000000000000..a93e55bea193 --- /dev/null +++ b/dev-libs/gjs/gjs-1.46.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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" +} diff --git a/dev-libs/gjs/gjs-1.48.6.ebuild b/dev-libs/gjs/gjs-1.48.6.ebuild new file mode 100644 index 000000000000..782d4047a2a2 --- /dev/null +++ b/dev-libs/gjs/gjs-1.48.6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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.52.1 + >=dev-libs/gobject-introspection-1.52.1:= + + sys-libs/readline:0 + dev-lang/spidermonkey:38 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +PATCHES=( + # Disable unittest failing without pt_BR locale, upstream bug #???? + "${FILESDIR}"/${PV}-disable-unittest.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-code-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" +} diff --git a/dev-libs/gjs/gjs-1.48.7.ebuild b/dev-libs/gjs/gjs-1.48.7.ebuild new file mode 100644 index 000000000000..a1e72ae1d191 --- /dev/null +++ b/dev-libs/gjs/gjs-1.48.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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.52.1 + >=dev-libs/gobject-introspection-1.52.1:= + + sys-libs/readline:0 + dev-lang/spidermonkey:38 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +#PATCHES=( + # Disable unittest failing without pt_BR locale, upstream bug #???? +# "${FILESDIR}"/1.48.6-disable-unittest.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-code-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-tests) +} + +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" +} diff --git a/dev-libs/gjs/metadata.xml b/dev-libs/gjs/metadata.xml new file mode 100644 index 000000000000..4cbddcaa19ad --- /dev/null +++ b/dev-libs/gjs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +</pkgmetadata> |