몰디브를 꿈꾸며...

GTK on DirectFb 본문

리눅스

GTK on DirectFb

노란채송화 2009. 6. 24. 17:54

. enable framebuffer

grub 부트로더에 "vga = 788"을 추가하면 부팅시 framebuffer가 활성화 된다

[root@localhost ~]# vi /boot/grub/menu.lst

grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup02/LogVol00
# initrd /initrd-version.img
#boot=/dev/sdb
default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=705a1995-ff71-4b9f-b
6a4-14cee8b577f8 rhgb quiet vga=788
initrd /initrd-2.6.27.5-117.fc10.i686.img

붉은색 글자처럼 추가해주면 된다

. directfb 설치:

DirectFB-1.4.0

./configure --prefix=/usr

make && make install

. cairo 설치

. cairo-1.8.6

configure --prefix=/usr --enable-directfb --disable-xlib --disable-win32
make && make install

.pango 설치

. pango-1.24.3

./configure --prefix=/usr --without-x
make
make install

. atk 설치

. atk-1.26.0 다운

./configure --prefix=/usr

make && make install

. gtk 설치

'http://ftp.gnome.org/pub/gnome/sources/gtk+/'에서 다운로드

gtk+-2.15.5

./configure --prefix=/uar --with-gdktarget=directfb --without-x --without-libjasper
make && make install

demos/gtk-demo 에 있는 gtk-demo를 실행하여 정상적으로 화면으로 출력되면 성공.

. 참고 사이트

http://miraepa.tistory.com/28

http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB

http://www.directfb.org/wiki/index.php/Building_DirectFB

Comments