diff options
author | Michael Weber <xmw@gentoo.org> | 2015-02-02 16:56:07 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2015-02-02 16:56:07 +0000 |
commit | 65183be7bc017e32215f76be348aebadfd0c2c04 (patch) | |
tree | 702aacf4ad03ca15da3f47688eed31176839e503 /www-client | |
parent | Drop depenendency on lcms:0 (bug 526800) (diff) | |
download | gentoo-2-65183be7bc017e32215f76be348aebadfd0c2c04.tar.gz gentoo-2-65183be7bc017e32215f76be348aebadfd0c2c04.tar.bz2 gentoo-2-65183be7bc017e32215f76be348aebadfd0c2c04.zip |
Drop versions depending on lcms:0 (bug 526800)
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/netsurf/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/netsurf/netsurf-2.9.ebuild | 141 | ||||
-rw-r--r-- | www-client/netsurf/netsurf-3.0-r1.ebuild | 142 | ||||
-rw-r--r-- | www-client/netsurf/netsurf-3.0-r2.ebuild | 137 | ||||
-rw-r--r-- | www-client/netsurf/netsurf-3.0.ebuild | 142 | ||||
-rw-r--r-- | www-client/netsurf/netsurf-3.2.ebuild | 139 |
6 files changed, 6 insertions, 702 deletions
diff --git a/www-client/netsurf/ChangeLog b/www-client/netsurf/ChangeLog index a07012e52841..eeb784aafe41 100644 --- a/www-client/netsurf/ChangeLog +++ b/www-client/netsurf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/netsurf # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/ChangeLog,v 1.16 2015/02/02 16:54:29 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/ChangeLog,v 1.17 2015/02/02 16:56:07 xmw Exp $ + + 02 Feb 2015; Michael Weber <xmw@gentoo.org> -netsurf-2.9.ebuild, + -netsurf-3.0-r1.ebuild, -netsurf-3.0-r2.ebuild, -netsurf-3.0.ebuild, + -netsurf-3.2.ebuild: + Drop versions depending on lcms:0 (bug 526800) *netsurf-3.2-r1 (02 Feb 2015) diff --git a/www-client/netsurf/netsurf-2.9.ebuild b/www-client/netsurf/netsurf-2.9.ebuild deleted file mode 100644 index 7059e242b586..000000000000 --- a/www-client/netsurf/netsurf-2.9.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-2.9.ebuild,v 1.6 2013/04/21 07:48:27 xmw Exp $ - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="a free, open source web browser" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="http://download.netsurf-browser.org/${PN}/releases/source-full/${P}-full-src.tar.gz - http://xmw.de/mirror/netsurf-fb.modes-example.gz" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="bmp fbcon truetype gif gstreamer gtk javascript jpeg mng pdf-writer png rosprite svg svgtiny webp" - -RDEPEND="dev-libs/libcss - dev-libs/libxml2 - net-libs/hubbub - net-misc/curl - bmp? ( media-libs/libnsbmp ) - fbcon? ( dev-libs/libnsfb ) - truetype? ( media-fonts/dejavu - media-libs/freetype ) - gif? ( media-libs/libnsgif ) - gtk? ( dev-libs/glib:2 - gnome-base/libglade:2.0 - media-libs/lcms:0 - x11-libs/gtk+:2 ) - jpeg? ( virtual/jpeg ) - mng? ( media-libs/libmng ) - pdf-writer? ( media-libs/libharu ) - png? ( media-libs/libpng ) - svg? ( svgtiny? ( media-libs/libsvgtiny ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( media-libs/libwebp )" -DEPEND="${RDEPEND} - virtual/pkgconfig - rosprite? ( media-libs/librosprite )" - -REQUIRED_USE="|| ( fbcon gtk )" - -src_unpack() { - default - einfo "remove bundled libs" - cd "${WORKDIR}" || die - mv ${P} ${P}_complete || die - mv ${P}_complete/${P} . || die - rm -r ${P}_complete || die -} - -src_prepare() { - sed -e '/CFLAGS \(:\|+\)=/d' \ - -i Makefile.defaults || die - sed -e '/^#define NSFB_TOOLBAR_DEFAULT_LAYOUT/s:blfsrut:blfsrutc:' \ - -i framebuffer/gui.c || die - sed -e 's/xml2-config/${PKG_CONFIG} libxml-2.0/g' \ - -i */Makefile.target || die - - epatch "${FILESDIR}"/${P}-buildsystem.patch - epatch "${FILESDIR}"/${P}-includes.patch - epatch "${FILESDIR}"/${P}-conditionally-include-image-headers.patch -} - -src_configure() { - netsurf_set() { - echo "override $1 := $2" >> Makefile.config || die - } - netsurf_use() { - local val=${4:-NO} - use $2 && val=${3:-YES} - echo "override $1 := $val" >> Makefile.config || die - } - #see Makefile.defaults - netsurf_use NETSURF_USE_BMP bmp - netsurf_use NETSURF_USE_GIF gif - netsurf_use NETSURF_USE_JPEG jpeg - netsurf_use NETSURF_USE_PNG png - netsurf_use NETSURF_USE_MNG mng - netsurf_use NETSURF_USE_WEBP webp - netsurf_use NETSURF_USE_VIDEO gstreamer - netsurf_use NETSURF_USE_JS javascript - netsurf_use NETSURF_USE_HARU_PDF pdf-writer - netsurf_set PREFIX /usr - netsurf_set Q - netsurf_set CC $(tc-getCC) - netsurf_set LD $(tc-getCC) - netsurf_set PKG_CONFIG $(tc-getPKG_CONFIG) - - if use svg ; then - if use svgtiny ; then - netsurf_set NETSURF_USE_NSSVG YES - netsurf_set NETSURF_USE_RSVG NO - else - netsurf_set NETSURF_USE_NSSVG NO - netsurf_set NETSURF_USE_RSVG YES - fi - else - netsurf_set NETSURF_USE_NSSVG NO - netsurf_set NETSURF_USE_RSVG NO - fi - if use fbcon ; then - netsurf_set NETSURF_FB_FRONTEND linux - netsurf_use NETSURF_FB_FONTLIB truetype freetype internal - netsurf_set NETSURF_FB_FONTPATH /usr/share/fonts/dejavu - fi - netsurf_use NETSURF_USE_ROSPRITE rosprite -} - -src_compile() { - use gtk && emake PREFIX="/usr" TARGET=gtk - use fbcon && emake PREFIX="/usr" TARGET=framebuffer -} - -src_install() { - if use gtk ; then - emake DESTDIR="${D}" PREFIX="/usr" TARGET=gtk install - mv "${D}"/usr/bin/netsurf{,-gtk} || die - make_desktop_entry /usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" - fi - if use fbcon ; then - emake DESTDIR="${D}" PREFIX="/usr" TARGET=framebuffer install - mv "${D}"/usr/bin/netsurf{,-fb} || die - make_desktop_entry /usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" - - einfo - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." - einfo - elog "Please make /etc/input/mice readable to the account using netsurf-fb." - elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group." - einfo - fi - insinto /usr/share/pixmaps - doins gtk/res/netsurf.xpm - - dodoc -r Docs/{USING-*,ideas} - newdoc "${WORKDIR}"/netsurf-fb.modes-example fb.modes -} diff --git a/www-client/netsurf/netsurf-3.0-r1.ebuild b/www-client/netsurf/netsurf-3.0-r1.ebuild deleted file mode 100644 index 8ecfef198bed..000000000000 --- a/www-client/netsurf/netsurf-3.0-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0-r1.ebuild,v 1.1 2013/08/22 16:50:07 xmw Exp $ - -EAPI=5 -NETSURF_COMPONENT_TYPE=binary - -inherit netsurf - -DESCRIPTION="a free, open source web browser" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz - http://xmw.de/mirror/netsurf-fb.modes-example.gz - ${NETSURF_BUILDSYSTEM_SRC_URI}" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer - +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux - fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x" - -REQUIRED_USE="|| ( fbcon gtk ) - amd64? ( abi_x86_32? ( - !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) ) - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl - fbcon_frontend_vnc fbcon_frontend_x ) )" - -RDEPEND="dev-libs/libxml2 - net-misc/curl - >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}] - >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}] - bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] ) - fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}] - truetype? ( media-fonts/dejavu - media-libs/freetype ) - ) - gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] ) - gtk? ( dev-libs/glib:2 - gnome-base/libglade:2.0 - media-libs/lcms:0 - x11-libs/gtk+:2 - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs - app-emulation/emul-linux-x86-gtklibs ) ) ) - gstreamer? ( media-libs/gstreamer:0.10 ) - javascript? ( dev-libs/nsgenbind ) - jpeg? ( virtual/jpeg - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - mng? ( media-libs/libmng - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - pdf-writer? ( media-libs/libharu ) - png? ( media-libs/libpng - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - javascript? ( dev-libs/nsgenbind ) - rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch - "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch - "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch ) -DOCS=( fb.modes README Docs/USING-Framebuffer - Docs/ideas/{cache,css-engine,render-library}.txt ) - -src_prepare() { - rm -rf amiga atari beos cocoa monkey riscos windows || die - - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes - - netsurf_src_prepare -} - -src_configure() { - netsurf_src_configure - - netsurf_makeconf+=( - NETSURF_USE_BMP=$(usex bmp YES NO) - NETSURF_USE_GIF=$(usex gif YES NO) - NETSURF_USE_JPEG=$(usex jpeg YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_MNG=$(usex mng YES NO) - NETSURF_USE_WEBP=$(usex webp YES NO) - NETSURF_USE_VIDEO=$(usex gstreamer YES NO) - NETSURF_USE_MOZJS=$(usex javascript YES NO) - NETSURF_USE_JS=NO - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO) - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) - PKG_CONFIG=$(tc-getPKG_CONFIG) - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "") - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "") - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "") - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "") - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "") - NETSURF_FB_FONTLIB=$(usex truetype freetype internal) - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu - TARGET=dummy - ) -} - -src_compile() { - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_compile - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_compile - fi -} - -src_install() { - sed -e '1iexit;' \ - -i "${WORKDIR}"/*/utils/git-testament.pl || die - - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_install - elog "framebuffer binary has been installed as netsurf-fb" - mv -v "${ED}"usr/bin/netsurf{,-fb} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" - - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." - elog "Please make /etc/input/mice readable to the account using netsurf-fb." - elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group." - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_install - elog "netsurf gtk version has been installed as netsurf-gtk" - mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" - fi - - insinto /usr/share/pixmaps - doins gtk/res/netsurf.xpm -} diff --git a/www-client/netsurf/netsurf-3.0-r2.ebuild b/www-client/netsurf/netsurf-3.0-r2.ebuild deleted file mode 100644 index 200ebe4f07f5..000000000000 --- a/www-client/netsurf/netsurf-3.0-r2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0-r2.ebuild,v 1.3 2014/06/24 22:17:10 mgorny Exp $ - -EAPI=5 -NETSURF_COMPONENT_TYPE=binary - -inherit netsurf - -DESCRIPTION="a free, open source web browser" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz - http://xmw.de/mirror/netsurf-fb.modes-example.gz - ${NETSURF_BUILDSYSTEM_SRC_URI}" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer - +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux - fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x" - -REQUIRED_USE="|| ( fbcon gtk ) - amd64? ( abi_x86_32? ( - !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) ) - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl - fbcon_frontend_vnc fbcon_frontend_x ) )" - -RDEPEND="dev-libs/libxml2 - net-misc/curl - >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}] - >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}] - bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] ) - fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}] - truetype? ( media-fonts/dejavu - >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - ) - gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] ) - gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] - gnome-base/libglade:2.0 - >=media-libs/lcms-1.19-r1:0[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] ) - gstreamer? ( media-libs/gstreamer:0.10 ) - javascript? ( dev-libs/nsgenbind ) - jpeg? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] ) - mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] ) - pdf-writer? ( media-libs/libharu ) - png? ( >=media-libs/libpng-1.2.51[${MULTILIB_USEDEP}] ) - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - javascript? ( dev-libs/nsgenbind ) - rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch - "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch - "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch ) -DOCS=( fb.modes README Docs/USING-Framebuffer - Docs/ideas/{cache,css-engine,render-library}.txt ) - -src_prepare() { - rm -rf amiga atari beos cocoa monkey riscos windows || die - - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes - - netsurf_src_prepare -} - -src_configure() { - netsurf_src_configure - - netsurf_makeconf+=( - NETSURF_USE_BMP=$(usex bmp YES NO) - NETSURF_USE_GIF=$(usex gif YES NO) - NETSURF_USE_JPEG=$(usex jpeg YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_MNG=$(usex mng YES NO) - NETSURF_USE_WEBP=$(usex webp YES NO) - NETSURF_USE_VIDEO=$(usex gstreamer YES NO) - NETSURF_USE_MOZJS=$(usex javascript YES NO) - NETSURF_USE_JS=NO - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO) - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) - PKG_CONFIG=$(tc-getPKG_CONFIG) - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "") - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "") - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "") - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "") - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "") - NETSURF_FB_FONTLIB=$(usex truetype freetype internal) - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu - TARGET=dummy - ) -} - -src_compile() { - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_compile - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_compile - fi -} - -src_install() { - sed -e '1iexit;' \ - -i "${WORKDIR}"/*/utils/git-testament.pl || die - - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_install - elog "framebuffer binary has been installed as netsurf-fb" - mv -v "${ED}"usr/bin/netsurf{,-fb} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" - - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." - elog "Please make /etc/input/mice readable to the account using netsurf-fb." - elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group." - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_install - elog "netsurf gtk version has been installed as netsurf-gtk" - mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" - fi - - insinto /usr/share/pixmaps - doins gtk/res/netsurf.xpm -} diff --git a/www-client/netsurf/netsurf-3.0.ebuild b/www-client/netsurf/netsurf-3.0.ebuild deleted file mode 100644 index 6b18e0ab4937..000000000000 --- a/www-client/netsurf/netsurf-3.0.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0.ebuild,v 1.4 2013/06/23 16:53:54 xmw Exp $ - -EAPI=5 -NETSURF_COMPONENT_TYPE=binary - -inherit netsurf - -DESCRIPTION="a free, open source web browser" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz - http://xmw.de/mirror/netsurf-fb.modes-example.gz - ${NETSURF_BUILDSYSTEM_SRC_URI}" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer - +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux - fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x" - -REQUIRED_USE="|| ( fbcon gtk ) - amd64? ( abi_x86_32? ( - !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) ) - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl - fbcon_frontend_vnc fbcon_frontend_x ) )" - -RDEPEND="dev-libs/libxml2 - net-misc/curl - >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}] - >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}] - bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] ) - fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}] - truetype? ( media-fonts/dejavu - media-libs/freetype ) - ) - gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] ) - gtk? ( dev-libs/glib:2 - gnome-base/libglade:2.0 - media-libs/lcms:0 - x11-libs/gtk+:2 - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs - app-emulation/emul-linux-x86-gtklibs ) ) ) - gstreamer? ( media-libs/gstreamer:0.10 ) - javascript? ( dev-libs/nsgenbind ) - jpeg? ( virtual/jpeg - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - mng? ( media-libs/libmng - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - pdf-writer? ( media-libs/libharu ) - png? ( media-libs/libpng - amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) ) - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - javascript? ( dev-libs/nsgenbind ) - rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch - "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch - "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch ) -DOCS=( fb.modes README Docs/USING-Framebuffer - Docs/ideas/{cache,css-engine,render-library}.txt ) - -src_prepare() { - rm -rf amiga atari beos cocoa monkey riscos windows || die - - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes - - netsurf_src_prepare -} - -src_configure() { - netsurf_src_configure - - netsurf_makeconf+=( - NETSURF_USE_BMP=$(usex bmp YES NO) - NETSURF_USE_GIF=$(usex gif YES NO) - NETSURF_USE_JPEG=$(usex jpeg YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_MNG=$(usex mng YES NO) - NETSURF_USE_WEBP=$(usex webp YES NO) - NETSURF_USE_VIDEO=$(usex gstreamer YES NO) - NETSURF_USE_MOZJS=$(usex javascript YES NO) - NETSURF_USE_JS=NO - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO) - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) - PKG_CONFIG=$(tc-getPKG_CONFIG) - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "") - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "") - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "") - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "") - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "") - NETSURF_FB_FONTLIB=$(usex truetype freetype internal) - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu - TARGET=dummy - ) -} - -src_compile() { - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_compile - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_compile - fi -} - -src_install() { - sed -e '1iexit;' \ - -i "${WORKDIR}"/*/utils/git-testament.pl || die - - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_install - elog "framebuffer binary has been installed as netsurf-fb" - mv -v "${ED}"usr/bin/netsurf{,-fb} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" - - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." - elog "Please make /etc/input/mice readable to the account using netsurf-fb." - elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group." - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_install - elog "netsurf gtk version has been installed as netsurf-gtk" - mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" - fi - - insinto /usr/share/pixmaps - doins gtk/res/netsurf.xpm -} diff --git a/www-client/netsurf/netsurf-3.2.ebuild b/www-client/netsurf/netsurf-3.2.ebuild deleted file mode 100644 index 82f8d852bd77..000000000000 --- a/www-client/netsurf/netsurf-3.2.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.2.ebuild,v 1.1 2014/11/15 15:01:58 xmw Exp $ - -EAPI=5 - -NETSURF_COMPONENT_TYPE=binary -NETSURF_BUILDSYSTEM=buildsystem-1.2 -inherit netsurf - -DESCRIPTION="a free, open source web browser" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz - http://xmw.de/mirror/netsurf-fb.modes-example.gz - ${NETSURF_BUILDSYSTEM_SRC_URI}" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer - +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux - fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x" - -REQUIRED_USE="|| ( fbcon gtk ) - amd64? ( abi_x86_32? ( - !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) ) - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl - fbcon_frontend_vnc fbcon_frontend_x ) )" - -RDEPEND="dev-libs/libxml2 - net-misc/curl - >=dev-libs/libcss-0.4.0[${MULTILIB_USEDEP}] - >=net-libs/libhubbub-0.3.0-r1[${MULTILIB_USEDEP}] - bmp? ( >=media-libs/libnsbmp-0.1.1[${MULTILIB_USEDEP}] ) - fbcon? ( >=dev-libs/libnsfb-0.1.2[${MULTILIB_USEDEP}] - truetype? ( media-fonts/dejavu - >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - ) - gif? ( >=media-libs/libnsgif-0.1.1[${MULTILIB_USEDEP}] ) - gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] - gnome-base/libglade:2.0 - >=media-libs/lcms-1.19-r1:0[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] ) - gstreamer? ( media-libs/gstreamer:0.10 ) - javascript? ( >=dev-libs/nsgenbind-0.1.1[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] ) - mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] ) - pdf-writer? ( media-libs/libharu ) - png? ( >=media-libs/libpng-1.2.51[${MULTILIB_USEDEP}] ) - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.2[${MULTILIB_USEDEP}] ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - javascript? ( >=dev-libs/nsgenbind-0.1.1[${MULTILIB_USEDEP}] ) - rosprite? ( >=media-libs/librosprite-0.1.1[${MULTILIB_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch - "${FILESDIR}"/${PN}-3.0-framebuffer-pkgconfig.patch - "${FILESDIR}"/${P}-conditionally-include-image-headers.patch - "${FILESDIR}"/${P}-glibc2.20.patch ) -DOCS=( fb.modes README Docs/USING-Framebuffer - Docs/ideas/{cache,css-engine,render-library}.txt ) - -src_prepare() { - rm -rf amiga atari beos cocoa monkey riscos windows || die - - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes - - netsurf_src_prepare -} - -src_configure() { - netsurf_src_configure - - netsurf_makeconf+=( - NETSURF_USE_BMP=$(usex bmp YES NO) - NETSURF_USE_GIF=$(usex gif YES NO) - NETSURF_USE_JPEG=$(usex jpeg YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_PNG=$(usex png YES NO) - NETSURF_USE_MNG=$(usex mng YES NO) - NETSURF_USE_WEBP=$(usex webp YES NO) - NETSURF_USE_VIDEO=$(usex gstreamer YES NO) - NETSURF_USE_MOZJS=$(usex javascript YES NO) - NETSURF_USE_JS=NO - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO) - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) - PKG_CONFIG=$(tc-getPKG_CONFIG) - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "") - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "") - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "") - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "") - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "") - NETSURF_FB_FONTLIB=$(usex truetype freetype internal) - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu - TARGET=dummy - ) -} - -src_compile() { - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_compile - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_compile - fi -} - -src_install() { - sed -e '1iexit;' \ - -i "${WORKDIR}"/*/utils/git-testament.pl || die - - if use fbcon ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) - netsurf_src_install - elog "framebuffer binary has been installed as netsurf-fb" - mv -v "${ED}"usr/bin/netsurf{,-fb} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" - - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." - elog "Please make /etc/input/mice readable to the account using netsurf-fb." - elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group." - fi - if use gtk ; then - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) - netsurf_src_install - elog "netsurf gtk version has been installed as netsurf-gtk" - mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die - make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" - fi - - insinto /usr/share/pixmaps - doins gtk/res/netsurf.xpm -} |