Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199787 - www-client/mozilla-firefox-3.0_beta4 version bump
Summary: www-client/mozilla-firefox-3.0_beta4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement
Assignee: Mozilla Gentoo Team
URL: http://overlays.gentoo.org/proj/mozilla
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2007-11-20 14:55 UTC by Robert Piasek (RETIRED)
Modified: 2009-03-30 05:30 UTC (History)
11 users (show)

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


Attachments
mozilla-firefox-3.0_beta1.ebuild (mozilla-firefox-3.0_beta1.ebuild,9.24 KB, text/plain)
2007-11-21 16:12 UTC, Sal Gonzalez
Details
mozilla-firefox-3.0_beta2.ebuild (mozilla-firefox-3.0_beta2.ebuild,9.26 KB, text/plain)
2008-01-09 05:38 UTC, John J. Aylward
Details
mozilla-firefox-3.0_beta2.ebuild (mozilla-firefox-3.0_beta2.ebuild,9.49 KB, text/plain)
2008-01-09 06:22 UTC, John J. Aylward
Details
mozilla-firefox-3.0_beta2.ebuild (mozilla-firefox-3.0_beta2.ebuild,9.57 KB, text/plain)
2008-01-09 07:01 UTC, John J. Aylward
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Piasek (RETIRED) gentoo-dev 2007-11-20 14:55:10 UTC
ebuild request for firefox3 beta1

http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0b1&os=linux&lang=en-US


Reproducible: Always




It would be nice to have hard masked ebuild for Firefox3 beta1.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-20 15:18:34 UTC
Yeah, beyond the fact that it's plain unusable it'd really rock...
Comment 2 Neal Ylitalo 2007-11-21 07:03:19 UTC
(In reply to comment #1)
> Yeah, beyond the fact that it's plain unusable it'd really rock...
> 

Built from sources on CHOST="i686-pc-linux-gnu" (Pentium M), and it works just fine. What unusability are you referring to?
Comment 3 Kevin Bowling 2007-11-21 07:16:44 UTC
Jakub, have you even tried it?
Comment 4 Bernd Steinhauser 2007-11-21 13:18:00 UTC
(In reply to comment #3)
> Jakub, have you even tried it?
> 

Maybe he tried what came _after_ the beta, because current cvs is _really_ unusable.
Comment 5 Sal Gonzalez 2007-11-21 16:12:04 UTC
I tried hacking together an ebuild for this, but it looks like 3.0b1 depends on the CVS version of nspr, specifically PR_STATIC_ASSERT.
Comment 6 Sal Gonzalez 2007-11-21 16:12:53 UTC
Created attachment 136614 [details]
mozilla-firefox-3.0_beta1.ebuild
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-11-21 16:29:48 UTC
(In reply to comment #5)
> I tried hacking together an ebuild for this, but it looks like 3.0b1 depends on
> the CVS version of nspr, specifically PR_STATIC_ASSERT.
> 

And on CVS version of libpng as well. May want to try http://forums.gentoo.org/viewtopic-t-556225-postdays-0-postorder-asc-start-0.html meanwhile
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-11-22 16:05:57 UTC
the -bin version is in the tree, the non-bin version is in the mozilla overlay.

It won't build for anything else than amd64 or x86, i think.
Comment 9 Michal Nowak 2007-11-22 22:31:38 UTC
Using it for 2 days now running from overlay (i686) and seems fine to me, no crash or something so far. 

I am using the xforms USE flag and it won't compile. Use following patch as a quick hack to compile it:

--- mozilla-firefox-3.0_beta1.ebuild	2007-11-22 23:24:36.000000000 +0100
+++ mozilla-firefox-3.0_beta1.ebuild.old	2007-11-22 23:24:07.000000000 +0100
@@ -141,7 +141,7 @@ src_compile() {
 #	mozconfig_annotate '' --with-system-nss
 
 	if use xforms; then
-		mozconfig_annotate '' --enable-extensions=default,xforms,schema-validation
+		mozconfig_annotate '' --enable-extensions=default,xforms,schema-validation,typeaheadfind
 	else
 		mozconfig_annotate '' --enable-extensions=default
 	fi

After some investigation the "typeaheadfind", where make fails, is in source tree present and Makefile.in is there.

=media-libs/libpng-1.2.22
=dev-libs/nspr-4.6.7

from portage.

=www-client/mozilla-firefox-3.0_beta1 ipv6 java xforms -bindist -debug -filepicker -gnome -mozdevelop -moznopango -restrict-javascript -xinerama
Comment 10 Paweł Zaskórski 2007-11-24 09:47:19 UTC
It won't build with linguas=pl:

 * Unpacking mozilla-firefox-3.0_beta1-pl.xpi to /mnt/storage7/portage.tmp/portage/www-client/mozilla-firefox-3.0_beta1/work
 * 
 * ERROR: www-client/mozilla-firefox-3.0_beta1 failed.
 * Call stack:
 *                          ebuild.sh, line 1701:  Called dyn_unpack
 *                          ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                          ebuild.sh, line   44:  Called src_unpack
 *   mozilla-firefox-3.0_beta1.ebuild, line  112:  Called xpi_unpack 'mozilla-firefox-3.0_beta1-pl.xpi'
 *                mozextension.eclass, line   26:  Called die
 * The specific snippet of code:
 *              [[ -s "${srcdir}${xpi}" ]] ||  die "${xpi} does not exist"
 *  The die message:
 *   mozilla-firefox-3.0_beta1-pl.xpi does not exist
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/storage7/portage.tmp/portage/www-client/mozilla-firefox-3.0_beta1/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'

Additional informations:

# emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Fri, 23 Nov 2007 10:30:04 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/storage7/portage.tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X a52 aac aiglx alsa apache2 audiofile avi bash-completion bcmath beagle berkdb bitmap-fonts branding bzip2 bzlib cairo calendar cdr cli cracklib crypt ctype cups dba dbus dri dvd dvdr emboss encode exif faad fam ffmpeg firefox flac ftp gamin gd gdbm gif glitz glx gmail gnome gphoto2 gstreamer gtk gtk2 hal hddtemp iconv ipv6 isdnlog jabber java jpeg jpg kde lm_sensors mad matroska mbox midi mikmod miknod mime mmx mmxext mng modplug mp3 mp4 mpeg mudflap musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png ppds pppd python qt qt3 query-browser quicktime readline real reflection rtc sdl session sou sounds spell spl srt sse sse2 ssl svg tcpd theora thunderbird tiff timidity trayicon truetype truetype-fonts tryetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmp workbench x264 x86 xattr xcomposite xface xml xorg xosd xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2007-11-24 10:34:26 UTC
(In reply to comment #9)
Yeah, fixed.

(In reply to comment #10)
 >>> Unpacking source...
>>> Unpacking firefox-3.0b1-source.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-3.0_beta1/work
 * Unpacking mozilla-firefox-3.0b1-pl.xpi to /var/tmp/portage/www-client/mozilla-firefox-3.0_beta1/work
 * Selected language packs (first will be default): pl
 * Applying 888_fix_nss_fix_389872.patch ...       

Works for me
Comment 12 Walter Meinl 2007-12-04 12:36:13 UTC
Just a comment regarding the mozconfig-3.eclass in the mozilla overlay: You can drop the xinerama USE flag as with https://bugzilla.mozilla.org/show_bug.cgi?id=318331 the xinerama functionality was integrated in the mozilla sources and firefox-3.0 therefore enables/disables xinerama with an autodetect function. --enable-xinerama is no valid build option anymore.
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2007-12-19 18:50:26 UTC
beta2 is out, it's in the mozilla overlay, and the bin version is in the tree
Comment 14 Maxim Britov 2007-12-28 10:16:39 UTC
Liferea doesn't compile with new FF3beta2 on my box. Is it Leferea only bug?

checking for LIBNOTIFY... yes
checking for XULRUNNER... no
Package xulrunner-gtkmozembed was not found in the pkg-config search path.
Perhaps you should add the directory containing `xulrunner-gtkmozembed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xulrunner-gtkmozembed' found
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking for MOZILLA... no
firefox: no
configure: error:
*** You must have either the GtkHTML2, XulRunner or the Mozilla
*** development libraries installed in order to build Liferea!
Comment 15 Michal Nowak 2007-12-28 10:43:35 UTC
(In reply to comment #14)
> Liferea doesn't compile with new FF3beta2 on my box. Is it Leferea only bug?
> 
> checking for LIBNOTIFY... yes
> checking for XULRUNNER... no
> Package xulrunner-gtkmozembed was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xulrunner-gtkmozembed.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xulrunner-gtkmozembed' found


It's because of missing /usr/lib/pkgconfig/xulrunner-gtkmozembed.pc file. Copy firefox-gtkmozembed.pc to xulrunner-gtkmozembed.pc to temporary fix it. Dunno which fault is it, probably xulrunner or auto*hell scripts.
Comment 16 Maxim Britov 2007-12-28 11:51:58 UTC
(In reply to comment #15)
>> (In reply to comment #14)

> It's because of missing /usr/lib/pkgconfig/xulrunner-gtkmozembed.pc file. Copy
> firefox-gtkmozembed.pc to xulrunner-gtkmozembed.pc to temporary fix it. Dunno
> which fault is it, probably xulrunner or auto*hell scripts.

 
$ equery f mozilla-firefox|fgrep .pc
nothing
$ equery f xulrunner|fgrep .pc
/usr/lib64/pkgconfig/libxul-embedding.pc
/usr/lib64/pkgconfig/libxul.pc
/usr/lib64/pkgconfig/mozilla-js.pc
/usr/lib64/pkgconfig/mozilla-nspr.pc
/usr/lib64/pkgconfig/mozilla-nss.pc
/usr/lib64/pkgconfig/mozilla-plugin.pc
/usr/lib64/pkgconfig/xulrunner-js.pc
/usr/lib64/pkgconfig/xulrunner-nspr.pc
/usr/lib64/pkgconfig/xulrunner-nss.pc
/usr/lib64/pkgconfig/xulrunner-plugin.pc
/usr/lib64/pkgconfig/xulrunner-xpcom.pc

I will try libxul-embedding.pc at first time. Thanks.
Comment 17 Maxim Britov 2007-12-28 12:42:27 UTC
(In reply to comment #16)
> (In reply to comment #15)
> >> (In reply to comment #14)

> I will try libxul-embedding.pc at first time. Thanks.
about liferea:
http://sourceforge.net/tracker/index.php?func=detail&aid=1855762&group_id=87005&atid=581684

and:
$ pkg-config --cflags /usr/lib64/pkgconfig/xulrunner-gtkmozembed.pc
-DXPCOM_GLUE -fshort-wchar -I/usr/include/xulrunner/stable
but /usr/include/xulrunner/unstable/gtkmozembed.h
Comment 18 John J. Aylward 2008-01-09 05:38:32 UTC
Created attachment 140523 [details]
mozilla-firefox-3.0_beta2.ebuild

updated ebuild to use beta 2 with new languages, although I just used the long lists from beta 1 so if there are new languages added, I may have missed those. Also added amd64 keyword.

Personally this doesn't build on my amd64 system as I get the error that my NSPR is not supported. But to fix that nspr has to be updated to 4.7.0. I updated the dependency to ask for that in the ebuild, but that's as far as I got so far.
Comment 19 John J. Aylward 2008-01-09 06:22:23 UTC
Created attachment 140528 [details]
mozilla-firefox-3.0_beta2.ebuild

fixed dependancy for nspr libs to be able to use masked nspr packages

fixed libpng dependancy - see Bug 204994 for ebuilds
Comment 20 John J. Aylward 2008-01-09 07:01:26 UTC
Created attachment 140529 [details]
mozilla-firefox-3.0_beta2.ebuild

configure and build passes on this ebuild on amd64
had to add new option to mozilla configure to use cairo-gtk even though it's the new default on linux... who knew you had to specify a default for a default?

also had to up cairo support to >=1.5.2

users will have to add the following to packages.keywords:
www-client/mozilla-firefox
dev-libs/nspr
media-libs/libpng
x11-libs/cairo
x11-libs/pixman

and packages.unmask:
www-client/mozilla-firefox
dev-libs/nspr
x11-libs/cairo

They will also have to grab a libpng ebuild from bug 204994

it'd be nice if a developer could add a dependency for that bug

If someone knows these are only amd64 depends and not x86, please update the ebuild to reflect. They seemed global to any system to me.
Comment 21 Michal Nowak 2008-01-09 09:25:24 UTC
What's the difference between this ebuild and the one in mozilla overlay?
Comment 22 Raúl Porcel (RETIRED) gentoo-dev 2008-01-09 10:45:03 UTC
Can you please stop adding useless stuff when the ebuilds in the overlay are already working without a problem?

Thanks
Comment 23 John J. Aylward 2008-01-09 16:04:55 UTC
where is the overlay then? is there a standard location for overlays for tickets of this nature? googling for: gentoo firefox beta overlay didn't return anything useful
Comment 24 Raúl Porcel (RETIRED) gentoo-dev 2008-01-09 16:14:58 UTC
(In reply to comment #23)
> where is the overlay then? is there a standard location for overlays for
> tickets of this nature? googling for: gentoo firefox beta overlay didn't return
> anything useful
> 
http://overlays.gentoo.org/proj/mozilla
Comment 25 John J. Aylward 2008-01-09 17:35:52 UTC
OK, I got firefox from the overlay installed using the xulrunner use flag. upon revdep-rebuild, the XUL runner update breaks gnome-extra/yelp-2.20.0

with the xulrunner use flag (on gnome-extra/yelp-2.20.0), I get this error:
yelp-gecko-services.cpp: In static member function ‘static nsresult PrintListener::SetPrintSettings(YelpPrintInfo*, PRBool, nsIPrintSettings*)’:
yelp-gecko-services.cpp:301: error: ‘class nsIPrintSettings’ has no member named ‘SetPaperSize’
make[3]: *** [yelp-yelp-gecko-services.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/portage/gnome-extra/yelp-2.20.0/work/yelp-2.20.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/gnome-extra/yelp-2.20.0/work/yelp-2.20.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/gnome-extra/yelp-2.20.0/work/yelp-2.20.0'
make: *** [all] Error 2


without xulrunner use flag (on gnome-extra/yelp-2.20.0) I get this error:
checking whether we have a gtk 2 gecko build... configure: error: This program needs a gtk 2 gecko build

should I open a bug for this or no since it's caused by an overlay?
Comment 26 Raúl Porcel (RETIRED) gentoo-dev 2008-01-09 18:03:25 UTC
(In reply to comment #25)
Known issue and afaik it's because yelp is not compatible with xulrunner-1.9.

Comment 27 Robert Piasek (RETIRED) gentoo-dev 2008-01-14 08:56:37 UTC
(In reply to comment #22)
> Can you please stop adding useless stuff when the ebuilds in the overlay are
> already working without a problem?
> 
> Thanks
> 

Is it possible for mozilla overlay team to update ebuild to use slot 3 for FF3? It's still a bit inconvenient to use it as a default browser as some packages fail to build against FF3 and some website doesn't work (check www.dabs.com on FF3 ;))
Comment 28 Raúl Porcel (RETIRED) gentoo-dev 2008-02-14 14:13:53 UTC
(In reply to comment #27)
> 
> Is it possible for mozilla overlay team to update ebuild to use slot 3 for FF3?
> It's still a bit inconvenient to use it as a default browser as some packages
> fail to build against FF3 and some website doesn't work (check www.dabs.com on
> FF3 ;))
> 

That would need firefox to be slotted, and it's really hard to do...
Comment 29 Raúl Porcel (RETIRED) gentoo-dev 2008-04-08 20:18:20 UTC
beta5 added