[Pkg-gnome-maintainers] Using svn-buildpackage

Josselin Mouette josselin.mouette@ens-lyon.org
Wed, 22 Oct 2003 21:57:12 +0200


--=-HSkRWMCjiSnVbf00M+DS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I've begun to play with svn-buildpackage and it is really easy, so I
think everyone should start moving his packages to the repository.

For native Debian packages, this is trivial. Just commit the whole
package in the repository, and run svn-buildpackage -rfakeroot. The
packages appear in ../build-area/.

For packages with an upstream tarball, it is almost as easy. It only
works for packages which just have a debian/ directory, though; that
means using dpatch or cdbs to modify the upstream sources. For such a
package, commit the debian/ directory in the repository. You also need
to set the mergeWithUpstream property so that svn-buildpackage knows it
should look for the .orig.tar.gz:
	svn propset mergeWithUpstream 1 debian
Then, put the .orig.tar.gz file in ../tarballs/. The only restriction is
that it should NOT be a symlink. This is probably a bug in
svn-buildpackage, but currently it has to be a regular file. After that,
running svn-buildpackage -rfakeroot builds the packages in
../build-area/.

Happy subversing!
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

--=-HSkRWMCjiSnVbf00M+DS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/luEXrSla4ddfhTMRAtSmAKDv528xKqr4LIt8lGrZbcg0mKCu0QCfc9py
TQNm+gKf9Ext+WvdgpAeNHQ=
=D5xk
-----END PGP SIGNATURE-----

--=-HSkRWMCjiSnVbf00M+DS--