summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-08-28 03:56:29 +0400
committerAnton <anton@picapica.im>2026-08-28 03:56:29 +0400
commit363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40 (patch)
tree100511484cf19ef56d15240c0c2d48ca6a9279a8 /debian
parentacba2cd3eec20b31415e4b1d8e3bed85e9ab821b (diff)
downloadpica-pica-363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40.tar.gz
pica-pica-363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40.zip
debian: build dependencies for audio/video calls
The branch added FFmpeg, speexdsp, ALSA, libpulse and VAAPI to the client's dependencies, none of which were in debian/control. Add them, along with pkg-config, sqlite3 and zlib1g-dev, which configure has always needed but which used to be pulled in indirectly. VAAPI, its X11 rendering path and PulseAudio device enumeration are autodetected, so a missing build dependency would have quietly produced a package without them - ask for all three explicitly in debian/rules now that they are guaranteed to be installed. Package names are as found in Ubuntu 22.04, 24.04 and 26.04 and in Debian 13; Ubuntu 20.04 is not covered, it has no libegl-dev. Also bump the version to 0.9.0dev, in configure.ac and in the macOS bundle. The two version keys of Info.plist stay numeric because Launch Services will not take anything else. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BQci8cPPnyCde7qQX1jaN5
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog16
-rw-r--r--debian/control33
-rwxr-xr-xdebian/rules7
3 files changed, 51 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 0fd6945..39c509d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+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
+ * 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
+
+ -- Anton Sviridenko <anton@picapica.im> Fri, 28 Aug 2026 12:00:00 +0400
+
pica-pica (0.7.1-1) unstable; urgency=low
* Release 0.7.1
diff --git a/debian/control b/debian/control
index 85021d4..12bb1c3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,16 +2,41 @@ Source: pica-pica
Section: net
Priority: optional
Maintainer: Anton Sviridenko <anton@picapica.im>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev, libssl-dev, qtbase5-dev, libminiupnpc-dev, libevent-dev, libsqlite3-dev
+Build-Depends: debhelper (>= 8.0.0),
+ autotools-dev,
+ pkg-config,
+ libssl-dev,
+ zlib1g-dev,
+ qtbase5-dev,
+ libminiupnpc-dev,
+ libevent-dev,
+ libsqlite3-dev,
+ sqlite3,
+ libasound2-dev,
+ libavcodec-dev,
+ libavdevice-dev,
+ libavformat-dev,
+ libavutil-dev,
+ libswresample-dev,
+ libswscale-dev,
+ libspeexdsp-dev,
+ libpulse-dev,
+ libva-dev,
+ libegl-dev,
+ libgl-dev,
+ libx11-dev
Standards-Version: 3.9.2
Homepage: http://picapica.im
Package: pica-client
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},alsa-utils,libqt5sql5-sqlite
+Depends: ${shlibs:Depends}, ${misc:Depends}, alsa-utils, libqt5sql5-sqlite, openssl
+Recommends: va-driver-all
Description: Pica Pica instant messaging client
- Client for secure distributed instant messaging system
+ Client for secure distributed instant messaging system
Pica Pica.
+ .
+ Supports encrypted text chat, file transfers and audio/video calls.
Package: pica-node
Architecture: any
@@ -20,4 +45,4 @@ Description: node component for Pica Pica IM system
Pica Pica node serves Pica Pica distributed IM network.
It authenticates users, provides info about other existing
nodes and online users, routes encrypted connections between
- users.
+ users.
diff --git a/debian/rules b/debian/rules
index a66a4ef..85c4951 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,13 @@ export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS=-v
+# VAAPI, its X11 rendering path and PulseAudio device enumeration are
+# autodetected by configure, which means a missing build dependency would
+# silently produce a package without them. All three are in Build-Depends,
+# so ask for them explicitly and let the build fail if they are not there.
override_dh_auto_configure:
- dh_auto_configure -- --localstatedir=/var/lib
+ dh_auto_configure -- --localstatedir=/var/lib \
+ --enable-vaapi --enable-vaapi-x11 --enable-pulse
%:
dh $@