ncurses packaging fix [v3]
cover ncurses packaging fix [v3]
Hello,
This fixes the ncurses library packaging.
v3 of this pull request uses do_split_packages to package the libraries in base_libdir, and includes a commit which bumps PR for all recipes which DEPEND on ncurses.
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-fix3-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/ncurses-pkg-fix3-oe
Scott Garman (2):
ncurses: fix packaging of moved libraries
PR bump for all recipes that DEPEND on ncurses
meta/recipes-core/gettext/gettext_0.18.1.1.bb | 2 +- meta/recipes-core/ncurses/ncurses.inc | 6 ++++-- meta/recipes-core/readline/readline_5.2.bb | 2 +- meta/recipes-core/readline/readline_6.2.bb | 2 +- meta/recipes-core/uclibc/uclibc.inc | 2 +- meta/recipes-core/util-linux/util-linux_2.21.bb | 2 +- meta/recipes-devtools/cmake/cmake.inc | 2 +- meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-extended/bash/bash_3.2.48.bb | 2 +- meta/recipes-extended/bash/bash_4.2.bb | 2 +- meta/recipes-extended/less/less_444.bb | 2 +- meta/recipes-extended/mc/mc_4.7.5.2.bb | 2 +- meta/recipes-extended/mc/mc_4.8.1.bb | 2 +- meta/recipes-extended/procps/procps_3.2.8.bb | 2 +- meta/recipes-extended/psmisc/psmisc_22.16.bb | 2 +- meta/recipes-extended/screen/screen_4.0.3.bb | 2 +- meta/recipes-extended/texinfo/texinfo_4.13a.bb | 2 +- meta/recipes-kernel/latencytop/latencytop_0.5.bb | 2 +- meta/recipes-kernel/powertop/powertop_1.13.bb | 2 +- .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 2 +- meta/recipes-support/attr/attr_2.4.46.bb | 2 +- meta/recipes-support/sqlite/sqlite3_3.7.10.bb | 2 +- meta/recipes-support/vte/vte_0.28.2.bb | 2 +- 23 files changed, 26 insertions(+), 24 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/2 ncurses: fix packaging of moved libraries
This ensures packaging of the ncurses libraries moved to base_libdir is done correctly.
--- meta/recipes-core/ncurses/ncurses.inc | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +4 -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
@@ -199,8 +199,11 @@ shell_do_install() { python populate_packages_prepend () { libdir = d.expand("${libdir}") + base_libdir = d.expand("${base_libdir}") pnbase = d.expand("${PN}-lib%s") do_split_packages(d, libdir, '^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) + if libdir is not base_libdir: + do_split_packages(d, base_libdir, '^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) }
@@ -232,7 +235,6 @@ FILES_${PN} = "\ ${bindir}/ncurses5-config \ ${bindir}/ncursesw5-config \ ${datadir}/tabset \ - ${base_libdir}/* \ " # This keeps only tput/tset in ncurses
Signature · 1 line
1.7.5.4
PATCH 2/2 PR bump for all recipes that DEPEND on ncurses
In reply to Scott GarmanThe packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses.
--- meta/recipes-core/gettext/gettext_0.18.1.1.bb | 2 +- meta/recipes-core/readline/readline_5.2.bb | 2 +- meta/recipes-core/readline/readline_6.2.bb | 2 +- meta/recipes-core/uclibc/uclibc.inc | 2 +- meta/recipes-core/util-linux/util-linux_2.21.bb | 2 +- meta/recipes-devtools/cmake/cmake.inc | 2 +- meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-extended/bash/bash_3.2.48.bb | 2 +- meta/recipes-extended/bash/bash_4.2.bb | 2 +- meta/recipes-extended/less/less_444.bb | 2 +- meta/recipes-extended/mc/mc_4.7.5.2.bb | 2 +- meta/recipes-extended/mc/mc_4.8.1.bb | 2 +- meta/recipes-extended/procps/procps_3.2.8.bb | 2 +- meta/recipes-extended/psmisc/psmisc_22.16.bb | 2 +- meta/recipes-extended/screen/screen_4.0.3.bb | 2 +- meta/recipes-extended/texinfo/texinfo_4.13a.bb | 2 +- meta/recipes-kernel/latencytop/latencytop_0.5.bb | 2 +- meta/recipes-kernel/powertop/powertop_1.13.bb | 2 +- .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 2 +- meta/recipes-support/attr/attr_2.4.46.bb | 2 +- meta/recipes-support/sqlite/sqlite3_3.7.10.bb | 2 +- meta/recipes-support/vte/vte_0.28.2.bb | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)
meta/recipes-core/gettext/gettext_0.18.1.1.bb +1 -1
@@ -5,7 +5,7 @@ SECTION = "libs" LICENSE = "GPLv3+ & LGPL-2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r9" +PR = "r10" DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" DEPENDS_virtclass-native = "libxml2-native" PROVIDES = "virtual/libintl virtual/gettext"
meta/recipes-core/readline/readline_5.2.bb +1 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=03b36fdd84f74b8d8189a202b980b67f" DEPENDS += "ncurses" -PR = "r6" +PR = "r7" SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz \ file://configure-fix.patch \
meta/recipes-core/readline/readline_6.2.bb +1 -1
@@ -1,6 +1,6 @@ require readline.inc -PR = "r1" +PR = "r2" SRC_URI[md5sum] = "67948acb2ca081f23359d0256e9a271c" SRC_URI[sha256sum] = "79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381"
meta/recipes-core/uclibc/uclibc.inc +1 -1
@@ -13,7 +13,7 @@ SECTION = "libs" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://COPYING.LIB.boilerplate;md5=aaddeadcddeb918297e0e4afc52ce46f \ file://${S}/test/regex/testregex.c;startline=1;endline=31;md5=234efb227d0a40677f895e4a1e26e960" -INC_PR = "r5" +INC_PR = "r6" require uclibc-config.inc STAGINGCC = "gcc-cross-intermediate"
meta/recipes-core/util-linux/util-linux_2.21.bb +1 -1
@@ -1,5 +1,5 @@ MAJOR_VERSION = "2.21" -PR = "r3" +PR = "r4" require util-linux.inc # note that `lscpu' is under GPLv3+
meta/recipes-devtools/cmake/cmake.inc +1 -1
@@ -9,7 +9,7 @@ LICENSE = "BSD" LIC_FILES_CHKSUM = "file://Copyright.txt;md5=f372516292ff7c33337bf16a74a5f9a8 \ file://Source/cmake.h;beginline=1;endline=10;md5=341736dae83c9e344b53eeb1bc7d7bc2" -INC_PR = "r1" +INC_PR = "r2" CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
meta/recipes-devtools/gdb/gdb-common.inc +1 -1
@@ -11,7 +11,7 @@ LTTNGUST_mipsel = "" LTTNGUST_mips64 = "" LTTNGUST_mips64el = "" -INC_PR = "r5" +INC_PR = "r6" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
meta/recipes-extended/bash/bash_3.2.48.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" DEPENDS = "ncurses" -PR = "r9" +PR = "r10" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz;name=tarball \ ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0;name=patch001 \
meta/recipes-extended/bash/bash_4.2.bb +1 -1
@@ -1,6 +1,6 @@ require bash.inc -PR = "r1" +PR = "r2" SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \ ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-001;apply=yes;striplevel=0;name=patch001 \
meta/recipes-extended/less/less_444.bb +1 -1
@@ -23,7 +23,7 @@ LICENSE = "GPLv3+ | BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" DEPENDS = "ncurses" -PR = "r1" +PR = "r2" SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz"
meta/recipes-extended/mc/mc_4.7.5.2.bb +1 -1
@@ -6,7 +6,7 @@ SECTION = "console/utils" DEPENDS = "ncurses glib-2.0" RDEPENDS_${PN} = "ncurses-terminfo" -PR = "r2" +PR = "r3" SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2"
meta/recipes-extended/mc/mc_4.8.1.bb +1 -1
@@ -6,7 +6,7 @@ SECTION = "console/utils" DEPENDS = "ncurses glib-2.0" RDEPENDS_${PN} = "ncurses-terminfo" -PR = "r2" +PR = "r3" SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2"
meta/recipes-extended/procps/procps_3.2.8.bb +1 -1
@@ -1,6 +1,6 @@ require procps.inc -PR = "r4" +PR = "r5" inherit update-alternatives
meta/recipes-extended/psmisc/psmisc_22.16.bb +1 -1
@@ -1,7 +1,7 @@ require psmisc.inc LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" -PR = "r0" +PR = "r1" SRC_URI[md5sum] = "d52caf26159c905574c2ce4bd792b9ee" SRC_URI[sha256sum] = "ae426d7238e5353fdf51b1d313897c2bbed0023e66e5b4af2be9cd03d87a9d01"
meta/recipes-extended/screen/screen_4.0.3.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0774d66808b0f602e94448108f59448b \ SECTION = "console/utils" DEPENDS = "ncurses \ ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -PR = "r2" +PR = "r3" SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz;name=tarball \ ${DEBIAN_MIRROR}/main/s/screen/screen_4.0.3-11+lenny1.diff.gz;name=patch \
meta/recipes-extended/texinfo/texinfo_4.13a.bb +1 -1
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/texinfo/" SECTION = "console/utils" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010" -PR = "r3" +PR = "r4" DEPENDS = "zlib ncurses texinfo-native" DEPENDS_virtclass-native = "zlib-native ncurses-native"
meta/recipes-kernel/latencytop/latencytop_0.5.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://latencytop.c;endline=23;md5=ee9ea9b1415356e5734adad4a DEPENDS = "virtual/libintl ncurses glib-2.0 gtk+" -PR = "r1" +PR = "r2" SRC_URI = "http://www.latencytop.org/download/latencytop-${PV}.tar.gz \ file://latencytop-makefile.patch"
meta/recipes-kernel/powertop/powertop_1.13.bb +1 -1
@@ -11,7 +11,7 @@ DEPENDS = "virtual/libintl ncurses" # powertop 1.13 needs lspci RDEPENDS_${PN} = "pciutils" -PR = "r2" +PR = "r3" SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \ file://stub_out_the_ncurses_calls_in_dump_mode.patch \
meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb +1 -1
@@ -7,7 +7,7 @@ SECTION = "console/utils" LICENSE = "GPLv2 & LGPLv2+" DEPENDS = "alsa-lib ncurses" -PR = "r3" +PR = "r4" LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
meta/recipes-support/attr/attr_2.4.46.bb +1 -1
@@ -1,6 +1,6 @@ require attr.inc -PR = "r3" +PR = "r4" SRC_URI[md5sum] = "db557c17fdfa4f785333ecda08654010" SRC_URI[sha256sum] = "dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f"
meta/recipes-support/sqlite/sqlite3_3.7.10.bb +1 -1
@@ -1,6 +1,6 @@ require sqlite3.inc -PR = "r0" +PR = "r1" LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
meta/recipes-support/vte/vte_0.28.2.bb +1 -1
@@ -2,7 +2,7 @@ require vte.inc LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" -PR = "r2" +PR = "r3" SRC_URI[archive.md5sum] = "f07a4bf943194f94b7f142db8f7f36dc" SRC_URI[archive.sha256sum] = "8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903"
Signature · 1 line
1.7.5.4
Saul Wold
AppliedQuoted 38 lines · Scott Garman
Hello,
This fixes the ncurses library packaging.
v3 of this pull request uses
do_split_packagesto package the libraries inbase_libdir, and includes a commit which bumps PR for all recipes which DEPEND on ncurses.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-contribsgarman/ncurses-pkg-fix3-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/ncurses-pkg-fix3-oeScott Garman (2):
ncurses: fix packaging of moved libraries
PR bump for all recipes that DEPEND on ncursesmeta/recipes-core/gettext/gettext_0.18.1.1.bb | 2 +- meta/recipes-core/ncurses/ncurses.inc | 6 ++++-- meta/recipes-core/readline/readline_5.2.bb | 2 +- meta/recipes-core/readline/readline_6.2.bb | 2 +- meta/recipes-core/uclibc/uclibc.inc | 2 +- meta/recipes-core/util-linux/util-linux_2.21.bb | 2 +- meta/recipes-devtools/cmake/cmake.inc | 2 +- meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-extended/bash/bash_3.2.48.bb | 2 +- meta/recipes-extended/bash/bash_4.2.bb | 2 +- meta/recipes-extended/less/less_444.bb | 2 +- meta/recipes-extended/mc/mc_4.7.5.2.bb | 2 +- meta/recipes-extended/mc/mc_4.8.1.bb | 2 +- meta/recipes-extended/procps/procps_3.2.8.bb | 2 +- meta/recipes-extended/psmisc/psmisc_22.16.bb | 2 +- meta/recipes-extended/screen/screen_4.0.3.bb | 2 +-
Quoted 9 lines
meta/recipes-extended/texinfo/texinfo_4.13a.bb | 2 +- meta/recipes-kernel/latencytop/latencytop_0.5.bb | 2 +- meta/recipes-kernel/powertop/powertop_1.13.bb | 2 +- .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 2 +- meta/recipes-support/attr/attr_2.4.46.bb | 2 +- meta/recipes-support/sqlite/sqlite3_3.7.10.bb | 2 +- meta/recipes-support/vte/vte_0.28.2.bb | 2 +- 23 files changed, 26 insertions(+), 24 deletions(-)
Merged into OE-Core
Thanks
Sau!