Packaging
From Caffeine
To create a .deb from caffeine we first get the latest code:
- bzr branch lp:caffeine
Now we create a tarball from it:
- bzr export ~/Desktop/caffeine-x.x.tar.gz (replace the x's with the version number.)
This will create a .tar.gz archive on your desktop. Extract it:
- cd ~/Desktop
- tar -xvf caffeine-x.x.tar.gz
- cd caffeine-x.x
Compile all the translations:
- ./update_translations.py
Update the changelog:
- sudo apt-get install devscripts (Installs dch)
- dch --release (This will open debian/changelog in a text editor, change the description if need be and then close it.)
Finally build the package. A gpg key is required by debuild to sign the package.
- debuild (For a .deb)
- debuild -S -sa (For uploading to a PPA)

