ncurses packaging fix [v2]
cover ncurses packaging fix [v2]
Hello,
This fixes the ncurses library packaging. Thanks to Andreas Oberritter for pointing it out.
v2 of this pull request increments INC_PR again, since Paul Eggleton got a patch into master while my pull request was pending, so it needed another bump.
Scott
The following changes since commit 8567549a743cb5be157e7988e1f9227d91f48850:
Revert "alsa-tools: update to 1.0.25" (2012-03-14 15:53:45 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/ncurses-pkg-fix-oe2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/ncurses-pkg-fix-oe2
Scott Garman (1):
ncurses: fix packaging of moved libraries
meta/recipes-core/ncurses/ncurses.inc | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 ncurses: fix packaging of moved libraries
The recent move of some of the ncurses libraries to base_libdir does not work with our automatic library packaging, so this explicity creates packages for libncurses, libncursesw, and libtinfo.
--- meta/recipes-core/ncurses/ncurses.inc | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +16 -2
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS_virtclass-native = "" -INC_PR = "r6" +INC_PR = "r7" inherit autotools binconfig multilib_header
@@ -221,6 +221,9 @@ pkg_prerm_ncurses-tools () { BBCLASSEXTEND = "native nativesdk" PACKAGES += " \ + ${PN}-libncurses \ + ${PN}-libncursesw \ + ${PN}-libtinfo \ ${PN}-tools \ ${PN}-terminfo \ ${PN}-terminfo-base \
@@ -232,7 +235,18 @@ FILES_${PN} = "\ ${bindir}/ncurses5-config \ ${bindir}/ncursesw5-config \ ${datadir}/tabset \ - ${base_libdir}/* \ +" + +FILES_${PN}-libncurses = "\ + ${base_libdir}/libncurses.so.* \ +" + +FILES_${PN}-libncursesw = "\ + ${base_libdir}/libncursesw.so.* \ +" + +FILES_${PN}-libtinfo = "\ + ${base_libdir}/libtinfo.so.* \ " # This keeps only tput/tset in ncurses
Signature · 1 line
1.7.5.4
Re: [PATCH 1/1] ncurses: fix packaging of moved libraries
Op 14 mrt. 2012, om 17:36 heeft Scott Garman het volgende geschreven:
Quoted 6 lines
The recent move of some of the ncurses libraries to
base_libdirdoes not work with our automatic library packaging, so this explicity creates packages for libncurses, libncursesw, and libtinfo.Signed-off-by Scott Garman <[email protected]>
This is still missing a PR bump for all the packages depending on ncurses. Those need to get rebuilt to unbreak the package feeds.
regards,
Koen
Re: [PATCH 1/1] ncurses: fix packaging of moved libraries
Quoted 11 lines · Koen Kooi
Op 14 mrt. 2012, om 17:36 heeft Scott Garman het volgende geschreven:
Quoted 6 lines
The recent move of some of the ncurses libraries to
base_libdirdoes not work with our automatic library packaging, so this explicity creates packages for libncurses, libncursesw, and libtinfo.Signed-off-by Scott Garman<[email protected]>This is still missing a PR bump for all the packages depending on ncurses. Those need to get rebuilt to unbreak the package feeds.
Ok, I will spin a v3 of the pull request to make use of do_package_split and include a commit for bumping the PR for all recipes which DEPEND on ncurses.
Scott
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center