diff --git a/gjs-0.6.tar.bz2 b/gjs-0.6.tar.bz2 deleted file mode 100644 index 8b07801..0000000 --- a/gjs-0.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c5a54bbb819bfaea1e0e76f0508467e8d5690360ab550e1284951d905a56e5d -size 436575 diff --git a/gjs-0.7.1.tar.bz2 b/gjs-0.7.1.tar.bz2 new file mode 100644 index 0000000..a2e09e7 --- /dev/null +++ b/gjs-0.7.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cfb6825b6806ecea0c24fec4fef7ae2381f03384725d040e7296bf0606a8a98 +size 492566 diff --git a/gjs.changes b/gjs.changes index a49873b..900afb7 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Fri Jul 23 08:51:43 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.7.1: + + Add support for GArray to gjs_value_from_g_argument + + Add support for GArray to gjs_value_to_g_argument + + Add support for dtrace/SystemTap + + Add a promise module + + Handle GValues of type G_TYPE_STRV + + [gdb-check] Add a script for easier use + + Throw a better warning for GValues containing container types + + [importer] Allow native modules in gjs.so + + [gjs] Add a byteArray module. + + Adjust for g-i change to remove machine-independent type tags + + Various other fixes. +- Drop gjs-bgo623775.patch: fixed upstream. +- Enable systemtap support: add systemtap-sdt-devel BuildRequires, + pass --enable-systemtap to configure. Add gjs_gi_probes.d and + gjs.stp.in source files, which are missing from the tarball + (bgo#625090). + +------------------------------------------------------------------- +Thu Jul 15 17:25:15 UTC 2010 - dimstar@opensuse.org + +- Add gjs-bgo623775.patch, from upstream git to fix build with + gobject-introspection 0.9.2. + +------------------------------------------------------------------- +Fri May 28 22:36:18 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.7: + + Add support for "foreign structs" - which are structures that + are referenced from gobject-introspection, but need glue + code to actually handle them. + + Hook cairo bindings to integrate with gobject-introspected + libraries using new foreign struct support + + Start working toward thread-safety by adding + JS_BeginRequest/JS_EndRequest calls throughout the codebase + + add Tweener.setTimeScale and Tweener.getTimeScale + + Wrap cairo_copy_path, cairo_copy_path_flat, and + cairo_append_path + + Handle destroy callbacks of type other than GDestroyNotify + + Handle flag arguments not registered with GObject + + Log errors that occur in callbacks + + Code cleanup + + Build fixes + + Bugs fixed: bgo#610357, bgo#614055, bgo#614344, bgo#615078, + bgo#615222, bgo#617343, bgo#617568, bgo#617702, bgo#617972, + bgo#618190, bgo#618195, bgo#618200, bgo#618201 + ------------------------------------------------------------------- Fri Mar 26 12:58:30 CET 2010 - vuntz@opensuse.org diff --git a/gjs.spec b/gjs.spec index 26cbe33..c98b955 100644 --- a/gjs.spec +++ b/gjs.spec @@ -1,5 +1,5 @@ # -# spec file for package gjs (Version 0.6) +# spec file for package gjs (Version 0.7.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -27,12 +27,16 @@ %endif Name: gjs -Version: 0.6 +Version: 0.7.1 Release: 1 +# FIXME: find out if tapsets should really be in devel package or in main package License: MIT License (or similar) Summary: JavaScript bindings based on gobject-introspection and Mozilla Group: Development/Libraries/GNOME Source: %{name}-%{version}.tar.bz2 +# Files missing from tarball, see bgo#625090 +Source1: gjs_gi_probes.d +Source2: gjs.stp.in BuildRequires: cairo-devel BuildRequires: dbus-1-glib-devel BuildRequires: gcc-c++ @@ -40,6 +44,7 @@ BuildRequires: gobject-introspection-devel BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel BuildRequires: python BuildRequires: readline-devel +BuildRequires: systemtap-sdt-devel Requires: libgjs-0 = %{version} Recommends: gir-repository BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -74,15 +79,22 @@ Mozilla SpiderMonkey JavaScript engine. %prep %setup -q +test ! -f gi/gjs_gi_probes.d +cp %{S:1} gi/gjs_gi_probes.d +test ! -f gjs/gjs.stp.in +cp %{S:2} gjs/gjs.stp.in %build %configure \ - --disable-static + --disable-static \ + --enable-systemtap %__make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print +# fix installation of systemtap files +mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemtap %clean rm -rf %{buildroot} @@ -107,5 +119,6 @@ rm -rf %{buildroot} %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/systemtap/tapset/*.stp %changelog diff --git a/gjs.stp.in b/gjs.stp.in new file mode 100644 index 0000000..a4db831 --- /dev/null +++ b/gjs.stp.in @@ -0,0 +1,18 @@ + +probe gjs.object_proxy_new = process("@EXPANDED_LIBDIR@/libgjs-gi.so.0.0.0").mark("object__proxy__new") +{ + proxy_address = $arg1; + gobject_address = $arg2; + gi_namespace = user_string($arg3); + gi_name = user_string($arg4); + probestr = sprintf("gjs.object_proxy_new(%p, %s, %s)", proxy_address, gi_namespace, gi_name); +} + +probe gjs.object_proxy_finalize = process("@EXPANDED_LIBDIR@/libgjs-gi.so.0.0.0").mark("object__proxy__finalize") +{ + proxy_address = $arg1; + gobject_address = $arg2; + gi_namespace = user_string($arg3); + gi_name = user_string($arg4); + probestr = sprintf("gjs.object_proxy_finalize(%p, %s, %s)", proxy_address, gi_namespace, gi_name); +} diff --git a/gjs_gi_probes.d b/gjs_gi_probes.d new file mode 100644 index 0000000..a8bcec7 --- /dev/null +++ b/gjs_gi_probes.d @@ -0,0 +1,4 @@ +provider gjs { + probe object__proxy__new(void*, void*, char *, char *); + probe object__proxy__finalize(void*, void*, char *, char *); +};