1 |
commit: a1252a5690403da1183686411ff9872da2727941 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 07:59:33 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 07:59:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1252a56 |
7 |
|
8 |
app-misc/mc: drop 4.8.27-r1 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-misc/mc/Manifest | 1 - |
13 |
app-misc/mc/mc-4.8.27-r1.ebuild | 123 ---------------------------------------- |
14 |
2 files changed, 124 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest |
17 |
index 3bd448e40db0..80fee7d07564 100644 |
18 |
--- a/app-misc/mc/Manifest |
19 |
+++ b/app-misc/mc/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST mc-4.8.27.tar.xz 2510296 BLAKE2B efb0f3a8beb7285a793085a8e3b3a49619d0f8a4babff7de90f7a462cf6c013bbc08b92bc48e2c2e2204799332cd0160a86e201d9368cabde78e653b4306763f SHA512 c955d66cee06e3a0e0c795f2f6b98b184762363390a903cf8ef83dc5e98e6e94d5a9c06c4788d9ff4b3ae111541df8c7dc0b864a5c21c40421a81cd8690e9a69 |
22 |
DIST mc-4.8.28.tar.xz 2333072 BLAKE2B f4218e6c166df85b7b3736f0fd1414c9507c72074f06001f12b114ce6c6fbbf3688ab850aa70f5063eb3920736f878e113eb39a5d261ccfc3ffa9dab473a8436 SHA512 ca3b3a57281e9387cb52bf1fcfc3f39a4d5f438aafc256dc492c192678824f67c983a852c759664efc5bc6d0de471c9b3929834f8301f6302ca1ebeee513fdfd |
23 |
|
24 |
diff --git a/app-misc/mc/mc-4.8.27-r1.ebuild b/app-misc/mc/mc-4.8.27-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 24f22f64aa08..000000000000 |
27 |
--- a/app-misc/mc/mc-4.8.27-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,123 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-inherit autotools flag-o-matic |
36 |
- |
37 |
-MY_P=${P/_/-} |
38 |
- |
39 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
40 |
-HOMEPAGE="https://midnight-commander.org" |
41 |
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" |
42 |
- |
43 |
-LICENSE="GPL-3" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
46 |
-IUSE="+edit gpm nls samba sftp +slang spell test unicode X" |
47 |
- |
48 |
-REQUIRED_USE="spell? ( edit )" |
49 |
- |
50 |
-RDEPEND=">=dev-libs/glib-2.26.0:2 |
51 |
- gpm? ( sys-libs/gpm ) |
52 |
- kernel_linux? ( sys-fs/e2fsprogs[tools(+)] ) |
53 |
- samba? ( net-fs/samba ) |
54 |
- sftp? ( net-libs/libssh2 ) |
55 |
- slang? ( >=sys-libs/slang-2 ) |
56 |
- !slang? ( sys-libs/ncurses:=[unicode(+)?] ) |
57 |
- spell? ( app-text/aspell ) |
58 |
- X? ( x11-libs/libX11 |
59 |
- x11-libs/libICE |
60 |
- x11-libs/libXau |
61 |
- x11-libs/libXdmcp |
62 |
- x11-libs/libSM )" |
63 |
-DEPEND="${RDEPEND}" |
64 |
-BDEPEND="app-arch/xz-utils |
65 |
- virtual/pkgconfig |
66 |
- nls? ( sys-devel/gettext ) |
67 |
- test? ( dev-libs/check )" |
68 |
- |
69 |
-PATCHES=( |
70 |
- "${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch |
71 |
-) |
72 |
- |
73 |
-RESTRICT="!test? ( test )" |
74 |
- |
75 |
-S="${WORKDIR}/${MY_P}" |
76 |
- |
77 |
-pkg_pretend() { |
78 |
- if use slang && use unicode ; then |
79 |
- ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled." |
80 |
- fi |
81 |
-} |
82 |
- |
83 |
-src_prepare() { |
84 |
- default |
85 |
- |
86 |
- # patch touches configure.ac |
87 |
- eautoreconf |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
92 |
- |
93 |
- local myeconfargs=( |
94 |
- --enable-charset |
95 |
- --enable-vfs |
96 |
- --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") |
97 |
- $(use_enable kernel_linux vfs-undelfs) |
98 |
- # Today mclib does not expose any headers and is linked to |
99 |
- # single 'mc' binary. Thus there is no advantage of having |
100 |
- # a library. Let's avoid shared library altogether |
101 |
- # as it also conflicts with sci-libs/mc: bug #685938 |
102 |
- --disable-mclib |
103 |
- $(use_enable nls) |
104 |
- $(use_enable samba vfs-smb) |
105 |
- $(use_enable sftp vfs-sftp) |
106 |
- $(use_enable spell aspell) |
107 |
- $(use_enable test tests) |
108 |
- $(use_with gpm gpm-mouse) |
109 |
- $(use_with X x) |
110 |
- $(use_with edit internal-edit) |
111 |
- ) |
112 |
- econf "${myeconfargs[@]}" |
113 |
-} |
114 |
- |
115 |
-src_test() { |
116 |
- # Bug #759466 |
117 |
- if [[ ${EUID} == 0 ]]; then |
118 |
- ewarn "You are emerging ${PN} as root with 'userpriv' disabled." \ |
119 |
- "Expect some test failures, or emerge with 'FEATURES=userpriv'!" |
120 |
- fi |
121 |
- |
122 |
- # CK_FORK=no to avoid using fork() in check library |
123 |
- # as mc mocks fork() itself: bug #644462. |
124 |
- # |
125 |
- # VERBOSE=1 to make test failures contain detailed |
126 |
- # information. |
127 |
- CK_FORK=no emake check VERBOSE=1 |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- emake DESTDIR="${D}" install |
132 |
- dodoc AUTHORS README NEWS |
133 |
- |
134 |
- # fix bug #334383 |
135 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
136 |
- fowners root:tty /usr/libexec/mc/cons.saver |
137 |
- fperms g+s /usr/libexec/mc/cons.saver |
138 |
- fi |
139 |
-} |
140 |
- |
141 |
-pkg_postinst() { |
142 |
- if use spell && ! has_version app-dicts/aspell-en ; then |
143 |
- elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed." |
144 |
- elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini" |
145 |
- elog "It has to be set to one of your installed aspell dictionaries or 'NONE'" |
146 |
- elog |
147 |
- fi |
148 |
- |
149 |
- elog "To enable exiting to latest working directory," |
150 |
- elog "put this into your ~/.bashrc:" |
151 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
152 |
-} |