Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/links: ChangeLog links-2.1_pre33.ebuild
Date: Wed, 06 Feb 2008 13:46:58
Message-Id: E1JMkc3-0005Wy-Lv@stork.gentoo.org
1 opfer 08/02/06 13:46:55
2
3 Modified: ChangeLog
4 Added: links-2.1_pre33.ebuild
5 Log:
6 version bump, thanks to Petr Pisar <petr DOT pisar AT atlas DOT cz> in bug 193809 for reworked unicode patches and some more suggestions
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.97 www-client/links/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?rev=1.97&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?rev=1.97&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?r1=1.96&r2=1.97
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v
19 retrieving revision 1.96
20 retrieving revision 1.97
21 diff -u -r1.96 -r1.97
22 --- ChangeLog 6 Feb 2008 00:13:34 -0000 1.96
23 +++ ChangeLog 6 Feb 2008 13:46:55 -0000 1.97
24 @@ -1,6 +1,13 @@
25 # ChangeLog for www-client/links
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.96 2008/02/06 00:13:34 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.97 2008/02/06 13:46:55 opfer Exp $
29 +
30 +*links-2.1_pre33 (06 Feb 2008)
31 +
32 + 06 Feb 2008; Christian Faulhammer <opfer@g.o>
33 + +links-2.1_pre33.ebuild:
34 + version bump, thanks to Petr Pisar <petr DOT pisar AT atlas DOT cz> in bug
35 + 193809 for reworked unicode patches and some more suggestions
36
37 06 Feb 2008; Christian Faulhammer <opfer@g.o>
38 -links-2.1_pre26.ebuild:
39
40
41
42 1.1 www-client/links/links-2.1_pre33.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/links-2.1_pre33.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/links-2.1_pre33.ebuild?rev=1.1&content-type=text/plain
46
47 Index: links-2.1_pre33.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.1_pre33.ebuild,v 1.1 2008/02/06 13:46:55 opfer Exp $
52
53 WANT_AUTOCONF=latest
54 WANT_AUTOMAKE=none
55
56 inherit eutils toolchain-funcs autotools
57
58 DESCRIPTION="links is a fast lightweight text and graphic web-browser"
59 HOMEPAGE="http://links.twibright.com/"
60 # To handle pre-version ...
61 MY_P="${P/_/}"
62 S="${WORKDIR}/${MY_P}"
63 SRC_URI="http://links.twibright.com/download/${MY_P}.tar.bz2
64 mirror://gentoo/${PN}-2.1pre33-utf8.diff.bz2"
65
66 LICENSE="GPL-2"
67 SLOT="2"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="bzip2 directfb fbcon gpm jpeg livecd png sdl ssl svga tiff unicode X zlib"
70
71 # Note: if X or fbcon usegflag are enabled, links will be built in graphic
72 # mode. libpng is required to compile links in graphic mode
73 # (not required in text mode), so let's add libpng for X? and fbcon?
74
75 # We've also made USE=livecd compile in graphics mode. This closes bug #75685.
76
77 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
78 gpm? ( sys-libs/gpm )
79 png? ( >=media-libs/libpng-1.2.1 )
80 jpeg? ( >=media-libs/jpeg-6b )
81 fbcon? ( >=media-libs/libpng-1.2.1
82 >=media-libs/jpeg-6b
83 sys-libs/gpm )
84 tiff? ( >=media-libs/tiff-3.5.7 )
85 svga? ( >=media-libs/svgalib-1.4.3
86 >=media-libs/libpng-1.2.1 )
87 X? ( x11-libs/libXext
88 >=media-libs/libpng-1.2.1 )
89 directfb? ( dev-libs/DirectFB )
90 sdl? ( >=media-libs/libsdl-1.2.0 )
91 sys-libs/ncurses
92 livecd? ( >=media-libs/libpng-1.2.1
93 >=media-libs/jpeg-6b
94 sys-libs/gpm )"
95
96 DEPEND="${RDEPEND}
97 dev-util/pkgconfig"
98
99 src_unpack (){
100 unpack ${A}; cd "${S}"
101
102 epatch "${FILESDIR}"/configure-LANG.patch #131440
103
104 if use unicode ; then
105 epatch "${WORKDIR}/${PN}-2.1pre33-utf8.diff"
106 cd "${S}/intl" && ./gen-intl && cd .. || die "gen-intl failed"
107 cd "${S}/intl" && ./synclang && cd .. || die "synclang failed"
108 fi
109 # Upstream configure produced by broken autoconf-2.13. See #131440 and
110 # #103483#c23
111 eautoconf || die "autoconf failed"
112 }
113
114 src_compile (){
115 local myconf
116
117 if use X || use fbcon || use directfb || use svga || use livecd; then
118 myconf="${myconf} --enable-graphics"
119 fi
120
121 # Note: --enable-static breaks.
122
123 # Note: ./configure only support 'gpm' features auto-detection, so
124 # we use the autoconf trick
125 ( use gpm || use fbcon || use livecd ) || export ac_cv_lib_gpm_Gpm_Open="no"
126
127 export LANG=C
128
129 if use fbcon || use livecd; then
130 myconf="${myconf} --with-fb"
131 else
132 myconf="${myconf} --without-fb"
133 fi
134
135 # force --with-libjpeg if livecd flag is set
136 if use livecd; then
137 myconf="${myconf} --with-libjpeg"
138 fi
139
140 # hack to allow cross-compilation
141 export CC="$(tc-getCC)"
142
143 econf \
144 $(use_with X x) \
145 $(use_with png libpng) \
146 $(use_with jpeg libjpeg) \
147 $(use_with tiff libtiff) \
148 $(use_with svga svgalib) \
149 $(use_with directfb) \
150 $(use_with ssl) \
151 $(use_with sdl) \
152 $(use_with zlib) \
153 $(use_with bzip2) \
154 ${myconf} || die "configure failed"
155 emake || die "make failed"
156 }
157
158 src_install() {
159 einstall || die
160
161 # Only install links icon if X driver was compiled in ...
162 use X && doicon graphics/links.xpm
163
164 dodoc AUTHORS BUGS ChangeLog NEWS README SITES TODO
165 dohtml doc/links_cal/*
166
167 # Install a compatibility symlink links2:
168 dosym links /usr/bin/links2
169 }
170
171 pkg_postinst() {
172 if use svga ; then
173 elog "You had the svga USE flag enabled, but for security reasons"
174 elog "the links2 binary is NOT setuid by default. In order to"
175 elog "enable links2 to work in SVGA, please change the permissions"
176 elog "of /usr/bin/links2 to enable suid."
177 fi
178 }
179
180
181
182 --
183 gentoo-commits@l.g.o mailing list