diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..af74eca --- /dev/null +++ b/README.md @@ -0,0 +1,64 @@ +# Praat backports website + +## Build the packages + +## 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 + +```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 +``` |
