summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-09-15 03:47:14 +0400
committerAnton <anton@picapica.im>2026-09-15 03:47:14 +0400
commit4f9ebf0ebf61d95d9e3495b6596c954568e68c9d (patch)
tree433d5f5ef985c81948c4d97e251cebbe1e801fe0
parent9a84c95af6771590d4e5fe436e77bbe92a9dea92 (diff)
downloadpica-pica-4f9ebf0ebf61d95d9e3495b6596c954568e68c9d.tar.gz
pica-pica-4f9ebf0ebf61d95d9e3495b6596c954568e68c9d.zip
update debian/ files to recent standards
-rw-r--r--configure.ac2
-rw-r--r--debian/changelog17
-rw-r--r--debian/compat1
-rw-r--r--debian/control5
-rw-r--r--debian/pica-node.install1
-rw-r--r--debian/pica-node.manpages3
6 files changed, 18 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 2c0ee13..2a4ab03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,7 +213,7 @@ for webrtc_audio_processing_major in $webrtc_audio_processing_try; do
done
AS_IF([test "x$WEBRTC_AUDIO_PROCESSING_MAJOR" = x],
- [AC_MSG_ERROR(["webrtc-audio-processing was not found. It provides the acoustic echo cancellation used in calls - Debian and Ubuntu call it libwebrtc-audio-processing-1-dev, Gentoo media-libs/webrtc-audio-processing:1"])])
+ [AC_MSG_ERROR(["webrtc-audio-processing 1.x or 2.x was not found. It provides the acoustic echo cancellation used in calls. On Debian 13 and Ubuntu 25.10 or newer it is libwebrtc-audio-processing-dev; the same name on Ubuntu 24.04 is version 0.3, which predates AEC3 and will not do. On Gentoo it is media-libs/webrtc-audio-processing:1"])])
AC_MSG_NOTICE([using webrtc-audio-processing-$WEBRTC_AUDIO_PROCESSING_MAJOR])
diff --git a/debian/changelog b/debian/changelog
index 39c509d..e7328e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,15 +2,26 @@ pica-pica (0.9.0dev-1) UNRELEASED; urgency=low
* Audio/video calls: new build dependencies on FFmpeg (libavcodec,
libavdevice, libavformat, libavutil, libswresample, libswscale),
- speexdsp for acoustic echo cancellation, ALSA, libpulse for
- PulseAudio/PipeWire device enumeration, and libva/EGL/GL/X11 for
- VAAPI accelerated encoding, decoding and rendering
+ webrtc-audio-processing for acoustic echo cancellation, ALSA,
+ libpulse for PulseAudio/PipeWire device enumeration, and
+ libva/EGL/GL/X11 for VAAPI accelerated encoding, decoding and
+ rendering
+ * The echo canceller needs webrtc-audio-processing 1.x or newer, for
+ AEC3. The 0.3 that Ubuntu 24.04 still ships predates it, so the
+ build dependency is versioned and 24.04 needs a backport
* Build-depend on pkg-config, sqlite3 and zlib1g-dev, which configure
has always required but which were only pulled in indirectly
* Configure VAAPI, its X11 rendering path and PulseAudio device
enumeration explicitly instead of relying on autodetection
* pica-client: recommend va-driver-all, depend on openssl - the
command line tool is used to generate keys and certificates
+ * Move to debhelper compat 13, declared through debhelper-compat in
+ Build-Depends rather than debian/compat, and drop the now redundant
+ autotools-dev build dependency
+ * pica-node: install the manual pages from the staged build tree
+ rather than listing them in debian/pica-node.manpages. Compat 13
+ makes dh_missing fatal and dh_installman reject a page that is both
+ staged and listed, and "make install" already stages both pages
-- Anton Sviridenko <anton@picapica.im> Fri, 28 Aug 2026 12:00:00 +0400
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 45a4fb7..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-8
diff --git a/debian/control b/debian/control
index 5eb9d73..54fbdbb 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,7 @@ Source: pica-pica
Section: net
Priority: optional
Maintainer: Anton Sviridenko <anton@picapica.im>
-Build-Depends: debhelper (>= 8.0.0),
- autotools-dev,
+Build-Depends: debhelper-compat (= 13),
pkg-config,
libssl-dev,
zlib1g-dev,
@@ -19,7 +18,7 @@ Build-Depends: debhelper (>= 8.0.0),
libavutil-dev,
libswresample-dev,
libswscale-dev,
- libwebrtc-audio-processing-1-dev | libwebrtc-audio-processing-2-dev,
+ libwebrtc-audio-processing-dev (>= 1.3) | libwebrtc-audio-processing-1-dev,
libpulse-dev,
libva-dev,
libegl-dev,
diff --git a/debian/pica-node.install b/debian/pica-node.install
index 63b9a80..1a9f5a7 100644
--- a/debian/pica-node.install
+++ b/debian/pica-node.install
@@ -1,5 +1,6 @@
debian/tmp/etc/pica-node.conf
debian/tmp/usr/bin/pica-node
debian/tmp/usr/share/pica-node/*
+debian/tmp/usr/share/man/*
debian/tmp/var/lib/pica-node/*
diff --git a/debian/pica-node.manpages b/debian/pica-node.manpages
deleted file mode 100644
index 3324407..0000000
--- a/debian/pica-node.manpages
+++ /dev/null
@@ -1,3 +0,0 @@
-pica-node.8
-pica-node.conf.5
-