-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions.txt
75 lines (41 loc) · 2.59 KB
/
instructions.txt
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
(I) Initial upload:
-------------------
-1- Create <project>-<version> folder (Example: gadgetron-3.4.1) with complete source code inside + debian folder
-2- Create <project>_<version>.orig.tar.gz tarball (Example: gadgetron_3.4.1.orig.tar.gz) sith source code inside (no debian folder)
-3- Go into <project>-<version> folder and run:
debuild -S -sa -k<GPG key> (Example: debuild -S -sa -kC9CB47CD)
-4- Go out of <project>-<version> folder and run:
dput ppa:<launchpad id>/<ppa name> <.changes file> (Example: dput ppa:gadgetron/gadgetron gadgetron_3.4.1-1_source.changes)
(II) Changing the source code content:
---------------------------------------------------
-1- Run: uscan --force-download --destdir . (from the top folder)
-2- As a result, you will get additional files:
-a- <project>-<version>.tar.gz (Example: gadgetron-3.4.2.tar.gz) - source code tarball
-b- symlink: gadgetron_3.4.2.orig.tar.gz -> gadgetron-3.4.2.tar.gz
-3- Run: tar -zxf <project>-<version>.tar.gz
-4- Make a patch: dpkg-source --commit
-5- Update a changelog file (Example: if the last paragraph is 3.4.1-1, add 3.4.1-2 paragraph)
-6- Repeat steps -3- and -4- from (I)
(III) Changing the debian folder content:
---------------------------------------------------
-1- Run: uscan --force-download --destdir . (from the top folder)
-2- As a result, you will get additional files:
-a- <project>-<version>.tar.gz (Example: gadgetron-3.4.2.tar.gz) - source code tarball
-b- symlink: gadgetron_3.4.2.orig.tar.gz -> gadgetron-3.4.2.tar.gz
-3- Run: tar -zxf <project>-<version>.tar.gz
-4- Update ./debian files. Do not forget to:
- Update a changelog file (Example: if the last paragraph is 3.4.1-1, add 3.4.1-2 paragraph)
-5- Copy ./debian folder from the top level into new source folder
-6- Repeat steps -3- and -4- from (I)
(IV) Changing the version (new release):
-----------------------------------------
-1- Run: uscan --destdir . (from the top folder)
-2- As a result, you will get additional files:
-a- <project>-<version>.tar.gz (Example: gadgetron-3.4.2.tar.gz) - source code tarball
-b- symlink: gadgetron_3.4.2.orig.tar.gz -> gadgetron-3.4.2.tar.gz
-3- Run: tar -zxf <project>-<version>.tar.gz
-4- Update ./debian files. Do not forget to:
- Update the name of the lib<project><version>.install file (Example: libgadgetron3.5.install -> libgadgetron3.6.install)
- Update a changelog file (Example: if the last paragraph is 3.4.1-1, add 3.4.2-1 paragraph)
-5- Copy ./debian folder from the top level into new source folder
-6- Repeat steps -3- and -4- from (I)