File: README.source

package info (click to toggle)
libsynthesis 3.4.0.47.5%2Bsyncevolution-1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 26,208 kB
  • sloc: cpp: 98,452; ansic: 48,673; xml: 5,806; objc: 4,656; pascal: 607; sh: 539; perl: 468; makefile: 295
file content (36 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (6)
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
Building libsynthesis for Debian
--------------------------------

The source package needs no special instructions; the discussion here
is about working with the git repository.

Patches are exported based on debian/source/git-patches; each line is
an argument to git-format-patch. The variables $DEB_VERSION and
$UPSTREAM_VERSION are the Debian and upstream version being exported.
You can either use git-format-patch manually, or install gitpkg
version 0.17 or later.

1) To have the patches automatically exported at source package creation time

  a) to setup gitpkg, run
  
     % git config gitpkg.deb-export-hook /usr/share/gitpkg/hooks/quilt-patches-deb-export-hook

  b) run 
    
      % gitpkg master

     to make a source package.

2) To manually export patches, run

       % ./debian/rules export-patches

The original source tarballs are stored in the git repo using
pristine-tar.  You can (optionally) check out the current tarball by

    git branch pristine-tar origin/pristine-tar
    # UPSTREAM should be the current upstream version
    pristine-tar checkout ../libsynthesis_$(UPSTREAM).orig.tar.gz

 -- David Bremner <bremner@debian.org>, Tue,  8 Mar 2011 19:28:27 -0400