跨浏览器插件框架FireBreath安装与使用之Mac下的插件
2013-09-16 17:34
239 查看
Requirements
CMake
version 2.8.8 or later, from http://www.cmake.org/cmake/resources/software.html.
Make sure to grab the Binary distribution (cmake-ver-Darwin[64]-universal.dmg).
Apple's Xcode,
available from your Mac App Store.
Xcode's Command-Line Tools.
To get these, first install Xcode. Then launch Xcode and click in the menu: Xcode ▸ Preferences ▸
Downloads. Select "Command Line Tools" and press 'Install'.
Git
Download url:
https://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCount
Get the source
First thing is to get the source code.
To get a copy of the source, see
http://www.firebreath.org/display/documentation/Download
A good video tutorial : http://www.firebreath.org/display/documentation/Old+Mac+Video+Tutorial
Generate and building your own project files
1. cd firebreath-dev
2. git submodule update --init --recursive
3. ./fbgen.py
4. mv projects/ ..
5. cd ..
6. cd projects/
7. cd huobanPlugin(your plugin name)/
8. git init
9. git add *
10. git commit -m "Initial commit of new plugin"
11. cd ..
12. cd ..
13. ./firebreath-dev/prepmac.sh projects/ build/
14. open build/FireBreath.xcodeproj/ 编译工程
Installing your plugin
1. cd build/
2. cd projects/
3. cd huobanPlugin/
4. cd Debug/
5. cd ~/Library/Internet Plug-Ins
6. ln -s /Users/huoban/ningxia/build/projects/huobanPlugin/Debug/huoban\ Plugin_x86_64.plugin
7. cd /Users/huoban/ningxia/build/projects/huobanPlugin/Debug/
8. cd ..
9. cd gen/
10. open FBControl.htm
在Chrome的地址栏中输入chrome://plugins/可查看插件的详细信息
That's the end.
Reference
http://www.firebreath.org/display/documentation/Building+on+Mac+OS+X#BuildingonMacOSX-BuildingtheFireBreathPlugin
http://www.firebreath.org/display/documentation/Creating+a+New+Plugin+Project
http://www.firebreath.org/display/documentation/Old+Mac+Video+Tutorial
CMake
version 2.8.8 or later, from http://www.cmake.org/cmake/resources/software.html.
Make sure to grab the Binary distribution (cmake-ver-Darwin[64]-universal.dmg).
Apple's Xcode,
available from your Mac App Store.
Xcode's Command-Line Tools.
To get these, first install Xcode. Then launch Xcode and click in the menu: Xcode ▸ Preferences ▸
Downloads. Select "Command Line Tools" and press 'Install'.
Git
Download url:
https://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCount
Get the source
First thing is to get the source code.
To get a copy of the source, see
http://www.firebreath.org/display/documentation/Download
A good video tutorial : http://www.firebreath.org/display/documentation/Old+Mac+Video+Tutorial
Generate and building your own project files
1. cd firebreath-dev
2. git submodule update --init --recursive
3. ./fbgen.py
4. mv projects/ ..
5. cd ..
6. cd projects/
7. cd huobanPlugin(your plugin name)/
8. git init
9. git add *
10. git commit -m "Initial commit of new plugin"
11. cd ..
12. cd ..
13. ./firebreath-dev/prepmac.sh projects/ build/
14. open build/FireBreath.xcodeproj/ 编译工程
Installing your plugin
1. cd build/
2. cd projects/
3. cd huobanPlugin/
4. cd Debug/
5. cd ~/Library/Internet Plug-Ins
6. ln -s /Users/huoban/ningxia/build/projects/huobanPlugin/Debug/huoban\ Plugin_x86_64.plugin
7. cd /Users/huoban/ningxia/build/projects/huobanPlugin/Debug/
8. cd ..
9. cd gen/
10. open FBControl.htm
在Chrome的地址栏中输入chrome://plugins/可查看插件的详细信息
That's the end.
Reference
http://www.firebreath.org/display/documentation/Building+on+Mac+OS+X#BuildingonMacOSX-BuildingtheFireBreathPlugin
http://www.firebreath.org/display/documentation/Creating+a+New+Plugin+Project
http://www.firebreath.org/display/documentation/Old+Mac+Video+Tutorial
相关文章推荐
- Mac SublimeREPL 插件安装使用及解决各种坑
- 在Mac上使用vundle自动安装vim插件,并用vim代替sourceinsight
- Intellij IDEA findbugs 插件 下载、安装、使用详解(2017年实测mac和windows都可用)
- Mac使用Sublime Text安装插件前提
- 使用Mac OS X自带的Vim安装使用Command-T插件
- MAC下安装twisted, 并设置为eclipse插件使用
- 最佳 WordPress 静态缓存插件 WP Super Cache 安装和使用(转)
- 详述IntelliJ IDEA插件的安装及使用方法(图解)
- Mac OS X 下安装使用 Docker(旧方法,但有助于理解一些理论)
- Cacti的插件安装及简单使用
- PhoneGap 3 在 Mac 上安装使用
- sbt intellij idea插件 安装及使用 sbt gen-idea命令
- MyEclipse使用总结——MyEclipse10安装SVN插件
- MAC-Zsh安装与使用——终极Shell
- elk安装及使用二(elasticsearch的简单使用及插件的安装)
- MAC上反编译android apk---apktool, dex2jar, jd-jui安装使用(含手动签名)
- mac下安装node.js6 ,【并使用zsh】
- 【iOS发展-49】的插件-插件该文档的凝视VVDocumenter安装与使用
- MyEclipse使用总结——MyEclipse10安装SVN插件
- INNO安装卸载自动结束进程插件使用