OWB SDK Environment

Basic Install

  • Download the environment
  • Check archive integrity:
    md5sum -c haineko2.tar.bz2.digests
    sha1sum -c haineko2.tar.bz2.digests
    
  • Unpack the environment with the following command:
    sudo tar xjvfp haineko2.tar.bz2 
    
    Note: this will unpack the environment in your current directory.
  • Login into the environment as a normal user:
    ./env_login.sh 
    
  • Now, you can install the browser:
    emerge owb
    

OWB build options

To see available build options, simply do:

emerge --pretend owb

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] www-client/owb-0.1  USE="icu javascript truetype -debug -static -web-ui" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

In this case, you will build a stripped OWB with shared libraries, freetype font engine and javascript support. If you want statically linked browser with fixed font support, you have 2 solutions:

  • Type the following command:
    USE="static -truetype" emerge owb
    
  • Edit /etc/portage/package.use file and add the following line:
    www-client/owb static -truetype
    
    Save and quit and do:
    emerge owb
    

Note: after merging the package sources are not removed and can be found in /var/tmp/portage/owb-1.0_alpha/work/trunk/ directory. The source tarball can be found in /usr/portage/distfiles/.

SVN version

emerge owb-svn

Note: Clean sources can be found in /usr/local/src/owb/trunk/ directory.

OWB runtime

OWB graphics reference implementation is based on SDL. You can either run the browser in framebuffer or in X.

You will need to set SDL_VIDEODRIVER environment variable.

  • For framebuffer:
    export SDL_VIDEODRIVER=fbcon
    
  • For X:
    export SDL_VIDEODRIVER=x11
    export DISPLAY=:0
    
    and do an
    xhost +
    
    outside from the environment.

Now simply run owb.

If you want to visit DirectFB website, run: owb http://www.directfb.org/.
Note: <Backspace> is bound to go back in history.

An introduction to emerge and portage
USE flags FAQ