~ubuntu-branches/ubuntu/utopic/mce-dev/utopic

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Jonny Lamb
  • Date: 2009-02-27 02:42:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090227024208-zbr1xzomn3yvrv2g
Tags: 1.5.6.debian-2
* debian/control
  + Use my debian.org email address.
  + Upped Standards-Version.
  + Removed duplicate Section fields.
* debian/gbp.conf: Added git-buildpackage config file.
* debian/README.source: Added.
* debian/update-patches.mk: Added.
* debian/rules: Include update-patches.mk.
* debian/watch: Added dversionmangle option to remove .debian from
  upstream version.

Show diffs side-by-side

added added

removed removed

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