aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@laboissiere.net>2025-06-25 12:39:28 +0200
committerRafael Laboissière <rafael@laboissiere.net>2025-06-25 12:39:28 +0200
commit6d053854ab39a0eb79aadcadb2cbe7bbf3de4f3b (patch)
treebc6abdfebbe2459dba05ae0f113837db86bd53cf /www
parent8c7187fd189cd8b5fe77379110e2a25dbaac3743 (diff)
Add README.md file
Diffstat (limited to 'www')
-rw-r--r--www/README.md64
1 files changed, 64 insertions, 0 deletions
diff --git a/www/README.md b/www/README.md
new file mode 100644
index 0000000..af74eca
--- /dev/null
+++ b/www/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
+```