Accepting request 459881 from GNOME:Next

scripted push

OBS-URL: https://build.opensuse.org/request/show/459881
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=110
This commit is contained in:
Dominique Leuenberger 2017-02-22 20:41:49 +00:00 committed by Git OBS Bridge
parent e1c204ef84
commit 83f810cf0f
4 changed files with 88 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,82 @@
-------------------------------------------------------------------
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.47.90
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.47/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: python
BuildRequires: readline-devel
@ -34,8 +34,9 @@ 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(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}