Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/elinks: elinks-0.12_pre6.ebuild elinks-9999.ebuild ChangeLog
Date: Sat, 31 May 2014 04:14:45
Message-Id: 20140531041440.C39212004E@flycatcher.gentoo.org
1 axs 14/05/31 04:14:40
2
3 Modified: elinks-0.12_pre6.ebuild ChangeLog
4 Added: elinks-9999.ebuild
5 Log:
6 fixed parallel make issue (bug 461014); added live ebuild as upstream has been fairly active since last release
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
9
10 Revision Changes Path
11 1.11 www-client/elinks/elinks-0.12_pre6.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild?r1=1.10&r2=1.11
16
17 Index: elinks-0.12_pre6.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- elinks-0.12_pre6.ebuild 30 Jan 2014 12:04:21 -0000 1.10
24 +++ elinks-0.12_pre6.ebuild 31 May 2014 04:14:40 -0000 1.11
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild,v 1.10 2014/01/30 12:04:21 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre6.ebuild,v 1.11 2014/05/31 04:14:40 axs Exp $
30
31 EAPI=4
32 inherit eutils autotools flag-o-matic
33 @@ -51,7 +51,7 @@
34 epatch "${FILESDIR}"/${PN}-0.11.2-lua-5.1.patch
35 fi
36
37 - epatch "${FILESDIR}"/${PN}-0.11.5-makefile.patch
38 + epatch "${FILESDIR}"/${PN}-9999-parallel-make.patch
39 epatch "${FILESDIR}"/${PN}-0.12_pre5-compilation-fix.patch
40
41 if use javascript ; then
42 @@ -141,8 +141,12 @@
43 ${myconf}
44 }
45
46 +src_compile() {
47 + emake V=1
48 +}
49 +
50 src_install() {
51 - emake DESTDIR="${D}" install
52 + emake V=1 DESTDIR="${D}" install
53
54 insopts -m 644 ; insinto /etc/elinks
55 doins "${WORKDIR}"/elinks.conf
56
57
58
59 1.169 www-client/elinks/ChangeLog
60
61 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/ChangeLog?rev=1.169&view=markup
62 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/ChangeLog?rev=1.169&content-type=text/plain
63 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/ChangeLog?r1=1.168&r2=1.169
64
65 Index: ChangeLog
66 ===================================================================
67 RCS file: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v
68 retrieving revision 1.168
69 retrieving revision 1.169
70 diff -u -r1.168 -r1.169
71 --- ChangeLog 9 Mar 2014 01:58:04 -0000 1.168
72 +++ ChangeLog 31 May 2014 04:14:40 -0000 1.169
73 @@ -1,6 +1,13 @@
74 # ChangeLog for www-client/elinks
75 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
76 -# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.168 2014/03/09 01:58:04 mrueg Exp $
77 +# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.169 2014/05/31 04:14:40 axs Exp $
78 +
79 +*elinks-9999 (31 May 2014)
80 +
81 + 31 May 2014; Ian Stakenvicius (_AxS_) <axs@g.o> +elinks-9999.ebuild,
82 + +files/elinks-9999-parallel-make.patch, elinks-0.12_pre6.ebuild:
83 + fixed parallel make issue (bug 461014); added live ebuild as upstream has been
84 + fairly active since last release
85
86 09 Mar 2014; Manuel RĂ¼ger <mrueg@g.o> -elinks-0.11.7.ebuild,
87 -elinks-0.12_pre5-r2.ebuild, -files/elinks-0.10.1-utf_8_io-default.patch,
88
89
90
91 1.1 www-client/elinks/elinks-9999.ebuild
92
93 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/elinks-9999.ebuild?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/elinks/elinks-9999.ebuild?rev=1.1&content-type=text/plain
95
96 Index: elinks-9999.ebuild
97 ===================================================================
98 # Copyright 1999-2014 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 # $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-9999.ebuild,v 1.1 2014/05/31 04:14:40 axs Exp $
101
102 EAPI=5
103 PYTHON_COMPAT=( python2_{6,7} )
104 PYTHON_REQ_USE="threads"
105 inherit autotools eutils git-r3 flag-o-matic python-any-r1
106
107 EGIT_REPO_URI="git://repo.or.cz/elinks.git"
108
109 MY_P="${P/_/}"
110 DESCRIPTION="Advanced and well-established text-mode web browser"
111 HOMEPAGE="http://elinks.or.cz/"
112 SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/elinks-0.10.4.conf.bz2"
113
114 LICENSE="GPL-2"
115 SLOT="0"
116 KEYWORDS=""
117 IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
118 javascript lua +mouse nls nntp perl ruby samba ssl unicode X zlib"
119 RESTRICT="test"
120
121 DEPEND="dev-libs/boehm-gc
122 >=dev-libs/expat-1.95.4
123 bzip2? ( >=app-arch/bzip2-1.0.2 )
124 ssl? ( >=dev-libs/openssl-0.9.6g )
125 X? ( x11-libs/libX11 x11-libs/libXt )
126 zlib? ( >=sys-libs/zlib-1.1.4 )
127 lua? ( >=dev-lang/lua-5 )
128 gpm? ( >=sys-libs/ncurses-5.2 >=sys-libs/gpm-1.20.0-r5 )
129 guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated,discouraged] )
130 idn? ( net-dns/libidn )
131 perl? ( sys-devel/libperl )
132 ruby? ( dev-lang/ruby dev-ruby/rubygems )
133 samba? ( net-fs/samba )
134 javascript? ( >=dev-lang/spidermonkey-1.8.5:0= )"
135 RDEPEND="${DEPEND}"
136
137 src_unpack() {
138 default
139 git-r3_src_unpack
140 }
141
142 src_prepare() {
143 mv "${WORKDIR}/${PN}-0.10.4.conf" "${WORKDIR}/${PN}.conf"
144 if ! use ftp ; then
145 sed -i -e 's/\(.*protocol.ftp.*\)/# \1/' "${WORKDIR}"/${PN}.conf
146 fi
147 sed -i -e 's/\(.*set protocol.ftp.use_epsv.*\)/# \1/' "${WORKDIR}"/${PN}.conf
148 epatch "${FILESDIR}"/${P}-parallel-make.patch
149
150 epatch_user
151
152 # Regenerate acinclude.m4 - based on autogen.sh.
153 cat > acinclude.m4 <<- _EOF
154 dnl Automatically generated from config/m4/ files.
155 dnl Do not modify!
156 _EOF
157 cat config/m4/*.m4 >> acinclude.m4
158 sed -i -e 's/-Werror//' configure*
159
160 eautoreconf
161 }
162
163 src_configure() {
164 # NOTE about GNUTSL SSL support (from the README -- 25/12/2002)
165 # As GNUTLS is not yet 100% stable and its support in ELinks is not so well
166 # tested yet, it's recommended for users to give a strong preference to OpenSSL whenever possible.
167 local myconf=""
168
169 if use debug ; then
170 myconf="--enable-debug"
171 else
172 myconf="--enable-fastmem"
173 fi
174
175 if use ssl ; then
176 myconf="${myconf} --with-openssl=${EPREFIX}/usr"
177 else
178 myconf="${myconf} --without-openssl --without-gnutls"
179 fi
180
181 econf \
182 --sysconfdir="${EPREFIX}"/etc/elinks \
183 --enable-leds \
184 --enable-88-colors \
185 --enable-256-colors \
186 --enable-true-color \
187 --enable-html-highlight \
188 $(use_with gpm) \
189 $(use_with zlib) \
190 $(use_with bzip2 bzlib) \
191 $(use_with X x) \
192 $(use_with lua) \
193 $(use_with guile) \
194 $(use_with perl) \
195 $(use_with ruby) \
196 $(use_with idn) \
197 $(use_with javascript spidermonkey) \
198 $(use_enable bittorrent) \
199 $(use_enable nls) \
200 $(use_enable ipv6) \
201 $(use_enable ftp) \
202 $(use_enable gopher) \
203 $(use_enable nntp) \
204 $(use_enable finger) \
205 $(use_enable samba smb) \
206 $(use_enable mouse) \
207 ${myconf}
208 }
209
210 src_compile() {
211 emake V=1
212 }
213
214 src_install() {
215 emake V=1 DESTDIR="${D}" install
216
217 insopts -m 644 ; insinto /etc/elinks
218 doins "${WORKDIR}"/elinks.conf
219 newins contrib/keybind-full.conf keybind-full.sample
220 newins contrib/keybind.conf keybind.conf.sample
221
222 dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES THANKS TODO doc/*.*
223 docinto contrib ; dodoc contrib/{README,colws.diff,elinks[-.]vim*}
224 insinto /usr/share/doc/${PF}/contrib/lua ; doins contrib/lua/{*.lua,elinks-remote}
225 insinto /usr/share/doc/${PF}/contrib/conv ; doins contrib/conv/*.*
226 insinto /usr/share/doc/${PF}/contrib/guile ; doins contrib/guile/*.scm
227
228 # Remove some conflicting files on OSX. The files provided by OSX 10.4
229 # are more or less the same. -- Fabian Groffen (2005-06-30)
230 rm -f "${ED}"/usr/share/locale/locale.alias "${ED}"/usr/lib/charset.alias || die
231 }
232
233 pkg_postinst() {
234 einfo "This ebuild provides a default config for ELinks."
235 einfo "Please check /etc/elinks/elinks.conf"
236 einfo
237 einfo "You may want to convert your html.cfg and links.cfg of"
238 einfo "Links or older ELinks versions to the new ELinks elinks.conf"
239 einfo "using /usr/share/doc/${PF}/contrib/conv/conf-links2elinks.pl"
240 einfo
241 einfo "Please have a look at /etc/elinks/keybind-full.sample and"
242 einfo "/etc/elinks/keybind.conf.sample for some bindings examples."
243 einfo
244 einfo "You will have to set your TERM variable to 'xterm-256color'"
245 einfo "to be able to use 256 colors in elinks."
246 echo
247 }