@@ -45,7 +45,7 @@
|
|||||||
<Dependency>iso-codes-devel</Dependency>
|
<Dependency>iso-codes-devel</Dependency>
|
||||||
<Dependency>mesa-devel</Dependency>
|
<Dependency>mesa-devel</Dependency>
|
||||||
<Dependency>desktop-file-utils</Dependency>
|
<Dependency>desktop-file-utils</Dependency>
|
||||||
<Dependency versionFrom="6.6.0">cinnamon-settings-daemon-devel</Dependency>
|
<Dependency versionFrom="6.6.0">cinnamon-settings-daemon</Dependency>
|
||||||
<Dependency versionFrom="6.6.1">cinnamon-desktop-devel</Dependency>
|
<Dependency versionFrom="6.6.1">cinnamon-desktop-devel</Dependency>
|
||||||
<Dependency versionFrom="6.6.0">cinnamon-menus-devel</Dependency>
|
<Dependency versionFrom="6.6.0">cinnamon-menus-devel</Dependency>
|
||||||
<Dependency>docbook-xsl</Dependency>
|
<Dependency>docbook-xsl</Dependency>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
<Dependency versionFrom="6.6.1">cinnamon-desktop-devel</Dependency>
|
<Dependency versionFrom="6.6.1">cinnamon-desktop-devel</Dependency>
|
||||||
<Dependency versionFrom="6.4.0">cinnamon-session</Dependency>
|
<Dependency versionFrom="6.4.0">cinnamon-session</Dependency>
|
||||||
<Dependency versionFrom="6.4.0">cinnamon-settings-daemon-devel</Dependency>
|
<Dependency versionFrom="6.4.0">cinnamon-settings-daemon</Dependency>
|
||||||
<Dependency versionFrom="6.4.0">cinnamon-screensaver-devel</Dependency>
|
<Dependency versionFrom="6.4.0">cinnamon-screensaver-devel</Dependency>
|
||||||
<Dependency versionFrom="6.4.0">cinnamon-control-center-devel</Dependency>
|
<Dependency versionFrom="6.4.0">cinnamon-control-center-devel</Dependency>
|
||||||
<Dependency>libXfixes-devel</Dependency>
|
<Dependency>libXfixes-devel</Dependency>
|
||||||
|
|||||||
+534
-214
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
d296d7853efbca3ea2fc3dec997ac25beb7cf00e
|
55ddab85c4e19f586f6ec5ac6ca14198a8cb792e
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
d526634cc81f0c41275749779df87b11f9df2866
|
ccdb7d096ffe8976edff79ac12d7c3de7998c9be
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Licensed under the GNU General Public License, version 3.
|
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
|
||||||
|
|
||||||
from pisi.actionsapi import get
|
|
||||||
from pisi.actionsapi import autotools
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import shelltools
|
|
||||||
|
|
||||||
#WorkDir = "mozjs%s/js/src" % get.srcVERSION()
|
|
||||||
|
|
||||||
shelltools.export("SHELL","/bin/sh")
|
|
||||||
WorkDir = "firefox-%s" %get.srcVERSION()
|
|
||||||
|
|
||||||
def setup():
|
|
||||||
#shelltools.cd("js/src")
|
|
||||||
#shelltools.system("sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl ")
|
|
||||||
shelltools.export("CC", "gcc")
|
|
||||||
shelltools.export("CXX", "g++")
|
|
||||||
|
|
||||||
shelltools.system("mkdir -p build-js")
|
|
||||||
shelltools.cd("build-js")
|
|
||||||
|
|
||||||
shelltools.system("sh ../js/src/configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--enable-readline \
|
|
||||||
--with-intl-api \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-debug-symbols \
|
|
||||||
--disable-jemalloc \
|
|
||||||
--disable-strip \
|
|
||||||
--enable-hardening \
|
|
||||||
--enable-linker=gold \
|
|
||||||
--enable-optimize \
|
|
||||||
--enable-readline \
|
|
||||||
--enable-release \
|
|
||||||
--enable-shared-js \
|
|
||||||
--enable-tests \
|
|
||||||
--with-intl-api \
|
|
||||||
--with-system-zlib \
|
|
||||||
--with-system-nspr \
|
|
||||||
--without-system-icu")
|
|
||||||
|
|
||||||
def build():
|
|
||||||
shelltools.cd("build-js")
|
|
||||||
autotools.make("prefix=/usr")
|
|
||||||
|
|
||||||
def check():
|
|
||||||
shelltools.cd("build-js")
|
|
||||||
|
|
||||||
#autotools.make("-C js/src check-jstests")
|
|
||||||
#autotools.make("-C js/src check-jit-test")
|
|
||||||
|
|
||||||
|
|
||||||
def install():
|
|
||||||
shelltools.cd("build-js")
|
|
||||||
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
|
|
||||||
pisitools.remove("/usr/lib/*.ajs")
|
|
||||||
|
|
||||||
pisitools.dosed("%s/usr/bin/js115-config" % get.installDIR(), "usr/local", "usr")
|
|
||||||
pisitools.dosed("%s/usr/lib/pkgconfig/mozjs-115.pc" % get.installDIR(), "usr/local", "usr")
|
|
||||||
|
|
||||||
#for polkit
|
|
||||||
#pisitools.rename("/usr/lib/pkgconfig/mozjs-..pc", "mozjs-17.0.pc")
|
|
||||||
#pisitools.remove("usr/lib/libmozjs-..a")
|
|
||||||
|
|
||||||
shelltools.cd("..")
|
|
||||||
pisitools.dodoc("README*")
|
|
||||||
|
|
||||||
# add link for polkit
|
|
||||||
#pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
|
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
|
#WorkDir = "mozjs%s/js/src" % get.srcVERSION()
|
||||||
|
ObjDir = "obj"
|
||||||
|
shelltools.export("SHELL","/bin/sh")
|
||||||
|
WorkDir = "firefox-%s" %get.srcVERSION()
|
||||||
|
|
||||||
|
|
||||||
|
shelltools.system("export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip")
|
||||||
|
shelltools.export("MOZBUILD_STATE_PATH", "mozbuild")
|
||||||
|
shelltools.system("export MOZ_NOSPAM=1")
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
# shelltools.export("CC", "gcc")
|
||||||
|
# shelltools.export("CXX", "g++")
|
||||||
|
# shelltools.system("cp mozconfig .mozconfig")
|
||||||
|
shelltools.system("cp mozconfig js/src/.mozconfig")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
# shelltools.cd("build-js")
|
||||||
|
shelltools.system("./mach build")
|
||||||
|
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build")
|
||||||
|
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
|
||||||
|
# shelltools.system("DESTDIR=%s ./mach install " % get.installDIR())
|
||||||
|
pisitools.remove("/usr/lib/*.ajs")
|
||||||
|
|
||||||
|
pisitools.dosym("/usr/lib/libmozjs-128.so", "/usr/lib/libmozjs-128.so.0")
|
||||||
|
|
||||||
|
shelltools.cd("..")
|
||||||
|
pisitools.dodoc("README*")
|
||||||
|
|
||||||
|
# add link for polkit
|
||||||
|
#pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
ac_add_options --enable-application=js
|
||||||
|
# mk_add_options MOZ_OBJDIR=${PWD@Q}/obj
|
||||||
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/build
|
||||||
|
|
||||||
|
ac_add_options --prefix=/usr
|
||||||
|
ac_add_options --enable-release
|
||||||
|
ac_add_options --enable-hardening
|
||||||
|
ac_add_options --enable-optimize
|
||||||
|
ac_add_options --enable-rust-simd
|
||||||
|
ac_add_options --enable-linker=lld
|
||||||
|
ac_add_options --disable-bootstrap
|
||||||
|
ac_add_options --disable-debug
|
||||||
|
ac_add_options --disable-jemalloc
|
||||||
|
ac_add_options --disable-strip
|
||||||
|
|
||||||
|
# System libraries
|
||||||
|
ac_add_options --with-system-zlib
|
||||||
|
ac_add_options --without-system-icu
|
||||||
|
|
||||||
|
# Features
|
||||||
|
ac_add_options --enable-readline
|
||||||
|
ac_add_options --enable-shared-js
|
||||||
|
ac_add_options --enable-tests
|
||||||
|
ac_add_options --with-intl-api
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From d21c7cb9343d8c495d987e71be0f35887574c820 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
|
||||||
|
Date: Wed, 15 Jul 2020 08:21:47 +0200
|
||||||
|
Subject: [PATCH] Add soname switch to linker, regardless of Operating System
|
||||||
|
|
||||||
|
Fix backported from Debian: http://bugs.debian.org/746705
|
||||||
|
---
|
||||||
|
config/rules.mk | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/config/rules.mk b/config/rules.mk
|
||||||
|
index 90a9946..dc87789 100644
|
||||||
|
--- a/config/rules.mk
|
||||||
|
+++ b/config/rules.mk
|
||||||
|
@@ -291,6 +291,8 @@ ifeq ($(OS_ARCH),GNU)
|
||||||
|
OS_CPPFLAGS += -DPATH_MAX=1024 -DMAXPATHLEN=1024
|
||||||
|
endif
|
||||||
|
|
||||||
|
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
|
||||||
|
+
|
||||||
|
#
|
||||||
|
# MINGW32
|
||||||
|
#
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
+29
-11
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>mozjs-115</Name>
|
<Name>mozjs-128</Name>
|
||||||
<Homepage>http://www.mozilla.org/js/spidermonkey/</Homepage>
|
<Homepage>http://www.mozilla.org/js/spidermonkey/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
@@ -12,25 +12,30 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Stand-alone JavaScript C Library</Summary>
|
<Summary>Stand-alone JavaScript C Library</Summary>
|
||||||
<Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
|
<Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
|
||||||
<Archive type="tarxz" sha1sum="1432c55292115860b910943ac160acd1cc57d856">https://ftp.mozilla.org/pub/firefox/releases/115.4.0esr/source/firefox-115.4.0esr.source.tar.xz</Archive>
|
<Archive type="tarxz" sha1sum="ca5f1c7eae739168c1b8149cafa27194b93f71c7">https://ftp.mozilla.org/pub/firefox/releases/128.14.0esr/source/firefox-128.14.0esr.source.tar.xz</Archive>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile target="mozconfig" permission="0644">mozconfig</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>python3-devel</Dependency>
|
|
||||||
<Dependency>zlib-devel</Dependency>
|
|
||||||
<Dependency>nspr-devel</Dependency>
|
|
||||||
<Dependency>readline-devel</Dependency>
|
|
||||||
<Dependency>autoconf213</Dependency>
|
|
||||||
<Dependency>rust</Dependency>
|
<Dependency>rust</Dependency>
|
||||||
<Dependency>llvm</Dependency>
|
<Dependency>llvm</Dependency>
|
||||||
|
<Dependency>cbindgen</Dependency>
|
||||||
|
<Dependency>lld-devel</Dependency>
|
||||||
|
<Dependency>zlib-devel</Dependency>
|
||||||
|
<Dependency>nspr-devel</Dependency>
|
||||||
|
<Dependency>autoconf213</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>readline-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch level="1">mozjs78-silence-sandbox-violations.patch</Patch> -->
|
<!-- <Patch level="1">mozjs78-silence-sandbox-violations.patch</Patch> -->
|
||||||
<Patch level="1">mozjs78-fix-soname.patch</Patch>
|
<Patch level="1">mozjs128-fix-soname.patch</Patch>
|
||||||
<!--Patch level="1">Remove-unused-LLVM-and-Rust-build-dependencies.patch</Patch-->
|
<!--Patch level="1">Remove-unused-LLVM-and-Rust-build-dependencies.patch</Patch-->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>mozjs-115</Name>
|
<Name>mozjs-128</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>nspr</Dependency>
|
<Dependency>nspr</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zlib</Dependency>
|
||||||
@@ -42,13 +47,16 @@
|
|||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
|
<Replaces>
|
||||||
|
<Package>mozjs-115</Package>
|
||||||
|
</Replaces>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>mozjs-115-devel</Name>
|
<Name>mozjs-128-devel</Name>
|
||||||
<Summary>Development files for spidermonkey</Summary>
|
<Summary>Development files for spidermonkey</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current">mozjs-115</Dependency>
|
<Dependency release="current">mozjs-128</Dependency>
|
||||||
<Dependency>nspr-devel</Dependency>
|
<Dependency>nspr-devel</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -56,9 +64,19 @@
|
|||||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
<!--Path fileType="executable">/usr/bin/js17-config</Path-->
|
<!--Path fileType="executable">/usr/bin/js17-config</Path-->
|
||||||
</Files>
|
</Files>
|
||||||
|
<Replaces>
|
||||||
|
<Package>mozjs-115-devel</Package>
|
||||||
|
</Replaces>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2025-12-20</Date>
|
||||||
|
<Version>128.14.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="1">
|
<Update release="1">
|
||||||
<Date>2023-10-25</Date>
|
<Date>2023-10-25</Date>
|
||||||
<Version>115.4.0</Version>
|
<Version>115.4.0</Version>
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
<Path fileType="localedata">/usr/share/locale</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user