Accepting request 108029 from home:vuntz:branches:GNOME:Factory
Update to 1.31.20 OBS-URL: https://build.opensuse.org/request/show/108029 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=61
This commit is contained in:
parent
f08e709ff4
commit
4c684e1577
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ff1134bc4cf390ac86155bcd5fceebeb446817d4796edd3d20beb0b138110b60
|
|
||||||
size 455992
|
|
3
gjs-1.31.20.tar.xz
Normal file
3
gjs-1.31.20.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4601f1423dbc0326529cba95cd0475a32ca62ee3215812665cf58e32080a9d11
|
||||||
|
size 464588
|
21
gjs-fix-build.patch
Normal file
21
gjs-fix-build.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
commit 4eaaa63f4b325f2476f90de52fea44dccd3bbc76
|
||||||
|
Author: Vincent Untz <vuntz@gnome.org>
|
||||||
|
Date: Mon Mar 5 17:40:52 2012 +0100
|
||||||
|
|
||||||
|
object: Fix build
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=671390
|
||||||
|
|
||||||
|
diff --git a/gi/object.c b/gi/object.c
|
||||||
|
index 17c70b4..825c61f 100644
|
||||||
|
--- a/gi/object.c
|
||||||
|
+++ b/gi/object.c
|
||||||
|
@@ -1027,7 +1027,7 @@ object_instance_finalize(JSContext *context,
|
||||||
|
|
||||||
|
TRACE(GJS_OBJECT_PROXY_FINALIZE(priv, priv->gobj,
|
||||||
|
priv->info ? g_base_info_get_namespace ( (GIBaseInfo*) priv->info) : "",
|
||||||
|
- priv->info ? g_base_info_get_name ( (GIBaseInfo*) priv->info) ) : g_type_name(priv->gtype));
|
||||||
|
+ priv->info ? g_base_info_get_name ( (GIBaseInfo*) priv->info) : g_type_name(priv->gtype)));
|
||||||
|
|
||||||
|
if (priv->gobj) {
|
||||||
|
if (G_UNLIKELY (priv->gobj->ref_count <= 0)) {
|
17
gjs.changes
17
gjs.changes
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 5 15:44:07 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.31.20:
|
||||||
|
+ Represent GTypes as a new boxed wrapper type
|
||||||
|
+ Add "system" module
|
||||||
|
+ Introduce meta classes
|
||||||
|
+ object:
|
||||||
|
- Implement gobject inheritance
|
||||||
|
- Add support for glib properties
|
||||||
|
- Add support for signals
|
||||||
|
- Add support for interfaces
|
||||||
|
+ Support callbacks that accept array arguments
|
||||||
|
+ Various gjs_parse_args() improvements
|
||||||
|
+ Several other code changes.
|
||||||
|
- Add gjs-fix-build.patch: fix code that cannot build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 19 22:37:16 UTC 2012 - vuntz@opensuse.org
|
Thu Jan 19 22:37:16 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
6
gjs.spec
6
gjs.spec
@ -15,8 +15,9 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: gjs
|
Name: gjs
|
||||||
Version: 1.31.10
|
Version: 1.31.20
|
||||||
Release: 0
|
Release: 0
|
||||||
# FIXME: find out if tapsets should really be in devel package or in main package
|
# FIXME: find out if tapsets should really be in devel package or in main package
|
||||||
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
||||||
@ -24,6 +25,8 @@ License: MIT
|
|||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Url: http://live.gnome.org/Gjs
|
Url: http://live.gnome.org/Gjs
|
||||||
Source: http://download.gnome.org/sources/gjs/1.31/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gjs/1.31/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gjs-fix-build.patch bgo#671390 vuntz@opensuse.org -- Fix code that cannot build
|
||||||
|
Patch0: gjs-fix-build.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
@ -74,6 +77,7 @@ Mozilla SpiderMonkey JavaScript engine.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user