app-misc/mc: Removed old.
authorLars Wendler <polynomial-c@gentoo.org>
Sun, 10 Mar 2019 17:41:16 +0000 (18:41 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 10 Mar 2019 17:41:16 +0000 (18:41 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-misc/mc/Manifest
app-misc/mc/files/mc-4.8.13-tinfo.patch [deleted file]
app-misc/mc/files/mc-4.8.19-selected-size.patch [deleted file]
app-misc/mc/mc-4.8.20-r1.ebuild [deleted file]
app-misc/mc/mc-4.8.20-r2.ebuild [deleted file]
app-misc/mc/mc-4.8.21.ebuild [deleted file]

index 1424ab6aa800f63a1004471a70058c2161c8c594..d59e740a26a0102c35379569dce2bb998e9b48ed 100644 (file)
@@ -1,3 +1 @@
-DIST mc-4.8.20.tar.xz 2529580 BLAKE2B 14e575b650d28e0dcaa8ef0dc0b8e9bbf3e840ddc3d34d20518d28a6b253a8769c041c29ef7136c5fb72bd6130b0fc6c367dab8e44e040ef6dfd5406c364b86c SHA512 c2460561ae94bed75b1ed12f5c8039c9f8ace4c06987c57d07b8399c4e01c5a6c57851fddb3e918a4541ade089c89e8526078572a09580ccd0ae95344e3c1138
-DIST mc-4.8.21.tar.xz 2528292 BLAKE2B 0cbebcd2284f9ed9687022280aa1ba9e4a5960c6f1de27e5f4bab1b9bf205077dec2851e47b787aa6aec9cac28d467bf58ee2647a592e194ab3bfc63138b373f SHA512 db1a252744b47ebf5339ad204d8b69cb914f25ade7fe5aae2650c4abb57478715d3b7b3a24f4460adfb9fbdc928e8728b369b4f1709215e5e9af3d430fce6acf
 DIST mc-4.8.22.tar.xz 2538524 BLAKE2B f7839177dfb02d5b56d6a4ae1f045f7bc501b70fc845efaa6d45ef8e432ec680e51e4530aa5aa25c33ad339171d1ff435f6a1c5dbc5ac150053c64101b7a5c30 SHA512 834d467a4561fe4361bbde61be2c9ded95ade2a89855d953f58b7bfeb21297a3d6ebf674e72ac665b1794e0cbc8da752bc14fb37b129ff870856b339091f6bed
diff --git a/app-misc/mc/files/mc-4.8.13-tinfo.patch b/app-misc/mc/files/mc-4.8.13-tinfo.patch
deleted file mode 100644 (file)
index 761c103..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-Gentoo-bug: https://bugs.gentoo.org/527118
---- a/m4.include/mc-with-screen-ncurses.m4
-+++ b/m4.include/mc-with-screen-ncurses.m4
-@@ -101,6 +101,9 @@
-         LIBS=
-         AC_SEARCH_LIBS([has_colors], [ncurses], [MCLIBS="$MCLIBS $LIBS"], 
-                        [AC_MSG_ERROR([Cannot find ncurses library])])
-+        AC_SEARCH_LIBS([stdscr],[tinfo ncurses],[MCLIBS="$MCLIBS $LIBS"],
-+                       [AC_MSG_ERROR([Cannot find a library providing stdscr])])
-+
- 
-         screen_type=ncurses
-         screen_msg="Ncurses library"
-@@ -111,10 +114,15 @@
-         AC_SEARCH_LIBS([addwstr], [ncursesw ncurses curses], [MCLIBS="$MCLIBS $LIBS";ncursesw_found=yes],
-                        [AC_MSG_WARN([Cannot find ncurses library, that support wide characters])])
- 
-+        AC_SEARCH_LIBS([stdscr],[tinfo ncursesw ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
-+                       [AC_MSG_ERROR([Cannot find a library providing stdscr])])
-+
-         if test x"$ncursesw_found" = "x"; then
-             LIBS=
-             AC_SEARCH_LIBS([has_colors], [ncurses curses], [MCLIBS="$MCLIBS $LIBS"], 
-                            [AC_MSG_ERROR([Cannot find ncurses library])])
-+            AC_SEARCH_LIBS([stdscr],[tinfo ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
-+                           [AC_MSG_ERROR([Cannot find a library providing stdscr])])
-         fi
- 
-         dnl Check the header
-@@ -166,6 +174,9 @@
-     LIBS=
-     AC_SEARCH_LIBS([has_colors], [ncursesw], [MCLIBS="$MCLIBS $LIBS"],
-                  [AC_MSG_ERROR([Cannot find ncursesw library])])
-+    AC_SEARCH_LIBS([stdscr],[tinfow ncursesw],[MCLIBS="$MCLIBS $LIBS"],
-+           [AC_MSG_ERROR([Cannot find a library providing stdscr])])
-+
- 
-     dnl Check the header
-     ncurses_h_found=
diff --git a/app-misc/mc/files/mc-4.8.19-selected-size.patch b/app-misc/mc/files/mc-4.8.19-selected-size.patch
deleted file mode 100644 (file)
index 06d6f46..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 069306eb2e7174f431bd3eecbc8f489f9652b782 Mon Sep 17 00:00:00 2001
-From: Andrew Borodin <aborodin@vmail.ru>
-Date: Sat, 2 Dec 2017 14:39:50 +0300
-Subject: [PATCH] Ticket #3883: size_trunc_sep() breaks on multibyte locales.
-
-The bug was introduced in b3867a6e154420833d6a1117f556b9ab2d64c6ab.
-
-Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
----
- lib/util.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/lib/util.c b/lib/util.c
-index 0326f65e8..c23d91fba 100644
---- a/lib/util.c
-+++ b/lib/util.c
-@@ -383,7 +383,9 @@ size_trunc_sep (uintmax_t size, gboolean use_si)
-     p += strlen (p) - 1;
-     d = x + sizeof (x) - 1;
-     *d-- = '\0';
--    while (p >= y && (isalpha ((unsigned char) *p) || (unsigned char) *p == ' '))
-+    /* @size format is "size unit", i.e. "[digits][space][letters]".
-+       Copy all charactes after digits. */
-+    while (p >= y && !g_ascii_isdigit (*p))
-         *d-- = *p--;
-     for (count = 0; p >= y; count++)
-     {
--- 
-2.15.1
-
diff --git a/app-misc/mc/mc-4.8.20-r1.ebuild b/app-misc/mc/mc-4.8.20-r1.ebuild
deleted file mode 100644 (file)
index 9b71011..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils flag-o-matic
-
-MY_P=${P/_/-}
-
-DESCRIPTION="GNU Midnight Commander is a text based file manager"
-HOMEPAGE="https://www.midnight-commander.org"
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
-
-REQUIRED_USE="spell? ( edit )"
-
-RDEPEND=">=dev-libs/glib-2.26.0:2
-       gpm? ( sys-libs/gpm )
-       kernel_linux? ( sys-fs/e2fsprogs )
-       samba? ( net-fs/samba )
-       sftp? ( net-libs/libssh2 )
-       slang? ( >=sys-libs/slang-2 )
-       !slang? ( sys-libs/ncurses:0= )
-       spell? ( app-text/aspell )
-       X? ( x11-libs/libX11
-               x11-libs/libICE
-               x11-libs/libXau
-               x11-libs/libXdmcp
-               x11-libs/libSM )"
-DEPEND="${RDEPEND}
-       app-arch/xz-utils
-       virtual/pkgconfig
-       nls? ( sys-devel/gettext )
-       test? ( dev-libs/check )
-       "
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.8.13-tinfo.patch
-       "${FILESDIR}"/${PN}-4.8.19-selected-size.patch
-)
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
-
-       default
-       eautoreconf
-}
-
-src_configure() {
-       local myscreen=ncurses
-       use slang && myscreen=slang
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
-
-       local homedir=".mc"
-       use xdg && homedir="XDG"
-
-       econf \
-               --disable-silent-rules \
-               --disable-dependency-tracking \
-               $(use_enable nls) \
-               --enable-vfs \
-               $(use_enable kernel_linux vfs-undelfs) \
-               --enable-charset \
-               $(use_with X x) \
-               $(use_enable samba vfs-smb) \
-               $(use_enable sftp vfs-sftp) \
-               $(use_enable spell aspell) \
-               $(use_with gpm gpm-mouse) \
-               --with-screen=${myscreen} \
-               $(use_with edit internal-edit) \
-               $(use_enable mclib) \
-               $(use_enable test tests) \
-               --with-homedir=${homedir}
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS README NEWS
-
-       # fix bug #334383
-       if use kernel_linux && [[ ${EUID} == 0 ]] ; then
-               fowners root:tty /usr/libexec/mc/cons.saver
-               fperms g+s /usr/libexec/mc/cons.saver
-       fi
-
-       if ! use xdg ; then
-               sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-                       -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
-       fi
-}
-
-pkg_postinst() {
-       elog "To enable exiting to latest working directory,"
-       elog "put this into your ~/.bashrc:"
-       elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
-}
diff --git a/app-misc/mc/mc-4.8.20-r2.ebuild b/app-misc/mc/mc-4.8.20-r2.ebuild
deleted file mode 100644 (file)
index 4a9db19..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic
-
-MY_P=${P/_/-}
-
-DESCRIPTION="GNU Midnight Commander is a text based file manager"
-HOMEPAGE="https://www.midnight-commander.org"
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE="+edit gpm mclib nls samba sftp +slang spell test unicode X +xdg"
-
-REQUIRED_USE="spell? ( edit )"
-
-RDEPEND=">=dev-libs/glib-2.26.0:2
-       gpm? ( sys-libs/gpm )
-       kernel_linux? ( sys-fs/e2fsprogs )
-       samba? ( net-fs/samba )
-       sftp? ( net-libs/libssh2 )
-       slang? ( >=sys-libs/slang-2 )
-       !slang? ( sys-libs/ncurses:0=[unicode?] )
-       spell? ( app-text/aspell )
-       X? ( x11-libs/libX11
-               x11-libs/libICE
-               x11-libs/libXau
-               x11-libs/libXdmcp
-               x11-libs/libSM )"
-DEPEND="${RDEPEND}
-       app-arch/xz-utils
-       virtual/pkgconfig
-       nls? ( sys-devel/gettext )
-       test? ( dev-libs/check )
-       "
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.8.13-tinfo.patch
-       "${FILESDIR}"/${PN}-4.8.19-selected-size.patch
-)
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if use slang && use unicode ; then
-               ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled."
-       fi
-}
-
-src_prepare() {
-       [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
-
-       default
-       eautoreconf
-}
-
-src_configure() {
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
-
-       local myeconfargs=(
-               --disable-dependency-tracking
-               --disable-silent-rules
-               --enable-charset
-               --enable-vfs
-               --with-homedir=$(usex xdg 'XDG' '.mc')
-               --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')")
-               $(use_enable kernel_linux vfs-undelfs)
-               $(use_enable mclib)
-               $(use_enable nls)
-               $(use_enable samba vfs-smb)
-               $(use_enable sftp vfs-sftp)
-               $(use_enable spell aspell)
-               $(use_enable test tests)
-               $(use_with gpm gpm-mouse)
-               $(use_with X x)
-               $(use_with edit internal-edit)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS README NEWS
-
-       # fix bug #334383
-       if use kernel_linux && [[ ${EUID} == 0 ]] ; then
-               fowners root:tty /usr/libexec/mc/cons.saver
-               fperms g+s /usr/libexec/mc/cons.saver
-       fi
-
-       if ! use xdg ; then
-               sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-                       -i "${ED%/}"/usr/libexec/mc/ext.d/*.sh || die
-       fi
-}
-
-pkg_postinst() {
-       elog "To enable exiting to latest working directory,"
-       elog "put this into your ~/.bashrc:"
-       elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
-}
diff --git a/app-misc/mc/mc-4.8.21.ebuild b/app-misc/mc/mc-4.8.21.ebuild
deleted file mode 100644 (file)
index e45e8f5..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-MY_P=${P/_/-}
-
-DESCRIPTION="GNU Midnight Commander is a text based file manager"
-HOMEPAGE="https://www.midnight-commander.org"
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE="+edit gpm mclib nls samba sftp +slang spell test unicode X +xdg"
-
-REQUIRED_USE="spell? ( edit )"
-
-RDEPEND=">=dev-libs/glib-2.26.0:2
-       gpm? ( sys-libs/gpm )
-       kernel_linux? ( sys-fs/e2fsprogs )
-       samba? ( net-fs/samba )
-       sftp? ( net-libs/libssh2 )
-       slang? ( >=sys-libs/slang-2 )
-       !slang? ( sys-libs/ncurses:0=[unicode?] )
-       spell? ( app-text/aspell )
-       X? ( x11-libs/libX11
-               x11-libs/libICE
-               x11-libs/libXau
-               x11-libs/libXdmcp
-               x11-libs/libSM )"
-DEPEND="${RDEPEND}
-       app-arch/xz-utils
-       virtual/pkgconfig
-       nls? ( sys-devel/gettext )
-       test? ( dev-libs/check )
-       "
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if use slang && use unicode ; then
-               ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled."
-       fi
-}
-
-src_configure() {
-       [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
-
-       local myeconfargs=(
-               --disable-dependency-tracking
-               --disable-silent-rules
-               --enable-charset
-               --enable-vfs
-               --with-homedir=$(usex xdg 'XDG' '.mc')
-               --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')")
-               $(use_enable kernel_linux vfs-undelfs)
-               $(use_enable mclib)
-               $(use_enable nls)
-               $(use_enable samba vfs-smb)
-               $(use_enable sftp vfs-sftp)
-               $(use_enable spell aspell)
-               $(use_enable test tests)
-               $(use_with gpm gpm-mouse)
-               $(use_with X x)
-               $(use_with edit internal-edit)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS README NEWS
-
-       # fix bug #334383
-       if use kernel_linux && [[ ${EUID} == 0 ]] ; then
-               fowners root:tty /usr/libexec/mc/cons.saver
-               fperms g+s /usr/libexec/mc/cons.saver
-       fi
-
-       if ! use xdg ; then
-               sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-                       -i "${ED%/}"/usr/libexec/mc/ext.d/*.sh || die
-       fi
-}
-
-pkg_postinst() {
-       elog "To enable exiting to latest working directory,"
-       elog "put this into your ~/.bashrc:"
-       elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
-}