This page will used to store available information and links which will help to build diaspora and its dependencies for Debian.
We hang out at #debian-diaspora (on OFTC), so come there if you have any questions. Regular meetings will take place every Saturday at 8:00pm IST; 14:30 hours GMT.
Dependency graph - http://people.debian.org/~boutil/diaspora/ (take the latest)
Progressbar - http://vps.aneesh.nl/diaspora.html
Status updates https://joindiaspora.com/tags/debian-diaspora
Note: Feel free to improve these steps/notes. Add links to more documentation when anything is not clear.
Step 0 - Introduction
Diaspora is written in Ruby language using Rails framework. Diaspora uses many existing ruby libraries and these libraries are distributed as gems. So we need to package all depending gems to package diaspora.
Though rubygems itself is a package familiar with ruby developers, we want to provide single method via debian tools (apt/synaptic/software center) for debian users, similar to software written in every other language, so they don't have to learn how each language community distributes their packages.
If you are familiar with C programming you would know the first line of most C programs,
stdio.h is provided by the standard C library (glibc in most GNU/Linux distributions). It provides functions like printf and scanf. Similarly in Ruby, libraries are included by a line like,
It means that particular Ruby program (.rb file) can now use functions provided by rspec library (similar to how you use printf and scanf functions in your C program).
Step 1 - Select a Gem
Choose a gem to package from latest pdf file from http://people.debian.org/~boutil/diaspora/ (it has a graph of all dependencies for diaspora). If it has a dependency select that first.
Check if it is already packaged in debian. Search for the package from http://www.debian.org/distrib/packages#search_packages
Check if it is already being worked on by someone else from http://wnpp.debian.net
Note 1: Remember to select ITP from the list and give your gem name as project
Note 2: Debian package names uses '-' instead of '_', prepended with ruby-, unless it is an application (in opposition with libraries, ex: cucumber, rake)
Step 2 - Build a debian package
ITP - say you're going to package something
Initial Build with gem2deb - try building it
ruby tests - make sure you run the tests
basic quilt - if you want to change any upstream files
pbuilder - make sure it builds cleanly (to check it has correct build dependencies)
gitorious - push the code into team repo (temporary till you get access to pkg-ruby-extras repo on alioth)
upload to mentors - upload it to mentors for sponsors
RFS - request someone to upload your package to debian