Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/mc: mc-4.6.2_pre1.ebuild ChangeLog
Date: Mon, 05 May 2008 17:12:26
Message-Id: E1Jt4Eg-0005Ca-Vx@stork.gentoo.org
1 drac 08/05/05 17:12:22
2
3 Modified: mc-4.6.2_pre1.ebuild ChangeLog
4 Log:
5 USE unicode wrt #220365
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.4 app-misc/mc/mc-4.6.2_pre1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild?r1=1.3&r2=1.4
14
15 Index: mc-4.6.2_pre1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- mc-4.6.2_pre1.ebuild 28 Apr 2008 13:21:25 -0000 1.3
22 +++ mc-4.6.2_pre1.ebuild 5 May 2008 17:12:22 -0000 1.4
23 @@ -1,6 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.3 2008/04/28 13:21:25 drac Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.4 2008/05/05 17:12:22 drac Exp $
28 +
29 +EAPI=1
30
31 inherit eutils
32
33 @@ -14,10 +16,11 @@
34 LICENSE="GPL-2"
35 SLOT="0"
36 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
37 -IUSE="gpm nls samba X"
38 +IUSE="gpm nls samba +unicode X"
39
40 RDEPEND=">=dev-libs/glib-2
41 - >=sys-libs/slang-2.1.3
42 + unicode? ( >=sys-libs/slang-2.1.3 )
43 + !unicode? ( sys-libs/ncurses )
44 gpm? ( sys-libs/gpm )
45 X? ( x11-libs/libX11
46 x11-libs/libICE
47 @@ -37,6 +40,10 @@
48 src_unpack() {
49 unpack ${A}
50 cd "${S}"
51 +
52 + use unicode || \
53 + EPATCH_EXCLUDE="48_all_deb_utf8-slang2.patch 60_all_deb_recode.patch"
54 +
55 EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
56
57 # Prevent lazy bindings in cons.saver binary for bug #135009
58 @@ -45,8 +52,13 @@
59 }
60
61 src_compile() {
62 - # Default is slang for unicode in Gentoo (which is also upstream default)
63 - local myconf="--with-vfs --with-ext2undel --with-edit --enable-charset --with-screen=slang"
64 + local myconf="--with-vfs --with-ext2undel --enable-charset --with-edit"
65 +
66 + if use unicode; then
67 + myconf+=" --with-screen=slang"
68 + else
69 + myconf+=" --with-screen=ncurses"
70 + fi
71
72 if use samba; then
73 myconf+=" --with-samba --with-configdir=/etc/samba --with-codepagedir=/var/lib/samba/codepages"
74
75
76
77 1.141 app-misc/mc/ChangeLog
78
79 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.141&view=markup
80 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.141&content-type=text/plain
81 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.140&r2=1.141
82
83 Index: ChangeLog
84 ===================================================================
85 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
86 retrieving revision 1.140
87 retrieving revision 1.141
88 diff -u -r1.140 -r1.141
89 --- ChangeLog 28 Apr 2008 13:21:25 -0000 1.140
90 +++ ChangeLog 5 May 2008 17:12:22 -0000 1.141
91 @@ -1,6 +1,9 @@
92 # ChangeLog for app-misc/mc
93 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
94 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.140 2008/04/28 13:21:25 drac Exp $
95 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.141 2008/05/05 17:12:22 drac Exp $
96 +
97 + 05 May 2008; Samuli Suominen <drac@g.o> mc-4.6.2_pre1.ebuild:
98 + USE unicode wrt #220365
99
100 28 Apr 2008; Samuli Suominen <drac@g.o> mc-4.6.2_pre1.ebuild:
101 Prepare unmasking. Unkeyword arm/s390/sh because slang-2 is required for
102
103
104
105 --
106 gentoo-commits@l.g.o mailing list