From 8ff38f6faa8223f93d438b4d78a8e7249910e910 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Mon, 14 Mar 2005 17:20:56 +0000 Subject: Moved from net-www/links to www-client/links. --- www-client/links/ChangeLog | 295 +++++++++++++++++++++ www-client/links/Manifest | 6 + www-client/links/files/digest-links-2.1_pre15 | 1 + www-client/links/files/links-0.96-r2-gentoo.patch | 55 ++++ .../links/files/links-2.1pre15-utf8.diff.bz2 | Bin 0 -> 4670 bytes www-client/links/links-2.1_pre15.ebuild | 144 ++++++++++ www-client/links/metadata.xml | 11 + 7 files changed, 512 insertions(+) create mode 100644 www-client/links/ChangeLog create mode 100644 www-client/links/Manifest create mode 100644 www-client/links/files/digest-links-2.1_pre15 create mode 100644 www-client/links/files/links-0.96-r2-gentoo.patch create mode 100644 www-client/links/files/links-2.1pre15-utf8.diff.bz2 create mode 100644 www-client/links/links-2.1_pre15.ebuild create mode 100644 www-client/links/metadata.xml (limited to 'www-client/links') diff --git a/www-client/links/ChangeLog b/www-client/links/ChangeLog new file mode 100644 index 000000000000..98a1b4d4d1ce --- /dev/null +++ b/www-client/links/ChangeLog @@ -0,0 +1,295 @@ +# ChangeLog for net-www/links +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.1 2005/03/14 17:20:56 seemant Exp $ + +*links-2.1_pre15 (14 Mar 2005) + + 14 Mar 2005; Seemant Kulleen + +files/links-0.96-r2-gentoo.patch, +files/links-2.1pre15-utf8.diff.bz2, + +metadata.xml, +links-2.1_pre15.ebuild: + Moved from net-www/links to www-client/links. + + 11 Jan 2005; Heinrich Wendel + files/links-2.1pre15-utf8.diff.bz2: + update utf8 patch, bug #67528 + + 24 Oct 2004; Heinrich Wendel -links-0.96-r2.ebuild, + -links-2.1_pre11.ebuild, -links-2.1_pre13.ebuild, -links-2.1_pre14.ebuild, + links-2.1_pre15.ebuild, -links-2.1_pre9.ebuild: + remove old versions; commit a fix for bug 67528 + + 17 Oct 2004; Dylan Carlson links-2.1_pre15.ebuild: + stable on amd64. + + 22 Sep 2004; Gustavo Zacarias links-2.1_pre15.ebuild: + Stable on sparc + + 21 Sep 2004; Heinrich Wendel links-2.1_pre15.ebuild: + stable on x86 + + 21 Sep 2004; Heinrich Wendel + +files/links-2.1pre15-utf8.diff.bz2, links-2.1_pre15.ebuild: + enhance unicode support, bug #61682 + + 04 Sep 2004; Pieter Van den Abeele + links-2.1_pre11.ebuild, links-2.1_pre13.ebuild, links-2.1_pre14.ebuild, + links-2.1_pre15.ebuild: + Masked links-2.1_pre15.ebuild stable for ppc + + 04 Sep 2004; Pieter Van den Abeele + links-2.1_pre11.ebuild, links-2.1_pre13.ebuild, links-2.1_pre14.ebuild: + Masked links-2.1_pre14.ebuild stable for ppc + + 04 Sep 2004; Pieter Van den Abeele + links-2.1_pre11.ebuild, links-2.1_pre13.ebuild: + Masked links-2.1_pre13.ebuild stable for ppc + + 04 Sep 2004; Pieter Van den Abeele + links-2.1_pre11.ebuild: + Masked links-2.1_pre11.ebuild stable for ppc + + 15 Jul 2004; Tom Gall links-2.1_pre15.ebuild: + added ~ppc64, bug #55430 + + 01 Jul 2004; Jeremy Huddleston + links-2.1_pre15.ebuild: + virtual/glibc -> virtual/libc + + 25 Jun 2004; Aron Griffis links-2.1_pre11.ebuild, + links-2.1_pre13.ebuild, links-2.1_pre14.ebuild, links-2.1_pre15.ebuild, + links-2.1_pre9.ebuild: + QA - fix use invocation + + 23 Jun 2004; links-2.1_pre11.ebuild: + Mark stable on amd64 + + 08 Jun 2004; Bryan Østergaard links-2.1_pre15.ebuild: + Stable on alpha. + +*links-2.1_pre15 (06 May 2004) + + 06 May 2004; Daniel Black +links-2.1_pre15.ebuild: + version bump. Thanks to Marcin Kryczek in bug #49632 + + 26 Apr 2004; Aron Griffis links-2.1_pre9.ebuild: + Add die following econf for bug 48950 + + 09 Jan 2004; Jason Wever links-2.1_pre11.ebuild: + Marked stable on sparc. + + 21 Dec 2003; Guy Martin links-2.1_pre13.ebuild: + Marked stable on hppa. + + 08 Dec 2003; Michael Sterrett links-2.1_pre11.ebuild, + links-2.1_pre13.ebuild, links-2.1_pre14.ebuild: + added directfb to IUSE (bug 35410) + +*links-2.1_pre14 (03 Dec 2003) + + 03 Dec 2003; Seemant Kulleen links-2.1_pre14.ebuild: + version bump thanks to: Ingo -LaSombra- Hoffmann in bug + #34995 + +*links-2.1_pre13 (29 Oct 2003) + + 29 Oct 2003; Seemant Kulleen links-2.1_pre13.ebuild: + I took so much time with the last update, that pre13 got released in the + meantime, so here it is. Thanks again to Ingo -LaSombra- Hoffmann + in bug #29575 + + 29 Oct 2003; Brandy Westcott brandy@gentoo.org links-2.1_pre11.ebuild, + links-2.1_pre12.ebuild, links-2.1_pre9.ebuild: + Added gpm as a dependency of fbcon; gpm is needed in order to compile the + framebuffer graphics driver. See bug #29230 + +*links-2.1_pre12 (28 Oct 2003) + + 28 Oct 2003; Seemant Kulleen links-2.1_pre12.ebuild: + Version bump, thanks to: Ingo -LaSombra- Hoffmann in bug + #29575 + + 21 Sep 2003; Seemant Kulleen links-2.1_pre11.ebuild, + links-2.1_pre9.ebuild: + due to popular demand, removing gpm requirement from fbcon + + 20 Sep 2003; Seemant Kulleen links-2.1_pre11.ebuild: + graphics not needed for ssl -- sheesh at me. Thanks spanky + in bug #29086 + + 09 Sep 2003; Seemant Kulleen links-2.1_pre11.ebuild, + links-2.1_pre9.ebuild: + added gpm to dependency list with fbcon. Thanks to Brandy Westcott + for the providing the fix in bug #23703 opened by + Paul Slinski . Also added DirectFB support thanks + to Florian Löding in bug #26464 opened by: Evan Langlois + + +*links-2.1_pre11 (11 Jun 2003) + + 11 Jun 2003; Seemant Kulleen links-2.1_pre11.ebuild: + version bump thanks to: Ingo -LaSombra- Hoffmann in bug + #22557 + +*links-2.1_pre9 (04 Mar 2003) + + 25 Mar 2003; links-2.1_pre9.ebuild: + mark 2.1_pre9 stable on x86/ppc/sparc/hppa, as these were all stable on pre2 + and links-2.1_pre9.ebuild: + stable on alpha + + 04 Mar 2003; Seemant Kulleen links-2.1_pre9.ebuild + files/digest-links-2.1_pre9 : + + Version bump thanks to: Ingo -LaSombra- Hoffmann in + bug #16473. + +*links-2.1_pre7 (30 Jan 2003) + + 29 Feb 2003; Guy Martin links-2.1_pre7.ebuild : + Added ~hppa to keywords. + + 30 Jan 2003; foser links-2.1_pre7.ebuild : + New version + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*links-2.1_pre6 (04 Nov 2002) + + 29 Feb 2003; Guy Martin links-2.1_pre6.ebuild : + Added ~hppa to keywords. + + 15 Dec 2002; Bjoern Brauel links-2.1_pre6.ebuild : + Add alpha to KEYWORDS + + 04 Nov 2002; Seemant Kulleen links-2.1_pre6.ebuild + files/digest-links-2.1_pre6 : + + Version bump thanks to: autobot@midsouth.rr.com (AutoBot) in bug #10226. + +*links-2.1_pre3 (30 Sep 2002) + + 29 Feb 2003; Guy Martin links-2.1_pre3.ebuild : + Added hppa to keywords. + + 30 Sep 2002; Seemant Kulleen links-2.1_pre3.ebuild + files/digest-links-2.1_pre3 : + + Version bump + security fix. If the user wishes to run links2 in svga + mode, they must now enable the suid bit themselves. Closes bug #8556 by + vapier@gentoo.org + + 24 Oct 2002; Michael Nazaroff links-2.1_pre3.ebuild + + Added a fix for bug #9272, Thanks goes to Scott Beck for noticing the problem + and fixing it. + +*links-2.1_pre2 (11 Sep 2002) + + 11 Sep 2002; Seemant Kulleen links-2.1_pre2-r2.ebuild + files/digest-links-2.1_pre2-r2 : + + From: kevin@aptbasilicata.it (Maurizio Disimino) in bug # 7809 + + at the moment, links will be compiled with --enable-graphics only if + USE="png". If --enable-graphics is not supplied, fb WILL NOT WORK. + Moreover, --enable-graphis should be enabled for 'X' or 'fbcon'. + + 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 textmode),so let's add libpng for X? and fbcon? + + X? ( virtual/x11 >=media-libs/libpng-1.2.1 ) + fbcon? ( >=media-libs/libpng-1.2.1 )" + + - Fixed DEPEND and src_compile(). + - Some cosmetic changes. + + + 29 Aug 2002; Seemant Kulleen links-0.96-r2.ebuild + links-2.1_pre2-r1.ebuild : + + PROVIDE="virtual/textbrowser" + + 22 Jul 2002; Michael Nazaroff links-0.96-r2.ebuild : + + Added a patch to fix links 0.96 compiling against gpm, since the previous + version still did even with -gpm set in USE. Thanx to Christopher Horler for + the excellent patch and ebuild. This fix's bug 5351. + + 21 Jul 2002; Seemant Kulleen links-2.1_pre2-r1.ebuild + + changed --disable-graphics to --without-graphics. Fix submitted by: + eroper@wanfear.com (Edward Roper) in bug #5193. + + 11 Jul 2002; Seemant Kulleen links-2.1_pre2-r1.ebuild + files/digest-links-2.1_pre2-r1 : + + Adjusted permissions on executable if svga is in USE. Thanks to: + hielvc@cox.net (Hiel Van Campen) in bug #4891. + +*links-2.1_pre2 (09 Jul 2002) + + 09 Jul 2002; Seemant Kulleen links-2.1_pre2.ebuild + files/digest-links-2.1_pre2 : + + Version bump, which should solve the png issue. Thanks to: + j_r_fonseca@yahoo.co.uk (Jose' Fonseca) in bug #4764 + +*links-2.0 (11 Jun 2002) + + 11 Jun 2002; Seemant Kulleen links-2.0.ebuild + files/digest-links-2.0 : + + Version bump to final release. + +*links-2.0_pre6 (4 Jun 2002) + + 4 Jun 2002; Seemant Kulleen links-2.0_pre6.ebuild + files/digest-links-2.0_pre6 : + + Version bump. + +*links-2.0_pre4-r2 (29 May 2002) + + 29 May 2002: Michael M Nazaroff links-2.0_pre4-r2.ebuild : + + Applied patch that hopefully seems to fix the gpm-1.20.0 problem, and also + adds some other little features to links. + +*links-2.0_pre4-r1 (27 May 2002) + + 27 May 2002; Mike Jones links-2.0_pre4-r1.ebuild : + + Changed the dependency to gpm-1.19.6 as gpm-1.20.0 was masked and was + breaking. + +*links-2.0_pre4 (27 May 2002) + + 27 May 2002; Martin Schlemmer links-2.0_pre4.ebuild : + + Version bump. + +*links-2.0_pre3 (26 May 2002) + + 26 May 2002; Seemant Kulleen links-2.0_pre3.ebuild : + files/digest-links-2.0_pre3 : + + Version bump thanks to kamisama@free.fr (Defresne Sylvain (keiichi)) in + bug #3015 + +*links-0.96-r2 (13 Feb 2003) + + 13 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + +*links-0.96-r1 (1 Feb 2002) + + 1 Feb 2002; G.Bevin ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/www-client/links/Manifest b/www-client/links/Manifest new file mode 100644 index 000000000000..02efa05376e2 --- /dev/null +++ b/www-client/links/Manifest @@ -0,0 +1,6 @@ +MD5 338fd54f566e14acfb7d38d32505dbc8 links-2.1_pre15.ebuild 3731 +MD5 731a796e75a97b51bac293445db512de ChangeLog 10145 +MD5 56d78ea6a5d49e31ea36cdc98b0b48ad metadata.xml 352 +MD5 52bed2c64a669feed86577cb52f8cbb5 files/links-0.96-r2-gentoo.patch 1400 +MD5 c41fc5981244d82657e4a2dac584b264 files/digest-links-2.1_pre15 68 +MD5 85b8ee32c98ab5a596d1d1b6ca3d68eb files/links-2.1pre15-utf8.diff.bz2 4670 diff --git a/www-client/links/files/digest-links-2.1_pre15 b/www-client/links/files/digest-links-2.1_pre15 new file mode 100644 index 000000000000..aa85a2fe9148 --- /dev/null +++ b/www-client/links/files/digest-links-2.1_pre15 @@ -0,0 +1 @@ +MD5 d70a0ad41fba921f04d222d3546827de links-2.1pre15.tar.bz2 3789080 diff --git a/www-client/links/files/links-0.96-r2-gentoo.patch b/www-client/links/files/links-0.96-r2-gentoo.patch new file mode 100644 index 000000000000..1b0c3e63736d --- /dev/null +++ b/www-client/links/files/links-0.96-r2-gentoo.patch @@ -0,0 +1,55 @@ +--- acconfig.h.orig Sun Jul 21 19:28:40 2002 ++++ acconfig.h Sun Jul 21 19:27:20 2002 +@@ -53,4 +53,7 @@ + #undef HAVE_SSL + + /* */ ++#undef HAVE_LIBGPM ++ ++/* */ + #undef X2 +--- configure.in.orig Sun Jul 21 19:28:21 2002 ++++ configure.in Sun Jul 21 19:36:46 2002 +@@ -56,8 +56,6 @@ + AC_HAVE_FUNCS(getpid setpgid getpgid setpgrp getpgrp) + + dnl Checks for libraries. +-dnl Replace `main' with a function in -lgpm: +-AC_CHECK_LIB(gpm, Gpm_Open) + dnl Replace `main' with a function in -lsocket: + AC_CHECK_FUNC(socket, cf_result=yes, cf_result=no) + if test "$cf_result" = no; then +@@ -161,6 +159,33 @@ + AC_MSG_RESULT($cf_result) + #endif + ++dnl Configure switch for gpm added ++dnl Replace `main' with a function in -lgpm: ++#ifdef HAVE_LIBGPM ++AC_ARG_WITH(gpm, [ --without-gpm disable GPM support], [if test "$withval" = no; then disable_gpm=yes; fi]) ++AC_MSG_CHECKING([for GPM]) ++LIBS_X="$LIBS" ++cf_result=no ++if test -z "$disable_gpm"; then ++ if test "$cf_result" = no; then ++ LIBS="-lgpm $LIBS_X" ++ AC_TRY_LINK([#include ], [Gpm_Connect gpm; Gpm_Open(&gpm, 0)], cf_result=yes, cf_result=no) ++ fi ++ ++ if test "$cf_result" != yes; then ++ if test "$withval" = yes; then ++ AC_MSG_ERROR("GPM not found") ++ fi ++ LIBS="$LIBS_X" ++ else ++ AC_DEFINE(HAVE_LIBGPM) ++ fi ++fi ++AC_MSG_RESULT($cf_result) ++#endif ++ ++ ++ + test "$have_emx" = yes && LDFLAGS="$LDFLAGS -Zexe" + + AC_OUTPUT(Makefile) diff --git a/www-client/links/files/links-2.1pre15-utf8.diff.bz2 b/www-client/links/files/links-2.1pre15-utf8.diff.bz2 new file mode 100644 index 000000000000..19fdc9991b78 Binary files /dev/null and b/www-client/links/files/links-2.1pre15-utf8.diff.bz2 differ diff --git a/www-client/links/links-2.1_pre15.ebuild b/www-client/links/links-2.1_pre15.ebuild new file mode 100644 index 000000000000..c0549a8deb3e --- /dev/null +++ b/www-client/links/links-2.1_pre15.ebuild @@ -0,0 +1,144 @@ +# 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_pre15.ebuild,v 1.1 2005/03/14 17:20:56 seemant Exp $ + +inherit eutils + +DESCRIPTION="links is a fast lightweight text tand graphic web-browser" +HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/" +# To handle pre-version ... +MYP="${P/_/}" +S="${WORKDIR}/${MYP}" +SRC_URI="${HOMEPAGE}/download/${MYP}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ppc-macos s390 sparc x86" +IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg unicode" + +# 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? + +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 ) + 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} + + if use unicode ; then + epatch ${FILESDIR}/${MYP}-utf8.diff.bz2 + export LANG=C + cd ${S}/intl && ./gen-intl && cd .. || die "gen-intl filed" + fi +} + +src_compile (){ + + local myconf + myconf="--program-suffix=2" + + use X \ + && myconf="${myconf} --enable-graphics --with-x" \ + || myconf="${myconf} --without-x" + + use png \ + && myconf="${myconf} --with-libpng" \ + || myconf="${myconf} --without-libpng" + + use jpeg \ + && myconf="${myconf} --with-libjpeg" \ + || myconf="${myconf} --without-libjpeg" + + use tiff \ + && myconf="${myconf} --with-libtiff" \ + || myconf="${myconf} --without-libtiff" + + use svga \ + && myconf="${myconf} --enable-graphics --with-svgalib" \ + || myconf="${myconf} --without-svgalib" + + use fbcon \ + && myconf="${myconf} --enable-graphics --with-fb" \ + || myconf="${myconf} --without-fb" + + use directfb \ + && myconf="${myconf} --enable-graphics --with-directfb" \ + || myconf="${myconf} --without-directfb" + + use ssl \ + && myconf="${myconf} --with-ssl" \ + || myconf="${myconf} --without-ssl" + + use javascript \ + && myconf="${myconf} --enable-javascript" \ + || myconf="${myconf} --disable-javascript" + + # Note: --enable-static breaks. + + # Note: ./configure only support 'gpm' features auto-detection, so if + # 'sys-libs/gpm' is compiled on your system, you'll compile links + # with gpm support ... + + export LANG=C + + econf ${myconf} || die "configure failed" + emake || die "make failed" +} + +src_install (){ + einstall + + if [ ! -f /usr/bin/links ] + then + dosym links2 /usr/bin/links + fi + + # Only install links icon if X driver was compiled in ... + use X && { insinto /usr/share/pixmaps ; doins graphics/links.xpm ; } + + dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES TODO + dohtml doc/links_cal/* +} + + +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 +} diff --git a/www-client/links/metadata.xml b/www-client/links/metadata.xml new file mode 100644 index 000000000000..d587fabae417 --- /dev/null +++ b/www-client/links/metadata.xml @@ -0,0 +1,11 @@ + + + +no-herd + + las0mbra@ig.com.br + Ingo -LaSombra- Hoffmann + Ingo is the third party maintainer through + seemant@gentoo.org + + -- cgit v1.2.3-65-gdbad