summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* lcdproc: Update to latest tip of trunkKhem Raj2023-02-015-169/+2
| | | | | | Drop patches already present in trunk as of now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: remove the recipeAlexander Kanavin2022-09-1415-1035/+0
| | | | | | | Nothing is depending on it, and mozjs-78 has been EOL for a while. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lcdproc: Fix build on non-x86 and arm architecturesKhem Raj2022-09-072-14/+21
| | | | 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-78: Switch to system libicuKhem Raj2022-04-201-0/+2
| | | | | | | | Fixes build with gcc-12 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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Fix DeprecationWarning about regexpsMartin Jansa2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes: meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:125: DeprecationWarning: invalid escape sequence \. meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:126: DeprecationWarning: invalid escape sequence \. meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:128: DeprecationWarning: invalid escape sequence \. meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:129: DeprecationWarning: invalid escape sequence \. meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:130: DeprecationWarning: invalid escape sequence \. meta-oe/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb:18: DeprecationWarning: invalid escape sequence \. meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb:21: DeprecationWarning: invalid escape sequence \. meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb:28: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \- oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1344: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1345: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1348: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1350: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1353: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1355: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1358: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1360: DeprecationWarning: invalid escape sequence \. oe-core/meta/classes/package.bbclass:1365: DeprecationWarning: invalid escape sequence \. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: renumber patchesAndreas Müller2022-01-053-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Shelve breaking lib rename/linking & split lib to separate packageAndreas Müller2022-01-051-5/+3
| | | | | | | | | | * our rename broke gjs: | /usr/bin/gjs: error while loading shared libraries: libmozjs-78.so: cannot open shared object file: No such file or directory * to reduce image size and to avoid warnings, follow mozjs-91 by splitting library into seperate package Signed-off-by: Andreas Müller <schnitzeltony@gmail.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-78: 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>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Pass C/C++ flags to js configureKhem Raj2021-11-031-1/+4
| | | | | | | | | | On mips ensure -fpie is passed when using clang compiler, this fixes configure issues e.g. /mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: non-dynamic relocations refer to dynamic symbol localtime_r@@GLIBC_2.0 /mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: failed to set dynamic section sizes: bad value Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Set X lib/include pathsKhem Raj2021-11-031-1/+2
| | | | | | | | | | | | | mozjs does not really use X but arcane autoconf 2.13 means its poking at build host for X headers and libraries. On build hosts where X is installed this results in wrong paths being searched for target X headers, this gets caught by configure QA and it fails ERROR: mozjs-78-78.15.0-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. [configure-unsafe] ERROR: mozjs-78-78.15.0-r0 do_configure: Fatal QA errors were found, failing task. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Check for big-endian icu data file existence before creating itKhem Raj2021-11-031-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs-78: Initial addAndreas Müller2021-11-0313-0/+923
| | | | | | | | | | | | | | | * Did not get rid of checks using llvm-objdump. So depend either llvm-native from oe-core or clang-native from meta-clang * Unfortunately we still need python3-six(-native) although firefox ships a version in third_party. If somebody more clever than me can solve this, mozjs-78 can be moved out of dynamic-layers * Get rid of erroneous dependency trying to satisfy llvm_objdump It was tested improperly so configure faile for meta-clang not in layers It is not necessary for building js only - see mozjs-91 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-352/+0
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix build for 32bit systems disabling JITKhem Raj2021-10-263-10/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Update to 91.2.0Khem Raj2021-10-262-12/+8
| | | | | | | | | This has bunch of security fixes https://www.mozilla.org/en-US/security/advisories/mfsa2021-45/ No need to disable jit explicitly for rv32, it works ok without it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Add riscv32 supportKhem Raj2021-10-252-0/+57
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix musl miscompiles with HAVE_THREAD_TLS_KEYWORDKhem Raj2021-10-202-0/+16
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Fix build on mips/muslKhem Raj2021-10-202-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: move large static library into staticdev packageKurt Kiefer2021-10-191-1/+2
| | | | | | | | | | The libmozjs package was including /usr/lib/libjs_static.ajs, not required for runtime usage. Keep this file, but move it to the staticdev package. Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Disable JIT on mipsKhem Raj2021-10-161-1/+6
| | | | | | | Fixes error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: update 60.9.0 -> 91.1.0Alexander Kanavin2021-10-1623-7813/+229
| | | | | | | | | | | | | | The new release requires rust to build and at the same time allows updating to python 3.10; I took the opportunity to rewrite the recipe from scratch, drop all the old cruft and use the official, current upstream build system in it. All prior patches and tweaks have been dropped; I have no reasonable way to test them, so if something regressed for you I'm afraid it needs to be addressed after the fact. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-032-34/+34
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mozjs/0001-Port-build-to-python3.patch: Fix typos in descriptionAndreas Müller2021-07-271-3/+3
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Drop using JS_VOLATILE_ARMKhem Raj2021-03-032-0/+112
| | | | | | | | | | | | | | | JS_VOLATILE_ARM was a workaround for a gcc 4.7 bug on B2G where it would generate unaligned word accesses that should have been individual byte accesses. firefox now a days require at least gcc 6.1+ (and ARM systems support unaligned accesses). see [1] in gcc11 volatile wont be accepted as argument qualifier in functions, hence the build breaks, this patch unbreaks it [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1495731 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* mozjs: improve reproducibilityMingli Yu2021-02-041-0/+2
| | | | | | | Remove the build path from the file js60-config. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: fix multilib conflictChangqing Li2020-08-141-0/+8
| | | | | | | | | fix error: .do_rootfs.2023872:4562: file /usr/bin/js60-config conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 log.do_rootfs.2023872:4563: file /usr/include/mozjs-60/js-config.h conflicts between attempted installs of mozjs-dev-60.9.0-r0.core2_64 and lib32-mozjs-dev-60.9.0-r0.core2_32 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lcdproc: Fix compilation with GCC >= 10.xKhem Raj2020-08-132-0/+47
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: specify TMPDIRSlater, Joseph2020-08-111-1/+3
| | | | | | | | | | | | | | | | Although it is extremely rare the following type of error can occur during configuration: Creating `/tmp/conftest.i53clm4z.cpp` with content: ... x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: fatal error: no input files So, specify a local directory as TMPDIR during configuration. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mozjs: Remove workaround for gcc < 4.9Adrian Bunk2020-05-122-43/+0
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li2020-03-1122-0/+7946
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>