diff --git a/gjs-1.31.10.tar.xz b/gjs-1.31.10.tar.xz deleted file mode 100644 index 1bd2fda..0000000 --- a/gjs-1.31.10.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff1134bc4cf390ac86155bcd5fceebeb446817d4796edd3d20beb0b138110b60 -size 455992 diff --git a/gjs-1.31.20.tar.xz b/gjs-1.31.20.tar.xz new file mode 100644 index 0000000..1372c54 --- /dev/null +++ b/gjs-1.31.20.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4601f1423dbc0326529cba95cd0475a32ca62ee3215812665cf58e32080a9d11 +size 464588 diff --git a/gjs-fix-build.patch b/gjs-fix-build.patch new file mode 100644 index 0000000..4faf8ed --- /dev/null +++ b/gjs-fix-build.patch @@ -0,0 +1,21 @@ +commit 4eaaa63f4b325f2476f90de52fea44dccd3bbc76 +Author: Vincent Untz +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)) { diff --git a/gjs.changes b/gjs.changes index 67d5737..8969f8c 100644 --- a/gjs.changes +++ b/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 diff --git a/gjs.spec b/gjs.spec index 1032fe3..c23488c 100644 --- a/gjs.spec +++ b/gjs.spec @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: gjs -Version: 1.31.10 +Version: 1.31.20 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla @@ -24,6 +25,8 @@ License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs 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: python BuildRequires: readline-devel @@ -74,6 +77,7 @@ Mozilla SpiderMonkey JavaScript engine. %prep %setup -q +%patch0 -p1 %build %configure \