1 |
polynomial-c 12/07/30 13:00:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mc-4.8.4-r2.ebuild |
5 |
Removed: mc-4.8.4-r1.ebuild |
6 |
Log: |
7 |
Fixed bug #427786 and bug #428568 |
8 |
|
9 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.262 app-misc/mc/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.262&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.262&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.261&r2=1.262 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v |
21 |
retrieving revision 1.261 |
22 |
retrieving revision 1.262 |
23 |
diff -u -r1.261 -r1.262 |
24 |
--- ChangeLog 21 Jul 2012 15:59:49 -0000 1.261 |
25 |
+++ ChangeLog 30 Jul 2012 13:00:36 -0000 1.262 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for app-misc/mc |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.261 2012/07/21 15:59:49 slyfox Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.262 2012/07/30 13:00:36 polynomial-c Exp $ |
31 |
+ |
32 |
+*mc-4.8.4-r2 (30 Jul 2012) |
33 |
+ |
34 |
+ 30 Jul 2012; Lars Wendler <polynomial-c@g.o> -mc-4.8.4-r1.ebuild, |
35 |
+ +mc-4.8.4-r2.ebuild, |
36 |
+ +files/mc-4.8.4-Ticket-2853-fileposition-in-mcedit.patch, |
37 |
+ +files/mc-4.8.4-Ticket-2858-htmlview-segfault.patch: |
38 |
+ non-maintainer commit: Fixed fileposition no longer remembered by mcedit (bug |
39 |
+ #427786). Fixed segfault when viewing html files (bug #428568). |
40 |
|
41 |
*mc-4.8.4-r1 (21 Jul 2012) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 app-misc/mc/mc-4.8.4-r2.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.4-r2.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.4-r2.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: mc-4.8.4-r2.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.4-r2.ebuild,v 1.1 2012/07/30 13:00:36 polynomial-c Exp $ |
56 |
|
57 |
EAPI=4 |
58 |
|
59 |
inherit eutils flag-o-matic |
60 |
|
61 |
MY_P=${P/_/-} |
62 |
|
63 |
DESCRIPTION="GNU Midnight Commander is a text based file manager" |
64 |
HOMEPAGE="http://www.midnight-commander.org" |
65 |
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
66 |
|
67 |
LICENSE="GPL-3" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
70 |
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg" |
71 |
|
72 |
REQUIRED_USE="spell? ( edit )" |
73 |
|
74 |
RDEPEND=">=dev-libs/glib-2.8:2 |
75 |
gpm? ( sys-libs/gpm ) |
76 |
kernel_linux? ( sys-fs/e2fsprogs ) |
77 |
samba? ( net-fs/samba ) |
78 |
sftp? ( net-libs/libssh2 ) |
79 |
slang? ( >=sys-libs/slang-2 ) |
80 |
!slang? ( sys-libs/ncurses ) |
81 |
spell? ( app-text/aspell ) |
82 |
X? ( x11-libs/libX11 |
83 |
x11-libs/libICE |
84 |
x11-libs/libXau |
85 |
x11-libs/libXdmcp |
86 |
x11-libs/libSM )" |
87 |
DEPEND="${RDEPEND} |
88 |
app-arch/xz-utils |
89 |
virtual/pkgconfig |
90 |
nls? ( sys-devel/gettext ) |
91 |
test? ( dev-libs/check ) |
92 |
" |
93 |
|
94 |
LANGS="az be bg ca cs da de el eo es et eu fi |
95 |
fr gl hu ia id it ja ka ko lt lv mn nb nl pl pt_BR |
96 |
pt ro ru sk sl sr sv sv_SE ta tr uk vi wa zh_CN zh_TW" |
97 |
#LANGS+=" de_CH fi_FI it_IT" # suspicious overlap |
98 |
|
99 |
for X in ${LANGS} ; do |
100 |
IUSE="${IUSE} linguas_${X}" |
101 |
done |
102 |
|
103 |
src_prepare() { |
104 |
strip-linguas ${LANGS} |
105 |
|
106 |
epatch "${FILESDIR}"/${P}-Ticket-2851-fixes-of-ext.d-scripts.patch \ |
107 |
"${FILESDIR}"/${P}-Ticket-2853-fileposition-in-mcedit.patch \ |
108 |
"${FILESDIR}"/${P}-Ticket-2858-htmlview-segfault.patch |
109 |
} |
110 |
|
111 |
S=${WORKDIR}/${MY_P} |
112 |
|
113 |
src_configure() { |
114 |
local myscreen=ncurses |
115 |
use slang && myscreen=slang |
116 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
117 |
|
118 |
local homedir=".mc" |
119 |
use xdg && homedir="XDG" |
120 |
|
121 |
econf \ |
122 |
--disable-dependency-tracking \ |
123 |
$(use_enable nls) \ |
124 |
--enable-vfs \ |
125 |
$(use_enable kernel_linux vfs-undelfs) \ |
126 |
--enable-charset \ |
127 |
$(use_with X x) \ |
128 |
$(use_enable samba vfs-smb) \ |
129 |
$(use_enable sftp vfs-sftp) \ |
130 |
$(use_enable spell aspell) \ |
131 |
$(use_with gpm gpm-mouse) \ |
132 |
--with-screen=${myscreen} \ |
133 |
$(use_with edit) \ |
134 |
$(use_enable mclib) \ |
135 |
$(use_enable test tests) \ |
136 |
--with-homedir=${homedir} |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
emake DESTDIR="${D}" install |
141 |
dodoc AUTHORS README NEWS |
142 |
|
143 |
# fix bug #334383 |
144 |
if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
145 |
fowners root:tty /usr/libexec/mc/cons.saver |
146 |
fperms g+s /usr/libexec/mc/cons.saver |
147 |
fi |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
elog "To enable exiting to latest working directory," |
152 |
elog "put this into your ~/.bashrc:" |
153 |
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
154 |
} |