Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185228 Details for
Bug 252585
dev-haskell/gtk2hs 0.9.12.1 fails to configure with USE="firefox" and firefox 3 is installed (configure: error: Mozilla Firefox requirement not met.)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
If firefox-2* is not installed, then don't configure for firefox.
gtk2hs-0.9.12.1-r1.ebuild (text/plain), 3.94 KB, created by
Johannes Rauh
on 2009-03-16 22:06:34 UTC
(
hide
)
Description:
If firefox-2* is not installed, then don't configure for firefox.
Filename:
MIME Type:
Creator:
Johannes Rauh
Created:
2009-03-16 22:06:34 UTC
Size:
3.94 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.12.1.ebuild,v 1.9 2009/02/10 19:32:40 kolmodin Exp $ > >inherit base eutils ghc-package multilib toolchain-funcs versionator > >DESCRIPTION="A GUI Library for Haskell based on Gtk+" >HOMEPAGE="http://haskell.org/gtk2hs/" >SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz" >LICENSE="LGPL-2.1" >SLOT="0" > >KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" > >IUSE="doc glade gnome opengl svg firefox seamonkey profile xulrunner" > >RDEPEND=">=dev-lang/ghc-6.4 > dev-haskell/mtl > >=x11-libs/gtk+-2 > glade? ( >=gnome-base/libglade-2 ) > gnome? ( >=gnome-base/libglade-2 > <x11-libs/gtksourceview-2.0 > >=gnome-base/gconf-2 ) > svg? ( >=gnome-base/librsvg-2.16 ) > opengl? ( x11-libs/gtkglext ) > xulrunner? ( =net-libs/xulrunner-1.8* ) > !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) ) > !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )" > >DEPEND="${RDEPEND} > doc? ( >=dev-haskell/haddock-0.8 ) > dev-util/pkgconfig" > >src_unpack() { > unpack ${A} > > sed -i -e '\|docs/reference/haddock.js|d' \ > -e '/$(foreach LETTER,/,+1 d' \ > -e '\|\tdocs/reference/gtk2hs.haddock| s/\\//' \ > "${S}/Makefile.in" > > cd "${S}" > epatch "${FILESDIR}/${P}-librsvg-2.22.3.patch" >} > >src_compile() { > if ! has_version =www-client/mozilla-firefox-2* ; then > econf \ > --enable-packager-mode \ > $(version_is_at_least "4.2" "$(gcc-version)" && \ > echo --disable-split-objs) \ > $(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \ > $(use glade || use gnome && echo --enable-libglade) \ > $(use_enable gnome gconf) \ > $(use_enable gnome sourceview) \ > $(use_enable svg svg) \ > $(use_enable opengl opengl) \ > $(use_enable seamonkey seamonkey) \ > $(use_enable xulrunner xulrunner) \ > $(use_enable doc docs) \ > $(use_enable profile profiling) \ > || die "Configure failed" > else > econf \ > --enable-packager-mode \ > $(version_is_at_least "4.2" "$(gcc-version)" && \ > echo --disable-split-objs) \ > $(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \ > $(use glade || use gnome && echo --enable-libglade) \ > $(use_enable gnome gconf) \ > $(use_enable gnome sourceview) \ > $(use_enable svg svg) \ > $(use_enable opengl opengl) \ > $(use_enable seamonkey seamonkey) \ > $(use_enable firefox firefox) \ > $(use_enable xulrunner xulrunner) \ > $(use_enable doc docs) \ > $(use_enable profile profiling) \ > || die "Configure failed" > fi > > # parallel build doesn't work, so specify -j1 > emake -j1 || die "Make failed" >} > >src_install() { > > make install \ > DESTDIR="${D}" \ > htmldir="/usr/share/doc/${PF}/html" \ > haddockifacedir="/usr/share/doc/${PF}" \ > || die "Make install failed" > > # for some reason it creates the doc dir even if it is configured > # to not generate docs, so lets remove the empty dirs in that case > # (and lets be cautious and only remove them if they're empty) > if ! use doc; then > rmdir "${D}/usr/share/doc/${PF}/html" > rmdir "${D}/usr/share/doc/${PF}" > rmdir "${D}/usr/share/doc" > rmdir "${D}/usr/share" > fi > > # arrange for the packages to be registered > ghc-setup-pkg \ > "${D}/usr/$(get_libdir)/gtk2hs/glib.package.conf" \ > $(has_version '>=x11-libs/gtk+-2.8' && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/cairo.package.conf") \ > "${D}/usr/$(get_libdir)/gtk2hs/gtk.package.conf" \ > "${D}/usr/$(get_libdir)/gtk2hs/soegtk.package.conf" \ > $(use glade || use gnome && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/glade.package.conf") \ > $(use gnome && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/gconf.package.conf" \ > "${D}/usr/$(get_libdir)/gtk2hs/sourceview.package.conf" ) \ > $(use svg && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/svgcairo.package.conf") \ > $(use opengl && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/gtkglext.package.conf") \ > $(use seamonkey || use firefox || use xulrunner && echo \ > "${D}/usr/$(get_libdir)/gtk2hs/mozembed.package.conf") > ghc-install-pkg >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 252585
:
177033
| 185228