summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/newt
AgeCommit message (Collapse)AuthorFiles
2016-09-22libnewt: link whiptail properly with libnewtAndreas Müller2
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] Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin1
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-14libnewt/libnewt-python: upgrade to 0.52.19Hongxu Jia3
- Drop remove_slang_include.patch, libnewt 0.52.19 has fixed it. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02libnewt-python: move to Python 3Alexander Kanavin1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30python-native, python3-native: remove the use of exported HOST_SYS and ↵Alexander Kanavin1
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-02-21libnewt: Fix build with PIE flagsKhem Raj2
security flags add -pie -fpie to CFLAGS which is not right options for compiling .so files, they are only useful for compiling executables Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-20libnewt: Fix linking error due missing symbolsOtavio Salvador2
The NEWT library links with 'slang' which requires 'tinfo' for successful linking, this adds the 'tinfo' to the linking libraries. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton1
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16newt: enable native buildsRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14libnewt-python: remove make var LIBNEWTSHKai Kang1
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. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05libnewt: set CLEANBROKENRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03libnewt/libnewt-python: upgrade to 0.52.18Hongxu Jia2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-11libnewt: fix recompile errorRobert Yang1
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-17libnewt/libnewt-python: upgrade to 0.52.17Hongxu Jia5
- 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; Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-12libnewt-python: Don't write a whiptail packageRichard Purdie1
The whiptail package is written by the libnewt recipe so for the python version we need to ensure its not in PACKAGES. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13libnewt: split python module into libnewt-pythonChristopher Larson2
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. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-18libnewt: Fix ${B} != ${S} (partial)Richard Purdie1
Fix low hanging out of tree build issue but others remain. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-14newt: enable python supportKang Kai2
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. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-11libnewt: Fix cross link using autoconf detected ARJason Wessel2
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 Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-15libnewt: fix license warningsSaul Wold1
WARNING: libnewt: No generic license file exists for: LGPL in any provider Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-14newt: update to 0.52.14Kang Kai1
Update newt to latest verion 0.52.14. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04libnewt: update to 0.52.13Kang Kai2
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. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-06-01newt: add Upstream-StatusSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-18libnewt: fix parallel-make issueDexuan Cui4
Add patch to remove hardcoded /usr/include/slang Fixes [YOCTO #947] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-03-03recipe: add newt from OEKang Kai2
newt is a library for text mode user interfaces, and required by chkconfig because of LSB command test. Signed-off-by: Kang Kai <kai.kang@windriver.com>