[Pkg-xmpp-commits] [jabberd2] 05/06: Improve README.source.

Simon Josefsson jas at moszumanska.debian.org
Wed Apr 22 13:16:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

jas pushed a commit to branch master
in repository jabberd2.

commit b7e8a7d03e85f9c8ff6cc954a9ca113f27ffa367
Author: Simon Josefsson <simon at josefsson.org>
Date:   Wed Apr 22 15:09:12 2015 +0200

    Improve README.source.
---
 debian/README.source | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index 716eab7..652ed61 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,24 +1,44 @@
+Upstream prepares a couple of deliverables for each release, for
+example https://github.com/jabberd2/jabberd2/releases has the
+following files for 2.3.3:
+
+  jabberd-2.3.3.tar.gz
+  jabberd-2.3.3.tar.xz
+  jabberd-2.3.3.zip ("Source code zip")
+  jabberd-2.3.3.tar.gz ("Source code tar.gz")
+
+The first two files contains the non-free jquery.js file.  The latter
+two files does not.  Unfortunately, the tar.gz filenames are called
+the same, but the content differs.
+
+For Debian packaging, we use the final tarball as the source, thus
+avoiding the need to repackage the upstream source.
+
+For historical reasons however, we still use the git branch
+'upstream+dfsg' for tracking the upstream source code.  See gbp.conf.
+
+---
+
 We describe here one way to work with the package sources.
 
 Initialize cowbuilder:
 
-sudo cowbuilder --create --distribution sid --mirror http://http.debian.net/debian --debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" --basepath /var/cache/pbuilder/base-debian-sid.cow
+git-pbuilder create
 
 Optionally update cowbuilder:
 
-sudo cowbuilder --update --basepath /var/cache/pbuilder/base-debian-sid.cow
+git-pbuilder update
 
 Clone the repository:
 
-git clone git at gitorious.org:gss/jabberd2-dpkg.git
+git clone git://anonscm.debian.org/pkg-xmpp/jabberd2.git
 
 Build the package:
 
-git-buildpackage --git-pristine-tar --git-builder="pdebuild --auto-debsign --pbuilder cowbuilder -- --twice --basepath /var/cache/pbuilder/base-debian-sid.cow"
+gbp buildpackage --git-pbuilder --git-pbuilder-options=--twice
 
-If all goes well, you should have newly built packages in
-/var/cache/pbuilder/result/.
+If all goes well, you should have newly built packages in ../.
 
 Update the package to a new upstream release (don't forget debian/changelog):
 
-git-import-orig --pristine-tar /path/to/new-release.tar.gz
+gbp import-orig /path/to/new-release.tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xmpp/jabberd2.git



More information about the Pkg-xmpp-commits mailing list