diff --git a/desktop/gnome/base/gjs/pspec.xml b/desktop/gnome/base/gjs/pspec.xml index 2a7cf7a4c6..494857c226 100644 --- a/desktop/gnome/base/gjs/pspec.xml +++ b/desktop/gnome/base/gjs/pspec.xml @@ -15,7 +15,7 @@ JavaScript bindings for GNOME https://download.gnome.org/sources/gjs/1.74/gjs-1.74.1.tar.xz - spidermonkey-devel + mozjs-102-devel meson gobject-introspection-devel dbus-glib-devel @@ -34,7 +34,7 @@ libffi libgcc readline - spidermonkey + mozjs-102 gobject-introspection @@ -54,7 +54,7 @@ cairo-devel glib2-devel libffi-devel - spidermonkey-devel + mozjs-102-devel gobject-introspection-devel diff --git a/pisi-index.xml b/pisi-index.xml index 5036cd2f9c..269943d4d3 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -248673,7 +248673,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-10-18 + 2022-11-02 43.1 Version bump. Mustafa Cinasal @@ -248753,7 +248753,7 @@ It supports email, address books, calendars, tasks, news feeds and much more.gjs https://download.gnome.org/sources/gjs/1.74/gjs-1.74.1.tar.xz - spidermonkey-devel + mozjs-102-devel meson gobject-introspection-devel dbus-glib-devel @@ -248772,7 +248772,7 @@ It supports email, address books, calendars, tasks, news feeds and much more.libffi libgcc readline - spidermonkey + mozjs-102 gobject-introspection @@ -248787,11 +248787,11 @@ It supports email, address books, calendars, tasks, news feeds and much more.gjs-devel Development files for gjs - gjs + gjs cairo-devel glib2-devel libffi-devel - spidermonkey-devel + mozjs-102-devel gobject-introspection-devel @@ -248800,27 +248800,13 @@ It supports email, address books, calendars, tasks, news feeds and much more. - + 2022-10-30 1.74.1 Version bump. Mustafa Cinasal muscnsl@gmail.com - - 2022-09-21 - 1.74.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-17 - 1.73.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - 2022-08-08 1.72.2 @@ -249001,7 +248987,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-27 + 2022-11-02 1.12.0 Version bump. Mustafa Cinasal @@ -249222,7 +249208,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 42.1 Rebuild. Mustafa Cinasal @@ -249482,7 +249468,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 1.34.0 Version bump. Mustafa Cinasal @@ -249709,7 +249695,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-17 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -249847,7 +249833,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 3.26.4 Rebuild. Mustafa Cinasal @@ -250302,7 +250288,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -250365,7 +250351,7 @@ It supports email, address books, calendars, tasks, news feeds and much more.desktop.gnome.base The Gcr package contains libraries used for displaying certificates and accessing key stores. The Gcr package contains libraries used for displaying certificates and accessing key stores. It also provides the viewer for crypto files on the GNOME Desktop. - https://download.gnome.org/sources/gcr/3.92/gcr-3.92.0.tar.xz + https://download.gnome.org/sources/gcr/4.0/gcr-4.0.0.tar.xz meson gnupg @@ -250448,8 +250434,8 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-17 - 3.92.0 + 2022-11-02 + 4.0.0 Version bump. Mustafa Cinasal muscnsl@gmail.com @@ -250711,7 +250697,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -251056,7 +251042,7 @@ It supports email, address books, calendars, tasks, news feeds and much more. - 2022-09-18 + 2022-11-02 3.34.0 Rebuild. Mustafa Cinasal @@ -251294,7 +251280,7 @@ settings shared by various components of a desktop. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -251587,7 +251573,7 @@ settings shared by various components of a desktop. - 2022-10-21 + 2022-11-02 3.46.1 Version bump. Mustafa Cinasal @@ -251708,6 +251694,7 @@ settings shared by various components of a desktop. json-glib-devel libarchive-devel appstream-glib-devel + libportal-devel desktop/gnome/base/file-roller/pspec.xml @@ -251727,6 +251714,7 @@ settings shared by various components of a desktop. json-glib libnotify gdk-pixbuf + libportal libarchive @@ -251748,7 +251736,7 @@ settings shared by various components of a desktop. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -251849,7 +251837,7 @@ settings shared by various components of a desktop. - 2022-09-20 + 2022-11-02 43 Version bump. Mustafa Cinasal @@ -251969,7 +251957,7 @@ settings shared by various components of a desktop. - 2022-10-18 + 2022-11-02 43.1 Version bump. Mustafa Cinasal @@ -252117,7 +252105,7 @@ services for numerous locations. - 2022-09-18 + 2022-11-02 40.0 Rebuild. Mustafa Cinasal @@ -252210,7 +252198,7 @@ services for numerous locations. - 2022-09-16 + 2022-11-02 1.8.0 Version bump. Mustafa Cinasal @@ -252786,7 +252774,7 @@ services for numerous locations. - 2022-09-20 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -252923,7 +252911,7 @@ services for numerous locations. - 2022-09-18 + 2022-11-02 42.2 Version bump. Mustafa Cinasal @@ -253476,7 +253464,7 @@ services for numerous locations. - 2022-09-16 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -253572,7 +253560,7 @@ services for numerous locations. - 2022-06-19 + 2022-11-02 0.8.1 Rebuild. Mustafa Cinasal @@ -253708,7 +253696,7 @@ services for numerous locations. - 2022-09-18 + 2022-11-02 3.46.0 Version bump. Mustafa Cinasal @@ -253959,7 +253947,7 @@ services for numerous locations. - 2022-09-18 + 2022-11-02 0.15.5 Rebuild. Mustafa Cinasal @@ -254135,7 +254123,7 @@ services for numerous locations. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -254266,7 +254254,7 @@ services for numerous locations. - 2022-10-31 + 2022-11-02 42.1 Version bump. Mustafa Cinasal @@ -254418,7 +254406,7 @@ GNOME Session and the applications that run under it. - 2022-09-18 + 2022-10-02 43.0 Version bump. Mustafa Cinasal @@ -254688,7 +254676,7 @@ GNOME Session and the applications that run under it. - 2022-09-19 + 2022-11-02 0.9.1 Version bump. Mustafa Cinasal @@ -254807,7 +254795,7 @@ GNOME Session and the applications that run under it. - 2022-09-20 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -254938,7 +254926,7 @@ GNOME Session and the applications that run under it. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -255062,7 +255050,7 @@ services for numerous locations. - 2022-09-19 + 2022-11-02 4.2.0 Version bump. Mustafa Cinasal @@ -255505,7 +255493,7 @@ components such as the Settings and gnome-shell. - 2022-09-18 + 2022-11-02 43.0 Version bump. Mustafa Cinasal @@ -298179,6 +298167,162 @@ components such as the Settings and gnome-shell. + + + mozjs-102 + http://www.mozilla.org/js/spidermonkey/ + + PisiLinux Community + admins@pisilinux.org + + NPL-1.1 + library + programming.language.java + Stand-alone JavaScript C Library + Spidermonkey is Mozilla's C implementation of JavaScript. + https://ftp.mozilla.org/pub/firefox/releases/102.2.0esr/source/firefox-102.2.0esr.source.tar.xz + + python3-devel + zlib-devel + nspr-devel + readline-devel + autoconf213 + rust + llvm + + + mozjs78-fix-soname.patch + + programming/language/java/mozjs-102/pspec.xml + + + mozjs-102 + + nspr + zlib + libgcc + readline + + + /usr/bin + /usr/lib + /usr/share/doc + + + + mozjs-102-devel + Development files for spidermonkey + system.devel + + mozjs-102 + nspr-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + 2022-09-18 + 102.2.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2022-06-01 + 91.9.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2021-08-07 + 78.12.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2021-05-28 + 78.10.1 + Version bump + Berk Çakar + berk2238@hotmail.com + + + 2020-12-09 + 68.12.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-10-19 + 68.12.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-08-06 + 68.11.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-10-03 + 60.9.0 + Version bump. + Idris Kalp + idriskalp@gmail.com + + + 2018-07-23 + 52.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-07-22 + 52.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-07-19 + 17.0.0 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2017-01-29 + 17.0.0 + Rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2016-04-27 + 17.0.0 + Release Bump + PisiLinux Community + admin@pisilinux.org + + + 2016-03-06 + 17.0.0 + First release + Ertuğrul Erata + ertugrulerata@gmail.com + + + mozjs-78 @@ -333214,7 +333358,7 @@ contacts, tasks, and calendar information. C için HTTP kitaplık gerçekleyicisi libsoup is an HTTP client/server library for GNOME. libsoup, GNOME için HTTP istemci / sunucu kitaplığıdır. - mirrors://gnome/libsoup/2.74/libsoup-2.74.2.tar.xz + mirrors://gnome/libsoup/2.74/libsoup-2.74.3.tar.xz meson libgcrypt-devel @@ -333292,7 +333436,7 @@ contacts, tasks, and calendar information. libxml2-devel sysprof-devel gobject-introspection-devel - libsoup + libsoup /usr/include @@ -333301,6 +333445,13 @@ contacts, tasks, and calendar information. + + 2022-10-11 + 2.74.3 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-06-02 2.74.2 @@ -334443,7 +334594,7 @@ contacts, tasks, and calendar information. programming.misc An HTTP library implementation in C libsoup is an HTTP client/server library for GNOME. - https://download.gnome.org/sources/libsoup/3.0/libsoup-3.0.8.tar.xz + https://download.gnome.org/sources/libsoup/3.2/libsoup-3.2.1.tar.xz meson libgcrypt-devel @@ -334496,7 +334647,7 @@ contacts, tasks, and calendar information. libsoup3 - /usr/share/gtk-doc + /usr/share/doc/libsoup-3.0 @@ -334511,7 +334662,7 @@ contacts, tasks, and calendar information. sysprof-devel libnghttp2-devel gobject-introspection-devel - libsoup3 + libsoup3 /usr/include @@ -334520,6 +334671,13 @@ contacts, tasks, and calendar information. + + 2022-10-11 + 3.2.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-09-06 3.0.8 diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index ef1279af58..2ebe2de42c 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -3ff46699584337ab7a204b5e2ecac2a32590182e \ No newline at end of file +0817c4a99be409f58821c5e8dfde36e2d0b61220 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 04994cec69..c349ad0d34 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 11cf79705d..3793912086 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -82da1b1b3fe0d130f1f0343ce9d1148287327508 \ No newline at end of file +945b85ae4a9112222e5e9fea2274800977c9aba9 \ No newline at end of file diff --git a/programming/language/java/mozjs-102/actions.py b/programming/language/java/mozjs-102/actions.py new file mode 100644 index 0000000000..3c215e7e34 --- /dev/null +++ b/programming/language/java/mozjs-102/actions.py @@ -0,0 +1,70 @@ +# -*- 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.in \ + --prefix=/usr \ + --libdir=/usr/lib \ + --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() + +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" % get.installDIR()) + pisitools.remove("/usr/lib/*.ajs") + + #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") diff --git a/programming/language/java/mozjs-102/files/Remove-unused-LLVM-and-Rust-build-dependencies.patch b/programming/language/java/mozjs-102/files/Remove-unused-LLVM-and-Rust-build-dependencies.patch new file mode 100644 index 0000000000..d98b577ebf --- /dev/null +++ b/programming/language/java/mozjs-102/files/Remove-unused-LLVM-and-Rust-build-dependencies.patch @@ -0,0 +1,72 @@ +Description: Remove unused LLVM and Rust build dependencies + Since the Javascript engine is normally part of Firefox, its build + system has dependencies on the LLVM and Rust toolchains. This limits + the number of architectures which mozjs68 can be built on. + . + It turns out, however, that neither LLVM nor Rust are used when mozjs68 + is being built and these build dependencies are therefore not necessary. + . + This patch removes them and allows mozjs68 to be built on any architecture. + . +Author: John Paul Adrian Glaubitz +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959144 +Forwarded: no +Last-Update: 2020-04-30 + +Index: mozjs68-68.6.0/js/moz.configure +=================================================================== +--- mozjs68-68.6.0.orig/js/moz.configure ++++ mozjs68-68.6.0/js/moz.configure +@@ -18,11 +18,6 @@ def building_js(build_project): + option(env='JS_STANDALONE', default=building_js, + help='Reserved for internal use') + +-include('../build/moz.configure/rust.configure', +- when='--enable-compile-environment') +-include('../build/moz.configure/bindgen.configure', +- when='--enable-compile-environment') +- + @depends('JS_STANDALONE') + def js_standalone(value): + if value: +Index: mozjs68-68.6.0/moz.configure +=================================================================== +--- mozjs68-68.6.0.orig/moz.configure ++++ mozjs68-68.6.0/moz.configure +@@ -598,36 +598,6 @@ set_config('MAKENSISU_FLAGS', nsis_flags + + check_prog('7Z', ('7z', '7za'), allow_missing=True, when=target_is_windows) + +- +-@depends(host_c_compiler, c_compiler, bindgen_config_paths) +-def llvm_objdump(host_c_compiler, c_compiler, bindgen_config_paths): +- clang = None +- for compiler in (host_c_compiler, c_compiler): +- if compiler and compiler.type == 'clang': +- clang = compiler.compiler +- break +- elif compiler and compiler.type == 'clang-cl': +- clang = os.path.join(os.path.dirname(compiler.compiler), 'clang') +- break +- +- if not clang and bindgen_config_paths: +- clang = bindgen_config_paths.clang_path +- llvm_objdump = 'llvm-objdump' +- if clang: +- out = check_cmd_output(clang, '--print-prog-name=llvm-objdump', +- onerror=lambda: None) +- if out: +- llvm_objdump = out.rstrip() +- return (llvm_objdump,) +- +- +-llvm_objdump = check_prog('LLVM_OBJDUMP', llvm_objdump, what='llvm-objdump', +- when='--enable-compile-environment', +- paths=toolchain_search_path) +- +-add_old_configure_assignment('LLVM_OBJDUMP', llvm_objdump) +- +- + # Please do not add configure checks from here on. + + # Fallthrough to autoconf-based configure diff --git a/programming/language/java/mozjs-102/files/bug1415202.patch b/programming/language/java/mozjs-102/files/bug1415202.patch new file mode 100644 index 0000000000..e23fa856ea --- /dev/null +++ b/programming/language/java/mozjs-102/files/bug1415202.patch @@ -0,0 +1,127 @@ +# HG changeset patch +# User André Bargull +# Date 1510140221 28800 +# Wed Nov 08 03:23:41 2017 -0800 +# Node ID 8bf5e7460a7c5ba3430b501d1659c469a862a929 +# Parent 60fd4a5b01ec70ded9ddfd560fd5be191b1c74b9 +Bug 1415202: Always use the equivalent year to determine the time zone offset and name. r=Waldo + +diff --git a/js/src/jsdate.cpp b/js/src/jsdate.cpp +--- a/js/src/jsdate.cpp ++++ b/js/src/jsdate.cpp +@@ -2348,22 +2348,26 @@ static PRMJTime ToPRMJTime(double localT + prtm.tm_isdst = (DaylightSavingTA(utcTime) != 0); + + return prtm; + } + + static size_t FormatTime(char* buf, int buflen, const char* fmt, double utcTime, + double localTime) { + PRMJTime prtm = ToPRMJTime(localTime, utcTime); +- int eqivalentYear = IsRepresentableAsTime32(utcTime) ++ ++ // If an equivalent year was used to compute the date/time components, use ++ // the same equivalent year to determine the time zone name and offset in ++ // PRMJ_FormatTime(...). ++ int timeZoneYear = IsRepresentableAsTime32(utcTime) + ? prtm.tm_year + : EquivalentYearForDST(prtm.tm_year); + int offsetInSeconds = (int)floor((localTime - utcTime) / msPerSecond); + +- return PRMJ_FormatTime(buf, buflen, fmt, &prtm, eqivalentYear, ++ return PRMJ_FormatTime(buf, buflen, fmt, &prtm, timeZoneYear, + offsetInSeconds); + } + + enum class FormatSpec { DateTime, Date, Time }; + + static bool FormatDate(JSContext* cx, double utcTime, FormatSpec format, + MutableHandleValue rval) { + JSString* str; +diff --git a/js/src/vm/Time.cpp b/js/src/vm/Time.cpp +--- a/js/src/vm/Time.cpp ++++ b/js/src/vm/Time.cpp +@@ -242,17 +242,17 @@ static void PRMJ_InvalidParameterHandler + const wchar_t* file, unsigned int line, + uintptr_t pReserved) { + /* empty */ + } + #endif + + /* Format a time value into a buffer. Same semantics as strftime() */ + size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, +- const PRMJTime* prtm, int equivalentYear, ++ const PRMJTime* prtm, int timeZoneYear, + int offsetInSeconds) { + size_t result = 0; + #if defined(XP_UNIX) || defined(XP_WIN) + struct tm a; + #ifdef XP_WIN + _invalid_parameter_handler oldHandler; + #ifndef __MINGW32__ + int oldReportMode; +@@ -275,39 +275,33 @@ size_t PRMJ_FormatTime(char* buf, int bu + */ + #if defined(HAVE_LOCALTIME_R) && defined(HAVE_TM_ZONE_TM_GMTOFF) + char emptyTimeZoneId[] = ""; + { + /* + * Fill out |td| to the time represented by |prtm|, leaving the + * timezone fields zeroed out. localtime_r will then fill in the + * timezone fields for that local time according to the system's +- * timezone parameters. ++ * timezone parameters. Use |timeZoneYear| for the year to ensure the ++ * time zone name matches the time zone offset used by the caller. + */ + struct tm td; + memset(&td, 0, sizeof(td)); + td.tm_sec = prtm->tm_sec; + td.tm_min = prtm->tm_min; + td.tm_hour = prtm->tm_hour; + td.tm_mday = prtm->tm_mday; + td.tm_mon = prtm->tm_mon; + td.tm_wday = prtm->tm_wday; +- td.tm_year = prtm->tm_year - 1900; ++ td.tm_year = timeZoneYear - 1900; + td.tm_yday = prtm->tm_yday; + td.tm_isdst = prtm->tm_isdst; + + time_t t = mktime(&td); + +- // If |prtm| cannot be represented in |time_t| the year is probably +- // out of range, try again with the DST equivalent year. +- if (t == static_cast(-1)) { +- td.tm_year = equivalentYear - 1900; +- t = mktime(&td); +- } +- + // If either mktime or localtime_r failed, fill in the fallback time + // zone offset |offsetInSeconds| and set the time zone identifier to + // the empty string. + if (t != static_cast(-1) && localtime_r(&t, &td)) { + a.tm_gmtoff = td.tm_gmtoff; + a.tm_zone = td.tm_zone; + } else { + a.tm_gmtoff = offsetInSeconds; +diff --git a/js/src/vm/Time.h b/js/src/vm/Time.h +--- a/js/src/vm/Time.h ++++ b/js/src/vm/Time.h +@@ -44,17 +44,17 @@ inline void PRMJ_NowInit() {} + #ifdef XP_WIN + extern void PRMJ_NowShutdown(); + #else + inline void PRMJ_NowShutdown() {} + #endif + + /* Format a time value into a buffer. Same semantics as strftime() */ + extern size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, +- const PRMJTime* tm, int equivalentYear, ++ const PRMJTime* tm, int timeZoneYear, + int offsetInSeconds); + + /** + * Requesting the number of cycles from the CPU. + * + * `rdtsc`, or Read TimeStamp Cycle, is an instruction provided by + * x86-compatible CPUs that lets processes request the number of + * cycles spent by the CPU executing instructions since the CPU was diff --git a/programming/language/java/mozjs-102/files/mozjs60-fix-soname.patch b/programming/language/java/mozjs-102/files/mozjs60-fix-soname.patch new file mode 100644 index 0000000000..cd661c3530 --- /dev/null +++ b/programming/language/java/mozjs-102/files/mozjs60-fix-soname.patch @@ -0,0 +1,25 @@ +diff --git i/js/src/build/Makefile.in w/js/src/build/Makefile.in +index ee19104e0ef5..a0f06fd35a18 100644 +--- i/js/src/build/Makefile.in ++++ w/js/src/build/Makefile.in +@@ -89,6 +89,8 @@ ifneq (,$(REAL_LIBRARY)) + endif + ifneq (,$(SHARED_LIBRARY)) + $(SYSINSTALL) $(SHARED_LIBRARY) $(DESTDIR)$(libdir) ++ mv -f $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY).0 ++ ln -s $(SHARED_LIBRARY).0 $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) + ifeq ($(OS_ARCH),Darwin) + install_name_tool -id $(abspath $(libdir)/$(SHARED_LIBRARY)) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) + endif +diff --git i/js/src/build/moz.build w/js/src/build/moz.build +index a7f5fa4ce8eb..726687c13fb0 100644 +--- i/js/src/build/moz.build ++++ w/js/src/build/moz.build +@@ -23,6 +23,7 @@ if not CONFIG['JS_STANDALONE']: + if CONFIG['JS_SHARED_LIBRARY']: + GeckoSharedLibrary('js', linkage=None) + SHARED_LIBRARY_NAME = CONFIG['JS_LIBRARY_NAME'] ++ LDFLAGS += ['-Wl,-soname,lib{}.so.0'.format(SHARED_LIBRARY_NAME)] + else: + Library('js') + diff --git a/programming/language/java/mozjs-102/files/mozjs78-fix-soname.patch b/programming/language/java/mozjs-102/files/mozjs78-fix-soname.patch new file mode 100644 index 0000000000..10afaec38c --- /dev/null +++ b/programming/language/java/mozjs-102/files/mozjs78-fix-soname.patch @@ -0,0 +1,38 @@ +"Carried over from mozjs68" +--- a/js/src/build/Makefile.in ++++ b/js/src/build/Makefile.in +@@ -78,6 +78,8 @@ + endif + ifneq (,$(SHARED_LIBRARY)) + $(SYSINSTALL) $(SHARED_LIBRARY) $(DESTDIR)$(libdir) ++ mv -f $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY).0 ++ ln -s $(SHARED_LIBRARY).0 $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) + ifeq ($(OS_ARCH),Darwin) + install_name_tool -id $(abspath $(libdir)/$(SHARED_LIBRARY)) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY) + endif +--- a/js/src/build/moz.build 2022-03-13 17:31:39.000000000 +0300 ++++ b/js/src/build/moz.build 2022-03-21 23:32:34.252893769 +0300 +@@ -26,6 +26,7 @@ + if CONFIG["JS_SHARED_LIBRARY"]: + GeckoSharedLibrary("js", linkage=None) + SHARED_LIBRARY_NAME = CONFIG["JS_LIBRARY_NAME"] ++ LDFLAGS += ['-Wl,-soname,lib{}.so.0'.format(SHARED_LIBRARY_NAME)] + + # Ensure symbol versions of shared library on Linux do not conflict + # with those in libxul. +diff --git a/config/rules.mk b/config/rules.mk +index 0f9b2ac..f6b4efe 100644 +--- a/config/rules.mk ++++ b/config/rules.mk +@@ -285,6 +285,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.31.1 + diff --git a/programming/language/java/mozjs-102/files/mozjs78-silence-sandbox-violations.patch b/programming/language/java/mozjs-102/files/mozjs78-silence-sandbox-violations.patch new file mode 100644 index 0000000000..12c8c2e074 --- /dev/null +++ b/programming/language/java/mozjs-102/files/mozjs78-silence-sandbox-violations.patch @@ -0,0 +1,27 @@ +"Carried over + updated from mozjs68" +Upstream: no +From 9ad10569e11a2fb96377188f895bc66abcc9511d Mon Sep 17 00:00:00 2001 +From: Marc-Antoine Perennou +Date: Wed, 5 Sep 2018 15:05:24 +0200 +Subject: [PATCH] silence sandbox violations + +Signed-off-by: Marc-Antoine Perennou +--- + python/mozbuild/mozbuild/frontend/emitter.py | 5 ----- + 1 file changed, 5 deletions(-) + +--- a/python/mozbuild/mozbuild/frontend/emitter.py ++++ b/python/mozbuild/mozbuild/frontend/emitter.py +@@ -1239,12 +1239,6 @@ class TreeMetadataEmitter(LoggingMixin): + 'is a filename, but a directory is required: %s ' + '(resolved to %s)' % (local_include, full_path), + context) +- if (full_path == context.config.topsrcdir or +- full_path == context.config.topobjdir): +- raise SandboxValidationError( +- 'Path specified in LOCAL_INCLUDES ' +- '(%s) resolves to the topsrcdir or topobjdir (%s), which is ' +- 'not allowed' % (local_include, full_path), context) + include_obj = LocalInclude(context, local_include) + local_includes.append(include_obj.path.full_path) + yield include_obj \ No newline at end of file diff --git a/programming/language/java/mozjs-102/pspec.xml b/programming/language/java/mozjs-102/pspec.xml new file mode 100644 index 0000000000..dc24d9136f --- /dev/null +++ b/programming/language/java/mozjs-102/pspec.xml @@ -0,0 +1,162 @@ + + + + + mozjs-102 + http://www.mozilla.org/js/spidermonkey/ + + PisiLinux Community + admins@pisilinux.org + + NPL-1.1 + library + Stand-alone JavaScript C Library + Spidermonkey is Mozilla's C implementation of JavaScript. + https://ftp.mozilla.org/pub/firefox/releases/102.2.0esr/source/firefox-102.2.0esr.source.tar.xz + + python3-devel + zlib-devel + nspr-devel + readline-devel + autoconf213 + rust + llvm + + + + mozjs78-fix-soname.patch + + + + + + mozjs-102 + + nspr + zlib + libgcc + readline + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + mozjs-102-devel + system.devel + Development files for spidermonkey + + mozjs-102 + nspr-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + + 2022-09-18 + 102.2.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2022-06-01 + 91.9.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2021-08-07 + 78.12.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2021-05-28 + 78.10.1 + Version bump + Berk Çakar + berk2238@hotmail.com + + + 2020-12-09 + 68.12.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-10-19 + 68.12.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-08-06 + 68.11.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-10-03 + 60.9.0 + Version bump. + Idris Kalp + idriskalp@gmail.com + + + 2018-07-23 + 52.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-07-22 + 52.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-07-19 + 17.0.0 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2017-01-29 + 17.0.0 + Rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2016-04-27 + 17.0.0 + Release Bump + PisiLinux Community + admin@pisilinux.org + + + 2016-03-06 + 17.0.0 + First release + Ertuğrul Erata + ertugrulerata@gmail.com + + + diff --git a/programming/language/java/mozjs-102/translations.xml b/programming/language/java/mozjs-102/translations.xml new file mode 100644 index 0000000000..04ee141abe --- /dev/null +++ b/programming/language/java/mozjs-102/translations.xml @@ -0,0 +1,15 @@ + + + + spidermonkey + Javascript C Kitaplığı + Mozilla'nın Javascript'in C implementasyonu. + Spidermonkey est l'Implémentation C de Javascript par Mozilla. + Spidermonkey es la implementación de JavaScript con C de Mozilla. + + + + spidermonkey-devel + spidermonkey için geliştirme dosyaları + +