Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140474 - Request: Firefox 2.0 Beta 1 ebuild
Summary: Request: Firefox 2.0 Beta 1 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: Lowest enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 140513 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-15 05:05 UTC by Damian Szczech
Modified: 2006-07-21 00:44 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mozilla-firefox-bin-2.0_beta1.ebuild (new version) (mozilla-firefox-bin-2.0_beta1.ebuild,3.64 KB, text/plain)
2006-07-15 09:58 UTC, Max Dilay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damian Szczech 2006-07-15 05:05:22 UTC
Hi ppl,
When firefox 2.0 beta1 be avaible in portage?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-15 05:11:21 UTC
When we'll have much more important bugs fixed (such as porting current ebuilds from Mozilla/Gecko-SDK to FF/Seamonkey) and when we'll manage to recruit some regular mozilla maintainer, perhaps... Don't hold your breath, really :P
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-15 09:50:36 UTC
*** Bug 140513 has been marked as a duplicate of this bug. ***
Comment 3 Max Dilay 2006-07-15 09:58:26 UTC
Created attachment 91795 [details]
mozilla-firefox-bin-2.0_beta1.ebuild (new version)
Comment 4 Max Dilay 2006-07-15 09:59:05 UTC
Attached new version
Comment 5 Mikkel Høgh 2006-07-17 13:09:53 UTC
I see you've marked it stable on x86 and amd64.

This is a beta-version and should most certainly not be considered stable :)
Comment 6 Max Dilay 2006-07-18 12:15:16 UTC
I just minor edit ebuild for firefox 1.5.0.4 . Please chage flags(and additional languages) myself :) . I think most people that want try it NOW(before it be added to portage) can have it stable on their systems :)
Comment 7 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-07-19 05:41:01 UTC
I have made a 2.0_beta1 src based ebuild.
Everything is available at http://www.gentoo-sunrise.org/svndump/peper/www-client/mozilla-firefox/
Comment 8 Kim Seongcheol 2006-07-19 08:14:54 UTC
Your ebuild seems to work well.
But "pkg-config firefox-xpcom --variable=libdir" gives me the wrong answer:
Other than that, thanks.
Comment 9 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-07-19 09:57:12 UTC
Thanks for catching that, fixed.
Comment 10 Gergan Penkov 2006-07-19 16:50:27 UTC
(In reply to comment #9)
> Thanks for catching that, fixed.
> 

try using 008_firefox-gentoo-pkgconfig-1.patch instead of the sed, it should work and corrects firefox-config and adds -Wl,-R... to the pkg-config files as not all the pkgs, which build against firefox will utilize it themselves and probably will not build correctly, that's why it should be forced on them.
If it does not apply cleanly, I could look at it.
Comment 11 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-07-20 02:26:24 UTC
Thanks, fixed with patch now.

This is what i get now:

firefox-gtkmozembed.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: Mozilla Gtk Embedding Widget
Description: Mozilla Embedding Widget for Gtk+
Version: 2.0b1
Requires: firefox-xpcom = 2.0b1
Libs: -L${libdir} -lgtkembedmoz  -Wl,-R${libdir}
Cflags: -I${includedir}/gtkembedmoz

firefox-js.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: JavaScript
Description: The Mozilla JavaScript Library
Version: 2.0b1
Requires: firefox-nspr >= 4.6.2
Libs: -L${libdir} -lmozjs -Wl,-R${libdir}
Cflags: -I${includedir}/js -DXP_UNIX

firefox-nspr.pc:
Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.6.2
Requires: nspr >= 4.6.2


firefox-nss.pc:
Name: NSS
Description: Mozilla Network Security Services
Version: 3.11.1
Requires: nss >= 3.11.1

firefox-plugin.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: Mozilla Plug-In API
Description: Mozilla Plug-In API
Version: 2.0b1
Requires: firefox-xpcom = 2.0b1
Cflags: -I${includedir}/java -I${includedir}/plugin

firefox-xpcom.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include
idldir=/usr/lib/mozilla-firefox/idl

Name: XPCOM
Description: The Mozilla Cross Platform Component Library
Version: 2.0b1
Requires: firefox-nspr >= 4.6.2
Libs: -L${libdir} -lxpcom -Wl,-R${libdir}
Cflags: -I${includedir} -I${includedir}/xpcom -I${includedir}/stringfirefox-gtkmozembed.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: Mozilla Gtk Embedding Widget
Description: Mozilla Embedding Widget for Gtk+
Version: 2.0b1
Requires: firefox-xpcom = 2.0b1
Libs: -L${libdir} -lgtkembedmoz  -Wl,-R${libdir}
Cflags: -I${includedir}/gtkembedmoz

firefox-js.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: JavaScript
Description: The Mozilla JavaScript Library
Version: 2.0b1
Requires: firefox-nspr >= 4.6.2
Libs: -L${libdir} -lmozjs -Wl,-R${libdir}
Cflags: -I${includedir}/js -DXP_UNIX

firefox-nspr.pc:
Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.6.2
Requires: nspr >= 4.6.2


firefox-nss.pc:
Name: NSS
Description: Mozilla Network Security Services
Version: 3.11.1
Requires: nss >= 3.11.1

firefox-plugin.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include

Name: Mozilla Plug-In API
Description: Mozilla Plug-In API
Version: 2.0b1
Requires: firefox-xpcom = 2.0b1
Cflags: -I${includedir}/java -I${includedir}/plugin

firefox-xpcom.pc:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/mozilla-firefox
includedir=/usr/lib/mozilla-firefox/include
idldir=/usr/lib/mozilla-firefox/idl

Name: XPCOM
Description: The Mozilla Cross Platform Component Library
Version: 2.0b1
Requires: firefox-nspr >= 4.6.2
Libs: -L${libdir} -lxpcom -Wl,-R${libdir}
Cflags: -I${includedir} -I${includedir}/xpcom -I${includedir}/string

Correct?
Comment 12 Gergan Penkov 2006-07-20 19:46:23 UTC
well yes essentially, but it seems that azarah has committed an ebuild today to the portage :)
Comment 13 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-07-21 00:38:33 UTC
Yep and i am proud it was based on my ebuild ;]
Comment 14 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-21 00:44:32 UTC
Thanks to all who helped here especially KIm and Gergan for helping Peper. As this got into portage I am closing it.