summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2015-08-19 17:27:23 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-31 19:48:01 +0200
commit937d0699f77a83bb4e98ea5b3dde3c27e43ac060 (patch)
treec4d4e16fa84f0c72fe0dce3c3ba79321e0d8ba56
parentb0b6ae9cc54c8b06bdbc2944bb82cffd384dd6b3 (diff)
downloadmeta-openembedded-937d0699f77a83bb4e98ea5b3dde3c27e43ac060.tar.gz
dialog: upgrade to 1.2-20150528
remove use-pkg-config-for-ncurses-detection.patch, the new version is using the pkg-config to check ncurses configuration assumes the cf_have_ncuconfig is unknown for cross-compile, but ncurses is added into DEPENDS, so change it as yes Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-extended/dialog/dialog_1.2-20150528.bb (renamed from meta-oe/recipes-extended/dialog/dialog_1.2-20150225.bb)6
-rw-r--r--meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch32
2 files changed, 3 insertions, 35 deletions
diff --git a/meta-oe/recipes-extended/dialog/dialog_1.2-20150225.bb b/meta-oe/recipes-extended/dialog/dialog_1.2-20150528.bb
index 88af59f11..4fb938e7a 100644
--- a/meta-oe/recipes-extended/dialog/dialog_1.2-20150225.bb
+++ b/meta-oe/recipes-extended/dialog/dialog_1.2-20150528.bb
@@ -8,11 +8,10 @@ DEPENDS = "ncurses"
8LICENSE = "LGPL-2.1" 8LICENSE = "LGPL-2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" 9LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
10 10
11SRC_URI[md5sum] = "38ef59a7daa5459119cb06777c735e4b" 11SRC_URI[md5sum] = "593615fb448e001e5b81420473a7354b"
12SRC_URI[sha256sum] = "6844b13a7a1fea568a8d5bb3004e1af90888cd4a5e8c2ded2c38f34fcc7397ff" 12SRC_URI[sha256sum] = "a8cd7a66bdb41e53a3145cbb0eb370c5ce7300fe0e9ad6d3e8d3b9e16ff16418"
13 13
14SRC_URI = "ftp://invisible-island.net/dialog/dialog-${PV}.tgz \ 14SRC_URI = "ftp://invisible-island.net/dialog/dialog-${PV}.tgz \
15 file://use-pkg-config-for-ncurses-detection.patch \
16 " 15 "
17 16
18# hardcoded here for use in dialog-static recipe 17# hardcoded here for use in dialog-static recipe
@@ -26,5 +25,6 @@ EXTRA_OECONF = "--with-ncurses \
26do_configure() { 25do_configure() {
27 gnu-configize --force 26 gnu-configize --force
28 sed -i 's,${cf_ncuconfig_root}6-config,${cf_ncuconfig_root}-config,g' -i configure 27 sed -i 's,${cf_ncuconfig_root}6-config,${cf_ncuconfig_root}-config,g' -i configure
28 sed -i 's,cf_have_ncuconfig=unknown,cf_have_ncuconfig=yes,g' -i configure
29 oe_runconf 29 oe_runconf
30} 30}
diff --git a/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch b/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch
deleted file mode 100644
index 0a25a7fcc..000000000
--- a/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Subject: [PATCH] use pkg-config for ncurses detection.
2
3Upstream-Status: Inappropriate [configuration]
4
5This is a workaround to make dialog be able to build after ncurses-config
6does not work, since the configure file is called directly in dialog bb
7file, and autoconf can not work, make a workaround in configure file.
8
9Signed-off-by: Roy Li <rongqing.li@windriver.com>
10---
11 configure | 5 ++---
12 1 file changed, 2 insertions(+), 3 deletions(-)
13
14diff --git a/configure b/configure
15index 8afe3d7..a54bcc1 100755
16--- a/configure
17+++ b/configure
18@@ -11567,9 +11567,8 @@ fi
19
20 if test "$NCURSES_CONFIG" != none ; then
21
22-CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
23-
24-cf_add_libs="`$NCURSES_CONFIG --libs`"
25+CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>/dev/null`"
26+cf_add_libs="`pkg-config --short-errors --print-errors --libs "ncurses" 2>/dev/null` $LIBS"
27 # Filter out duplicates - this happens with badly-designed ".pc" files...
28 for cf_add_1lib in $LIBS
29 do
30--
311.7.10.4
32