summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/ncurses.inc
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: ship clear/reset in package.Lianhao Lu2012-03-231-3/+3
| | | | | | | | | | | | | | | | Fixed not shipped packaging warnings. WARNING: For recipe ncurses-nativesdk, the following files/directories were installed but not shipped in any package: WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear (From OE-Core rev: c09a2058f6b2f24ab2ae9c5ea357111dd82af39e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix install errorNitin A Kamble2012-03-151-1/+1
| | | | | | | | | | | | | Fix this issue: | rm: cannot remove `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/ncurses-5.9-r6.1/image/usr/lib64/terminfo': No such file or directory NOTE: package ncurses-5.9-r6.1: task do_install: Failed PR not bumped as there is no change in the packages output. (From OE-Core rev: 1e6dce3228a483b2367286e49c4aa8a71733dcbb) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix packaging of moved librariesScott Garman2012-03-151-2/+4
| | | | | | | | | | This ensures packaging of the ncurses libraries moved to base_libdir is done correctly. (From OE-Core rev: a897c05ae5c70d81f4d88e7186f9bb9a721ee343) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix build when ENABLE_WIDEC is not setPaul Eggleton2012-03-141-2/+3
| | | | | | | | | | | | If wide character support is disabled (as it is with poky-tiny, for example) then we won't have libncursesw.so.*, so skip moving these files in that case. (Fixes a regression introduced in OE-Core revision ccd370ab147b78de7a5bd74818f755f4d3ca6d81). (From OE-Core rev: fa15b1dfbf338969660a352deb870dfd5727bc47) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: move only libncurses and libtinfo to base_libdirScott Garman2012-03-131-12/+28
| | | | | | | | | | | | | | | | | | | The previous approach to moving the ncurses libraries to base_libdir was too aggressive, and it broke curses support in python. Instead, move only libncurses, libncursesw, and libtinfo to base_libdir and leave the remaining libraries in libdir. Also delete ${libdir}/terminfo as it never gets packaged to avoid a QA warning. This fixes [YOCTO #2070] and is a partial fix for [YOCTO #1937]. (From OE-Core rev: ccd370ab147b78de7a5bd74818f755f4d3ca6d81) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-2/+2
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses-native: install to libdir, not base_libdirChristopher Larson2012-01-171-3/+3
| | | | | | | | | | | | | | | For target, both base_libdir and libdir in sysroot can be used, as we pass --sysroot to the toolchain. For native, we don't do this, and we also only add -L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}, resulting in other native recipes (like readline-native) failing to find the ncurses libraries. readline-native only built successfully on hosts where it could fall back to their ncurses/termcap rather than the one in the sysroot. (From OE-Core rev: dd05e06b89906002f68d616a6326c962e725bc54) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: move libraries to base_libdirScott Garman2012-01-051-9/+18
| | | | | | | | | | | | Various utilities (including bash and the util-linux programs) located in base_bindir (/bin) or base_sbindir (/sbin) dynamically link against many of the ncurses libraries. So move these libraries from libdir (/usr/lib) to base_libdir (/lib). (From OE-Core rev: 796c3d038fb7892a5e5206fb10217623de18853f) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Allow override of ENABLE_WIDECDarren Hart2011-12-211-1/+1
| | | | | | | | | | Set ENABLE_WIDEC with ?= instead of = to allow for the external override by distro definitions. (From OE-Core rev: 516480b1518093b17c2211be0966b7b31aeb2721) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: libcurses.so should link to libncurses.soSaul Wold2011-12-121-1/+4
| | | | | | | | | | | | The current libcurses (backward compat) links to libncurses.so.5.9, this causes a problem since this library also needs libtinfo, the libncurses.so, uses a "ld script" to include both, libcurses.so should point to libncurses.so (the script) not the library. (From OE-Core rev: 6e3a0c0eb6938f3f04fb42784fe1744f30762d3b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: refactor configure to avoid configuring widec when disabledDarren Hart2011-11-101-31/+35
| | | | | | | | | | | | | | | | | | | | | | | The ENABLE_WIDEC variable can be used to disable ncurses wide character support when your C library doesn't support it. Currently, the do_configure step configures for both narrow and wide characters regardless and only checks ENABLE_WIDEC during compilation. This leads to QA failures with host contamination during configure if the C library doesn't support wide characters. Refactor do_configure with a new ncurses_configure helper function and only configure for wide character support if ENABLE_WIDEC is true. Ensure that configure errors are propogated back through to do_configure. Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586, including basic error injection. V2: INC_PR bump (From OE-Core rev: 8b995deb046469c1c713fa053510d2fe94454133) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Resolve header and man page multilib conflictsMark Hatle2011-07-271-2/+5
| | | | | | | | | | | | | | | By default man pages are compressed, the way ncurses compresses them causes differences (timestamp and name) to be embedded into the gziped file. So each build will end up with a slightly different file. Avoid this, by not compressing the man pages. Avoid header conflict with curses.h using the multilib header helper. (From OE-Core rev: ae5269039511d0f3d8aa6a87cb8d9fcf01d79ddd) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Remove unwanted package config from previous .inc mergeRichard Purdie2011-04-121-5/+0
| | | | | | | | This fixes various build warnings and failures. (From OE-Core rev: 82561aa631c4e0e0756925774e5126e79f8d9907) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Update to 5.9Tom Rini2011-04-081-62/+194
| | | | | | | | | | | | The previous 5.7 release was relatively close to 5.8 due to it bringing in a patch to sync with upstream work-in-progress. We skip over the 5.8 release and move to 5.9. Also, we move most of the contents of the main recipe into the previously unused ncurses.inc file. (From OE-Core rev: 296ac8b2b0fe5b84f04a272b33d1df37bdac986f) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: update license infoQing He2010-12-011-0/+1
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+2
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* ncurses: Fix export of LD_LIBRARY_PATH.Daniel Díaz2010-10-041-1/+1
| | | | | | | | | This fixes the following error on do_install: > line 175: export: `=': not a valid identifier > line 175: export: `[...]/usr/lib': not a valid identifier Signed-off-by: Daniel Díaz <yosoy@danieldiaz.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* ncurses: Only set LD_LIBRARY_PATH within the do_installRichard Purdie2010-10-021-4/+4
| | | | | | | | | If this is done as a global export it can affect the whole task and the wrong python libraries can be found for example. [BUGID #335] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools: enable siteconfig by defaultJeff Polk2010-09-101-2/+0
| | | | | | eglibc glibc ncurses uclibc zlib: remove explicit siteconfig Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* ncurses: Add siteconfig cache generationJeff Polk2010-09-031-0/+2
| | | | Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-011-0/+99
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>