I fortunately got help from the Mozilla community and other websites. Many thanks for their support. Well, I enter into the main topics.
1. You will need to go to the URL given below and get the package firefox-4.0b3.en-US.opensolaris-i386-pkg.bz2.
http://releases.mozilla.org/pub/mozilla.org/firefox
/releases/4.0b3/contrib/solaris_pkgadd
2. Then you will need to unzip and install firefox-4.0b3.en-US.opensolaris-i386-pkg.bz2 and the command lines are given below.
# bunzip2 -d firefox-4.0b3.en-US.opensolaris-i386-pkg.bz2
# pkgadd -d firefox-4.0b3.en-US.opensolaris-i386-pkg
3. I referred to the useful website given below and could set up Firefox 4.0 beta3. I deeply appreciate what he has done. The URL and the command lines are given below.
http://baian-space.blogspot.com/2009/06/realplayer-
11-gold-with-opensolaris.html
# cp /opt/sfw/share/applications/firefox.desktop /usr/share/applications
# cp /opt/sfw/share/pixmaps/firefox-icon.png /usr/share/pixmaps
4. Then I referred to the helpful website given below and could add the Java plugin and other plugins into the Mozilla plugins. The URL and the command lines are
given below.
http://opensolaris.org/jive/thread.jspa?messageID=454933
# mkdir /opt/sfw/lib/firefox/plugins
# ln -s /usr/java/jre/lib/i386/libnpjp2.so /opt/sfw/lib/firefox/plugins
# cp /usr/lib/firefox/plugins/* /opt/sfw/lib/firefox/plugins
5. After that, you may localize Firefox 4.0 beta3 for your language environment. I referred to the practical websites given below and would like to express my appreciation to them for their work. I actually went to the URL given below, got firefox-4.0b5pre .ja.langpack.xpi, and modified install.rdf in the .xpi file, or more specifically, changed the value of minVersion into 4.0b3pre. Please relax your caution against tentatively taking my native tongue as an example because this way can be applied in many other languages. The URL and the command lines are given below.
http://forum.mozilla.gr.jp/cbbs.cgi?mode=al2&number=43398&rev=&&KLOG=278
http://d.hatena.ne.jp/kakurasan/20080324/p1
http://www1.plala.or.jp/tete009/software.html#JLPAPPLY
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central-l10n/
$ cd Downloads
$ mkdir work
$ cd work
$ unzip ../firefox-4.0b5pre.ja.langpack.xpi
$ gedit install.rdf
<EXAMPLE>
<em:minVersion>4.0b3pre</em:minVersion>
$ find -print0 | xargs -0 zip -9 ../ja.xpi -@
Now you can localize Firefox 4.0 beta3 for your language environment, adding on ja.xpi to the language pack in Firefox and setting general.useragent.locale, which is the entry in about:config, of ja-JP.
Finally I am happy to assist you to install and set up Firefox 4.0 beta3 on OpenSolaris build 111.
コメントする