summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc/mc_4.8.27.bb
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-04-04 02:47:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:10 +0100
commitecbf60aa99f99094900eb682db83bba5bf45d794 (patch)
treead1ae55f127ee8d36fea62c0cfea5e5a54579993 /meta/recipes-extended/mc/mc_4.8.27.bb
parentf528d9878a4e875c2dc771810ca4fc871917480b (diff)
downloadpoky-ecbf60aa99f99094900eb682db83bba5bf45d794.tar.gz
mc: upgrade 4.8.27 -> 4.8.28
Remove unsupported option of smb 0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch removed since it's included in 4.8.28 (From OE-Core rev: c448df46a31c21f156b5b9feb7f513dbb8b62520) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc/mc_4.8.27.bb')
-rw-r--r--meta/recipes-extended/mc/mc_4.8.27.bb63
1 files changed, 0 insertions, 63 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.27.bb b/meta/recipes-extended/mc/mc_4.8.27.bb
deleted file mode 100644
index 564599fdf6..0000000000
--- a/meta/recipes-extended/mc/mc_4.8.27.bb
+++ /dev/null
@@ -1,63 +0,0 @@
1SUMMARY = "Midnight Commander is an ncurses based file manager"
2HOMEPAGE = "http://www.midnight-commander.org/"
3DESCRIPTION = "GNU Midnight Commander is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included."
4LICENSE = "GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2"
6SECTION = "console/utils"
7DEPENDS = "ncurses glib-2.0 util-linux file-replacement-native"
8RDEPENDS:${PN} = "ncurses-terminfo-base"
9RRECOMMENDS:${PN} = "ncurses-terminfo"
10
11SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
12 file://0001-mc-replace-perl-w-with-use-warnings.patch \
13 file://nomandate.patch \
14 file://0001-Ticket-4200-fix-FTBFS-with-ncurses-build-with-disabl.patch \
15 "
16SRC_URI[sha256sum] = "2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407"
17
18# remove at next version upgrade or when output changes
19PR = "r1"
20HASHEQUIV_HASH_VERSION .= ".2"
21
22inherit autotools gettext pkgconfig
23
24#
25# Both Samba (smb) and sftp require package delivered from meta-openembedded
26#
27PACKAGECONFIG ??= ""
28PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba,"
29PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
30
31# enable NCURSES_WIDECHAR=1 only if ENABLE_WIDEC has not been explicitly disabled (e.g. by the distro config).
32# When compiling against the ncurses library, NCURSES_WIDECHAR needs to explicitly set to 0 in this case.
33CFLAGS:append:libc-musl = "${@' -DNCURSES_WIDECHAR=1' if bb.utils.to_boolean((d.getVar('ENABLE_WIDEC') or 'True')) else ' -DNCURSES_WIDECHAR=0'}"
34EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args"
35EXTRANATIVEPATH += "file-native"
36
37CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
38CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'"
39CACHED_CONFIGUREVARS += "ac_cv_path_GREP='/usr/bin/env grep'"
40CACHED_CONFIGUREVARS += "mc_cv_have_zipinfo=yes"
41
42do_install:append () {
43 sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
44
45 rm ${D}${libexecdir}/mc/extfs.d/s3+ ${D}${libexecdir}/mc/extfs.d/uc1541
46}
47
48PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers ${BPN}-fish"
49
50SUMMARY:${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts"
51FILES:${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \
52 ${libexecdir}/mc/extfs.d/deb ${libexecdir}/mc/extfs.d/deba \
53 ${libexecdir}/mc/extfs.d/debd ${libexecdir}/mc/extfs.d/dpkg+ \
54 ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \
55 ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \
56 ${libexecdir}/mc/extfs.d/uzip"
57RDEPENDS:${BPN}-helpers-perl = "perl"
58
59SUMMARY:${BPN}-helpers = "Midnight Commander shell helper scripts"
60FILES:${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*"
61
62SUMMARY:${BPN}-fish = "Midnight Commander Fish scripts"
63FILES:${BPN}-fish = "${libexecdir}/mc/fish"