1 |
commit: 92221f67d68688c99091f6b233d0c65c9b3692db |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 20 07:52:20 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 07:52:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92221f67 |
7 |
|
8 |
app-misc/mc: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
app-misc/mc/Manifest | 1 - |
14 |
app-misc/mc/mc-4.8.22.ebuild | 108 ------------------------------------------- |
15 |
2 files changed, 109 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest |
18 |
index 48e47aaf077..7975a3d8d7e 100644 |
19 |
--- a/app-misc/mc/Manifest |
20 |
+++ b/app-misc/mc/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST mc-4.8.22.tar.xz 2538524 BLAKE2B f7839177dfb02d5b56d6a4ae1f045f7bc501b70fc845efaa6d45ef8e432ec680e51e4530aa5aa25c33ad339171d1ff435f6a1c5dbc5ac150053c64101b7a5c30 SHA512 834d467a4561fe4361bbde61be2c9ded95ade2a89855d953f58b7bfeb21297a3d6ebf674e72ac665b1794e0cbc8da752bc14fb37b129ff870856b339091f6bed |
23 |
DIST mc-4.8.23.tar.xz 2552944 BLAKE2B f246f30d852f93ac96f81ec7a933a1bcd86ff3bfa040a0fa1cb32c14d781f77df34452e4dd94f0846e379d91a648cd417241e4660930a9c90defe58cb19d1cee SHA512 e51c7f926d296280a57a8ecb5f4b296a850022b7ab9beaba89f5cb7554d8fc3e13c73b8571f78c3162ee85df88f7f46d07c9c893156cda4d1377a01071cdd1c6 |
24 |
DIST mc-4.8.24.tar.xz 2434988 BLAKE2B 18bd730d5bfbad19fa5e70fb578cf587a3df8da33885543b3d316548ac0d29bd67e4683d32b2751471e148e89390c7658edb622fd741eae054b7fae774996b60 SHA512 ec9e40198455e7001bb1d06ea060b9b4c32ad3a3750d0cc9bac334b53eb666df1746335bfcd411213fa4386b23e516f6026fe3d74ad9119b2340b26c63ccd4fc |
25 |
|
26 |
diff --git a/app-misc/mc/mc-4.8.22.ebuild b/app-misc/mc/mc-4.8.22.ebuild |
27 |
deleted file mode 100644 |
28 |
index 5f959e6ff92..00000000000 |
29 |
--- a/app-misc/mc/mc-4.8.22.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,108 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit flag-o-matic |
38 |
- |
39 |
-MY_P=${P/_/-} |
40 |
- |
41 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
42 |
-HOMEPAGE="https://www.midnight-commander.org" |
43 |
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" |
44 |
- |
45 |
-LICENSE="GPL-3" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
48 |
-IUSE="+edit gpm nls samba sftp +slang spell test unicode X +xdg" |
49 |
- |
50 |
-REQUIRED_USE="spell? ( edit )" |
51 |
- |
52 |
-RDEPEND=">=dev-libs/glib-2.26.0:2 |
53 |
- gpm? ( sys-libs/gpm ) |
54 |
- kernel_linux? ( sys-fs/e2fsprogs ) |
55 |
- samba? ( net-fs/samba ) |
56 |
- sftp? ( net-libs/libssh2 ) |
57 |
- slang? ( >=sys-libs/slang-2 ) |
58 |
- !slang? ( sys-libs/ncurses:0=[unicode?] ) |
59 |
- spell? ( app-text/aspell ) |
60 |
- X? ( x11-libs/libX11 |
61 |
- x11-libs/libICE |
62 |
- x11-libs/libXau |
63 |
- x11-libs/libXdmcp |
64 |
- x11-libs/libSM )" |
65 |
-DEPEND="${RDEPEND} |
66 |
- app-arch/xz-utils |
67 |
- virtual/pkgconfig |
68 |
- nls? ( sys-devel/gettext ) |
69 |
- test? ( dev-libs/check ) |
70 |
- " |
71 |
- |
72 |
-RESTRICT="!test? ( test )" |
73 |
- |
74 |
-S=${WORKDIR}/${MY_P} |
75 |
- |
76 |
-pkg_pretend() { |
77 |
- if use slang && use unicode ; then |
78 |
- ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled." |
79 |
- fi |
80 |
-} |
81 |
- |
82 |
-src_configure() { |
83 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
84 |
- |
85 |
- local myeconfargs=( |
86 |
- --disable-dependency-tracking |
87 |
- --disable-silent-rules |
88 |
- --enable-charset |
89 |
- --enable-vfs |
90 |
- --with-homedir=$(usex xdg 'XDG' '.mc') |
91 |
- --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") |
92 |
- $(use_enable kernel_linux vfs-undelfs) |
93 |
- # Today mclib does not expose any headers and is linked to |
94 |
- # single 'mc' binary. Thus there is no advantage of having |
95 |
- # a library. Let's avoid shared library altogether |
96 |
- # as it also conflicts with sci-libs/mc: bug #685938 |
97 |
- --disable-mclib |
98 |
- $(use_enable nls) |
99 |
- $(use_enable samba vfs-smb) |
100 |
- $(use_enable sftp vfs-sftp) |
101 |
- $(use_enable spell aspell) |
102 |
- $(use_enable test tests) |
103 |
- $(use_with gpm gpm-mouse) |
104 |
- $(use_with X x) |
105 |
- $(use_with edit internal-edit) |
106 |
- ) |
107 |
- econf "${myeconfargs[@]}" |
108 |
-} |
109 |
- |
110 |
-src_test() { |
111 |
- # CK_FORK=no to avoid using fork() in check library |
112 |
- # as mc mocks fork() itself: bug #644462. |
113 |
- # |
114 |
- # VERBOSE=1 to make test failures contain detailed |
115 |
- # information. |
116 |
- CK_FORK=no emake check VERBOSE=1 |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- emake DESTDIR="${D}" install |
121 |
- dodoc AUTHORS README NEWS |
122 |
- |
123 |
- # fix bug #334383 |
124 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
125 |
- fowners root:tty /usr/libexec/mc/cons.saver |
126 |
- fperms g+s /usr/libexec/mc/cons.saver |
127 |
- fi |
128 |
- |
129 |
- if ! use xdg ; then |
130 |
- sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \ |
131 |
- -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- elog "To enable exiting to latest working directory," |
137 |
- elog "put this into your ~/.bashrc:" |
138 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
139 |
-} |