SHA256
1
0
forked from pool/gjs

Accepting request 481583 from GNOME:Factory

Update to 1.48.0 (forwarded request 481563 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/481583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gjs?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2017-03-22 22:08:44 +00:00 committed by Git OBS Bridge
commit 1affa1c154
4 changed files with 143 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4
size 490812

3
gjs-1.48.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed7db93e12709fe43b2fbe1e157331a0b1dcf3e0d19b81ccebd2d96bfcbe9525
size 593132

View File

@ -1,3 +1,136 @@
-------------------------------------------------------------------
Mon Mar 20 19:58:00 UTC 2017 - dimstar@opensuse.org
- Update to version 1.48.0:
+ Memory leak in object_instance_resolve() (bgo#780171).
- Drop gjs-object-Fix-memory-leak-in-resolve.patch: fixed upstream.
-------------------------------------------------------------------
Thu Mar 16 22:59:02 UTC 2017 - luke.nukem.jones@gmail.com
- Add patch gjs-object-Fix-memory-leak-in-resolve.patch: The "name"
string, allocated in gjs_get_string_id(), wasn't getting freed at
every exit point of the function (bgo#780171).
-------------------------------------------------------------------
Tue Mar 14 09:19:56 UTC 2017 - zaitor@opensuse.org
- Update to version 1.47.92:
+ gjs 1.47.91 configure fails with Fedora's mozjs38 (bgo#779412).
+ tests: Don't fail when Gtk+-4.0 is available (bgo#779594).
+ gjs 1.47.91 test failures on non-amd64 (bgo#779399).
+ gjs_eval_thread should always be set (bgo#779693).
+ System.exit() should exit even across main loop iterations
(bgo#779692).
+ Fix a typo in testCommandLine.sh (bgo#779772).
+ arg: Fix accidental fallthrough (bgo#779838).
+ jsUnit: Explicitly check if tempTop.parent is defined
(bgo#779871).
+ Misc bug fixes.
- Drop mozjs38 BuildRequires and stop passing JS_INTERP=/usr/bin/js
to configure: No longer needed after upstream fixes.
-------------------------------------------------------------------
Tue Feb 28 01:46:36 UTC 2017 - zaitor@opensuse.org
- Update to version 1.47.91:
+ overrides/Gio: Provide an empty array on error, rather than
null (bgo#677513).
+ WithSignals parameter for Lang.Class (bgo#664897).
+ Add API to better support asynchronous code (bgo#608450).
+ Fix 1.47.90 tests are failing (bgo#778780).
+ boxed: Plug a memory leak (bgo#779036).
+ Don't crash when marshalling an unsafe integer from
introspection (bgo#778705).
+ Lang.Class should include symbol properties (bgo#778718).
+ Console output of arrays should be UTF-8 aware (bgo#778729).
+ Various fixes for 1.47.91 (bgo#779293).
+ Progress towards a Visual Studio build of GJS on Windows.
+ Misc bug fixes.
- Pass JS_INTERP=/usr/bin/js to configure in order to help it find
the default, unversioned js binary.
- Add moyjs38 BuildRequires: the mozjs interpreter is not installed
per default together with mozjs-devel.
-------------------------------------------------------------------
Wed Feb 15 09:34:55 UTC 2017 - dimstar@opensuse.org
- Update to version 1.47.90:
+ This version of GJS is based on SpiderMonkey 38.
+ Syntax enhancements.
+ Various API additions.
+ Backwards-incompatible changes:
- It is now a syntax error to declare the same variable twice
with "let" or "const" in the same scope. Existing code may
need to be fixed, but the fix is trivial.
+ SpiderMonkey is now extra vocal about warning when you access
an undefined property, and this causes some false positives.
You can turn this warning off by setting
GJS_DISABLE_EXTRA_WARNINGS=1.
+ When enumerating the importer object (i.e.,
"for (let i in imports) {...}") you will now get the names of
any built-in modules that have previously been imported.
+ Bugs fixed: bgo#776966, bgo#777205, bgo#642506, bgo#776549,
bgo#777962.
- Replace pkgconfig(mozjs-31) BuildRequires with
pkgconfig(mozjs-38), following upstreams port.
-------------------------------------------------------------------
Fri Jan 20 12:26:42 UTC 2017 - dimstar@opensuse.org
- Update to version 1.47.4:
+ News for GJS embedders such as gnome-shell:
- New API: The GjsCoverage type and its methods are now
exposed. Use this if you are embedding GJS and need to output
code coverage statistics.
+ Bugs fixed: bgo#563391, bgo#619710, bgo#636283, bgo#697020,
bgo#730101, bgo#737607, bgo#742852, bgo#751146, bgo#760057,
bgo#775444, bgo#775776, bgo#776193, bgo#776938.
-------------------------------------------------------------------
Tue Dec 13 13:56:44 UTC 2016 - dimstar@opensuse.org
- Update to version 1.47.3:
+ New JavaScript features! This version of GJS is based on
SpiderMonkey 31, an upgrade from the previous ESR (Extended
Support Release) of SpiderMonkey 24.
+ New syntax:
- Spread operator in function calls: someFunction(arg1, arg2,
...iterableObj).
- Generator functions: yield, function*, yield*.
- Binary and octal numeric literals: 0b10011100, 0o377.
- Function arguments without defaults can now come after those
with defaults: function f(x=1, y) {}.
+ New standard library module: Intl - Locale-sensitive formatting
and string comparison.
+ New behaviour:
- -0 and +0 are now considered equal as Map keys and Set
values.
- On typed arrays, numerical indexed properties ignore the
prototype object:
Int8Array.prototype[20] = 'foo';(new Int8Array(32))[20] == 0.
+ New non-standard Mozilla extensions:
- Array comprehensions.
- Generator comprehensions; both were originally proposed for
ES6 but removed.
+ Bugs fixed: bgo#573335, bgo#595439, bgo#605972, bgo#742249,
bgo#751252, bgo#770244, bgo#771598, bgo#771745, bgo#772027,
bgo#772033, bgo#772386, bgo#772790, bgo#773297, bgo#773335,
bgo#775205.
- Replace pkgconfig(mozjs-24) BuildRequires with
pkgconfig(mozjs-31), following upstreams port.
-------------------------------------------------------------------
Thu Nov 10 10:11:35 UTC 2016 - dimstar@opensuse.org
- Update to version 1.47.0:
+ Backwards-incompatible change: we have changed the way certain
JavaScript values are marshalled into GObject introspection 32
or 64-bit signed integer values, to match the ECMA standard.
+ Backwards-incompatible change: we have changed the way
gjs-console interprets command-line arguments.
- Add pkgconfig(gtk+-3.0) BuildRequires: enable GTK+ support.
-------------------------------------------------------------------
Tue Sep 20 18:18:52 UTC 2016 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gjs
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,14 @@
Name: gjs
Version: 1.46.0
Version: 1.48.0
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
License: MIT
Group: Development/Libraries/GNOME
Url: http://live.gnome.org/Gjs
Source: http://download.gnome.org/sources/gjs/1.46/%{name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/gjs/1.48/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: python
BuildRequires: readline-devel
@ -33,9 +33,10 @@ BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-xlib)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.4
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.51.2
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(mozjs-24)
BuildRequires: pkgconfig(mozjs-38)
Requires: libgjs0 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -55,8 +56,8 @@ Mozilla SpiderMonkey JavaScript engine.
%package -n typelib-1_0-GjsPrivate-1_0
Summary: GJS DBus utility library -- Introspection bindings
Group: System/Libraries
# The tyeplib was renamed in gnome 3.6, to reflecht it is a private lib.
Group: System/Libraries
Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version}
%description -n typelib-1_0-GjsPrivate-1_0
@ -88,9 +89,6 @@ make -j1 V=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# fix installation of systemtap files
mkdir -p %{buildroot}%{_datadir}
mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemtap
%clean
rm -rf %{buildroot}