forked from pool/mujs
- Updated to 1.3.7 #1
@@ -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.
15
mujs-remove-curl.patch
Normal file
15
mujs-remove-curl.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -Pdpru mujs-1.3.7.orig/Makefile mujs-1.3.7/Makefile
|
||||
--- mujs-1.3.7.orig/Makefile 2025-06-23 15:15:36.000000000 +0300
|
||||
+++ mujs-1.3.7/Makefile 2025-07-12 17:45:36.932644992 +0300
|
||||
@@ -72,11 +72,6 @@ astnames.h: jsi.h
|
||||
opnames.h: jsi.h
|
||||
grep -E '\<OP_' jsi.h | sed 's/^[^A-Z]*OP_/"/;s/,.*/",/' | tr A-Z a-z > $@
|
||||
|
||||
-UnicodeData.txt:
|
||||
- curl -s -o $@ https://www.unicode.org/Public/16.0.0/ucd/UnicodeData.txt
|
||||
-SpecialCasing.txt:
|
||||
- curl -s -o $@ https://www.unicode.org/Public/16.0.0/ucd/SpecialCasing.txt
|
||||
-
|
||||
utfdata.h: genucd.py UnicodeData.txt SpecialCasing.txt
|
||||
python3 genucd.py UnicodeData.txt SpecialCasing.txt >$@
|
||||
|
51
mujs.changes
51
mujs.changes
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 12 16:34:12 UTC 2025 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Updated to 1.3.7
|
||||
* Added ucd-16.0.0.tar.xz and mujs-remove-curl.patch.
|
||||
* 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>
|
||||
|
||||
@@ -31,31 +40,31 @@ Sat Jan 14 11:41:55 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to 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.
|
||||
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
|
||||
* Set length of output array Array.prototype.map.
|
||||
* 1.3.2 patch release for UAF bug fix.
|
||||
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
|
||||
* Set length of output array Array.prototype.map.
|
||||
- Update to 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.
|
||||
* Issue #166: Use special iterator for string and array indices.
|
||||
* Enable choice of library version for shell
|
||||
* Use $(@D) instead of $(dir $@)
|
||||
* Make a patch release for important iterator bug fix.
|
||||
* Issue #166: Use special iterator for string and array indices.
|
||||
* Enable choice of library version for shell
|
||||
* Use $(@D) instead of $(dir $@)
|
||||
- Update to 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.
|
||||
* Fast path for "simple" arrays.
|
||||
* Bug 705775: Fix double fclose in pretty-printing tool.
|
||||
* Makefile: fix parallel builds
|
||||
* Guard state initialization with try to avoid panic in initialization.
|
||||
* Add js_isbooleanobject and js_isdateobject functions.
|
||||
* Issue #161: Cope with empty programs in mujs-pp.
|
||||
* Issue #161: Don't fclose a FILE that is NULL.
|
||||
* Issue #162: Check stack overflow during regexp compilation.
|
||||
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
|
||||
* Add "console" object to mujs shell.
|
||||
* Issue #156: Fix check for duplicate formal parameters when strict.
|
||||
* Some minor optimizations to Ap_join.
|
||||
* array join: avoid strcat, speedup from O(N^2) to O(N)
|
||||
* Avoid freeing buffer twice in case of error.
|
||||
* Fast path for "simple" arrays.
|
||||
* Bug 705775: Fix double fclose in pretty-printing tool.
|
||||
* Makefile: fix parallel builds
|
||||
* Guard state initialization with try to avoid panic in initialization.
|
||||
* Add js_isbooleanobject and js_isdateobject functions.
|
||||
* Issue #161: Cope with empty programs in mujs-pp.
|
||||
* Issue #161: Don't fclose a FILE that is NULL.
|
||||
* Issue #162: Check stack overflow during regexp compilation.
|
||||
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
|
||||
* Add "console" object to mujs shell.
|
||||
* Issue #156: Fix check for duplicate formal parameters when strict.
|
||||
* Some minor optimizations to Ap_join.
|
||||
* array join: avoid strcat, speedup from O(N^2) to O(N)
|
||||
- Drop mujs-1.2.0-stack-exhaustion.patch because now in upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
26
mujs.spec
26
mujs.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define ucd_ver 16.0.0
|
||||
Name: mujs
|
||||
Version: 1.3.5
|
||||
Version: 1.3.7
|
||||
Release: 0
|
||||
Summary: An embeddable Javascript interpreter
|
||||
License: AGPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
URL: https://mujs.com
|
||||
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/ccxvii/%{name}
|
||||
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
|
||||
Patch0: %{name}-remove-curl.patch
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: python3
|
||||
BuildRequires: pkgconfig(readline)
|
||||
%else
|
||||
BuildRequires: readline-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.
|
||||
@@ -43,20 +44,19 @@ Provides: %{name}-static = %{version}
|
||||
This package provides the MuJS static library.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
%make_build debug CFLAGS="%{optflags} -fPIC"
|
||||
%make_build CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%make_install prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{optflags} -fPIC"
|
||||
%make_install CFLAGS="%{optflags}" prefix="%{_prefix}" libdir="%{_libdir}"
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS README
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-pp
|
||||
%{_bindir}/%{name}{,-pp}
|
||||
|
||||
%files devel
|
||||
%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