File: README.source

package info (click to toggle)
ofono-phonesim 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,864 kB
  • sloc: cpp: 18,710; xml: 7,270; sh: 1,256; ansic: 245; makefile: 65
file content (59 lines) | stat: -rw-r--r-- 1,864 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Patches
=======

This package occasionally uses cdbs simple-patch-system to store
modifications to the upstream source, although in most uploads no patches
are needed.

To get the fully patched source: make -f debian/rules patch

To revert to what's in git: make -f debian/rules unpatch

To add a patch: obtain a diff and put it in debian/patches, or see below

To remove an existing patch: delete it from debian/patches

Packaging using git
===================

The repository contains an appropriate debian/gbp.conf to build this package
using git-buildpackage. The debian branch contains the latest upstream versions
(for unstable, or experimental while a freeze is in progress). The debian-lenny
branch contains versions targeted for lenny, etc.

Here's how to build it:

    git clone git://git.debian.org/git/pkg-telepathy/ofono-phonesim
    cd ofono-phonesim
    git checkout debian
    git-buildpackage -us -uc

or for testing/stable branches like debian-lenny:

    git clone git://git.debian.org/git/pkg-telepathy/ofono-phonesim
    cd ofono-phonesim
    git checkout debian-lenny
    git-buildpackage -us -uc --git-debian-branch=debian-lenny

The branch 'upstream' is a copy of the contents of upstream tarballs. To import
upstream tarballs use:

    git checkout debian
    git-import-orig ~/ofono-phonesim-0.x.tar.gz

The branch 'debian-patches' is 'upstream' plus any patches needed for Debian.
It should be rebased on 'upstream' after each upstream release:

    git checkout debian-patches
    git rebase upstream

The preferred way of adding patches is to cherry pick from an upstream
repository:

    git remote add phonesim-upstream \
        git://git.kernel.org/pub/scm/network/ofono/phonesim.git
    git fetch
    git checkout debian-patches
    git cherry-pick xxxxxxxxxxxxxx
    git checkout debian
    fakeroot debian/rules update-patches