Hi folks,

I am building some static applications for a Zipit Z2 using
DirectFB-1.4.2.  I am having pretty good successes, including getting
a graphical links2 running.  However ... everything comes out
"sideways" because of the way that the device was built.

I need to rotate *everything* that I build against DirectFB -90
degrees.  It seems that modern builds of DirectFB support rotation,
however I can't find any documentation that tells me how to do it.
Does this get done somewhere in the code before DirectFB is built?  Or
- do I somehow have to pass this option to the binary that I am
building *against* DirectFB?

Could someone give me a clue, or point me to a resource that would
tell me how to do this?

Here is an example of a compiled version of links that works (albeit
"in portrait display).

gcc  -g -O2  -o links  af_unix.o auth.o beos.o bfu.o block.o
bookmarks.o cache.o charsets.o connect.o cookies.o default.o \
dip.o directfb.o dither.o dns.o drivers.o error.o file.o finger.o
font_include.o framebuffer.o ftp.o gif.o html.o html_gr.o \
html_r.o html_tbl.o http.o https.o img.o imgcache.o jpeg.o jsint.o
kbd.o language.o links_icon.o listedit.o lru.o mailto.o \
main.o menu.o memory.o objreq.o os_dep.o pmshell.o png.o sched.o
select.o session.o smb.o svgalib.o terminal.o tiff.o types.o \
url.o view.o view_gr.o x.o xbm.o  -ljpeg -L/usr/local/lib -lpng12
-lz -L/usr/local/lib -ldirectfb -lfusion -ldirect \
-lpthread -lz -L/usr/local/ssl/lib -lssl -lcrypto -ldl -lm \
/usr/local/lib/directfb-1.4-0/systems/libdirectfb_fbdev.o \
/usr/local/lib/directfb-1.4-0/wm/libdirectfbwm_default.o \
/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.o
-lfreetype \
/usr/local/lib/directfb-1.4-0/inputdrivers/libdirectfb_linux_input.o \
/usr/local/lib/directfb-1.4-0/inputdrivers/libdirectfb_keyboard.o \
/usr/local/lib/directfb-1.4-0/gfxdrivers/libdirectfb_neomagic.o \
-L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread -ldl -lz -static

Thanks in advance for any advice offered!  And also thanks for the
great work on DirectFB.  It's a work of genius.
-- 
Ray Dios Haque
ODDREE Editor
http://www.oddree.com
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to