Accepting request 53469 from GNOME:Factory

Accepted submit request 53469 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/53469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gjs?expand=0&rev=13
This commit is contained in:
Ruediger Oertel 2010-11-20 11:25:17 +00:00 committed by Git OBS Bridge
commit 332ae433e6
4 changed files with 71 additions and 28 deletions

View File

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

3
gjs-0.7.7.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Tue Nov 16 15:51:20 CET 2010 - dimstar@opensuse.org
- Update to version 0.7.7:
+ bgo#632159: Adapt to removal of SlowNative functions
+ Support more recent development versions of XulRunner.
-------------------------------------------------------------------
Mon Nov 15 11:32:15 CET 2010 - dimstar@opensuse.org
- Update to version 0.7.6:
+ bgo#610859: Add makeProxyClass() function to the dbus module
for easy creation of proxy classes.
+ Add an extra test case.
+ Build fixes.
-------------------------------------------------------------------
Thu Oct 28 23:07:53 UTC 2010 - prusnak@opensuse.org
- Use pkgconfig BuildRequires when possible:
+ old BuildRequires: cairo-devel, dbus-1-glib-devel,
gobject-introspection-devel.
+ new BuildRequires: cairo, dbus-glib-1 and
gobject-introspection-1.0.
- Rename libgjs-0 to libgjs0: this is the correct SLPP name. Add
appropriate Provides/Obsoletes.
- Do not add explicit Requires of dbus-1-devel and
gobject-introspection-devel for libgjs-devel: they will be added
automatically.
- Use %_smp_mflags, make and %make_install, following our new best
packaging practices.
-------------------------------------------------------------------
Thu Oct 28 16:32:14 CEST 2010 - vuntz@opensuse.org
- Update to version 0.7.5:
+ Replace JS_SealObject by JS_FreezeObject.
+ Port all functions to JSFUN_FAST_NATIVE.
+ JS_IsNativeFrame replaced by JS_IsScriptFrame.
+ Separate "basic" API from "embedder/module".
+ Build fixes.
- Build against mozilla-xulrunner20 in 11.4 and later, and stop
supporting the 11.1 build (that was using mozilla-xulrunner190).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 5 10:35:52 CEST 2010 - vuntz@opensuse.org Tue Oct 5 10:35:52 CEST 2010 - vuntz@opensuse.org

View File

@ -1,5 +1,5 @@
# #
# spec file for package gjs (Version 0.7.4) # spec file for package gjs (Version 0.7.7)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -15,46 +15,47 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%if 0%{suse_version} > 1130
%define xulrunner_ver 20
%else
%if 0%{suse_version} > 1120 %if 0%{suse_version} > 1120
%define xulrunner_ver 192 %define xulrunner_ver 192
%else %else
%if 0%{suse_version} > 1110
%define xulrunner_ver 191 %define xulrunner_ver 191
%else
%define xulrunner_ver 190
%endif %endif
%endif %endif
Name: gjs Name: gjs
Version: 0.7.4 Version: 0.7.7
Release: 1 Release: 1
# 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
License: MIT License (or similar) License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla Summary: JavaScript bindings based on gobject-introspection and Mozilla
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
BuildRequires: cairo-devel
BuildRequires: dbus-1-glib-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel
BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel
BuildRequires: python BuildRequires: python
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
Requires: libgjs-0 = %{version} BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gobject-introspection-1.0)
Requires: libgjs0 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This module contains JavaScript bindings based on gobject-introspection and the This module contains JavaScript bindings based on gobject-introspection and the
Mozilla SpiderMonkey JavaScript engine. Mozilla SpiderMonkey JavaScript engine.
%package -n libgjs-0 %package -n libgjs0
License: MIT License (or similar) License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla Summary: JavaScript bindings based on gobject-introspection and Mozilla
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Provides: libgjs-0 = %{version}
Obsoletes: libgjs-0 < %{version}
%description -n libgjs-0 %description -n libgjs0
This module contains JavaScript bindings based on gobject-introspection and the This module contains JavaScript bindings based on gobject-introspection and the
Mozilla SpiderMonkey JavaScript engine. Mozilla SpiderMonkey JavaScript engine.
@ -62,12 +63,10 @@ Mozilla SpiderMonkey JavaScript engine.
License: MIT License (or similar) License: MIT License (or similar)
Summary: JavaScript bindings based on gobject-introspection and Mozilla Summary: JavaScript bindings based on gobject-introspection and Mozilla
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Requires: dbus-1-devel Requires: libgjs0 = %{version}
Requires: gobject-introspection-devel
Requires: libgjs-0 = %{version}
Requires: mozilla-xulrunner%{xulrunner_ver}-devel Requires: mozilla-xulrunner%{xulrunner_ver}-devel
# Just a helper provides # Just a helper provides
Provides: gjs-devel Provides: gjs-devel = %{version}
%description -n libgjs-devel %description -n libgjs-devel
This module contains JavaScript bindings based on gobject-introspection and the This module contains JavaScript bindings based on gobject-introspection and the
@ -78,12 +77,12 @@ Mozilla SpiderMonkey JavaScript engine.
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--enable-systemtap --enable-systemtap
%__make %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
# fix installation of systemtap files # fix installation of systemtap files
mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemtap mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemtap
@ -91,20 +90,20 @@ mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemt
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%post -n libgjs-0 -p /sbin/ldconfig %post -n libgjs0 -p /sbin/ldconfig
%postun -n libgjs-0 -p /sbin/ldconfig %postun -n libgjs0 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%files -n libgjs-0 %files -n libgjs0
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING NEWS README %doc COPYING NEWS README
%{_datadir}/gjs-1.0 %{_datadir}/gjs-1.0/
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libdir}/gjs-1.0 %{_libdir}/gjs-1.0/
%files -n libgjs-devel %files -n libgjs-devel
%defattr(-,root,root) %defattr(-,root,root)