File: README.source

package info (click to toggle)
sam2p 0.49.2-3%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 3,084 kB
  • sloc: cpp: 14,410; ansic: 9,011; tcl: 973; sh: 692; makefile: 157; xml: 100; perl: 67
file content (54 lines) | stat: -rw-r--r-- 1,530 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
sam2p source package notes
==========================

Patch system
------------

sam2p uses quilt to make changes to the upstream source, as part of the 3.0
(quilt) source format. The patches are stored in debian/patches and applied
automatically by dpkg-source.

To list the patches run:
    $ quilt series

To manually apply all the patches run:
    $ quilt push -a

To manually unapply all of the patches run:
    $ quilt pop -a

To manually apply or unapply enough patches of the series so that a given one
is on top run:
    $ quilt push PATCH
    $ quilt pop PATCH

To edit a patch, put it on top then run:
    $ quilt edit FILE

To add a patch run:
    $ quilt new PATCH

When you are done editing a file within a patch run:
    $ quilt refresh
then edit the patch header according to DEP-3.

Source content
--------------

The original tarball contains a debian directory which is removed by
dpkg-source during the source package unpacking.

Version control
---------------

The package Git repository contains an “upstream” branch which replicates the
original tarball content. For new version it is merged into the main “master”
branch but its debian directory must be removed as dpkg-source does, for
instance by creating a temporary branch and making an intermediate commit:
    $ git-import-orig ../sam2p_0.49.orig.tar.gz
    $ git checkout -b temp upstream
    $ git rm -r debian
    $ git commit -m "Remove original debian directory"
    $ git checkout master
    $ git merge temp
    $ git branch -d temp