当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 关于fox plus
帖子发表于 : 2007-05-13 12:28 

注册: 2007-04-01 8:36
帖子: 125
送出感谢: 0 次
接收感谢: 0 次
以前在XP下(有时还用)用firefox plus替代ie,在linux下也想弄成foxplus
从http://www.foxplus.org/all.php
下了Firefox Plus 2.0.0.3 Linux i686(tar.gz)
发觉不会装,不是源码的,解压后是一个文件夹+一个程序,直接运行出错,
又不能装,咋办?

foxplus脚本:
代码:
#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH

VERSION="2.0.0.3"
BUILD_DATE="070327LINUX"

appid=FoxPlus
appbin=firefox

userpref="$HOME/.$appid/Profiles"

apppathbase=$PWD
apppath="$apppathbase/App"

p_userbase="$apppath"
p_userpref="$p_userbase/profile"

firefoxbinbase="$apppath/firefox"
firefoxbin="$firefoxbinbase/$appbin"

startupparm=""

function check_profile_dir {
   if [ ! -d "$userpref" ]; then
      mkdir -p "$userpref"
      chmod 777 "$userpref"
      cp -r "$p_userpref/"* "$userpref/"
      startupparm="http://stat.verycd.com/clients/firefox?version=${BUILD_DATE}&operate=install"
   fi
}

function cp_user_js {
   cp "$p_userpref/user.js" "$userpref/user.js"
}

function start_firefox {
    if [ "$startupparm" = "" ]
    then
       sh "$firefoxbin" -profile "$userpref"
   else
       sh "$firefoxbin" "$startupparm" -profile "$userpref"
   fi
}

check_profile_dir
cp_user_js
start_firefox
exit 0


最后由 swordfish 编辑于 2007-05-13 12:31,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-05-13 12:30 
头像

注册: 2005-08-17 19:20
帖子: 662
送出感谢: 0 次
接收感谢: 0 次
看readme或install,如果没有看看下载页上是否有依赖关系


_________________
生如夏花之绚丽,死如秋叶之静美


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-05-13 12:32 

注册: 2007-04-01 8:36
帖子: 125
送出感谢: 0 次
接收感谢: 0 次
readme:

代码:
For information about installing, running and configuring Firefox
including a list of known issues and troubleshooting information,
refer to: http://getfirefox.com/releases/


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-05-13 12:42 

注册: 2007-04-01 8:36
帖子: 125
送出感谢: 0 次
接收感谢: 0 次
上firefox观望看了看:
http://www.mozilla.com/en-US/firefox/2. ... easenotes/


代码:
his directory contains Solaris builds of the Firefox 2.0.0.3,
which are contributed by SUN Desktop Beijing Team. If you have
any problem with these builds, please send email to
desktop dash discuss at opensolaris dot org


Installation:
-------------
* Tarball format

Extract the tarball to a proper location[1]
$ bzip2 -dc <tarball basename>.tar.bz2 | tar -xf -

[1]: Make sure there is no firefox directory there before you
extract the tarball, it's not recommended to just overwrite the old
firefox directory.

* Pkgadd format

1, First uncompress the zip file
$ bzip2 -d <zip file basename>.bz2
You will get a package datastream file named <zip file basename>

2, Install the package as root
# pkgadd -d ./<zip file basename>
The default install location would be /opt/sfw/lib/firefox


To Enable Java:
---------------
cd /path/to/<install location>/plugins
ln -s /path/to/<java plugin install location>/libjavaplugin_oji.so

On Solaris 10, Java plugin is probably located at
/usr/java/jre/plugin/<sparc|i386>/ns7/libjavaplugin_oji.so
On Solaris 8/9, it's probably located at
/usr/j2se/jre/plugin/<sparc|i386>/ns610/libjavaplugin_oji.so


To Enable Flash/Shockwave:
--------------------------
1, Download the Flash/Shockwave plugin from
http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Intel&P3_Browser_Version=Netscape4&P5_Language=English

2, Extract the tarball and place the files under
/path/to/<install location>/plugins


To Run The Application:
-----------------------
a, Execute the application by specifying the absolute path
$ /path/to/<install location>/firefox

b, Add <install location> to your PATH and execute "firefox"

c, Add the desktop file and start from menu(pkgadd format only)
# cat >/usr/share/applications/firefox.desktop<<EOF
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Exec=/path/to/<install location>/firefox
TryExec=/path/to/<install location>/firefox
Icon=/path/to/<install location>/icons/mozicon50.xpm
X-GNOME-DocPath=
Terminal=false
Name=Firefox
GenericName=Firefox
Comment=Firefox
Categories=Application;Network;
EOF


Troubleshooting:
----------------

* For Solaris 8 builds, you need to install GTK 1.2 library.
You can get the GTK 1.2 libraries from sun.com or sunfreeware.com

* Also for Solaris 8 builds, you may need to install some required
patches.

For example, if you encounter the following error,
ld.so.1: ./firefox-bin: fatal: relocation error: file ./firefox-bin: symbol fmod: referenced symbol not found.

You probably have to install Math Library(libm) patch,
Solaris 5.8 sparc: 111721
Solaris 5.9 sparc: 111722
Solaris 5.8 i386 : 112757
Solaris 5.9 i386 : 111728

You might have more than one libm library installed on your system,
please make sure that you are using the one under /usr/lib.

* If you could not start up the application or encounter some
unexpected crash, try to do this,

1, Rename the profile directory("$HOME/.mozilla" for Mozilla suite,
"$HOME/.mozilla/firefox" for Firefox and "$HOME/.thunderbird" for
Thunderbird)

2, Start up the application without importing anything

     
Build Configuration:
--------------------
* Firefox and Mozilla suite

Start up Mozilla/Firefox that you just installed and type
"about:buildconfig" in the URL field, and then you would see all the
build configurations used for this build.

* Thunderbird

Extract "buildconfig.html" from <install location>/chrome/toolkit.jar,
which records all the build configure information of this build.
$ jar xf /path/to/<install location>/chrome/toolkit.jar \
    content/global/buildconfig.html


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译