Chinaunix首页 | 论坛 | 博客
  • 博客访问: 806607
  • 博文数量: 244
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 2420
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-29 09:07
文章分类

全部博文(244)

文章存档

2011年(4)

2010年(3)

2009年(72)

2008年(119)

2007年(46)

我的朋友

分类: LINUX

2007-12-02 16:05:06

DFBMozilla

From DirectFBWiki

Enlarge




Table of contents []






[]

Status

Update(2006-11-20): A new patch has been released by TATA Elxsi which is having most of the bugs fixed. Visit  () for more information on Mozilla over DirectFB.

A patch to Mozilla for a DirectFB build has been posted to mozilla bug db. Some bugs still exist, but it works. This patch (Mozilla over DFB) has been provided by TATA Elxsi, Bangalore, India for formal acceptance in Mozilla tree. Please visit for detailed information, release notes and updates. The patch is applicable for Firefox, ver 1.5.0.3.

Update(2007-06-15): Folks at TATA Elxsi are also working on Flash Player and Plugin for Mozilla, over DirectFB. GNASH Flash Player has been ported to DirectFB. GNASH Plugin has also been integrated into Mozilla. Libfad flash player on DirectFB has been converted to plugin for Mozilla.

Enlarge
Enlarge

















[]

Purpose

To create a DirectFB native backend for Mozilla. See below for more detailed goals and milestones.

[]

Introduction / Motivation

Many of DirectFBs users seem to developing embedded multimedia applications. Its low level nature, running under linux, the low memory footprint and the many powerful graphics functions make DirectFB a natural choice for such applications.

A common practice for such applications, especially strongly upheld in the new area of 'Enhanced Television', is to create the interfaces for the application using Browser technology. Such interfaces typically make heavy use of JavaScript and Dynamic HTML to enable a familiar user experience for the application.

The use of a browser can also be imagined in many other applications, providing a good motivation to port a browser to DFB. Mozilla, as the Open Source alternative with the most fully developed JavaScript and DHTML support, is the best choice of browser.

[]

Approach

Initial examination and discussion of the code seems to point in the direction of the BeOS or MacOS Mozilla backend being the best starting point for a DFB port.

[]

Goals / Milestones

Possible goals:

  • Gecko display under DFB
  • Mouse control under DFB
  • Firefox for DFB
  • Minimo for DFB
  • Clipboard Support (?)
  • Drag and Drop Support (?)
  • Moving window positions / adjusting sizes from JavaScript
  • Controlling window transparency from JavaScript
  • Controlling video provider from JavaScript
[]

Build Instructions

Make sure you have installed  () first.  () the source, untar it, make and make install. Please read README and mknod /dev/fusion/0 c 252 0 at least.

Get GTKDFB version 2.10.1 and build. Detailed instruction can be found on wiki page of GTKDFB. Then, do as followings:

  1. cd $PREFIX/src
  2. Get  ()
  3. Get the patch for Mozilla 1.5.0.3 and GTKDFB 2.10.1 from  ()
  4. Extract them(in $PREFIX/src, ie. in /usr/gtkdfb/src)
  5. Apply Mozilla patch: cd mozilla; patch -p0
  6. Apply GTKDFB 2_10_1 patch similarly
  7. Create the (For further building options look  ())
  8. make -f client.mk build

Visit  () for detailed information.



参考资料


阅读(809) | 评论(0) | 转发(0) |
0

上一篇:移植minimo

下一篇:手机浏览器

给主人留下些什么吧!~~