Source: quaternion
Version: 0.0.97.1-1
Severity: normal
Tags: patch

Hello,

This package is still referencing Qt5 QML modules as dependencies.

Please find attach a patch that make use of dh_qmldeps to ensure correct
dependencies on Qt6 QML packages are present.

Regards
Olivier



-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.6+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

>From e6822efb627c0dbf1b0c09670b5603d863ae2c7d Mon Sep 17 00:00:00 2001
From: Olivier Trichet <[email protected]>
Date: Thu, 19 Mar 2026 20:04:23 -0400
Subject: [PATCH] Fix QML dependency

---
 debian/changelog         | 7 +++++++
 debian/control           | 6 +++---
 debian/qmldeps.overrides | 1 +
 3 files changed, 11 insertions(+), 3 deletions(-)
 create mode 100644 debian/qmldeps.overrides

diff --git a/debian/changelog b/debian/changelog
index 5667516..3a687d4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+quaternion (0.0.97.1-2) UNRELEASED; urgency=medium
+
+  * Use dh_qmldeps to generate Qml dependencies
+    - Fix dependencies still referencing Qt5 QML packages
+
+ -- Matrix Packaging Team <[email protected]>  Thu, 19 Mar 2026 18:15:00 -0400
+
 quaternion (0.0.97.1-1) unstable; urgency=medium
 
   * Upload to unstable.
diff --git a/debian/control b/debian/control
index c5be761..e68f75a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Matrix Packaging Team <[email protected]>
 Uploaders: Hubert Chathi <[email protected]>,
 Build-Depends: debhelper-compat (= 12),
+               dh-sequence-qmldeps,
                cmake (>= 3.16~),
                libquotient-dev (>= 0.9.2~),
                qt6-base-dev (>= 6.2~),
@@ -18,9 +19,8 @@ Vcs-Browser: https://salsa.debian.org/matrix-team/quaternion.git
 
 Package: quaternion
 Architecture: any
-Depends: qml-module-qtquick-controls,
-         qml-module-qtquick-controls2,
-         ${misc:Depends},
+Depends: ${misc:Depends},
+         ${qml6:Depends},
          ${shlibs:Depends},
 Description: desktop IM client for the Matrix protocol
  Quaternion is a Qt-based chat client for the Matrix protocol.  Matrix is an
diff --git a/debian/qmldeps.overrides b/debian/qmldeps.overrides
new file mode 100644
index 0000000..142578e
--- /dev/null
+++ b/debian/qmldeps.overrides
@@ -0,0 +1 @@
+Quotient quaternion
-- 
2.53.0

Reply via email to