Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/links: links-2.5.ebuild ChangeLog
Date: Tue, 03 Jan 2012 09:41:37
Message-Id: 20120103094123.80ABF2004B@flycatcher.gentoo.org
1 ssuominen 12/01/03 09:41:23
2
3 Modified: ChangeLog
4 Added: links-2.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.147 www-client/links/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/ChangeLog?rev=1.147&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/ChangeLog?rev=1.147&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/ChangeLog?r1=1.146&r2=1.147
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v
20 retrieving revision 1.146
21 retrieving revision 1.147
22 diff -u -r1.146 -r1.147
23 --- ChangeLog 31 Dec 2011 10:56:37 -0000 1.146
24 +++ ChangeLog 3 Jan 2012 09:41:23 -0000 1.147
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-client/links
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.146 2011/12/31 10:56:37 ago Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.147 2012/01/03 09:41:23 ssuominen Exp $
31 +
32 +*links-2.5 (03 Jan 2012)
33 +
34 + 03 Jan 2012; Samuli Suominen <ssuominen@g.o> +links-2.5.ebuild:
35 + Version bump.
36
37 31 Dec 2011; Agostino Sarubbo <ago@g.o> links-2.4-r2.ebuild:
38 Stable for AMD64, wrt bug #396519
39
40
41
42 1.1 www-client/links/links-2.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/links-2.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/links-2.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: links-2.5.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.1 2012/01/03 09:41:23 ssuominen Exp $
52
53 EAPI=4
54 inherit autotools eutils
55
56 DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode"
57 HOMEPAGE="http://links.twibright.com/"
58 SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2
59 mirror://debian/pool/main/l/${PN}2/${PN}2_${PV}-1.debian.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
64 IUSE="bzip2 directfb fbcon gpm jpeg livecd lzma ssl suid svga tiff unicode X zlib"
65
66 # Note: if X or fbcon usegflag are enabled, links will be built in graphic
67 # mode. libpng is required to compile links in graphic mode
68 # (not required in text mode), so let's add libpng for X? and fbcon?
69
70 # We've also made USE=livecd compile in graphics mode. This closes bug #75685.
71 PNG_DEPEND=">=media-libs/libpng-1.2:0"
72 RDEPEND=">=sys-libs/ncurses-5.7-r7
73 bzip2? ( app-arch/bzip2 )
74 directfb? ( dev-libs/DirectFB )
75 fbcon? (
76 ${PNG_DEPEND}
77 sys-libs/gpm
78 )
79 gpm? ( sys-libs/gpm )
80 jpeg? ( virtual/jpeg )
81 livecd? (
82 ${PNG_DEPEND}
83 sys-libs/gpm
84 )
85 lzma? ( app-arch/xz-utils )
86 ssl? ( dev-libs/openssl:0 )
87 svga? (
88 ${PNG_DEPEND}
89 >=media-libs/svgalib-1.4.3
90 )
91 tiff? ( media-libs/tiff:0 )
92 X? (
93 ${PNG_DEPEND}
94 x11-libs/libXext
95 )
96 zlib? ( sys-libs/zlib )"
97 DEPEND="${RDEPEND}
98 dev-util/pkgconfig"
99
100 REQUIRED_USE="fbcon? ( jpeg )
101 livecd? ( jpeg )
102 svga? ( suid )"
103
104 DOCS=( AUTHORS BRAILLE_HOWTO BUGS ChangeLog KEYS NEWS README SITES TODO )
105
106 src_prepare() {
107 epatch "${WORKDIR}"/debian/patches/{verify-ssl-certs-510417,ipv6}.diff
108
109 if use unicode; then
110 pushd intl >/dev/null
111 ./gen-intl || die
112 ./synclang || die
113 popd >/dev/null
114 fi
115
116 # error: conditional "am__fastdepCXX" was never defined (for eautoreconf)
117 sed -i -e '/AC_PROG_CXX/s:#::' configure.in || die
118
119 # Upstream configure produced by broken autoconf-2.13. See #131440 and
120 # #103483#c23. This also fixes toolchain detection.
121 eautoreconf
122 }
123
124 src_configure() {
125 local myconf
126
127 if use X || use fbcon || use directfb || use svga || use livecd; then
128 myconf="${myconf} --enable-graphics"
129 fi
130
131 ( use gpm || use fbcon || use livecd ) || export ac_cv_lib_gpm_Gpm_Open=no
132
133 if use fbcon || use livecd; then
134 myconf="${myconf} --with-fb"
135 else
136 myconf="${myconf} --without-fb"
137 fi
138
139 econf \
140 $(use_with ssl) \
141 $(use_with zlib) \
142 $(use_with bzip2) \
143 $(use_with lzma) \
144 $(use_with svga svgalib) \
145 $(use_with X x) \
146 $(use_with directfb) \
147 $(use_with jpeg libjpeg) \
148 $(use_with tiff libtiff) \
149 ${myconf}
150 }
151
152 src_install() {
153 default
154
155 if use X; then
156 newicon Links_logo.png ${PN}.png
157 make_desktop_entry "${PN} -g" Links ${PN} "Network;WebBrowser"
158 fi
159
160 dohtml doc/links_cal/*
161
162 dosym links /usr/bin/links2
163
164 use suid && fperms 4755 /usr/bin/links
165 }