~ubuntu-branches/ubuntu/utopic/telepathy-rakia/utopic

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-01-27 15:19:03 UTC
  • Revision ID: package-import@ubuntu.com-20120127151903-t5khsatlmgcyg340
Tags: 0.7.3-1
* New upstream release
  - Project renamed to telepathy-rakia
  - Bump build-dependencies
* debian/control: Bump Standards-Version to 3.9.2 (no further changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Patches
 
2
=======
 
3
 
 
4
This package occasionally uses cdbs simple-patch-system to store
 
5
modifications to the upstream source, although in most uploads no patches
 
6
are needed.
 
7
 
 
8
To get the fully patched source: make -f debian/rules patch
 
9
 
 
10
To revert to what's in git: make -f debian/rules unpatch
 
11
 
 
12
To add a patch: obtain a diff and put it in debian/patches, or see below
 
13
 
 
14
To remove an existing patch: delete it from debian/patches
 
15
 
 
16
Packaging using git
 
17
===================
 
18
 
 
19
The repository contains an appropriate debian/gbp.conf to build this package
 
20
using git-buildpackage. The debian branch contains the latest upstream versions
 
21
(for unstable, or experimental while a freeze is in progress). The debian-lenny
 
22
branch contains versions targeted for lenny, etc.
 
23
 
 
24
Here's how to build it:
 
25
 
 
26
    git clone git://git.debian.org/git/pkg-telepathy/telepathy-rakia.git
 
27
    cd telepathy-rakia
 
28
    git checkout debian
 
29
    git-buildpackage -us -uc
 
30
 
 
31
or for testing/stable branches like debian-lenny:
 
32
 
 
33
    git clone git://git.debian.org/git/pkg-telepathy/telepathy-rakia.git
 
34
    cd telepathy-rakia
 
35
    git checkout debian-lenny
 
36
    git-buildpackage -us -uc --git-debian-branch=debian-lenny
 
37
 
 
38
The branch 'upstream' is a copy of the contents of upstream tarballs. To import
 
39
upstream tarballs use:
 
40
 
 
41
    git checkout debian
 
42
    git-import-orig ~/telepathy-rakia-0.x.tar.gz
 
43
 
 
44
The branch 'debian-patches' is 'upstream' plus any patches needed for Debian.
 
45
It should be rebased on 'upstream' after each upstream release:
 
46
 
 
47
    git checkout debian-patches
 
48
    git rebase upstream
 
49
 
 
50
The preferred way of adding patches is to cherry pick from an upstream
 
51
repository:
 
52
 
 
53
    git remote add collabora \
 
54
        git+ssh://git.collabora.co.uk/git/telepathy-rakia.git
 
55
    git fetch
 
56
    git checkout debian-patches
 
57
    git cherry-pick xxxxxxxxxxxxxx
 
58
    git checkout debian
 
59
    fakeroot debian/rules update-patches