File: README.source

package info (click to toggle)
cjk 4.8.4%2Bgit20170127-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,888 kB
  • sloc: lisp: 12,099; sh: 3,731; ansic: 2,429; perl: 1,804; makefile: 336
file content (30 lines) | stat: -rw-r--r-- 1,303 bytes parent folder | download | duplicates (4)
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
cjk for Debian
--------------

1. Getting the source file
--------------------------

The upstream source tarball is created each time you build the package using the
`get-orig-source' target in debian/rules.  This target will look at the `debian/
changelog' file and use the ISO date that is provided in the package version
numbering.

For instance, if the first line of the Debian changelog file looks like:
cjk (4.8.2+git20090105-1) unstable; urgency=medium
then it will strip off `4.8.2+git' and `-1' from the version, so you get the
date `20090105'.

The `get-orig-source' target will now transform that date into Unix time, and
use this to fetch a tarball from the upstream GIT server up to 5 January 2009.

You may ask yourself why I bother using this mechanism.  I find it often quite
cumbersome to recreate the original source tarball for each and every release.
There are naming conventions to abide by, and I keep forgetting them.  Hence
this system in which I just have to modify the Debian version in the changelog
to get an updated upstream tarball, completely according to the conventions that
apply on Debian.

In other words, when you are in the "cjk" folder, just run:
$ ./debian/rules get-orig-source

 -- Danai SAE-HAN (韓達耐) <danai@debian.org>, Mon, 17 Jun 2013 09:22:07 +0800