summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/newt
Commit message (Collapse)AuthorAgeFilesLines
* libnewt: upgrade 0.52.23 -> 0.52.24Wang Mingyu2023-12-151-1/+1
| | | | | | | | | | | | | | Changelog: =========== - add support for python3.13 - fix compiler warnings (From OE-Core rev: da5850d11abe2e523b72500fbd304d5db041a9f1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 3d97fe3848d68159c4b7119b0906c8388ce54a9a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libnewt: update 0.52.21 -> 0.52.23Alexander Kanavin2022-12-183-40/+7
| | | | | | | | (From OE-Core rev: ff12622451f1f8580f928c6771cd82daa632071c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Use python3targetconfig to fix reproducibility issueRichard Purdie2021-10-131-1/+1
| | | | | | | | | | We're seeing pthread being linked sometimes and not others leading to non-reproducible target binaries. The reason is mixing the native python config with the target one. We should use the target one. (From OE-Core rev: 3fe5101b335384ef83e96ccc58687fd631164075) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Backport patch to fix reproducibilityJoshua Watt2020-05-073-43/+31
| | | | | | | | | | | | Backports a patch from upstream to fix a reproducibility problem where paths would be encoded in the binary. Drops an obsolete patch that conflicted with the backport (From OE-Core rev: 303bf23048cb326dd8a8079a7cf773c3fd8f21ff) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt:upgrade 0.52.20 -> 0.52.21Zang Ruochen2019-08-133-51/+18
| | | | | | | | | | | | | -Refresh the following patch: files/pie-flags.patch -files/fix_SHAREDDIR.patch Removed since this is included in 0.52.21. (From OE-Core rev: 5b7fd7a945f8eeece51f01ad20a6de12fea89433) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: merge libnewt-python recipe into the main recipeAlexander Kanavin2019-06-202-32/+9
| | | | | | | | | | | | libnewt-python was including libnewt recipe and adding tweaks, which is bad form. It also broke AUH, as it won't update more than one recipe in a single transaction. (From OE-Core rev: 282b744f46c5c058966836130084e300030d419e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt-python: Add nativesdkZheng Ruoqin2018-06-271-1/+1
| | | | | | | | | Add nativesdk for libnewt-python. (From OE-Core rev: b992be195821e110691434e4a743b753bc04b3c4) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Add nativesdkZheng Ruoqin2018-06-271-1/+1
| | | | | | | | | Add nativesdk for libnewt. (From OE-Core rev: 6414d23cd23fc6ed2d31a7b55fce1be82a09ae67) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newt: refresh patchesRoss Burton2018-03-111-14/+12
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 8820d4ffa493d49212f4d8f2665d15c7070a7477) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: 0.52.19 -> 0.52.20Huang Qiyu2017-06-232-2/+2
| | | | | | | | | | Upgrade libnewt from 0.52.19 to 0.52.20. (From OE-Core rev: a83715c10536904db1d274bfb3faf87a1b3d19bc) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: replace fedorahosted.org SRC_URI with pagure.io sourceChoong YinThong2017-04-051-2/+2
| | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to pagure.io. pagure.io is a replacement for fedorahosted. [YOCTO #11226] (From OE-Core rev: b85905bc8b845c9da7d2a086ea239ec00d5142e3) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: link whiptail properly with libnewtAndreas Müller2016-09-222-0/+32
| | | | | | | | | | | | | | | | | | | | | | | Configuration failed to detect gold as GNU linker. It was searching for 'GNU ld' but gold returns 'GNU gold (GNU Binutils 2.27.0.20160806) 1.12' which does not match. When not linking by GNU linker Makefile did some magic link target alignment: ifneq ($(GNU_LD),) SHLIBFLAGS= -Wl,--version-script,newt.0.52.ver -Wl,-soname,$(LIBNEWTSONAME) else SHLIBFLAGS= endif which caused: | WARNING: libnewt-0.52.19-r0 do_package_qa: QA Issue: /usr/bin/whiptail contained in package whiptail requires libnewt.so, but no providers found in RDEPENDS_whiptail? [file-rdeps] (From OE-Core rev: 3b806c927504e682ddd159c890a5f243e273b23e) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin2016-07-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt/libnewt-python: upgrade to 0.52.19Hongxu Jia2016-06-153-19/+2
| | | | | | | | | - Drop remove_slang_include.patch, libnewt 0.52.19 has fixed it. (From OE-Core rev: 8e24a6ed1cd6fd91f9b4644b1fa199e516c25fa2) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt-python: move to Python 3Alexander Kanavin2016-06-031-3/+3
| | | | | | | (From OE-Core rev: 70e39d11bffd3fa2bb143ea640e470c9da6748ba) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native, python3-native: remove the use of exported HOST_SYS and ↵Alexander Kanavin2016-06-011-3/+0
| | | | | | | | | | | | | | BUILD_SYS variables The code that utilized them was superseded by the code (in the same patch!) that is utilizing STAGING_LIBDIR/STAGING_INCDIR, and wasn't correct in the first place as HOST_SYS is not necessarily the same as the sysroot directory name. (From OE-Core rev: 8834e81a38c24a066bb4fefa93da61011d0db244) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Fix build with PIE flagsKhem Raj2016-02-212-0/+38
| | | | | | | | | | | security flags add -pie -fpie to CFLAGS which is not right options for compiling .so files, they are only useful for compiling executables (From OE-Core rev: 2735d096aef2d039d711c13c311bb6dba979f437) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Fix linking error due missing symbolsOtavio Salvador2016-01-202-0/+27
| | | | | | | | | | | The NEWT library links with 'slang' which requires 'tinfo' for successful linking, this adds the 'tinfo' to the linking libraries. (From OE-Core rev: ffea660e794b8a6215ddb9a34bce00c461dc9170) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: more removals of redunant FILES_${PN}-dbgRoss Burton2015-12-161-1/+0
| | | | | | | | | | In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. (From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newt: enable native buildsRoss Burton2015-07-162-0/+4
| | | | | | | (From OE-Core rev: b4be1b3cec07c0ec167959994e9250dcca20c273) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt-python: remove make var LIBNEWTSHKai Kang2015-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | Var LIBNEWTSH which points to libnewt.so in STAGING_LIBDIR is passed to make. But during do_compile, LIBNEWTSH is rebuilt. Check the log that gcc populates file into STAGING_LIBDIR directly: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/poky/builds/build/tmp/sysroots/qemux86 -shared -o /poky/builds/build/tmp/sysroots/qemux86/usr/lib/libnewt.so.0.52.18 ... It is not a proper operation export file into STAGING_LIBDIR during compile. So remove the var LIBNEWTSH. (From OE-Core rev: 9963b22acacbe49bffd7ebdeb72c45280e687385) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: set CLEANBROKENRoss Burton2014-12-051-0/+2
| | | | | | | (From OE-Core rev: 4f301c9cd17043f039d82555f973cbbca9acd51f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt/libnewt-python: upgrade to 0.52.18Hongxu Jia2014-12-032-4/+2
| | | | | | | | (From OE-Core rev: 5239060e99da82134387787e544e724500a6ab41) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: fix recompile errorRobert Yang2014-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixed: NOTE: make -j 32 make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `test.o'. Stop. This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .depend isn't regenerated when recompile, the content of the .depend are: [snip] test.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .depend file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .depend will fix the problem. (From OE-Core rev: bf2f8abff4eb55cd960065eaba032c96068acf08) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt/libnewt-python: upgrade to 0.52.17Hongxu Jia2014-06-175-38/+29
| | | | | | | | | | | | | | | | | | | - The company address has changed in COPYING. - Rebase fix_SHAREDDIR.patch to 0.52.17 - Rebase cross_ar.patch to 0.52.17 - Obsolete fix_python_fpic.patch, since the patch has been merged by upstream; - The upstream rename snackmodule to snack in 0.52.17, so tweak libnewt-python_0.52.17.bb; (From OE-Core rev: 46ec6e5601b88d4270d58586f25626349474d769) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt-python: Don't write a whiptail packageRichard Purdie2013-09-121-0/+1
| | | | | | | | | The whiptail package is written by the libnewt recipe so for the python version we need to ensure its not in PACKAGES. (From OE-Core rev: b26157a8b575aa7b5c96ffe782fc23ec0920311c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: split python module into libnewt-pythonChristopher Larson2013-06-132-10/+31
| | | | | | | | | | | | | This is useful as it avoids pulling python into a build just to build chkconfig. The python recipe uses the libnewt installed in the sysroot by the main package, so there's little loss of build time, other than the additional unpack/patch. (From OE-Core rev: b255ebbf8283568d732827086bf0bd2b8db1d905) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Fix ${B} != ${S} (partial)Richard Purdie2013-03-181-1/+1
| | | | | | | | Fix low hanging out of tree build issue but others remain. (From OE-Core rev: 414f748ee499f629bf50eb3fa70e20e2105b3c49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newt: enable python supportKang Kai2012-12-172-6/+42
| | | | | | | | | | | | | | Compile newt with python support. There may be packages that need newt's python extension. Add python to DEPENDS. And add patch fix_python_fpic.patch to compile python .so module with flag -fPIC. (From OE-Core rev: aa591ecb1aac1c0308c05dbac81bc056869a2c3e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: Fix cross link using autoconf detected ARJason Wessel2012-06-112-2/+54
| | | | | | | | | | | | | | | If building on 32bit host and creating 64bit libraries, the target package builds should not invoke the 32bit hosts's ar. Specifically you will get an error message like: x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang libnewt.a: could not read symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status (From OE-Core rev: a02878d05e6b57f2455228785ea5f213a62ed976) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: fix license warningsSaul Wold2012-03-161-1/+1
| | | | | | | | WARNING: libnewt: No generic license file exists for: LGPL in any provider (From OE-Core rev: 8883d4c9ad83b5d0725a4477b87ec8042d5dffb3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newt: update to 0.52.14Kang Kai2012-03-141-4/+2
| | | | | | | | | Update newt to latest verion 0.52.14. (From OE-Core rev: e28f5ca21f07040e1c62ccd65c94e2df734770e4) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: update to 0.52.13Kang Kai2011-08-042-77/+6
| | | | | | | | | | | Update libnewt to 0.52.13, and remove include-without-python.patch because it has been merged. Update SRC_URI and add SRC_URI checksum. (From OE-Core rev: b83284d2be47019e1ca122ce4a2b1a077e7c3174) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newt: add Upstream-StatusSaul Wold2011-06-011-0/+3
| | | | | | | (From OE-Core rev: b6fdf7eb9a1c5927009d88c84df59e091f5b2a7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: fix parallel-make issueDexuan Cui2011-04-184-2/+50
| | | | | | | | | | | | Add patch to remove hardcoded /usr/include/slang Fixes [YOCTO #947] (From OE-Core rev: df818bd36864ba515aeeec0c5314d174313c03a3) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipe: add newt from OEKang Kai2011-03-032-0/+108
newt is a library for text mode user interfaces, and required by chkconfig because of LSB command test. (From OE-Core rev: 57c5da295855431160403b9ea356b2beae5cedca) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>