Commit Graph

11 Commits

Author SHA1 Message Date
Andreas Müller 2a0f4e713a libnewt: link whiptail properly with libnewt
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>
2016-09-22 11:13:23 +01:00
Hongxu Jia 4e5128b5e4 libnewt/libnewt-python: upgrade to 0.52.19
- 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>
2016-06-15 08:35:02 +01:00
Khem Raj ea8c34e976 libnewt: Fix build with PIE flags
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>
2016-02-21 09:32:43 +00:00
Otavio Salvador aadae7bef0 libnewt: Fix linking error due missing symbols
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>
2016-01-20 17:07:15 +00:00
Hongxu Jia cb25932e73 libnewt/libnewt-python: upgrade to 0.52.17
- 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>
2014-06-17 17:56:21 +01:00
Kang Kai 40bb94f63e newt: enable python support
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>
2012-12-17 17:24:53 +00:00
Jason Wessel 616fab3981 libnewt: Fix cross link using autoconf detected AR
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>
2012-06-11 13:49:52 +01:00
Kang Kai dde02ad31e libnewt: update to 0.52.13
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>
2011-08-04 15:04:29 +01:00
Saul Wold 2dfc95b92d newt: add Upstream-Status
(From OE-Core rev: b6fdf7eb9a1c5927009d88c84df59e091f5b2a7d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:31 +01:00
Dexuan Cui d02a174cb6 libnewt: fix parallel-make issue
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>
2011-04-18 05:49:39 +01:00
Kang Kai 7eccde3bdc recipe: add newt from OE
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>
2011-03-03 23:49:16 +00:00