1 |
matsuu 11/02/02 16:24:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: w3m-0.5.3-r1.ebuild |
5 |
Log: |
6 |
Fixed parallel make issue, bug #353390. |
7 |
|
8 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.63 www-client/w3m/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/w3m/ChangeLog?rev=1.63&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/w3m/ChangeLog?rev=1.63&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/w3m/ChangeLog?r1=1.62&r2=1.63 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/w3m/ChangeLog,v |
20 |
retrieving revision 1.62 |
21 |
retrieving revision 1.63 |
22 |
diff -u -r1.62 -r1.63 |
23 |
--- ChangeLog 26 Jan 2011 16:08:54 -0000 1.62 |
24 |
+++ ChangeLog 2 Feb 2011 16:24:38 -0000 1.63 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-client/w3m |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/w3m/ChangeLog,v 1.62 2011/01/26 16:08:54 darkside Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/w3m/ChangeLog,v 1.63 2011/02/02 16:24:38 matsuu Exp $ |
30 |
+ |
31 |
+*w3m-0.5.3-r1 (02 Feb 2011) |
32 |
+ |
33 |
+ 02 Feb 2011; MATSUU Takuto <matsuu@g.o> +w3m-0.5.3-r1.ebuild, |
34 |
+ +files/w3m-0.5.3-parallel-make.patch: |
35 |
+ Fixed parallel make issue, bug #353390. |
36 |
|
37 |
26 Jan 2011; Jeremy Olexa <darkside@g.o> w3m-0.5.3.ebuild: |
38 |
Add prefix keywords, as tested in prefix overlay |
39 |
|
40 |
|
41 |
|
42 |
1.1 www-client/w3m/w3m-0.5.3-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/w3m/w3m-0.5.3-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/w3m/w3m-0.5.3-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: w3m-0.5.3-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-client/w3m/w3m-0.5.3-r1.ebuild,v 1.1 2011/02/02 16:24:38 matsuu Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="Text based WWW browser, supports tables and frames" |
57 |
HOMEPAGE="http://w3m.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/w3m/${P}.tar.gz" |
59 |
|
60 |
LICENSE="w3m" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
63 |
IUSE="X fbcon gpm gtk imlib lynxkeymap migemo nls nntp ssl unicode xface linguas_ja" |
64 |
|
65 |
# We cannot build w3m with gtk+2 w/o X because gtk+2 ebuild doesn't |
66 |
# allow us to build w/o X, so we have to give up framebuffer w3mimg.... |
67 |
DEPEND=">=sys-libs/ncurses-5.2-r3 |
68 |
>=sys-libs/zlib-1.1.3-r2 |
69 |
>=dev-libs/boehm-gc-6.2 |
70 |
X? ( x11-libs/libXext x11-libs/libXdmcp ) |
71 |
gtk? ( >=x11-libs/gtk+-2 ) |
72 |
!gtk? ( imlib? ( >=media-libs/imlib2-1.1.0 ) ) |
73 |
xface? ( media-libs/compface ) |
74 |
gpm? ( >=sys-libs/gpm-1.19.3-r5 ) |
75 |
migemo? ( >=app-text/migemo-0.40 ) |
76 |
ssl? ( >=dev-libs/openssl-0.9.6b )" |
77 |
RDEPEND="${DEPEND}" |
78 |
PROVIDE="virtual/w3m" |
79 |
|
80 |
src_prepare() { |
81 |
epatch \ |
82 |
"${FILESDIR}/${PN}-0.5.2-gc72.patch" \ |
83 |
"${FILESDIR}/${PN}-0.5.3-parallel-make.patch" |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
local myconf migemo_command imagelibval imageval |
88 |
|
89 |
if use gtk ; then |
90 |
imagelibval="gtk2" |
91 |
elif use imlib ; then |
92 |
imagelibval="imlib2" |
93 |
fi |
94 |
|
95 |
if [ ! -z "${imagelibval}" ] ; then |
96 |
use X && imageval="${imageval}${imageval:+,}x11" |
97 |
use X && use fbcon && imageval="${imageval}${imageval:+,}fb" |
98 |
fi |
99 |
|
100 |
if use migemo ; then |
101 |
migemo_command="migemo -t egrep ${EPREFIX}/usr/share/migemo/migemo-dict" |
102 |
else |
103 |
migemo_command="no" |
104 |
fi |
105 |
|
106 |
# emacs-w3m doesn't like "--enable-m17n --disable-unicode," |
107 |
# so we better enable or disable both. Default to enable |
108 |
# m17n and unicode, see bug #47046. |
109 |
if use linguas_ja ; then |
110 |
if use unicode ; then |
111 |
myconf="${myconf} --enable-japanese=U" |
112 |
else |
113 |
myconf="${myconf} --enable-japanese=E" |
114 |
fi |
115 |
elif use unicode ; then |
116 |
myconf="${myconf} --with-charset=UTF-8" |
117 |
else |
118 |
myconf="${myconf} --with-charset=US-ASCII" |
119 |
fi |
120 |
|
121 |
# lynxkeymap IUSE flag. bug #49397 |
122 |
if use lynxkeymap ; then |
123 |
myconf="${myconf} --enable-keymap=lynx" |
124 |
else |
125 |
myconf="${myconf} --enable-keymap=w3m" |
126 |
fi |
127 |
|
128 |
econf \ |
129 |
--with-editor="${EPREFIX}/usr/bin/vi" \ |
130 |
--with-mailer="${EPREFIX}/bin/mail" \ |
131 |
--with-browser="${EPREFIX}/usr/bin/xdg-open" \ |
132 |
--with-termlib=ncurses \ |
133 |
--enable-image=${imageval:-no} \ |
134 |
--with-imagelib="${imagelibval:-no}" \ |
135 |
--with-migemo="${migemo_command}" \ |
136 |
--enable-m17n \ |
137 |
--enable-unicode \ |
138 |
$(use_enable gpm mouse) \ |
139 |
$(use_enable nls) \ |
140 |
$(use_enable nntp) \ |
141 |
$(use_enable ssl digest-auth) \ |
142 |
$(use_with ssl) \ |
143 |
$(use_enable xface) \ |
144 |
${myconf} || die |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
|
149 |
emake DESTDIR="${D}" install || die "emake install failed" |
150 |
|
151 |
# http://www.sic.med.tohoku.ac.jp/~satodai/w3m-dev/200307.month/3944.html |
152 |
insinto /etc/${PN} |
153 |
newins "${FILESDIR}/${PN}.mailcap" mailcap || die |
154 |
|
155 |
insinto /usr/share/${PN}/Bonus |
156 |
doins Bonus/* || die |
157 |
dodoc README NEWS TODO ChangeLog || die |
158 |
docinto doc-en ; dodoc doc/* || die |
159 |
if use linguas_ja ; then |
160 |
docinto doc-jp ; dodoc doc-jp/* || die |
161 |
else |
162 |
rm -rf "${ED}"/usr/share/man/ja || die |
163 |
fi |
164 |
} |