Accepting request 563128 from home:Zaitor:branches:GNOME:Factory
- Update to version 1.50.2+20180106.b3e0002: + object: - Only reset keep-alive and disassociate if needed. - Make clear in toString() proto method when the object is finalized. - Show error when using proto functions (connect*, emit) on destroyed object. - Only show critical errors on access to finalized objects. - Remove ObjectInstance from disassociate_list if object is finalized. - Leave out param untouched on error. - Reset the keep alive flag on wrapper when object is disposed. - Add better logging when invalid access happens. - Don't resolve or set,get properties on finalized elements. + installed-tests/js: add testGObjectDestructionAccess to verify access to destryed objects. - Switch to git-checkout via source service. Following this, add autoconf-archive and libtool BuildRequires and pass autogen.sh to bootstrap the tarball. - Cleanup spec, use modern macros, autosetup and make_build. OBS-URL: https://build.opensuse.org/request/show/563128 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=138
This commit is contained in:
parent
fca9811af1
commit
37e7a04556
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="url">https://gitlab.gnome.org/GNOME/gjs.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">gnome-3-26</param>
|
||||||
|
<param name="versionformat">1.50.2+%cd.%h</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version" />
|
||||||
|
</services>
|
||||||
|
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://gitlab.gnome.org/GNOME/gjs.git</param>
|
||||||
|
<param name="changesrevision">0b3d6bb434a13389a5de48a2d849e6a13bdb084f</param></service></servicedata>
|
3
gjs-1.50.2+20180106.b3e0002.tar.xz
Normal file
3
gjs-1.50.2+20180106.b3e0002.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:674a2d53e4ece612d6fa8b0bc066314ef3de44366778aa92e202dcabb4625857
|
||||||
|
size 323812
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2fad902cf7a7806454121c03918755c646fcfd6b08b52d488987db4e2d691ff3
|
|
||||||
size 611336
|
|
24
gjs.changes
24
gjs.changes
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 08 21:22:15 UTC 2018 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.50.2+20180106.b3e0002:
|
||||||
|
+ object:
|
||||||
|
- Only reset keep-alive and disassociate if needed.
|
||||||
|
- Make clear in toString() proto method when the object is
|
||||||
|
finalized.
|
||||||
|
- Show error when using proto functions (connect*, emit) on
|
||||||
|
destroyed object.
|
||||||
|
- Only show critical errors on access to finalized objects.
|
||||||
|
- Remove ObjectInstance from disassociate_list if object is
|
||||||
|
finalized.
|
||||||
|
- Leave out param untouched on error.
|
||||||
|
- Reset the keep alive flag on wrapper when object is disposed.
|
||||||
|
- Add better logging when invalid access happens.
|
||||||
|
- Don't resolve or set,get properties on finalized elements.
|
||||||
|
+ installed-tests/js: add testGObjectDestructionAccess to verify
|
||||||
|
access to destryed objects.
|
||||||
|
- Switch to git-checkout via source service. Following this, add
|
||||||
|
autoconf-archive and libtool BuildRequires and pass autogen.sh to
|
||||||
|
bootstrap the tarball.
|
||||||
|
- Cleanup spec, use modern macros, autosetup and make_build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 31 22:54:17 UTC 2017 - luc14n0@linuxmail.org
|
Tue Oct 31 22:54:17 UTC 2017 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
28
gjs.spec
28
gjs.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gjs
|
# spec file for package gjs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,15 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gjs
|
Name: gjs
|
||||||
Version: 1.50.2
|
Version: 1.50.2+20180106.b3e0002
|
||||||
Release: 0
|
Release: 0
|
||||||
# FIXME: find out if tapsets should really be in devel package or in main package
|
# FIXME: find out if tapsets should really be in devel package or in main package
|
||||||
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Url: https://wiki.gnome.org/Projects/Gjs
|
Url: https://wiki.gnome.org/Projects/Gjs
|
||||||
Source: https://download.gnome.org/sources/gjs/1.50/%{name}-%{version}.tar.xz
|
#Source0: https://download.gnome.org/sources/gjs/1.50/%%{name}-%%{version}.tar.xz
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: autoconf-archive
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: mozjs52-devel
|
BuildRequires: mozjs52-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
@ -83,40 +87,38 @@ This module contains JavaScript bindings based on gobject-introspection and the
|
|||||||
Mozilla SpiderMonkey JavaScript engine.
|
Mozilla SpiderMonkey JavaScript engine.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-systemtap
|
--enable-systemtap \
|
||||||
make %{?_smp_mflags}
|
%{nil}
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libgjs0 -p /sbin/ldconfig
|
%post -n libgjs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libgjs0 -p /sbin/ldconfig
|
%postun -n libgjs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/gjs
|
%{_bindir}/gjs
|
||||||
%{_bindir}/gjs-console
|
%{_bindir}/gjs-console
|
||||||
|
|
||||||
%files -n libgjs0
|
%files -n libgjs0
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc COPYING NEWS README
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-GjsPrivate-1_0
|
%files -n typelib-1_0-GjsPrivate-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_libdir}/gjs
|
%dir %{_libdir}/gjs
|
||||||
%dir %{_libdir}/gjs/girepository-1.0/
|
%dir %{_libdir}/gjs/girepository-1.0/
|
||||||
%{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib
|
%{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib
|
||||||
|
|
||||||
%files -n libgjs-devel
|
%files -n libgjs-devel
|
||||||
%defattr(-,root,root)
|
%doc NEWS README
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user