..
Table Of Contents
   
     
Learning All About Haiku
 
 
     
Installing Haiku Within VirtualBox
 
  • you must select the E1000 network adapter in VirtualBox if you want Haiku to detect your network card
 
     
Developer Sites And Documents
 
 
     
Your First Haiku Build
 
  • Assumptions:
    1. You must have Haiku R1/A1 from September 14 2009 up and running already
  • Getting the source code:
    1. click on the blue feather in top right, and select Applications->Terminal
    2. type: cd ~/
    3. type: svn checkout http://svn.haiku-os.org/haiku/haiku/trunk haiku/trunk
      1. more details on svn checkout: http://www.haiku-os.org/guides/building/get-source
      2. more details on source tree layout: http://www.haiku-os.org/documents/dev/a_brief_introduction_to_our_source_repository_layout
      3. before the repository location was moved on 2009-Oct-04, the old command would have been: svn checkout svn://svn.berlios.de/haiku/haiku/trunk haiku/trunk
    4. type: cd ~/haiku/trunk
    5. type: dir
      1. note the general directory layout -- in particular, note the src directory
  • Preparing the source tree (you only have to do this once):
    1. type: cd ~/haiku/trunk
    2. type: ./configure
  • Building the source tree:
    1. type: cd ~/haiku/trunk
    2. type: jam -q haiku-cd
      1. running this command on my system with 4 virtual CPUs in VirtualBox v3.0.6 to match the 4 physical CPUs took exactly the same amount of time (136 minutes) whether or not I ran jam -j -q haiku-cd or jam -q haiku-cd
    3. type: dir generated/haiku-cd.iso
      1. .iso should be about 116M in size
      2. copy it to your host, shutdown Haiku, and reboot with this .iso; install it
      3. when you reboot haiku after the installation, click on Deskbar -> About This System to confirm the version number
 
     
Things To Look Into
 
  • Sisong IDE
  • Daiku IDE
  • HIDE
  • Paladin (IDE)
    1. download Paladin 1.1.0 from BeBits
    2. save to the file Paladin1.1.0.pkg.zip to the desktop
    3. double-click to expand the file to Paladin1.1.0.pkg
    4. double-click the .pkg file to install it
    5. open up the Haiku drive icon and navigate to /boot/apps/Paladin
    6. right-mouse-click on the Paladin executable and select Create Link -> Desktop
  • NUIE (IDE)
 
     
Your First Haiku Application
 
 
     
Class Hierarchy
 
  • I started working on an application to parse the .h files and produce a GraphViz diagram showing class inheritance; it is still a work-in-progress, but here are the results
 
     
VirtualBox Mouse Driver
 
  • the following are notes only, as I don't yet know what is necessary for getting the mouse driver working:
  • in VirtualBox, click on Devices -> Install Guest Additions, or download the .iso
  • copy the guest additions file onto the hard drive and extract the contents:
    1. mkdir vb
    2. cd vb
    3. cp /VBOXADDITIONS_3.0.6_52128/VBoxLinuxAdditions-x86.run .
    4. chmod a+x VBoxLinuxAdditions-x86.run
    5. ./VBoxLinuxAdditions-x86.run --noexec --keep
  • download the entire VirtualBox source tree:
    1. svn co http://www.virtualbox.org/svn/vbox/trunk vbox
    2. see files such as vbox/src/VBox/Additions/x11/vboxmouse/*
  • Michael Thayer at Sun.com answered my questions about where to get started