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:
Bjørn Lie 2018-01-09 19:14:54 +00:00 committed by Git OBS Bridge
parent fca9811af1
commit 37e7a04556
6 changed files with 61 additions and 16 deletions

15
_service Normal file
View 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
View 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>

View File

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

View File

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

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,19 @@
Name: gjs
Version: 1.50.2
Version: 1.50.2+20180106.b3e0002
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: 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: libtool
BuildRequires: mozjs52-devel
BuildRequires: pkgconfig
BuildRequires: python
@ -83,40 +87,38 @@ This module contains JavaScript bindings based on gobject-introspection and the
Mozilla SpiderMonkey JavaScript engine.
%prep
%setup -q
%autosetup
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static \
--enable-systemtap
make %{?_smp_mflags}
--disable-static \
--enable-systemtap \
%{nil}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgjs0 -p /sbin/ldconfig
%postun -n libgjs0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gjs
%{_bindir}/gjs-console
%files -n libgjs0
%defattr(-,root,root)
%doc COPYING NEWS README
%license COPYING
%{_libdir}/*.so.*
%files -n typelib-1_0-GjsPrivate-1_0
%defattr(-,root,root)
%dir %{_libdir}/gjs
%dir %{_libdir}/gjs/girepository-1.0/
%{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib
%files -n libgjs-devel
%defattr(-,root,root)
%doc NEWS README
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc