summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: fix packaging issue in multilib buildSaul Wold2012-07-091-3/+3
| | | | | | | | | | | ERROR: QA Issue: lib32-ncurses: Files/directories were installed but not shipped /usr/bin/clear.ncurses /usr/bin/reset.ncurses (From OE-Core rev: e3a29405a59df45ff72f088c602181e1435d8abe) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: use new update-alternativesMark Hatle2012-05-301-18/+4
| | | | | | | (From OE-Core rev: 54a92bdd0555d776efe92f7cf57a75039562556a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Avoid occasional builling failure when having parallel processable taskXiaofeng Yan2012-05-241-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ncurses failure non-gplv3 build (race issue) like the following \ error information: | tic: error while loading shared libraries: /srv/home/pokybuild \ /yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/\ work/x86_64-linux/ncurses-native-5.9-r8.1/ncurses-5.9/narrowc/lib\ /libtinfo.so.5: file too short | ? tic could not build /srv/home/pokybuild/yocto-autobuilder/\ yocto-slave/nightly-non-gpl3/build/build/tmp/work/x86_64-linux/\ ncurses-native-5.9-r8.1/image/srv/home/pokybuild/yocto-autobuilder\ /yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/x86_64-linux\ /usr/share/terminfo | make[1]: *** [install.data] Error 1 This is a race issue which is caused by install.libs and install.data: 1) install.data needs run tic 2) tic needs libtinfo.so 3) install.libs would regenerate libtinfo.so 4) but install.data doesn't depend on install.libs, and they can run parallelly So there would be errors in a very critical condition: tic is begining to run at the same time when install.libs is generating libtinfo.so, and this libtinfo.so is not integrity, then there would be the above error. Let task install.libs run before install.data for fixing this bug. [YOCTO #2298] (From OE-Core rev: 80e4833782edc5fbda2a7f5d003a854f127137ec) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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: Fix site_configMark Hatle2011-07-141-0/+5
| | | | | | | | | The site_config directory should have been attached to ncurses. (From OE-Core rev: e85d9ce426168374285cd7a2c87fc82bf9cb675a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-131-0/+2
| | | | | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Remove unwanted package config from previous .inc mergeRichard Purdie2011-04-122-6/+1
| | | | | | | | 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-085-308/+204
| | | | | | | | | | | | 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: Change ncurses patch SRC_URI locationDongxiao Xu2011-03-011-2/+5
| | | | | | | | | | | | | | One of ncurses's patch has been removed from its original repo location, use autobuilder cache location instead. Comment out the original patch address instead of removing it since we may still need that address when upgrade the recipe later. This fixes [BUGID #709]. [sgw: fixed having comment embedded in SRC_URI] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* ncurses: reenable PARALLEL_MAKESaul Wold2011-02-161-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* ncurses: Apply unifdef-native dependency to the task that uses it, not globallyRichard Purdie2011-02-101-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: upgrade to version 5.7Qing He2011-01-026-5004/+271
| | | | | | | | | | from 5.4 Largely based on the recipe from OpenEmbedded project ncurses: fix LIC_FILES_CHKSUM Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* 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-014-0/+5100
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>