[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2019-02-23 Thread Mart Raudsepp
commit: 85a0746221ef8532e9cbabf21818656e1f09adf9
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Feb 23 20:30:52 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Feb 23 20:30:52 2019 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=85a07462

dev-libs/gjs-: sync in libffi subslot operator usage

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/gjs/gjs-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-.ebuild
index 37bc4cd9..fc34224a 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="
 
sys-libs/readline:0=
dev-lang/spidermonkey:52
-   virtual/libffi
+   virtual/libffi:=
cairo? ( x11-libs/cairo[X] )
gtk? ( >=x11-libs/gtk+-3.20:3 )
 "



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2019-02-23 Thread Mart Raudsepp
commit: 69f8ccdb24c19a6fc335a723abafa5e0349a82da
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Feb 23 20:30:05 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Feb 23 20:30:05 2019 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=69f8ccdb

dev-libs/gjs: remove non-live, available in ::gentoo

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/gjs/gjs-1.50.4.ebuild | 57 --
 1 file changed, 57 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.50.4.ebuild b/dev-libs/gjs/gjs-1.50.4.ebuild
deleted file mode 100644
index 44bd9b35..
--- a/dev-libs/gjs/gjs-1.50.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2018 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.53.4:=
-
-   sys-libs/readline:0=
-   dev-lang/spidermonkey:52
-   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 )
-"
-
-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"
-}



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2018-09-10 Thread Gilles Dartiguelongue
commit: f3b37ec99b666d2803b2574ab82f785a6094df74
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Mon Sep 10 09:11:21 2018 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Mon Sep 10 09:13:22 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=f3b37ec9

dev-libs/gjs: needs to be rebuilt on readline subslot changes

See gentoo repository commit 7febe5af2ca0cc6370bf47d5c0d3ff733603ed85.

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Manifest-Sign-Key: 0x5A56C8CD0C13248A

 dev-libs/gjs/gjs-1.50.4.ebuild | 2 +-
 dev-libs/gjs/gjs-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.50.4.ebuild b/dev-libs/gjs/gjs-1.50.4.ebuild
index e8b36619..44bd9b35 100644
--- a/dev-libs/gjs/gjs-1.50.4.ebuild
+++ b/dev-libs/gjs/gjs-1.50.4.ebuild
@@ -16,7 +16,7 @@ RDEPEND="
>=dev-libs/glib-2.52.1
>=dev-libs/gobject-introspection-1.53.4:=
 
-   sys-libs/readline:0
+   sys-libs/readline:0=
dev-lang/spidermonkey:52
virtual/libffi
cairo? ( x11-libs/cairo[X] )

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-.ebuild
index 23f95c28..37bc4cd9 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
>=dev-libs/glib-2.52.1
>=dev-libs/gobject-introspection-1.53.4.1:=
 
-   sys-libs/readline:0
+   sys-libs/readline:0=
dev-lang/spidermonkey:52
virtual/libffi
cairo? ( x11-libs/cairo[X] )



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2018-03-02 Thread Sobhan Mohammadpour
commit: c136fe6a7419993e0fd466de85c689a5d6d3459b
Author: Sobhan Mohammadpour  gentoo  org>
AuthorDate: Fri Mar  2 17:35:23 2018 +
Commit: Sobhan Mohammadpour  gentoo  org>
CommitDate: Fri Mar  2 17:35:23 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=c136fe6a

dev-libs/gjs: bump

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --force
Manifest-Sign-Key: 0x7DF238CF0AA182E1

 dev-libs/gjs/{gjs-1.50.2.ebuild => gjs-1.50.4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gjs/gjs-1.50.2.ebuild b/dev-libs/gjs/gjs-1.50.4.ebuild
similarity index 97%
rename from dev-libs/gjs/gjs-1.50.2.ebuild
rename to dev-libs/gjs/gjs-1.50.4.ebuild
index e2149936..8d7c2620 100644
--- a/dev-libs/gjs/gjs-1.50.2.ebuild
+++ b/dev-libs/gjs/gjs-1.50.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2017-12-20 Thread Sobhan Mohammadpour
commit: b38ddd4471b3849d7c67b7822c0cd8b9ac36264a
Author: Sobhan Mohammadpour  gentoo  org>
AuthorDate: Wed Dec 20 23:00:44 2017 +
Commit: Sobhan Mohammadpour  gentoo  org>
CommitDate: Wed Dec 20 23:00:44 2017 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=b38ddd44

dev-libs/gjs: Bump to 1.50.2

Package-Manager: Portage-2.3.18, Repoman-2.3.6
Manifest-Sign-Key: 0x7DF238CF0AA182E1

 dev-libs/gjs/gjs-1.50.2.ebuild | 62 ++
 1 file changed, 62 insertions(+)

diff --git a/dev-libs/gjs/gjs-1.50.2.ebuild b/dev-libs/gjs/gjs-1.50.2.ebuild
new file mode 100644
index ..e2149936
--- /dev/null
+++ b/dev-libs/gjs/gjs-1.50.2.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:52
+   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"
+}



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2015-06-09 Thread Gilles Dartiguelongue
commit: ca1be2806332e1512ee609be07e6b6c143febbd4
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Tue Jun  9 10:43:39 2015 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Tue Jun  9 13:48:42 2015 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=ca1be280

dev-libs/gjs: moved to gentoo-x86

 dev-libs/gjs/gjs-1.43.3.ebuild | 69 --
 1 file changed, 69 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.43.3.ebuild b/dev-libs/gjs/gjs-1.43.3.ebuild
deleted file mode 100644
index 6ba4ddb..000
--- a/dev-libs/gjs/gjs-1.43.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-GCONF_DEBUG=no
-
-inherit eutils 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 )
-
-
-src_prepare() {
-   # Disable broken unittests
-   epatch ${FILESDIR}/${PN}-1.43.3-disable-unittest-*.patch
-
-   gnome2_src_prepare
-}
-
-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)
-}
-
-src_test() {
-   Xemake check
-}
-
-src_install() {
-   # installation sometimes fails in parallel
-   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
-}



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/, dev-libs/gjs/files/

2015-05-10 Thread Gilles Dartiguelongue
commit: a0de9f2b43147040db95775dff754daaa608c84e
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Sun May 10 17:13:54 2015 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Sun May 10 17:19:46 2015 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=a0de9f2b

dev-libs/gjs: 1.42.0 → 1.43.3

 .../gjs/files/gjs-1.42.0-disable-unittest-1.patch  | 48 --
 ...2.patch = gjs-1.43.3-disable-unittest-1.patch} |  4 +-
 ...3.patch = gjs-1.43.3-disable-unittest-2.patch} |  4 +-
 .../gjs/{gjs-.ebuild = gjs-1.43.3.ebuild} | 22 +-
 dev-libs/gjs/gjs-.ebuild   |  2 +-
 5 files changed, 15 insertions(+), 65 deletions(-)

diff --git a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch 
b/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch
deleted file mode 100644
index 2ec481b..000
--- a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 554c220e78172213e9637f9a901009b4bc964e3a Mon Sep 17 00:00:00 2001
-From: Jasper St. Pierre jstpie...@mecheye.net
-Date: Wed, 15 Jan 2014 17:00:22 -0500
-Subject: [PATCH] gjs-tests: Remove dumpstack test
-
-OK, I lied. This is the most useless test ever.

- test/gjs-tests.cpp | 17 -
- 1 file changed, 17 deletions(-)
-
-diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
-index b79b616..6cade7b 100644
 a/test/gjs-tests.cpp
-+++ b/test/gjs-tests.cpp
-@@ -163,22 +163,6 @@ 
gjstest_test_func_gjs_jsapi_util_string_js_string_utf8(void)
- }
- 
- static void
--gjstest_test_func_gjs_stack_dump(void)
--{
--  GjsContext *context;
--
--  /* TODO this test could be better - maybe expose dumpstack as a JS API
--   * so that we have a JS stack to dump?  At least here we're getting some
--   * coverage.
--   */
--  context = gjs_context_new();
--
--  gjs_dumpstack();
--  g_object_unref(context);
--  gjs_dumpstack();
--}
--
--static void
- gjstest_test_func_gjs_jsapi_util_error_throw(void)
- {
- GjsUnitTestFixture fixture;
-@@ -348,7 +332,6 @@ main(intargc,
- 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(/gjs/stack/dump, gjstest_test_func_gjs_stack_dump);
- 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);
- 
--- 
-2.1.2
-

diff --git a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch 
b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
similarity index 96%
rename from dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch
rename to dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
index 2490a63..c6d740a 100644
--- a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch
+++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch
@@ -1,4 +1,4 @@
-From 4ea9fda3f323355d10e946d19d817fe8c4e6b533 Mon Sep 17 00:00:00 2001
+From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001
 From: Gilles Dartiguelongue e...@gentoo.org
 Date: Sun, 12 Oct 2014 21:57:11 +0200
 Subject: [PATCH 1/2] Comment broken unittests
@@ -36,5 +36,5 @@ index 6cade7b..4d6c61e 100644
  g_test_run();
  
 -- 
-2.1.2
+2.3.6
 

diff --git a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-3.patch 
b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
similarity index 93%
rename from dev-libs/gjs/files/gjs-1.42.0-disable-unittest-3.patch
rename to dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
index 7b2898b..fe21f92 100644
--- a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-3.patch
+++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch
@@ -1,4 +1,4 @@
-From da18a2676477138693e893d3245316f987d74497 Mon Sep 17 00:00:00 2001
+From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001
 From: Gilles Dartiguelongue e...@gentoo.org
 Date: Sun, 12 Oct 2014 21:57:45 +0200
 Subject: [PATCH 2/2] Comment broken JS unittest
@@ -31,5 +31,5 @@ index b086a66..0c5abb1 100644
  function testToLocaleLowerCase() {
  JSUnit.assertEquals(aaa, AAA.toLocaleLowerCase());
 -- 
-2.1.2
+2.3.6
 

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-1.43.3.ebuild
similarity index 80%
copy from dev-libs/gjs/gjs-.ebuild
copy to dev-libs/gjs/gjs-1.43.3.ebuild
index f73a8c3..6ba4ddb 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-1.43.3.ebuild
@@ -1,14 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=5
 GCONF_DEBUG=no
 
-inherit gnome2 pax-utils virtualx
-if [[ ${PV} =  ]]; then
-   

[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2014-12-21 Thread Gilles Dartiguelongue
commit: eea1bcd374173639460caf8bc6be670c4464a43b
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Sun Dec 21 12:35:31 2014 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Sun Dec 21 12:39:11 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=eea1bcd3

dev-libs/gjs: moved to gentoo-x86

---
 dev-libs/gjs/gjs-1.42.0.ebuild | 72 --
 1 file changed, 72 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.42.0.ebuild b/dev-libs/gjs/gjs-1.42.0.ebuild
deleted file mode 100644
index 9b5800a..000
--- a/dev-libs/gjs/gjs-1.42.0.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-GCONF_DEBUG=no
-
-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 )
-
-
-# Large amount of tests are broken even in master.
-#RESTRICT=test
-
-src_prepare() {
-   # Disable broken unittests
-   epatch ${FILESDIR}/${PN}-1.42.0-disable-unittest-*.patch
-
-   gnome2_src_prepare
-}
-
-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)
-}
-
-src_test() {
-   Xemake check
-}
-
-src_install() {
-   # installation sometimes fails in parallel
-   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
-}



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/files/, dev-libs/gjs/

2014-10-12 Thread Gilles Dartiguelongue
commit: e2fac57e27dd5c73f3442a0fd5f36f52192380b2
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Sun Oct 12 20:03:37 2014 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Sun Oct 12 23:18:59 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e2fac57e

dev-libs/gjs: add patches to disable broken unittests

---
 .../gjs/files/gjs-1.42.0-disable-unittest-1.patch  | 48 ++
 .../gjs/files/gjs-1.42.0-disable-unittest-2.patch  | 40 ++
 .../gjs/files/gjs-1.42.0-disable-unittest-3.patch  | 35 
 dev-libs/gjs/gjs-1.42.0.ebuild |  7 
 4 files changed, 130 insertions(+)

diff --git a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch 
b/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch
new file mode 100644
index 000..2ec481b
--- /dev/null
+++ b/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-1.patch
@@ -0,0 +1,48 @@
+From 554c220e78172213e9637f9a901009b4bc964e3a Mon Sep 17 00:00:00 2001
+From: Jasper St. Pierre jstpie...@mecheye.net
+Date: Wed, 15 Jan 2014 17:00:22 -0500
+Subject: [PATCH] gjs-tests: Remove dumpstack test
+
+OK, I lied. This is the most useless test ever.
+---
+ test/gjs-tests.cpp | 17 -
+ 1 file changed, 17 deletions(-)
+
+diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
+index b79b616..6cade7b 100644
+--- a/test/gjs-tests.cpp
 b/test/gjs-tests.cpp
+@@ -163,22 +163,6 @@ 
gjstest_test_func_gjs_jsapi_util_string_js_string_utf8(void)
+ }
+ 
+ static void
+-gjstest_test_func_gjs_stack_dump(void)
+-{
+-  GjsContext *context;
+-
+-  /* TODO this test could be better - maybe expose dumpstack as a JS API
+-   * so that we have a JS stack to dump?  At least here we're getting some
+-   * coverage.
+-   */
+-  context = gjs_context_new();
+-
+-  gjs_dumpstack();
+-  g_object_unref(context);
+-  gjs_dumpstack();
+-}
+-
+-static void
+ gjstest_test_func_gjs_jsapi_util_error_throw(void)
+ {
+ GjsUnitTestFixture fixture;
+@@ -348,7 +332,6 @@ main(intargc,
+ 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(/gjs/stack/dump, gjstest_test_func_gjs_stack_dump);
+ 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);
+ 
+-- 
+2.1.2
+

diff --git a/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch 
b/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch
new file mode 100644
index 000..2490a63
--- /dev/null
+++ b/dev-libs/gjs/files/gjs-1.42.0-disable-unittest-2.patch
@@ -0,0 +1,40 @@
+From 4ea9fda3f323355d10e946d19d817fe8c4e6b533 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue e...@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(intargc,
+ 
+ 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, 

[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2014-10-05 Thread Gilles Dartiguelongue
commit: c656bf66ac13bbe263c204f37ba5dd36e39ca628
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Sun Oct  5 21:12:38 2014 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Sun Oct  5 21:20:05 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=c656bf66

dev-libs/gjs: 1.40.1-r1 → 1.42.0

---
 dev-libs/gjs/{gjs-1.40.1.ebuild = gjs-1.42.0.ebuild} | 10 +-
 dev-libs/gjs/gjs-.ebuild  | 11 +++
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.40.1.ebuild b/dev-libs/gjs/gjs-1.42.0.ebuild
similarity index 89%
rename from dev-libs/gjs/gjs-1.40.1.ebuild
rename to dev-libs/gjs/gjs-1.42.0.ebuild
index a2b3e58..2438d07 100644
--- a/dev-libs/gjs/gjs-1.40.1.ebuild
+++ b/dev-libs/gjs/gjs-1.42.0.ebuild
@@ -8,7 +8,7 @@ GCONF_DEBUG=no
 inherit gnome2 pax-utils virtualx
 
 DESCRIPTION=Javascript bindings for GNOME
-HOMEPAGE=http://live.gnome.org/Gjs;
+HOMEPAGE=https://wiki.gnome.org/Projects/Gjs;
 
 LICENSE=MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )
 SLOT=0
@@ -17,12 +17,12 @@ KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86
 
 RDEPEND=
=dev-libs/glib-2.36:2
-   =dev-libs/gobject-introspection-1.39.3
+   =dev-libs/gobject-introspection-1.41.4
 
-   sys-libs/readline
+   sys-libs/readline:0
dev-lang/spidermonkey:24
virtual/libffi
-   cairo? ( x11-libs/cairo )
+   cairo? ( x11-libs/cairo[X] )
gtk? ( x11-libs/gtk+:3 )
 
 DEPEND=${RDEPEND}
@@ -33,7 +33,7 @@ DEPEND=${RDEPEND}
 
 
 # Large amount of tests are broken even in master.
-RESTRICT=test
+#RESTRICT=test
 
 src_configure() {
# FIXME: add systemtap/dtrace support, like in glib:2

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-.ebuild
index 6284717..f73a8c3 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} =  ]]; then
 fi
 
 DESCRIPTION=Javascript bindings for GNOME
-HOMEPAGE=http://live.gnome.org/Gjs;
+HOMEPAGE=https://wiki.gnome.org/Projects/Gjs;
 
 LICENSE=MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )
 SLOT=0
@@ -24,12 +24,12 @@ fi
 
 RDEPEND=
=dev-libs/glib-2.36:2
-   =dev-libs/gobject-introspection-1.39.3
+   =dev-libs/gobject-introspection-1.41.4
 
-   sys-libs/readline
+   sys-libs/readline:0
dev-lang/spidermonkey:24
virtual/libffi
-   cairo? ( x11-libs/cairo )
+   cairo? ( x11-libs/cairo[X] )
gtk? ( x11-libs/gtk+:3 )
 
 DEPEND=${RDEPEND}
@@ -38,6 +38,9 @@ DEPEND=${RDEPEND}
test? ( sys-apps/dbus )
 
 
+# Large amount of tests are broken even in master.
+#RESTRICT=test
+
 src_configure() {
# FIXME: add systemtap/dtrace support, like in glib:2
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2014-04-21 Thread Gilles Dartiguelongue
commit: 87f225d0ddae7e0010eeddde2c8e78ac974ff7bf
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Mon Apr 21 21:03:25 2014 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Mon Apr 21 21:11:01 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=87f225d0

dev-libs/gjs: 1.40.0 → 1.40.1

---
 dev-libs/gjs/{gjs-1.40.0.ebuild = gjs-1.40.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-libs/gjs/gjs-1.40.0.ebuild b/dev-libs/gjs/gjs-1.40.1.ebuild
similarity index 100%
rename from dev-libs/gjs/gjs-1.40.0.ebuild
rename to dev-libs/gjs/gjs-1.40.1.ebuild



[gentoo-commits] proj/gnome:master commit in: dev-libs/gjs/

2014-04-15 Thread Gilles Dartiguelongue
commit: 219120cf4476f46efbd0f7ca256811f1816fe548
Author: Gilles Dartiguelongue eva AT gentoo DOT org
AuthorDate: Sat Apr 12 22:11:22 2014 +
Commit: Gilles Dartiguelongue eva AT gentoo DOT org
CommitDate: Tue Apr 15 20:58:57 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=219120cf

dev-libs/gjs: 1.38.1 → 1.40.0

---
 .../gjs/{gjs-.ebuild = gjs-1.40.0.ebuild} | 23 +++---
 dev-libs/gjs/gjs-.ebuild   | 10 ++
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-1.40.0.ebuild
similarity index 77%
copy from dev-libs/gjs/gjs-.ebuild
copy to dev-libs/gjs/gjs-1.40.0.ebuild
index 105f53c..a2b3e58 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-1.40.0.ebuild
@@ -6,37 +6,35 @@ EAPI=5
 GCONF_DEBUG=no
 
 inherit gnome2 pax-utils virtualx
-if [[ ${PV} =  ]]; then
-   inherit gnome2-live
-fi
 
 DESCRIPTION=Javascript bindings for GNOME
 HOMEPAGE=http://live.gnome.org/Gjs;
 
 LICENSE=MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )
 SLOT=0
-IUSE=+cairo examples test
-if [[ ${PV} =  ]]; then
-   KEYWORDS=
-else
-   KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86
-fi
+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.38
+   =dev-libs/gobject-introspection-1.39.3
 
sys-libs/readline
-   dev-lang/spidermonkey:17
+   dev-lang/spidermonkey:24
virtual/libffi
cairo? ( x11-libs/cairo )
+   gtk? ( x11-libs/gtk+:3 )
 
 DEPEND=${RDEPEND}
+   gnome-base/gnome-common
sys-devel/gettext
virtual/pkgconfig
test? ( sys-apps/dbus )
 
 
+# Large amount of tests are broken even in master.
+RESTRICT=test
+
 src_configure() {
# FIXME: add systemtap/dtrace support, like in glib:2
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
@@ -45,7 +43,8 @@ src_configure() {
--disable-systemtap \
--disable-dtrace \
--disable-coverage \
-   $(use_with cairo cairo)
+   $(use_with cairo cairo) \
+   $(use_with gtk)
 }
 
 src_test() {

diff --git a/dev-libs/gjs/gjs-.ebuild b/dev-libs/gjs/gjs-.ebuild
index 105f53c..6284717 100644
--- a/dev-libs/gjs/gjs-.ebuild
+++ b/dev-libs/gjs/gjs-.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE=http://live.gnome.org/Gjs;
 
 LICENSE=MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )
 SLOT=0
-IUSE=+cairo examples test
+IUSE=+cairo examples gtk test
 if [[ ${PV} =  ]]; then
KEYWORDS=
 else
@@ -24,12 +24,13 @@ fi
 
 RDEPEND=
=dev-libs/glib-2.36:2
-   =dev-libs/gobject-introspection-1.38
+   =dev-libs/gobject-introspection-1.39.3
 
sys-libs/readline
-   dev-lang/spidermonkey:17
+   dev-lang/spidermonkey:24
virtual/libffi
cairo? ( x11-libs/cairo )
+   gtk? ( x11-libs/gtk+:3 )
 
 DEPEND=${RDEPEND}
sys-devel/gettext
@@ -45,7 +46,8 @@ src_configure() {
--disable-systemtap \
--disable-dtrace \
--disable-coverage \
-   $(use_with cairo cairo)
+   $(use_with cairo cairo) \
+   $(use_with gtk)
 }
 
 src_test() {