Differences between revisions 3 and 4
Revision 3 as of 2007-09-13 18:50:01
Size: 1032
Editor: OndrejCertik
Comment:
Revision 4 as of 2007-09-13 18:58:08
Size: 1391
Editor: OndrejCertik
Comment:
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:

== How to get the orig tarball ==

If the package uses the `watch` file:
{{{
uscan --force-download
}}}
Some packages need to great the dfsg tarball:
{{{
debian/rules get-orig-tarball
}}}
see `debian/rules` for details, usually it will download the original upstream tar.gz from the web, unpack it, deletes non-free stuff and pack it again.
}}}

Create a project

Substitute your alioth name for "certik-guest":

svn mkdir svn+ssh://certik-guest@svn.debian.org/svn/python-apps/packages/mayavi2
svn mkdir svn+ssh://certik-guest@svn.debian.org/svn/python-apps/packages/mayavi2/trunk
svn co svn+ssh://certik-guest@svn.debian.org/svn/python-apps/packages/mayavi2/trunk mayavi2
cd mayavi2

Put your debian directory here and all the other files

mkdir debian   #put other files in there
svn add debian
svn propset mergeWithUpstream 1 debian
svn ci

Build the package

svn co svn+ssh://certik-guest@svn.debian.org/svn/python-apps/packages/mayavi2/trunk mayavi2
cd mayavi2

Get the orig tarball and put it to ../tarballs. Then

svn-buildpackage -rfakeroot

Hint: put

alias svn-b='svn-buildpackage -rfakeroot --svn-ignore-new  -uc -us'

into your ~/.bashrc and use the svn-b command to build the package with local modification and without signing, to test, that everything works, before a commit.

How to get the orig tarball

If the package uses the watch file:

uscan --force-download

Some packages need to great the dfsg tarball:

debian/rules get-orig-tarball

see debian/rules for details, usually it will download the original upstream tar.gz from the web, unpack it, deletes non-free stuff and pack it again. }}}