Accepting request 45058 from GNOME:Factory
checked in (request 45058) OBS-URL: https://build.opensuse.org/request/show/45058 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=17
This commit is contained in:
parent
3c5e0c8cf8
commit
5f83bf2e12
3
gjs-0.6.tar.bz2
Normal file
3
gjs-0.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c5a54bbb819bfaea1e0e76f0508467e8d5690360ab550e1284951d905a56e5d
|
||||
size 436575
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cfb6825b6806ecea0c24fec4fef7ae2381f03384725d040e7296bf0606a8a98
|
||||
size 492566
|
50
gjs.changes
50
gjs.changes
@ -1,53 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
19
gjs.spec
19
gjs.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package gjs (Version 0.7.1)
|
||||
# spec file for package gjs (Version 0.6)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -27,16 +27,12 @@
|
||||
%endif
|
||||
|
||||
Name: gjs
|
||||
Version: 0.7.1
|
||||
# FIXME: find out if tapsets should really be in devel package or in main package
|
||||
Version: 0.6
|
||||
Release: 1
|
||||
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++
|
||||
@ -44,7 +40,6 @@ 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
|
||||
@ -79,22 +74,15 @@ 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 \
|
||||
--enable-systemtap
|
||||
--disable-static
|
||||
%__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}
|
||||
@ -119,6 +107,5 @@ rm -rf %{buildroot}
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/systemtap/tapset/*.stp
|
||||
|
||||
%changelog
|
||||
|
18
gjs.stp.in
18
gjs.stp.in
@ -1,18 +0,0 @@
|
||||
|
||||
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);
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
provider gjs {
|
||||
probe object__proxy__new(void*, void*, char *, char *);
|
||||
probe object__proxy__finalize(void*, void*, char *, char *);
|
||||
};
|
Loading…
Reference in New Issue
Block a user