New stable rel
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=240
This commit is contained in:
commit
f86ea77574
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/gjs.git</param>
|
||||
<param name="revision">1.82.1</param>
|
||||
<!-- Using +TAG_OFFSET breaks the test suite - https://gitlab.gnome.org/GNOME/gjs/-/issues/646 -->
|
||||
<param name="versionformat">@PARENT_TAG@.g@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">(.*).g0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<!-- <param name="changesgenerate">enable</param> -->
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
|
3
gjs-1.80.2.obscpio
Normal file
3
gjs-1.80.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:533eae10f7f097ab7d953f1d130a2ba1a64b1eec8ab2a409a4ed272616bbac93
|
||||
size 3890188
|
3
gjs-1.82.0.obscpio
Normal file
3
gjs-1.82.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ac2e6231b17ed297b751bde7a5d8ad6178e56cb457b0784706963b8f56ddf8d
|
||||
size 4479500
|
BIN
gjs-1.82.1.obscpio
(Stored with Git LFS)
Normal file
BIN
gjs-1.82.1.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
2811
gjs.changes
Normal file
2811
gjs.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
gjs.obsinfo
Normal file
4
gjs.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: gjs
|
||||
version: 1.82.1
|
||||
mtime: 1729478556
|
||||
commit: 34a9b8fc4cdc43dd41fe8077ca41533dcbad8a50
|
153
gjs.spec
Normal file
153
gjs.spec
Normal file
@ -0,0 +1,153 @@
|
||||
#
|
||||
# spec file for package gjs
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_with profiling
|
||||
|
||||
Name: gjs
|
||||
Version: 1.82.1
|
||||
Release: 0
|
||||
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
||||
License: LGPL-2.0-or-later AND MIT
|
||||
Group: Development/Libraries/GNOME
|
||||
URL: https://wiki.gnome.org/Projects/Gjs
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
|
||||
BuildRequires: /usr/bin/dbus-run-session
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: git
|
||||
BuildRequires: meson >= 0.54.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
%if 0%{?sle_version} && 0%{?sle_version} <= 150500
|
||||
BuildRequires: xorg-x11-Xvfb
|
||||
%else
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
%endif
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(cairo-gobject)
|
||||
BuildRequires: pkgconfig(cairo-xlib)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.53.4
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
BuildRequires: pkgconfig(mozjs-128)
|
||||
%if %{with profiling}
|
||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
||||
%endif
|
||||
Requires: libgjs0 = %{version}
|
||||
ExcludeArch: s390
|
||||
|
||||
%description
|
||||
This module contains JavaScript bindings based on gobject-introspection and the
|
||||
Mozilla SpiderMonkey JavaScript engine.
|
||||
|
||||
%package -n libgjs0
|
||||
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
||||
License: LGPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
Provides: libgjs-0 = %{version}
|
||||
Obsoletes: libgjs-0 < %{version}
|
||||
|
||||
%description -n libgjs0
|
||||
This module contains JavaScript bindings based on gobject-introspection and the
|
||||
Mozilla SpiderMonkey JavaScript engine.
|
||||
|
||||
%package -n typelib-1_0-GjsPrivate-1_0
|
||||
Summary: Introspection bindings for the GJS library
|
||||
# The tyeplib was renamed in gnome 3.6, to reflect it is a private lib.
|
||||
License: LGPL-2.0-or-later AND MIT
|
||||
Group: System/Libraries
|
||||
Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version}
|
||||
|
||||
%description -n typelib-1_0-GjsPrivate-1_0
|
||||
This module contains JavaScript bindings based on gobject-introspection and the
|
||||
Mozilla SpiderMonkey JavaScript engine.
|
||||
|
||||
%package -n libgjs-devel
|
||||
Summary: Development files for the GJS library
|
||||
License: LGPL-2.0-or-later AND MIT
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libgjs0 = %{version}
|
||||
Requires: typelib-1_0-GjsPrivate-1_0 = %{version}
|
||||
# Just a helper provides
|
||||
Provides: gjs-devel = %{version}
|
||||
|
||||
%description -n libgjs-devel
|
||||
This module contains JavaScript bindings based on gobject-introspection and the
|
||||
Mozilla SpiderMonkey JavaScript engine.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-Dinstalled_tests=false \
|
||||
-Dprofiler=%{?with_profiling:enabled}%{!?with_profiling:disabled} \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
export DISPLAY=:98
|
||||
Xvfb :98 >& Xvfb.log & trap "kill $! || true" EXIT
|
||||
sleep 10
|
||||
%meson_test
|
||||
|
||||
%ldconfig_scriptlets -n libgjs0
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_bindir}/gjs
|
||||
%{_bindir}/gjs-console
|
||||
|
||||
%files -n libgjs0
|
||||
%license LICENSES/LGPL-2.0-or-later.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n typelib-1_0-GjsPrivate-1_0
|
||||
%dir %{_libdir}/gjs
|
||||
%dir %{_libdir}/gjs/girepository-1.0/
|
||||
%{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib
|
||||
|
||||
%files -n libgjs-devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/%{name}-1.0/
|
||||
# FIXME -- nuke these
|
||||
%dir %{_libexecdir}/installed-tests/gjs
|
||||
%{_libexecdir}/installed-tests/gjs/GIMarshallingTests-1.0.typelib
|
||||
%{_libexecdir}/installed-tests/gjs/Regress-1.0.typelib
|
||||
%{_libexecdir}/installed-tests/gjs/RegressUnix-1.0.typelib
|
||||
%{_libexecdir}/installed-tests/gjs/Utility-1.0.typelib
|
||||
%{_libexecdir}/installed-tests/gjs/WarnLib-1.0.typelib
|
||||
%{_libexecdir}/installed-tests/gjs/libgimarshallingtests.so
|
||||
%{_libexecdir}/installed-tests/gjs/libregress.so
|
||||
%{_libexecdir}/installed-tests/gjs/libutility.so
|
||||
%{_libexecdir}/installed-tests/gjs/libwarnlib.so
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user