1 |
vanquirius 08/08/03 21:38:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: links-2.2.ebuild |
5 |
Removed: links-2.1_pre33.ebuild links-2.1_pre36.ebuild |
6 |
Log: |
7 |
2.2 version bump, remove old ebuilds. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.113 www-client/links/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?rev=1.113&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?rev=1.113&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/ChangeLog?r1=1.112&r2=1.113 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v |
20 |
retrieving revision 1.112 |
21 |
retrieving revision 1.113 |
22 |
diff -u -r1.112 -r1.113 |
23 |
--- ChangeLog 18 Jul 2008 17:16:55 -0000 1.112 |
24 |
+++ ChangeLog 3 Aug 2008 21:38:48 -0000 1.113 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-client/links |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.112 2008/07/18 17:16:55 dertobi123 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.113 2008/08/03 21:38:48 vanquirius Exp $ |
30 |
+ |
31 |
+*links-2.2 (03 Aug 2008) |
32 |
+ |
33 |
+ 03 Aug 2008; Marcelo Goes <vanquirius@g.o> -links-2.1_pre33.ebuild, |
34 |
+ -links-2.1_pre36.ebuild, +links-2.2.ebuild: |
35 |
+ 2.2 version bump, remove old ebuilds. |
36 |
|
37 |
18 Jul 2008; Tobias Scherbaum <dertobi123@g.o> links-2.1.ebuild: |
38 |
ppc stable, bug #231737 |
39 |
|
40 |
|
41 |
|
42 |
1.1 www-client/links/links-2.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/links-2.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/links/links-2.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: links-2.2.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.2.ebuild,v 1.1 2008/08/03 21:38:48 vanquirius 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 |
} |