The source code for MozillaFirebird 0.6 is now available, so it looks like we can dump the old phoenix-bin ebuild these days (if desired). I'll attach a fixed version of the source ebuild that Roberto Rivera attached to bug 21145 (which is supposed to be discussing the binary ebuild only, it looks like).
Created attachment 12124 [details] Mozilla Firebird source ebuild This ebuild installs a binary named MozillaFirebird into the /usr/bin dir. It installs the bulk of the files into /usr/lib/MozillaFirebird. Since the binary release of firebird is build to use the ~/.phoenix dir, I have also left this directory as the user-appdir. Fixed compared to Roberto Rivera's version include: - Removing a few unneeded vars (such as MY_PV1). - Setting the MOZ_PHOENIX var (the MOZ_FIREBIRD var does not do anything). - Removing the unneeded src_unpack() function.
Copying my source-specific comment from http://bugs.gentoo.org/show_bug.cgi?id=21145 Source-ebuild does not compile here. <snip> gcc -o jsemit.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/var/tmp/portage/MozillaFirebird-0.6-r1/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=pentium4 -O3 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsemit.pp jsemit.c jsdtoa.c: In function `JS_strtod': jsdtoa.c:1874: unable to find a register to spill in class `AREG' jsdtoa.c:1874: this is the insn: (insn:QI 1996 1995 1997 (set (reg:CCNO 17 flags) (compare:CCNO (and:SI (subreg:SI (reg/v:DI 21 rxmm0 [284]) 0) (const_int 1 [0x1])) (const_int 0 [0x0]))) 281 {testsi_1} (insn_list 1992 (nil)) (expr_list:REG_DEAD (reg/v:DI 21 rxmm0 [284]) (nil))) jsdtoa.c:1874: confused by earlier errors, bailing out gmake[3]: *** [jsdtoa.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/var/tmp/portage/MozillaFirebird-0.6-r1/work/mozilla/js/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/MozillaFirebird-0.6-r1/work/mozilla/js' gmake[1]: *** [tier_2] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/MozillaFirebird-0.6-r1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/MozillaFirebird-0.6-r1 failed. !!! Function src_compile, Line 136, Exitcode 2 !!! (no error message) </snip> This will be the cause: http://lunar-linux.org/pipermail/lunar/2003-February/000615.html <snip> Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4) ================================================================= System uname: 2.4.20-xfs-r3 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/portage.local" USE="x86 oss apm crypt cups gif jpeg libwww mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline aalib svga java guile mysql X sdl gpm tcpd pam ssl python esd imlib oggvorbis gtk qt motif opengl cdr sse sse2 -3dnow pcmcia pnp trusted pda gphoto2 dga fbcon -gnome libg++ tcltk tiff alsa dvd ggi mozilla xml perl samba -doc -kde xfs gtkhtml encode avi mpeg -arts gtk2 usb ethereal" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox" </snip> What should the ebuild do with march=pentium4 ?
Sorry, just seen it should be fixed. Will try it later.
small typo (big effect): ["$(gcc-minor should be: [ "$(gcc-minor
For comment #2 ... you could also try with -march=pentium4 if you update gcc to 3.2.3, as it at least fix the long outstanding issues with floating point math in glibc (make check runs fine). I unfortunately did not test this with mozilla yet.
Is there any chance of getting a CVS-ebuild anytime soon? Or should I maybe try to make one from the old phoenix-cvs
Okay. Merged and runs fine. What we need is a script for /usr/bin or anywhere to get the thingie started from outside /usr/lib/MozillaFirebird. Besides: the script should handle the remote call for opening a new window/tab with a specified url. Example here: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&safe=off&th=88d64471b18c6392&seekm=20021207132050.6266cfdf.nooze%40clevername.homeip.net&frame=off
The old script to run it located at /usr/portage/net-www/phoenix-bin/files/phoenix-opt or /usr/portage/net-www/phoenix-cvs/files/phoenix can be renamed suitably and reused. It works nicely for starting the browser and opening new instances.
The ebuild attached to this bug contains the /usr/bin script in the files dir and installs it as a part of the ebuild. (The script is named MozillaFirebird.)
I have a binary ebuild that I will submit to portage in a little while. It works great but blackdown java plugin is currently broken. Maybe someone know about this problem? I found a java binary at the mozillafirebird site that works fine for the plugin. I would need to junk the old blackdown java though.. anyways let me know. I will make a new bug for the ebuild if this is a popular idea but running outta time at the moment. Let me know :-) naz
Michael: The binary ebuild is bug 21145, so you can skip creating a new bug report and just contribute to that one.
Perhaps I'm picky but I think the ebuild and files should be all lowercase. Also could you attach the files individually as text instead of tarring them up?
Merges and runs fine on my ppc system with gtk2 and java. One minor gripe is that the Makefiles in the security subdirectory don't respect the CC environment variable (I set CC='powerpc-unknown-linux-gnu-gcc' to cross-compile from x86 via distcc, the when the build got to the security subdirectory, CC was set back to gcc, so I ended up with some x86 object files which broke the build, took ages to fix it up, not your fault but have to complain somewhere :s) . . .
Goto portage? Name change? mozilla-firebird?
Stealing this from Azarah ;) Hope he doesn't mind
Committed mozilla-firebird to the tree earlier today, based on phoenix-cvs ebuild and a few pointers taken from here as well. Be sure to make a note of any problems you may encounter. Thanks for the input!
A few minor nits I noticed: The RDEPEND section has "!net-www/MozillaFirebird-bin" in it. I assume this should be changed to "!net-www/mozilla-firebird-bin". The ebuild is missing a "$Header: $" line. The ChangeLog mentions net-misc/efac. Other than that, it looks good. Thanks for the commit.
Good eye, thanks.
Please refer to bug 22197 for another small issue with this package.