diff options
author | 2004-10-23 22:15:28 +0000 | |
---|---|---|
committer | 2004-10-23 22:15:28 +0000 | |
commit | dda4f6e2e9ebe437ffc69229cb18d0503e74bef0 (patch) | |
tree | bb623f5f89df548981f1b6ddd3efef6d7a319035 /net-www | |
parent | mark stable on x86; add more docs (diff) | |
download | historical-dda4f6e2e9ebe437ffc69229cb18d0503e74bef0.tar.gz historical-dda4f6e2e9ebe437ffc69229cb18d0503e74bef0.tar.bz2 historical-dda4f6e2e9ebe437ffc69229cb18d0503e74bef0.zip |
remove old versions; commit a fix for bug 67528
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/links/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/links/Manifest | 16 | ||||
-rw-r--r-- | net-www/links/files/digest-links-0.96-r2 | 1 | ||||
-rw-r--r-- | net-www/links/files/digest-links-2.1_pre11 | 1 | ||||
-rw-r--r-- | net-www/links/files/digest-links-2.1_pre13 | 1 | ||||
-rw-r--r-- | net-www/links/files/digest-links-2.1_pre14 | 1 | ||||
-rw-r--r-- | net-www/links/files/digest-links-2.1_pre9 | 1 | ||||
-rw-r--r-- | net-www/links/links-0.96-r2.ebuild | 55 | ||||
-rw-r--r-- | net-www/links/links-2.1_pre11.ebuild | 123 | ||||
-rw-r--r-- | net-www/links/links-2.1_pre13.ebuild | 123 | ||||
-rw-r--r-- | net-www/links/links-2.1_pre14.ebuild | 123 | ||||
-rw-r--r-- | net-www/links/links-2.1_pre15.ebuild | 4 | ||||
-rw-r--r-- | net-www/links/links-2.1_pre9.ebuild | 118 |
13 files changed, 12 insertions, 562 deletions
diff --git a/net-www/links/ChangeLog b/net-www/links/ChangeLog index cf19c818da62..575b02c08da7 100644 --- a/net-www/links/ChangeLog +++ b/net-www/links/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/links # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/ChangeLog,v 1.53 2004/10/17 12:44:50 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/links/ChangeLog,v 1.54 2004/10/23 22:15:28 lanius Exp $ + + 24 Oct 2004; Heinrich Wendel <lanius@gentoo.org> -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 <absinthe@gentoo.org> links-2.1_pre15.ebuild: stable on amd64. diff --git a/net-www/links/Manifest b/net-www/links/Manifest index 9f7fe4ba9b06..311e28302b7d 100644 --- a/net-www/links/Manifest +++ b/net-www/links/Manifest @@ -1,16 +1,6 @@ -MD5 509238c91dbda943087c4b4c80a0b40c ChangeLog 9773 -MD5 5bfc29a3473c60f57730783320905e94 links-0.96-r2.ebuild 1191 -MD5 d61693f2015f36e89c7b134447dd56a4 links-2.1_pre11.ebuild 3344 -MD5 578ad33339b078fd579b6e78735ccded links-2.1_pre13.ebuild 3345 -MD5 30247b15d8b10318ed7e02f5f4b5e76c links-2.1_pre14.ebuild 3352 -MD5 130a7cca0eb0ace9590b7cef602a6d46 links-2.1_pre15.ebuild 3713 -MD5 07a5060c0243866428fffe28696027f6 links-2.1_pre9.ebuild 3158 +MD5 c4f9fb1910326609185b5a3a15591d7d links-2.1_pre15.ebuild 3727 +MD5 cefee36c7e2d6a12c1954bafbe7ee11c ChangeLog 10023 MD5 56d78ea6a5d49e31ea36cdc98b0b48ad metadata.xml 352 -MD5 eceb1d1aff64bd73e335f5dad2a71f42 files/digest-links-0.96-r2 62 -MD5 71861032c7ce183e3427e4e205748323 files/digest-links-2.1_pre11 68 -MD5 046ddc5a1ffa8dbcb33de3941a26a854 files/digest-links-2.1_pre13 68 -MD5 69263625114721ef46f0ba722f79e299 files/digest-links-2.1_pre14 68 -MD5 c41fc5981244d82657e4a2dac584b264 files/digest-links-2.1_pre15 68 -MD5 e8eedeca8d9b94ce7cc0e5f919500740 files/digest-links-2.1_pre9 67 MD5 52bed2c64a669feed86577cb52f8cbb5 files/links-0.96-r2-gentoo.patch 1400 +MD5 c41fc5981244d82657e4a2dac584b264 files/digest-links-2.1_pre15 68 MD5 de31f407e5d2303f42c527efdc8712de files/links-2.1pre15-utf8.diff.bz2 4093 diff --git a/net-www/links/files/digest-links-0.96-r2 b/net-www/links/files/digest-links-0.96-r2 deleted file mode 100644 index ca0426901384..000000000000 --- a/net-www/links/files/digest-links-0.96-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 1c3502f3a3a5b79312cd296fb3d60544 links-0.96.tar.gz 485442 diff --git a/net-www/links/files/digest-links-2.1_pre11 b/net-www/links/files/digest-links-2.1_pre11 deleted file mode 100644 index 97a6808a1732..000000000000 --- a/net-www/links/files/digest-links-2.1_pre11 +++ /dev/null @@ -1 +0,0 @@ -MD5 8544fbf8e18ce1ecd3f7337365fdfc8b links-2.1pre11.tar.bz2 3737197 diff --git a/net-www/links/files/digest-links-2.1_pre13 b/net-www/links/files/digest-links-2.1_pre13 deleted file mode 100644 index a55fac9fbed2..000000000000 --- a/net-www/links/files/digest-links-2.1_pre13 +++ /dev/null @@ -1 +0,0 @@ -MD5 d563e7352c19f8840ef288e6075070e6 links-2.1pre13.tar.bz2 3771638 diff --git a/net-www/links/files/digest-links-2.1_pre14 b/net-www/links/files/digest-links-2.1_pre14 deleted file mode 100644 index 32b99af3346f..000000000000 --- a/net-www/links/files/digest-links-2.1_pre14 +++ /dev/null @@ -1 +0,0 @@ -MD5 9a8dd024e3352c8b05f9958e4556cdd8 links-2.1pre14.tar.bz2 3774183 diff --git a/net-www/links/files/digest-links-2.1_pre9 b/net-www/links/files/digest-links-2.1_pre9 deleted file mode 100644 index 74bb21b55391..000000000000 --- a/net-www/links/files/digest-links-2.1_pre9 +++ /dev/null @@ -1 +0,0 @@ -MD5 d602768af82c3262051cca8f9aa76176 links-2.1pre9.tar.bz2 3549984 diff --git a/net-www/links/links-0.96-r2.ebuild b/net-www/links/links-0.96-r2.ebuild deleted file mode 100644 index d63d30d8e73b..000000000000 --- a/net-www/links/links-0.96-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-0.96-r2.ebuild,v 1.12 2004/06/25 00:57:51 agriffis Exp $ - -IUSE="gpm ssl" - -S=${WORKDIR}/${P} -SRC_URI="http://artax.karlin.mff.cuni.cz/~mikulas/links/download/${P}.tar.gz" -HOMEPAGE="http://artax.karlin.mff.cuni.cz/~mikulas/links" -DESCRIPTION="A console-based web browser" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc alpha" - -DEPEND=">=sys-libs/ncurses-5.1 - gpm? ( >=sys-libs/gpm-1.19.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 )" - -PROVIDE="virtual/textbrowser" - -src_unpack() { - - unpack ${A} - - cd ${S} - # patch to add gpm configure switch it solves the linking problem - # when USE="-gpm" is specified but gpm is installed - patch -p0 < ${FILESDIR}/${PF}-gentoo.patch || die - - autoheader - aclocal - automake - autoconf -} - -src_compile() { - local myconf - use ssl \ - && myconf="--with-ssl" \ - || myconf="--without-ssl" - use gpm \ - && myconf="${myconf} --with-gpm" \ - || myconf="${myconf} --without-gpm" - - econf ${myconf} || die - - emake || die -} - - -src_install() { - einstall - dodoc README SITES NEWS AUTHORS COPYING BUGS TODO Changelog -} diff --git a/net-www/links/links-2.1_pre11.ebuild b/net-www/links/links-2.1_pre11.ebuild deleted file mode 100644 index 5e35118881af..000000000000 --- a/net-www/links/links-2.1_pre11.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre11.ebuild,v 1.14 2004/09/03 23:24:08 pvdabeel Exp $ - -IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg" - -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" - -SLOT="2" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc ~alpha ~mips ~hppa amd64" - -# 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? - -DEPEND="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 )" - -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_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 ... - - 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/net-www/links/links-2.1_pre13.ebuild b/net-www/links/links-2.1_pre13.ebuild deleted file mode 100644 index de0c0b9c8ed7..000000000000 --- a/net-www/links/links-2.1_pre13.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre13.ebuild,v 1.7 2004/09/03 23:24:08 pvdabeel Exp $ - -IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg" - -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" - -SLOT="2" -LICENSE="GPL-2" -KEYWORDS="~x86 ppc ~sparc ~alpha ~mips hppa ~amd64" - -# 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? - -DEPEND="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 )" - -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_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 ... - - 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/net-www/links/links-2.1_pre14.ebuild b/net-www/links/links-2.1_pre14.ebuild deleted file mode 100644 index 73f8beb4cceb..000000000000 --- a/net-www/links/links-2.1_pre14.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre14.ebuild,v 1.6 2004/09/03 23:24:08 pvdabeel Exp $ - -IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg" - -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" - -SLOT="2" -LICENSE="GPL-2" -KEYWORDS="~x86 ppc ~sparc ~alpha ~mips ~hppa ~amd64 ~ia64" - -# 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? - -DEPEND="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 )" - -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_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 ... - - 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/net-www/links/links-2.1_pre15.ebuild b/net-www/links/links-2.1_pre15.ebuild index 81315120be82..cd3c3d76b488 100644 --- a/net-www/links/links-2.1_pre15.ebuild +++ b/net-www/links/links-2.1_pre15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre15.ebuild,v 1.16 2004/10/17 12:44:50 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre15.ebuild,v 1.17 2004/10/23 22:15:28 lanius Exp $ inherit eutils @@ -110,6 +110,8 @@ src_compile (){ # '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" } diff --git a/net-www/links/links-2.1_pre9.ebuild b/net-www/links/links-2.1_pre9.ebuild deleted file mode 100644 index 49e97bbc1297..000000000000 --- a/net-www/links/links-2.1_pre9.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre9.ebuild,v 1.11 2004/06/25 15:42:37 agriffis Exp $ - -IUSE="ssl java png X gpm tiff fbcon svga jpeg" - -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" - -SLOT="2" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc alpha ~mips hppa amd64" - -# 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? - -DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c ) - gpm? ( sys-libs/gpm ) - java? ( >=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 ) - fbcon? ( >=media-libs/libpng-1.2.1 sys-libs/gpm )" - -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_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 ssl \ - && myconf="${myconf} --with-ssl" \ - || myconf="${myconf} --without-ssl" - - use java \ - && 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 ... - - econf ${myconf} || die "econf 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 -} |