forked from pool/mujs
Compare commits
31 Commits
devel
...
453a098b8f
Author | SHA256 | Date | |
---|---|---|---|
453a098b8f | |||
ebe69e3e69 | |||
c3441547cb | |||
0f74ecb61c | |||
160fef9460 | |||
0619a6df9c | |||
|
b605bd32af | ||
5ff70621d8 | |||
|
e46ee3cd4b | ||
|
135109ad1f | ||
|
b94f676ac8 | ||
e6b1d90651 | |||
|
5d6e3758eb | ||
cb9699a26e | |||
|
78c8d7e1b9 | ||
c0ced92277 | |||
|
3d5cb00c3c | ||
2820305abe | |||
|
58a3c5da83 | ||
|
c4f33440f0 | ||
1b2d27f32e | |||
|
99ed33fefb | ||
1eb302ab54 | |||
|
c2fb04a55e | ||
b5da61f164 | |||
|
fe7efd4c26 | ||
abc7e48ba0 | |||
|
f20fc4a0b2 | ||
|
ee9f220fcf | ||
f84a7a7c79 | |||
2f8e40dd25 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c015475880f6a382e706169c94371a7dd6cc22078832f6e0865af8289c2ef42b
|
|
||||||
size 128202
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:78a311ae4224400774cb09ef5baa2633c26971513f8b931d3224a0eb85b13e0b
|
|
||||||
size 128938
|
|
BIN
mujs-1.3.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
mujs-1.3.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
56
mujs.changes
56
mujs.changes
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 28 13:28:10 UTC 2025 - Lubos Kocman <lubos.kocman@suse.com>
|
||||||
|
|
||||||
|
- Update license to ISC
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 12 20:20:29 UTC 2025 - Илья Индиго <ilya@ilya.top>
|
||||||
|
|
||||||
|
- Updated to 1.3.7
|
||||||
|
* Added ucd-16.0.0.tar.xz tarball with Unicode specifications.
|
||||||
|
* https://github.com/ccxvii/mujs/compare/1.3.5...1.3.7
|
||||||
|
* Updated character tables to Unicode 16.
|
||||||
|
* Used more common "stack" property for error stack trace.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 13 23:56:46 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
Fri Dec 13 23:56:46 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
||||||
|
|
||||||
@@ -31,31 +45,31 @@ Sat Jan 14 11:41:55 UTC 2023 - ecsos <ecsos@opensuse.org>
|
|||||||
|
|
||||||
- Update to 1.3.2
|
- Update to 1.3.2
|
||||||
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.2
|
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.2
|
||||||
* 1.3.2 patch release for UAF bug fix.
|
* 1.3.2 patch release for UAF bug fix.
|
||||||
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
|
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
|
||||||
* Set length of output array Array.prototype.map.
|
* Set length of output array Array.prototype.map.
|
||||||
- Update to 1.3.1
|
- Update to 1.3.1
|
||||||
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.1
|
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.1
|
||||||
* Make a patch release for important iterator bug fix.
|
* Make a patch release for important iterator bug fix.
|
||||||
* Issue #166: Use special iterator for string and array indices.
|
* Issue #166: Use special iterator for string and array indices.
|
||||||
* Enable choice of library version for shell
|
* Enable choice of library version for shell
|
||||||
* Use $(@D) instead of $(dir $@)
|
* Use $(@D) instead of $(dir $@)
|
||||||
- Update to 1.3.0
|
- Update to 1.3.0
|
||||||
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.0
|
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.0
|
||||||
* Avoid freeing buffer twice in case of error.
|
* Avoid freeing buffer twice in case of error.
|
||||||
* Fast path for "simple" arrays.
|
* Fast path for "simple" arrays.
|
||||||
* Bug 705775: Fix double fclose in pretty-printing tool.
|
* Bug 705775: Fix double fclose in pretty-printing tool.
|
||||||
* Makefile: fix parallel builds
|
* Makefile: fix parallel builds
|
||||||
* Guard state initialization with try to avoid panic in initialization.
|
* Guard state initialization with try to avoid panic in initialization.
|
||||||
* Add js_isbooleanobject and js_isdateobject functions.
|
* Add js_isbooleanobject and js_isdateobject functions.
|
||||||
* Issue #161: Cope with empty programs in mujs-pp.
|
* Issue #161: Cope with empty programs in mujs-pp.
|
||||||
* Issue #161: Don't fclose a FILE that is NULL.
|
* Issue #161: Don't fclose a FILE that is NULL.
|
||||||
* Issue #162: Check stack overflow during regexp compilation.
|
* Issue #162: Check stack overflow during regexp compilation.
|
||||||
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
|
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
|
||||||
* Add "console" object to mujs shell.
|
* Add "console" object to mujs shell.
|
||||||
* Issue #156: Fix check for duplicate formal parameters when strict.
|
* Issue #156: Fix check for duplicate formal parameters when strict.
|
||||||
* Some minor optimizations to Ap_join.
|
* Some minor optimizations to Ap_join.
|
||||||
* array join: avoid strcat, speedup from O(N^2) to O(N)
|
* array join: avoid strcat, speedup from O(N^2) to O(N)
|
||||||
- Drop mujs-1.2.0-stack-exhaustion.patch because now in upstream.
|
- Drop mujs-1.2.0-stack-exhaustion.patch because now in upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
27
mujs.spec
27
mujs.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mujs
|
# spec file for package mujs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,20 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define ucd_ver 16.0.0
|
||||||
Name: mujs
|
Name: mujs
|
||||||
Version: 1.3.5
|
Version: 1.3.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An embeddable Javascript interpreter
|
Summary: An embeddable Javascript interpreter
|
||||||
License: AGPL-3.0-or-later
|
License: ISC
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
URL: https://mujs.com
|
URL: https://github.com/ccxvii/%{name}
|
||||||
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ccxvii/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
# v=16.0.0 && u=https://www.unicode.org/Public/$v/ucd && f1=SpecialCasing.txt && f2=UnicodeData.txt && f=ucd-$v.tar.xz && cd /tmp && curl -O $u/$f1 -O $u/$f2 && tar c --remove-files "$f1" "$f2" | xz -9e > "$f"
|
||||||
|
Source1: ucd-%{ucd_ver}.tar.xz
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if 0%{?suse_version} > 1500
|
BuildRequires: python3
|
||||||
BuildRequires: pkgconfig(readline)
|
BuildRequires: pkgconfig(readline)
|
||||||
%else
|
|
||||||
BuildRequires: readline-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.
|
MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.
|
||||||
@@ -43,20 +43,19 @@ Provides: %{name}-static = %{version}
|
|||||||
This package provides the MuJS static library.
|
This package provides the MuJS static library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%make_build debug CFLAGS="%{optflags} -fPIC"
|
%make_build CFLAGS="%{optflags} -fPIC"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{optflags} -fPIC"
|
%make_install CFLAGS="%{optflags} -fPIC" prefix="%{_prefix}" libdir="%{_libdir}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}{,-pp}
|
||||||
%{_bindir}/%{name}-pp
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
BIN
ucd-16.0.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
ucd-16.0.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user