2.1_pre19 version bump for bug 110502
authorMarcelo Góes <vanquirius@gentoo.org>
Wed, 26 Oct 2005 20:07:20 +0000 (20:07 +0000)
committerMarcelo Góes <vanquirius@gentoo.org>
Wed, 26 Oct 2005 20:07:20 +0000 (20:07 +0000)
Package-Manager: portage-2.0.52-r1

www-client/links/ChangeLog
www-client/links/Manifest
www-client/links/files/digest-links-2.1_pre19 [new file with mode: 0644]
www-client/links/links-2.1_pre19.ebuild [new file with mode: 0644]

index 0a0c601a5cc69d44a76db6328ffb626566408f25..c8937e0c14f35480336d28da347f0c4a0081a60c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for www-client/links
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.43 2005/10/18 19:17:53 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.44 2005/10/26 20:07:20 vanquirius Exp $
+
+*links-2.1_pre19 (26 Oct 2005)
+
+  26 Oct 2005; Marcelo Goes <vanquirius@gentoo.org> +links-2.1_pre19.ebuild:
+  Version bump for bug 110502. Thanks to Daniel Webert <rockoo at gmail dot com>.
 
   18 Oct 2005; Marcelo Goes <vanquirius@gentoo.org> links-2.1_pre18.ebuild:
   Use mirror://gentoo since the main server seems to be having some problems.
index 5e944e66cb5698efa5f7222f27501ba34efe7012..9a2b4794767221582dc29c57e20dd41d982b5a4e 100644 (file)
@@ -1,7 +1,9 @@
 MD5 3d928fe8443461d83773ee90297c9e71 links-2.1_pre17-r1.ebuild 3515
+MD5 5000e03f099332ccc8872a517f979c8a links-2.1_pre19.ebuild 3638
 MD5 a149cc1e58fab7542edf75b9a573e1a8 links-2.1_pre18.ebuild 3713
-MD5 72171bd10a90f1b82aa56f81e98354a1 ChangeLog 16550
+MD5 d6569137c4d7eebba11217f7418823e6 ChangeLog 16742
 MD5 82cf55f144e0f9e258fd08a572852147 metadata.xml 498
 MD5 f2c353a99f6cbaaa4af971adf5c95c0d files/digest-links-2.1_pre17-r1 139
 MD5 5b8b5b21da5582f7c332b2a2d6afafcd files/links-2.1pre18-no-javascript-fix.patch 575
 MD5 4ecf3369d346051658758f76dbd89eb5 files/digest-links-2.1_pre18 139
+MD5 6fd45df1f15b1f0ba4d72ec4d6011611 files/digest-links-2.1_pre19 139
diff --git a/www-client/links/files/digest-links-2.1_pre19 b/www-client/links/files/digest-links-2.1_pre19
new file mode 100644 (file)
index 0000000..eadaaf8
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 41521f4608b60baf1157f700d5943554 links-2.1pre19.tar.bz2 3844380
+MD5 cf5eb10a4b6b0359339742316222bc25 links-2.1pre18-utf8.diff.bz2 4076
diff --git a/www-client/links/links-2.1_pre19.ebuild b/www-client/links/links-2.1_pre19.ebuild
new file mode 100644 (file)
index 0000000..7c3ef24
--- /dev/null
@@ -0,0 +1,138 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.1_pre19.ebuild,v 1.1 2005/10/26 20:07:20 vanquirius Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="links is a fast lightweight text and graphic web-browser"
+HOMEPAGE="http://links.twibright.com/"
+# To handle pre-version ...
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://links.twibright.com/download/${MY_P}.tar.bz2
+       mirror://gentoo/${PN}-2.1pre18-utf8.diff.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg unicode livecd"
+
+# Note: if X or fbcon usegflag are enabled, links will be built in graphic
+# mode. libpng is required to compile links in graphic mode
+# (not required in text mode), so let's add libpng for X? and fbcon?
+
+# We've also made USE=livecd compile in graphics mode.  This closes bug #75685.
+
+RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
+       gpm? ( sys-libs/gpm )
+       javascript? ( >=sys-devel/flex-2.5.4a )
+       png? ( >=media-libs/libpng-1.2.1 )
+       jpeg? ( >=media-libs/jpeg-6b )
+       tiff? ( >=media-libs/tiff-3.5.7 )
+       svga? ( >=media-libs/svgalib-1.4.3
+               >=media-libs/libpng-1.2.1 )
+       X? ( virtual/x11
+               >=media-libs/libpng-1.2.1 )
+       directfb? ( dev-libs/DirectFB )
+       fbcon? ( >=media-libs/libpng-1.2.1
+               sys-libs/gpm )
+       !ppc-macos? ( livecd?
+               ( >=media-libs/jpeg-6b
+               >=media-libs/libpng-1.2.1
+               sys-libs/gpm ) )
+       sys-libs/zlib
+       virtual/libc
+       sys-libs/ncurses"
+
+DEPEND="${RDEPEND}
+       sys-devel/automake
+       sys-devel/autoconf
+       sys-devel/gcc
+       dev-util/pkgconfig"
+
+PROVIDE="virtual/textbrowser"
+
+pkg_setup (){
+       if ! use gpm && use fbcon ; then
+               einfo
+               einfo "gpm has been installed since you have included fbcon in your USE flags."
+               einfo "The links framebuffer driver requires gpm in order to compile."
+               einfo
+       fi
+}
+
+src_unpack (){
+       unpack ${A}; cd "${S}"
+
+       if use unicode ; then
+               epatch "${WORKDIR}/${PN}-2.1pre18-utf8.diff"
+               export LANG=C
+               cd "${S}/intl" && ./gen-intl && cd .. || die "gen-intl filed"
+       fi
+}
+
+src_compile (){
+       local myconf
+
+       if use X || use fbcon || use directfb || use svga || use livecd; then
+               myconf="${myconf} --enable-graphics"
+       fi
+
+       # Note: --enable-static breaks.
+
+       # Note: ./configure only support 'gpm' features auto-detection, so
+       # we use the autoconf trick
+       ( use gpm || use fbcon || use livecd ) || export ac_cv_lib_gpm_Gpm_Open="no"
+
+       export LANG=C
+
+       if use fbcon || use livecd; then
+               myconf="${myconf} --with-fb"
+       else
+               myconf="${myconf} --without-fb"
+       fi
+
+       # force --with-libjpeg if livecd flag is set
+       if use livecd; then
+               myconf="${myconf} --with-libjpeg"
+       fi
+
+       # hack to allow cross-compilation
+       export CC="$(tc-getCC)"
+
+       econf \
+               $(use_with X x) \
+               $(use_with png libpng) \
+               $(use_with jpeg libjpeg) \
+               $(use_with tiff libtiff) \
+               $(use_with svga svgalib) \
+               $(use_with directfb) \
+               $(use_with ssl) \
+               $(use_enable javascript) \
+               ${myconf} || die "configure failed"
+       emake || die "make failed"
+}
+
+src_install (){
+       einstall
+
+       # Only install links icon if X driver was compiled in ...
+       use X && doicon graphics/links.xpm
+
+       dodoc AUTHORS BUGS ChangeLog NEWS README SITES TODO
+       dohtml doc/links_cal/*
+
+       # Install a compatibility symlink links2:
+       dosym links /usr/bin/links2
+}
+
+
+pkg_postinst() {
+       if use svga
+       then
+               einfo "You had the svga USE flag enabled, but for security reasons"
+               einfo "the links2 binary is NOT setuid by default. In order to"
+               einfo "enable links2 to work in SVGA, please change the permissions"
+               einfo "of /usr/bin/links2 to enable suid."
+       fi
+}