Root Page :: Recent Changes :: Search

Windows Programming

Linux Info

Cookbook

Random

UbuntuPatching

Setup

Install tools:

 $ aptitude install pbuilder debhelper devscripts build-essential bzr bzr-debbuild

Make sure you're using the right user credentials

 $ export DEBFULLNAME="John Doe"
 $ export DEBEMAIL="user@example.com"

Work on the patch

Get the source:

 $ apt-get source gnome-panel
 $ bzr get ...

Work on your patch (quilt/cdbs/etc)

Write the changelog

 $ dch -i

The changelog should have comments in the form:

   * debian/patches/99_fix_here.patch:
     - this does something (LP: #123456)

Copy the "debian" changes into the bzr tree

Test build

Build using pbuilder

 $ bzr builddeb --builder pdebuild

Upload

Push up

 $ bzr push lp:~username/project/branch-name
2009-09-15 17:23:25 :: Source :: History :: Backlinks :: Print