Reformat the ‘README.source’ document.
[debian_lojban-common.git] / debian / README.source
blob7bd0c7d67d0ca106c21ade526fe5fa2d955eaab9
1 ======================================================
2 Building the Debian source package for ‘lojban-common’
3 ======================================================
6 Upstream provides no versioned files
7 ====================================
9 The pristine upstream source is provided as separate files, with no version
10 for the collection.
12 The ‘debian/rules’ target “get-orig-source” (as specified in Debian Policy
13 §4.9) is provided to get the source files from upstream.
16 Files to install
17 ----------------
19 Update the ‘debian/upstream.sha1sums’ file. This file is formatted as per
20 the input to the ‘sha1sum(1)’ program.
22 This file is used as input to:
24 * The ‘debian/get-orig-source’ program, to check the downloaded file
25   contents: the SHA-1 hash values must match.
27 * ‘debian/rules’, to determine which files the package will install: every
28   file to install must be listed.
31 Package maintenance in VCS
32 ==========================
34 The ‘debian/control’ file declares the VCS repository used for
35 tracking the Debian package maintenance work.
38 VCS branches for package maintenance
39 ------------------------------------
41 The source for the Debian packaging is managed in these conventional
42 Git branches:
44 master
45     The current released code base.
47 packaging
48     Debian packaging development branch.
50 upstream
51     Upstream source code base, as imported from tarballs.
53 pristine-tar
54     Metadata for reproducibly generating upstream tarball.
56 To build the source package from the Git VCS, use the Debian ‘gitpkg’
57 tool to generate all the files::
59     $ git checkout master
60     $ gitpkg packaging upstream
62 The ‘dpkg-source’ process will complain about the “deletion” of
63 upstream source. This is because the upstream source is not present at
64 all in the ‘packaging’ branch exported, but in the ‘upstream’ branch.
65 The upstream source is safely exported earlier in its own tarball.
67 The generated source package is the source control file
68 ‘../deb-packages/lojban-common/lojban-common_$DEBIANVER.dsc’ and its
69 associated files in that directory.
72  -- Ben Finney <bignose@debian.org>, Fri, 12 Aug 2016 17:28:01 +1000
76     Local variables:
77     coding: utf-8
78     mode: text
79     mode: rst
80     End:
81     vim: fileencoding=utf-8 filetype=rst :