blob: 5873b7e0b111c4251d10c2baa940599138f08ba3 (
plain)
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
|
# Praat backports website
## Create the signing GnuPG key
On my laptop:
```sh
gpg --full-generate-key
KEY=$(gpg --list-key "praat backports" | grep "^ ")
git clone rlaboiss@git.cefala.org:/var/git/rlaboiss/praat-backports
cd praat-backports
gpg --armor --export $KEY > www/praat.gpg.key
git commit -m 'New signing key'
```
On the build system (dev.cefala.org):
```sh
git clone rlaboiss@git.cefala.org:/var/git/rlaboiss/praat-backports
cd praat-backports
gpg --import www/praat.gpg.key
```
## Update the pbuilder images
On the build system (dev.cefala.org):
```sh
DIST=stable ARCH=i386 sudo pbuilder --update
DIST=stable ARCH=amd64 sudo pbuilder --update
```
## Build the packages
On the build system (dev.cefala.org):
```r
gbp clone git@salsa.debian.org:med-team/praat.git
git checkout -b bookworm debian/6.3.07-1 # version in bookworm
git switch bookworm
git merge debian/6.4.34+dfsg-1 # last release in testing
```
Create `debian/changelog` entry with
```
praat (6.4.34+dfsg-1~bpo12+1) bookworm; urgency=medium
```
Build the pacakges for both i386 and amd64 architectures:
```sh
DIST=stable ARCH=i386 sudo pbuilder --update
DIST=stable ARCH=amd64 sudo pbuilder --update
```
## Populate the repository
On the build system (dev.cefala.org):
```sh
cd repo
bin/add-pkg.sh bookworm /var/cache/pbuilder/stable-i386/result/praat_6.4.34+dfsg-1~bpo12+1_i386.deb
bin/add-pkg.sh bookworm /var/cache/pbuilder/stable-amd64/result/praat_6.4.34+dfsg-1~bpo12+1_amd64.deb
```
|