summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs
Commit message (Collapse)AuthorAgeFilesLines
* mozjs-115: Fix build on riscv32Khem Raj2024-09-171-0/+2
| | | | | | | Link with libatomic explicitly, fixes riscv32-yoe-linux-ld.lld: error: undefined symbol: __atomic_store_8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: fix build with clang and libc++ 19Khem Raj2024-09-033-0/+68
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN statusAlexandre Truong2024-07-241-0/+3
| | | | | | | | | | | Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
* mozjs-115: update 115.8.0 -> 115.11.0Markus Volk2024-06-091-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: fix reproducibility issueMarkus Volk2024-03-081-0/+1
| | | | | | | | | | mozjs inserts lines with ${S} in many cpp files. Although required for compilation, it affects reproducibility for the mozjs-115-src package. Fix this by simply not packaging the modified source code Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: update 115.6.0 -> 115.8.0Markus Volk2024-03-052-2498/+1
| | | | | | | - python 3.12 support was added, remove the patch Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: fix the build on ARMv5Ross Burton2024-01-202-0/+21
| | | | | | | | | | | | | | The JIT uses the ISB instruction, but being a multi-core barrier instruction this doesn't exist on the single-core ARMv5 ISA. Check the ISA level before using ISB. Also set [cleandirs] for ${B} to ensure clean builds are done when reconfiguring. [ YOCTO #14572 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: update 115.2.0 -> 115.6.0Markus Volk2024-01-191-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-102: remove the recipeAlexander Kanavin2023-12-2712-525/+0
| | | | | | | | | | | | | | | | mozjs-102 was retained for the purpose of supporting polkit; with the backport of mozjs-115 patch for polkit there are no further consumers, and it's not compatible with python 3.12. I didn't look into what specifically breaks with 3.12, as getting mozjs-115 to work with it was tricky enough, so I'd rather drop mozjs-102, than attempt to make it work. mozjs-115 is esr (long term support) release like mozjs-102, but it is also newer and therefore will remain in support longer. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: backport py 3.12 compatibilityAlexander Kanavin2023-12-272-0/+2497
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: split the way-too-long PYTHONPATH lineAlexander Kanavin2023-12-271-1/+16
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: use PV in MULTILIB_SCRIPTSMartin Jansa2023-09-272-6/+8
| | | | | | | | | | | * to avoid possible issue next time new mozjs version recipe is introduced (as multilib isn't as well tested as other build configs) * this depends on oe-core change to expand script name in MULTILIB_SCRIPTS: https://lists.openembedded.org/g/openembedded-core/message/188301 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: fix filename in MULTILIB_SCRIPTSMartin Jansa2023-09-271-1/+1
| | | | | | | | | | | * fixes: DEBUG: Executing shell function multilibscript_rename mv: cannot stat 'lib32-mozjs-115/115.2.0/package/usr/bin/js102-config': No such file or directory WARNING: exit code 1 from a shell command. * cannot use PV here just yet, see the next commit Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp, mozjs-115, redis-7.2.1, pv: add missing Upstream-StatusMartin Jansa2023-09-271-0/+2
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Upgrade 102.15.0 -> 102.15.1Markus Volk2023-09-271-1/+1
| | | | | | | This fixes a possible segfault in polkit Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-102: Remove the buildpathMingli Yu2023-09-271-0/+2
| | | | | | | | | Fixes: WARNING: mozjs-102-102.9.0-r0 do_package_qa: QA Issue: File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components4.cpp in package mozjs-102-src contains reference to TMPDIR File /usr/src/debug/mozjs-102/102.9.0-r0/intl/components/Unified_cpp_intl_components0.cpp in package mozjs-102-src contains reference to TMPDIR Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-115: Apply autoconf tuple mismatch fixKhem Raj2023-09-252-5/+21
| | | | | | | Fixes DEBUG: | Invalid configuration `riscv64gc-yoe-linux-gnu': machine `riscv64gc-yoe' not recognized Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: add recipe for v115Markus Volk2023-09-2212-0/+535
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: upgrade 102.9.0 -> 102.15.0Markus Volk2023-09-181-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: update 102.5.0 -> 102.9.0Markus Volk2023-04-102-141/+1
| | | | | | | - remove backport patch Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: fix Upstream-Status formatYi Zhao2023-02-241-1/+1
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: fix compile error for armKai Kang2023-01-132-0/+26
| | | | | | | | | | | | | | | | Backport patch from firefox bugzilla to fix compile error for qemuarm with some armv7ve tunes such as 'armv7vethf' and 'armv7vet-vfpv3d16': | /path/to/build/tmp/work/armv7vet2hf-vfp-poky-linux-gnueabi/mozjs-102/102.5.0-r0/build/js/src/jit/AtomicOperationsGenerated.h:240:17: error: 'asm' operand has impossible constraints | 240 | asm volatile ( | | ^~~ Ref: * https://bugzilla.mozilla.org/show_bug.cgi?id=1761665 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-102: Disable mozilla stackwalk on muslKhem Raj2022-12-312-0/+19
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: update 98 -> 102Markus Volk2022-11-2814-217/+118
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: backport a python 3.11 compatibility patchAlexander Kanavin2022-09-142-0/+212
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: update to 91.13.0Alexander Kanavin2022-09-141-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYSKhem Raj2022-08-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Use vendored icu on ppc/clangKhem Raj2022-04-251-0/+2
| | | | | | | This helps compile gjs, external icu is needed with gcc-12 but not with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: Add option to use system ICUKhem Raj2022-04-211-4/+6
| | | | | | | | | | | | ARM needs to use system icu, otherwise build fails with gcc-12 firefox-91.8.0/intl/icu/source/common/stringtriebuilder.cpp:388: more undefined references to `std::type_info::operator==(std::type_info const&) const' follow | collect2: error: ld returned 1 exit status Keep using vendored ICU on mips since this breaks build for gjs introspection code which is run under qemu-user Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: Disable stripKhem Raj2022-04-211-0/+1
| | | | | | OE build takes care of this during packaging anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: Upgrade to 91.8.0Khem Raj2022-04-201-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: upgrade 91.2.0 -> 91.4.0Wang Mingyu2021-12-131-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91/mozjs-78: fix compile failure on centos7Changqing Li2021-11-192-0/+57
| | | | | | | | | | | | | | | | | | Mozjs compile failed with this failure: /bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /build/tmp-glibc/work/corei7-64-wrs-linux/mozjs/91.1.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5) Root Cause: cargo-host-linker has /bin/sh as it's interpreter, but cargo run the cmd with LD_LIBRARY_PATH set to recipe-sysroot-native. The host /bin/sh links libtinfo.so.5 under recipe-sysroot-native, which needs higher libc. But host libc is older libc. So the incompatible problem occurred. Solution: rewrite cargo-host-linker in python3 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: fix do_configure failureChangqing Li2021-11-132-0/+51
| | | | | | | | | | | | do_configure fails occasionally with following error: | File "/firefox-91.1.0/build/moz.configure/util.configure", line 239, in try_invoke_compiler | os.remove(path) | FileNotFoundError: [Errno 2] No such file or directory: '/tmp/conftest.jr1qrcw3.cpp' change the temp file's prefix to avoid it is deleted by others Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: Fix build on powerpcAndreas Müller2021-11-033-1/+38
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-91: remove static libraryAndreas Müller2021-11-031-5/+5
| | | | | | | | | * it is a huge chunk of 1.2GB * it is not used * it conflicts with other versions of mozjs since there is no version in name Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Rename mozjs -> mozjs-91 to allow multiple versions of mozjsAndreas Müller2021-11-039-0/+0
| | | | | | | | * We need mozjs-78 for latest stable gjs * Other distros/packagers do same Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Move back to recipes-extended - no meta-python specifics requiredAndreas Müller2021-11-039-0/+352
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li2020-03-1118-7732/+0
| | | | | | | | | | | | | | | | | | | | | | | | some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix python3 build with goldAndreas Müller2020-02-111-1/+10
| | | | | | | | | Fixes [1] [1] http://errors.yoctoproject.org/Errors/Details/390559/ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: port build to python3Andreas Müller2020-02-0218-27/+6917
| | | | | | | | | | While at it: * cleanup our patches * remove useless sed in do_configure Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: search nspr header files in ${STAGING_INCDIR}/nspr directoryMartin Jansa2020-01-271-0/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Replace using BBPATH with BBFILE_COLLECTIONS for meta-python2 checkKhem Raj2020-01-221-1/+1
| | | | | | BBPATH check actually does not work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Turn inherit classes from meta-py2 to conditional constructsKhem Raj2020-01-221-1/+1
| | | | | | helps parsing without meta-py2 in mix Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: upgrade 60.5.2 -> 60.9.0 and reworkAndreas Müller2020-01-224-88/+45
| | | | | | | | * build with firefox-esr sources to simplyfy upgrade path * cleanup: Should make python2-> python3 transition easier Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: extend --with-intl-api=build to ppcKhem Raj2020-01-161-0/+1
| | | | | | | | | | This fixes mozjs crash, in launching js in qemu during gjs build Fixes | | (process:606857): Gjs-ERROR **: 02:02:06.039: Could not initialize Javascript Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: extend --with-intl-api=build to all mipsKhem Raj2019-12-131-1/+1
| | | | | | | | | | | This fixes mozjs crash, in launching js in qemu during gjs build Fixes | | (process:606857): Gjs-ERROR **: 02:02:06.039: Could not initialize Javascript Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* recipes: rename distro_features_check to features_checkDenys Dmytriyenko2019-11-211-1/+1
| | | | | | | Avoid warning due to the class rename in OE-Core. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: do not expose intl api for mips64Slater, Joseph2019-08-081-0/+3
| | | | | | | | Add --with-intl-api=build to configure options. Otherwise, JS_Init() will fail. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>