From 32520c7c89833ef395f114d8cf5c20ec53b9a5f7 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 9 Nov 2025 22:15:21 -0800 Subject: [PATCH] janus: Allow app to be installed from Debian unstable - Janus is currently not installable in Trixie because Janus was temporarily removed during the release process of Trixie. - Installing it from unstable, despite the instability is better than keeping the app unavailable. Users have reported using the app. Tests: - Restarting the service after applying the patch leads to setup for upgrades app to run. Apt preferences for janus packages are set. App is shown as available. It can be installed. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/janus/__init__.py | 5 +++++ plinth/modules/upgrades/__init__.py | 2 +- plinth/modules/upgrades/privileged.py | 11 +++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/plinth/modules/janus/__init__.py b/plinth/modules/janus/__init__.py index 64a1d0f39..d7be8417d 100644 --- a/plinth/modules/janus/__init__.py +++ b/plinth/modules/janus/__init__.py @@ -25,6 +25,11 @@ _description = [ format_lazy( _('Coturn is required to ' 'use Janus.'), coturn_url=reverse_lazy('coturn:index')), + format_lazy( + _('Note: This app receives frequent feature updates. ' + 'It can only be installed if frequent feature updates is enabled in ' + 'the Software Update app.'), + upgrades_url=reverse_lazy('upgrades:index')), ] diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index a412e022e..84511477d 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -55,7 +55,7 @@ class UpgradesApp(app_module.App): app_id = 'upgrades' - _version = 20 + _version = 21 can_be_disabled = False diff --git a/plinth/modules/upgrades/privileged.py b/plinth/modules/upgrades/privileged.py index bec033389..f0cf1a753 100644 --- a/plinth/modules/upgrades/privileged.py +++ b/plinth/modules/upgrades/privileged.py @@ -74,6 +74,17 @@ Explanation: matrix-synapse recommends python3-pympler Package: python3-pympler Pin: release n=sid Pin-Priority: 200 + +Explanation: Make janus package and its dependencies installable from Debian +Explanation: 'unstable' distribution. +Package: janus +Pin: release n=sid +Pin-Priority: 200 + +Explanation: Janus app in FreedomBox needs the package for web UI. +Package: libjs-janus-gateway +Pin: release n=sid +Pin-Priority: 200 ''' APT_PREFERENCES_UNSTABLE = \