Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78573

Summary: Devhelp 0.9.3 should be able to build against Firefox
Product: Gentoo Linux Reporter: Yaron Tausky <decaycell>
Component: [OLD] DevelopmentAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement CC: compnerd, matteo-ml, mozilla, pva
Priority: Low    
Version: 2004.3   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Devhelp ebuild with firefox.
devhelp-0.9.3-r1.ebuild
devhelp-0.9.3-r1.ebuild
Devhelp ebuild with firefox support. second attempt.

Description Yaron Tausky 2005-01-18 13:24:44 UTC
The Devhelp website states that version 0.9.3, which is marked stable in Portage, can be built against Firefox instead the Mozilla suite. The ebuild, however, doesn't support this.
Comment 1 foser (RETIRED) gentoo-dev 2005-01-18 14:52:18 UTC
because our firefox doesn't support this, at least not at the time when i added the ebuild.

cc-ing moz devs for their statement.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-02-22 01:40:25 UTC
Brad any suggestion on this? Does firefox provide gecko/gtkembedmoz?
Comment 3 Spider (RETIRED) gentoo-dev 2005-02-22 01:45:48 UTC
Firefox doesn't guarantee GRE stability, neither binary nor source. They don't provide the SDK, and its -not- recommended to build components against it.

Comment 4 Peter Volkov (RETIRED) gentoo-dev 2005-03-24 23:36:02 UTC
But then. What do you think about this statement in ChangeLog of mozilla-firefox?

24 Mar 2005; Brad Laue <brad@gentoo.org> +mozilla-firefox-1.0.2-r1.ebuild:
Add headers and pkgconfig files so we can build other browsers against Firefox
rather than Mozilla Suite.

May be now this is possible to compile devhelp against mozilla-firefox?
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2005-04-08 08:06:51 UTC
Created attachment 55676 [details]
Devhelp ebuild with firefox.

Hello.

This ebuild may help for everybody who are interested in devhelp compiled with
firefox. Just add firefox in your use flags.

BTW. Is it possible to add this ebuild into cvs?

Peter.
Comment 6 Anton Romanov 2005-04-19 06:04:10 UTC
Created attachment 56653 [details]
devhelp-0.9.3-r1.ebuild

i think ebiuld should look like this
1. 'firefox' in KEYWORDS ??????????!!!!!!!!!!!!!!
2. why another USE flag ('firefox')? this ebuild checks whether to use mozilla
or firefox...
Comment 7 Anton Romanov 2005-04-19 06:07:13 UTC
Created attachment 56654 [details]
devhelp-0.9.3-r1.ebuild

ooops.forgot to change header
Comment 8 Anton Romanov 2005-04-19 06:10:17 UTC
and, i suppose, this should not depend on www-client/firefox but >=www-client-1.0.2-r1 
see comment #4
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2005-04-28 07:16:04 UTC
Created attachment 57470 [details]
Devhelp ebuild with firefox support. second attempt.

firefox in KEYWORDS was a typo... I'm sorry for that. I should sleep before
posting results. :)

Why you are using has_version instead of firefox use flag? Look firefox use
flag already exist in portage:
local use flags (searching: firefox)

[-    ] firefox (www-client/galeon):
build against firefox instead of mozilla

[-    ] firefox (www-client/kazehakase-cvs):
Use firefox's Gecko engine.

[-    ] firefox (www-client/kazehakase):
Use firefox's Gecko engine.

So. I think it's normal to use firefox flag to force package to use firefox's
Gecko engine...

I know nothing about www-client, but now your solution has side effect during
emerge:
QA Notice: has_version() in global scope: dev-util/devhelp-0.9.3

I've edited my ebuild removing bad keyword and added version number for
firefox.
Comment 10 Matteo Settenvini 2005-08-03 09:16:48 UTC
I built succesfully devhelp-0.10 against firefox today. I think that a fixed
ebuild could go in portage at this point.
Comment 11 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-07 05:59:44 UTC
devhelp-0.10 already contains the 'firefox' USE flag for this effect.