GSoC/GCI Archive
Google Code-in 2012 Haiku

Add a file type for XAR archives

completed by: skycocker

mentors: Philippe Saint-Pierre, Jérôme Duval, mmu_man, Philippe Houdoin, Siarzhuk Zharski

The goal of this task is the addition of the filetype for XAR archives to the Haiku mime database. This is a coding task, for this task you will need to have a Haiku build environment setup, and be able to compile Haiku to test to see if your addition works. The patch should add a file src/data/beos_mime/application/x-xar. With the addition, Haiku should be able to recognize XAR archives whatever their names are.


  • Install Haiku either on real hardware or in Virtual Machine (BTW, I can assist installing VirtualBox so it is obviously recommended by me);
  • Take familiar with the problem you should fix;
  • Get the Haiku source tree build it and find solution to fix the problem;
  • After completing this task, please provide me with the patch implementing the addition.


Haiku Alpha A4.1 (required developer tools are included)

Getting and building Haiku sources:

XAR wikipedia page:

Good luck!