Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox 3.1 (alpha) + sun java 1.6.0.10 (beta) [howto]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Thu Jul 17, 2008 9:33 am    Post subject: firefox 3.1 (alpha) + sun java 1.6.0.10 (beta) [howto] Reply with quote

This is just a quick and dirty hack to get firefox 3.1 alpha (nightly trunk - minefield) binary version working. Current stable sun java apparently doesn't work and the beta version of sun java 1.6 update 10 is required (current version is 7). The reason - I find the firefox 3.0 a little unstable to my taste, especially with flash. (Perhaps just my system libraries). Also a little adventurous. Plus adobe flash beta 20080702 has been unstable (some sites like nvidia.com just krash). So here we go.

The firefox part : Just edited the ebuild to comment out all linguas and change the SRC_URI and src_unpack(). Get the modified ebuild, get firefox binary from trunk, and digest it (might require a failed emerge for that) and then emerge it :
Quote:
cd /usr/portage/www-client/mozilla-firefox-bin/
wget http://hirakendu.mooo.com/gentoo/neon-src/portage/portage-delta/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.1.ebuild
ebuild mozilla-firefox-bin-3.1.ebuild digest
emerge mozilla-firefox-bin


The java part : This is a little odd (due to license issues). Get the latest sun java 1.6 update 10 (beta, early access) from
Quote:
http://java.sun.com/javase/downloads/ea.jsp

and use the modified ebuild. The SRC_URI has been removed and src_unpack modified (as license doesnt scroll down to accept). Extract the binary manually. After emerging, go to the plugins folder and remove link javaplugin.so to libjavaplugin_oji.so, and make a new link to libnpjp2.so :
Quote:
cd /usr/src/
wget http://hirakendu.mooo.com/gentoo/neon-src/distfiles/main/jdk-6u10-beta-linux-i586.bin
sh jdk-6u10-beta-linux-i586.bin --unpack
cd /usr/portage/dev-java/sun-jdk/
wget http://hirakendu.mooo.com/gentoo/neon-src/portage/portage-delta/dev-java/sun-jdk/sun-jdk-1.6.0.10.ebuild
ebuild sun-jdk-1.6.0.10.ebuild digest
emerge sun-jdk
cd /usr/lib/nsbrowser/plugins/
rm javaplugin.so
ln -s /opt/sun-jdk-1.6.0.10/jre/lib/i386/libnpjp2.so .


Also try netscape-flash beta 20080702 (in portage). Uses hardware 3d accel for playback apparently. Translucent menus now work without overlapping (try using the drop down menu in http://www.macromedia.com/software/flash/about/). Some websites may be slow though (nvidia.com, yahoo.com for example).

Of course, firefox trunk (minefield) keeps updating automatically (perhaps too frequently). Enjoy the goodies in acid3 (http://acid3.acidtests.org/).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum