Chinaunix首页 | 论坛 | 博客

=.=

  • 博客访问: 139342
  • 博文数量: 50
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 550
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-25 17:22
文章分类

全部博文(50)

文章存档

2010年(7)

2009年(43)

我的朋友

分类: 嵌入式

2009-09-27 23:33:51

系统模块:


/usr/local/dfbgtk/lib/directfb-1.1-0-pure/
下的所有东东(只要动态库,.la 等配置文件删除掉)
拷贝到
开发板的对应目录

字体模块:


/usr/local/dfbgtk/etc/font
下的东东拷贝到
开发板上的对应目录

输入模块:
因为没有完成,所以空缺,但是如果完成的话就是把编译好的.so文件放到
开发板的
/usr/local/dfbgtk/lib/directfb-1.1-0-pure/inputdrivers


directfb配置:

在开发板根目录下创建.directfbrc文件,并写入以下配置信息:

sync
#debug
depth=16
no-vt-switch
no-hardware
#
# WM/System
#wm           = sawman
system    = fbdev
#video-phys = 87000000
#video-length = 16777216

#
# Use 640x480 by default (all visible)
mode = 320x234
pixelformat=RGB16
#
# Shared Memory Mount Point
tmpfs = /tmp

#
# Disable Cursor
#no-cursor

#
# Disable Layer Initialization
#no-init-layer = 0

#
# Graphics Layer
#init-layer        = 0
#layer-size        = 720x576
#layer-format    = RGB16
#layer-stacking = middle,upper
#layer-bg-color = 000000
#layer-src-key     = 000000
#layer-buffer-mode = backvideo

#
# Video Layer
#init-layer        = 1
#layer-size        = 720x576
#layer-format    = UYVY
#layer-stacking = lower
#layer-bg-color = 0000ff
#layer-buffer-mode = frontonly
#layer-bg-image = /usr/local/share/images/bg_flower.jpg

#
# Scaling
#smooth-upscale
#smooth-downscale

#
# Debug domains
#debug = Davinci/OSD
#debug = LiTE/Window
#debug = SaWMan/Auto
#debug = Core/GraphicsOps
#debug = Core/Layers
#debug = Core/Surfacei

bg-image = 1.jpg

具体配置可以根据此文章进行修改

pango 配置:


开发板的 /usr/local/dfbgtk/etc/pango
创建
pango.modules

# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/local/dfbgtk/lib/pango/1.6.0/modules
#
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so devaScriptEngineFc PangoEngineShape PangoRenderFc devanagari:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so bengScriptEngineFc PangoEngineShape PangoRenderFc bengali:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so guruScriptEngineFc PangoEngineShape PangoRenderFc gurmukhi:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so gujrScriptEngineFc PangoEngineShape PangoRenderFc gujarati:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so oryaScriptEngineFc PangoEngineShape PangoRenderFc oriya:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so tamlScriptEngineFc PangoEngineShape PangoRenderFc tamil:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so teluScriptEngineFc PangoEngineShape PangoRenderFc telugu:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so kndaScriptEngineFc PangoEngineShape PangoRenderFc kannada:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so mlymScriptEngineFc PangoEngineShape PangoRenderFc malayalam:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-fc.so sinhScriptEngineFc PangoEngineShape PangoRenderFc sinhala:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-arabic-lang.so ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-tibetan-fc.so TibetanScriptEngineFc PangoEngineShape PangoRenderFc tibetan:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-syriac-fc.so SyriacScriptEngineFc PangoEngineShape PangoRenderFc syriac:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-khmer-fc.so KhmerScriptEngineFc PangoEngineShape PangoRenderFc khmer:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc latin:* cyrillic:* greek:* armenian:* georgian:* runic:* ogham:* bopomofo:* cherokee:* coptic:* deseret:* ethiopic:* gothic:* han:* hiragana:* katakana:* old-italic:* canadian-aboriginal:* yi:* braille:* cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* glagolitic:* cuneiform:* phoenician:* common:
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-thai-fc.so ThaiScriptEngineFc PangoEngineShape PangoRenderFc thai:* lao:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-hangul-fc.so HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-arabic-fc.so ArabicScriptEngineFc PangoEngineShape PangoRenderFc arabic:* nko:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-hebrew-fc.so HebrewScriptEngineFc PangoEngineShape PangoRenderFc hebrew:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so gujrIndicScriptEngineLang PangoEngineLang PangoRenderNone gujarati:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so oryaIndicScriptEngineLang PangoEngineLang PangoRenderNone oriya:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so tamlIndicScriptEngineLang PangoEngineLang PangoRenderNone tamil:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so teluIndicScriptEngineLang PangoEngineLang PangoRenderNone telugu:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so kndaIndicScriptEngineLang PangoEngineLang PangoRenderNone kannada:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so mlymIndicScriptEngineLang PangoEngineLang PangoRenderNone malayalam:*
/usr/local/dfbgtk/lib/pango/1.6.0/modules/pango-indic-lang.so sinhIndicScriptEngineLang PangoEngineLang PangoRenderNone sinhala:*
阅读(1093) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~