Patchwork [0/3] ncurses library location fix

login
register
mail settings
Submitter Scott Garman
Date March 13, 2012, 2:08 a.m.
Message ID <cover.1331604310.git.scott.a.garman@intel.com>
Download mbox
Permalink /patch/23095/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib sgarman/python-ncurses-fix-oe

Comments

Scott Garman - March 13, 2012, 2:08 a.m.
Hello,

This pull request improves the way ncurses libraries are installed,
moving only libncurses, libncursesw, and libtinfo soname libs into
base_libdir, and leaving everything else in libdir. This is how
ncurses is packaged on my Ubuntu host, and doing things this way
fixes bug #2070 so ncurses will work within python again. It is
also a partial bugfix for bug #1937.

Scott

The following changes since commit f47ada62a3da879006e7cb27479dc9b72c56e923:

  cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH (2012-03-12 17:46:16 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib sgarman/python-ncurses-fix-oe
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/python-ncurses-fix-oe

Scott Garman (3):
  path.py: add make_relative_symlink method
  ncurses: move only libncurses and libtinfo to base_libdir
  gettext: do not set libncurses prefix explicitly

 meta/lib/oe/path.py                           |   27 +++++++++++++++++
 meta/recipes-core/gettext/gettext_0.18.1.1.bb |    5 +--
 meta/recipes-core/ncurses/ncurses.inc         |   40 +++++++++++++++++-------
 3 files changed, 56 insertions(+), 16 deletions(-)
Scott Garman - March 13, 2012, 5:30 a.m.
On 03/12/2012 07:08 PM, Scott Garman wrote:
> Hello,
>
> This pull request improves the way ncurses libraries are installed,
> moving only libncurses, libncursesw, and libtinfo soname libs into
> base_libdir, and leaving everything else in libdir. This is how
> ncurses is packaged on my Ubuntu host, and doing things this way
> fixes bug #2070 so ncurses will work within python again. It is
> also a partial bugfix for bug #1937.

I'll add that I've build-tested this on all five of our qemu 
architectures, and runtime tested the python curses fix on qemux86-64.

Scott
Koen Kooi - March 13, 2012, 8:09 a.m.
Op 13 mrt. 2012, om 03:08 heeft Scott Garman het volgende geschreven:

> Hello,
> 
> This pull request improves the way ncurses libraries are installed,
> moving only libncurses, libncursesw, and libtinfo soname libs into
> base_libdir, and leaving everything else in libdir. This is how
> ncurses is packaged on my Ubuntu host, and doing things this way
> fixes bug #2070 so ncurses will work within python again.

Shouldn't there a PR bump for python as well in this series?

regards,

Koen
Scott Garman - March 13, 2012, 8:52 a.m.
On 03/13/2012 01:09 AM, Koen Kooi wrote:
>
> Op 13 mrt. 2012, om 03:08 heeft Scott Garman het volgende geschreven:
>
>> Hello,
>>
>> This pull request improves the way ncurses libraries are installed,
>> moving only libncurses, libncursesw, and libtinfo soname libs into
>> base_libdir, and leaving everything else in libdir. This is how
>> ncurses is packaged on my Ubuntu host, and doing things this way
>> fixes bug #2070 so ncurses will work within python again.
>
> Shouldn't there a PR bump for python as well in this series?

Just pushed a commit to my branch to do this.

Scott